Search:  
Gentoo Wiki

Toshiba_Tecra_M4

This article is part of the Hardware series.
Laptops TV Tuner Cards Wireless Servers Storage Other Hardware Motherboards Related

Contents

Overview

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

Most hardware features work with Linux.

Additional Resources

Status

Working

Support missing

Resources

To Do

Tips

Boot device

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

Rebuilding Modules

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

emerge -av module-rebuild

Ethernet

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

See: sky2

WiFi

See: ipw2200

Audio

Setup

Install the ALSA utilities:

emerge -av alsa-utils

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

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

Update /etc/modprobe.conf:

# update-modules

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

Touchpad

Features

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.

Resources

Tablet

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.

"3-button" Pen

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

Resources

XOrg

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

Power Management

Links

Retrieved from "http://www.gentoo-wiki.info/Toshiba_Tecra_M4"

Last modified: Thu, 14 Aug 2008 04:29:00 +0000 Hits: 19,930