HARDWARE Toshiba Tecra M4

From Gentoo Linux Wiki

Jump to: navigation, search
This article is part of the Hardware series.
Laptops TV Tuner Cards Wireless Servers Storage Other Hardware Motherboards Related

Contents

[edit] Overview

This page contains instructions for installing Gentoo Linux on a Toshiba Tecra M4.

Most hardware features work with Linux.

[edit] Additional Resources

[edit] Status

[edit] Working

  • Audio
  • Dispay
  • Ethernet
  • Tablet (non-inverted)
  • Touchpad

[edit] Support missing

  • Autorotation key
    • Orientation detection needed, hdaps might work.
  • Motion based automatic hard drive head parking
    • Accelerometer support needed, hdaps might work.
  • Tablet pen with display inverted
  • SD Memory Card slot (driver support for this has been missing in all the Toshiba tablet models)

[edit] Resources

[edit] To Do

  • gnome-xrandr-applet?
  • wake-on-lan (ether-wake XX:XX:XX:XX:XX:XX)
  • Map special buttons to appropriate functions
    • Windows Security: Currently does ctrl-alt-delete
    • ESC/Display Rotation
      • keysym 0x35,6
    • Cross-Functional
      • S: keysym 0x31,1
      • N: keysym 0x32,2
      • W: keysym 0x33,3
      • E: keysym 0x34,4
      • D: keysym 0x35,5
    • OneNote launch
      • Does not generate an X event.

[edit] Tips

[edit] Boot device

To select your boot device, use left and right arrows immediately at power up.

[edit] Rebuilding Modules

You can use "module-rebuild" to keep track of modules to rebuild when you recompile your kernel:

emerge -av module-rebuild

[edit] Ethernet

The built-in ethernet controller is now supported by the Gentoo LiveCDs using the sky2 driver.

See: HARDWARE sky2

[edit] WiFi

See: HARDWARE ipw2200

[edit] Audio

  • 0000:00:1e.2 Multimedia audio controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controller (rev 03)

[edit] Setup

Install the ALSA utilities:

emerge -av alsa-utils

Add the following to /etc/modules.d/alsa:

File: /etc/modules.d/alsa
alias snd-card-0 snd-intel8x0
alias sound-slot-0 snd-card-0

Update /etc/modules.conf:

modules-update

Next, configure ALSA to build only the needed driver.

Add the following to /etc/make.conf:

File: /etc/make.conf
ALSA_CARDS="intel8x0"

Install the audio driver:

emerge -av alsa-driver

Have ALSA start on boot:

rc-update add alsasound boot

Start ALSA now:

/etc/init.d/alsasound start

Unmute and set volume for Master and PCM:

alsamixer

[edit] Touchpad

  • AlpsPS/2 ALPS DualPoint TouchPad (Synaptics)

[edit] Features

  • Button events through short touching of the touchpad.
  • Double-Button events through double short touching of the touchpad.
  • Dragging through short touching and holding down the finger on the touchpad.
  • Middle and right button events on the upper and lower corner of the touchpad.
  • Vertical scrolling (button four and five events) through moving the finger on the right side of the touchpad.
  • The up/down button sends button four/five events.
  • Horizontal scrolling (button six and seven events) through moving the finger on the lower side of the touchpad.
  • The multi-buttons send button four/five events, and six/seven events for horizontal scrolling.
  • NOT WORKING: Circular scrolling

[edit] Setup

emerge -av synaptics
Linux Kernel Configuration:
Device Drivers >
  Input device support >
    Generic input layer >
      Event interface
Device Drivers >
  Input device support >
    Generic input layer >
      Mouse >
        PS/2

Additionally, use the xorg.conf below.

[edit] Resources

[edit] Tablet

[edit] Setup

Set the sdk USE flag for xorg-x11 and linuxwacom, by adding these lines to packages.use:

File: /etc/portage/package.use
x11-misc/linuxwacom -usb sdk
x11-base/xorg-x11 sdk

If needed, emerge xorg-x11 again:

emerge -avuN xorg-x11

Emerge the tablet drivers and setserial:

emerge -av setserial linuxwacom

To test the pen:

setserial /dev/ttyS0 port 0x0338 irq 4 autoconfig
wacdump -f c100 /dev/ttyS0

To have the serial port configured on boot, add the following to /etc/serial.conf:

File: /etc/serial.conf
# Wacom
/dev/ttyS0 port 0x0338 irq 4 autoconfig

And then run this command:

rc-update add serial default

Additonally, use the xorg.conf below.

[edit] "3-button" Pen

The Wacom Penabled Tablet PC DuoSwitch Eraser Pen can be used as a three button mouse.

  • Tip press: left button
  • Bottom side button and tip: middle button
  • Top side button and tip: right button
  • Eraser: right button

[edit] Resources

[edit] XOrg

[edit] Setup

Use the NVidia drivers for XRandr support:

emerge -av nvidia-drivers

Use the following xorg.conf for touchpad support and tablet support:

File: /etc/X11/xorg.conf
# $XdotOrg: xc/programs/Xserver/hw/xfree87/xorgconf.cpp,v 1.2 2004/04/23 19:20:02 eich Exp $
#
# Copyright (c) 1994-1998 by The XFree86 Project, Inc.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
# and/or sell copies of the Software, and to permit persons to whom the
# Software is furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
# THE XFREE86 PROJECT BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
# OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
#
# Except as contained in this notice, the name of the XFree86 Project shall
# not be used in advertising or otherwise to promote the sale, use or other
# dealings in this Software without prior written authorization from the
# XFree86 Project.
#
# $XConsortium: XF86Conf.cpp /main/22 1996/10/23 11:43:51 kaleb $

Section "Files"
    RgbPath	"/usr/lib/X11/rgb"
EndSection

Section "Module"
    Load	"dbe"

    SubSection	"extmod"
	Option	"omit xfree86-dga"
    EndSubSection

    Load	"type1"
    Load	"freetype"

    Load	"glx"
    Load	"synaptics"
EndSection

Section "ServerFlags"
#    Option	"DontVTSwitch"
#    Option	"DontZap"
    Option	"DontZoom"
    Option	"blank time"	"10"	# 10 minutes
    Option	"standby time"	"20"
    Option	"suspend time"	"30"
    Option	"off time"	"60"
EndSection

Section "InputDevice"
    Identifier	"Keyboard1"
    Driver	"kbd"
    Option	"AutoRepeat"	"500 5"
#    Option	"XkbModel"	"pc101"
# If you have a US "windows" keyboard you will want:
#    Option	"XkbModel"	"pc104"

#    Option	"XkbLayout"	"us"
#    Option	"XkbVariant"	""
#    Option	"XkbOptions"	""
EndSection

Section "InputDevice"
    Identifier	"Mouse1"
    Driver	"mouse"

    Option	"Protocol"	"Auto"
    Option	"Device"	"/dev/input/mice"
EndSection

Section "InputDevice"
    Identifier "Mouse0"
    Driver "synaptics"
    Option "Protocol" "auto-dev"
    Option "LeftEdge" "130"
    Option "RightEdge" "840"
    Option "TopEdge" "130"
    Option "BottomEdge" "640"
    Option "FingerLow" "7"
    Option "FingerHigh" "8"
    Option "MaxTapTime" "180"
    Option "MaxTapMove" "110"
    Option "EmulateMidButtonTime" "75"
    Option "VertScrollDelta" "20"
    Option "HorizScrollDelta" "20"
    Option "MinSpeed" "0.3"
    Option "MaxSpeed" "0.75"
    Option "AccelFactor" "0.015"
    Option "EdgeMotionMinSpeed" "200"
    Option "EdgeMotionMaxSpeed" "200"
    Option "UpDownScrolling" "1"
    Option "CircularScrolling" "1"
    Option "CircScrollDelta" "0.1"
    Option "CircScrollTrigger" "8"
    Option "SHMConfig" "on"
    Option "Emulate3Buttons" "on"
EndSection

Section "InputDevice"
	Driver        "wacom"
	Identifier    "cursor"
	Option        "Device"        "/dev/ttyS0"
	Option        "ForceDevice"   "ISDV4"
	Option        "Type"          "cursor"
	Option        "Mode"          "absolute"
	Option        "Speed"         "3.0"
	Option        "Threshold"     "2"
	Option        "Tilt"          "on"
	Option        "BottomX"       "28570"
	Option        "BottomY"       "21430"
	#Option	"DebugLevel"	"10"
EndSection

Section "InputDevice"
	Driver        "wacom"
	Identifier    "stylus"
	Option        "Device"        "/dev/ttyS0"
	Option        "Type"          "stylus"
	Option        "ForceDevice"   "ISDV4"
	Option        "Mode"          "absolute"
	Option        "Tilt"          "on"
	#Option        "TiltInvert"    "on"
	Option        "Threshold"     "2"
	Option        "BottomX"       "28570"
	Option        "BottomY"       "21430"
	#Option	"DebugLevel"	"10"
EndSection


Section "InputDevice"
	Driver        "wacom"
	Identifier    "eraser"
	Option        "Device"        "/dev/ttyS0"
	Option        "ForceDevice"   "ISDV4"
	Option        "Type"          "eraser"
	Option        "Mode"          "absolute"
	Option        "Tilt"          "on"
	#Option        "TiltInvert"    "on"
	Option        "Threshold"     "2"
	Option        "BottomX"       "28570"
	Option        "BottomY"       "21430"
	#Option	"DebugLevel"	"10"
EndSection

Section "Monitor"
    Identifier	"Generic Monitor"
    Option	"dpms"
EndSection

# 0000:01:00.0 VGA compatible controller: nVidia Corporation NV43 [Geforce Go 6600TE/6200TE] (rev a2)
Section "Device"
    Identifier  "nvidia"
    VendorName  "nvidia"
    Driver   "nvidia"

    Option	    "NoLogo"
    Option	    "ConnectedMonitor"	    "DFP"
    Option	    "HWcursor"
    Option	    "RenderAccel"
    Option	    "NoBandWidthTest"
    Option	    "RandRRotation"
EndSection

Section "Screen"
    Identifier	"Screen 1"
    Device	"nvidia"
    Monitor	"Generic Monitor"

    DefaultDepth 24

    SubSection "Display"
        Depth		24
        Modes		"1400x1050"
    EndSubsection
EndSection

Section "ServerLayout"
    Identifier	"simple layout"
    Screen	"Screen 1"
    InputDevice	"Mouse0" "AlwaysCore"
    InputDevice	"Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"
    InputDevice "cursor" "SendCoreEvents"
    InputDevice "stylus" "SendCoreEvents"
    InputDevice "eraser" "SendCoreEvents"
EndSection

[edit] Power Management

[edit] Links

Personal tools