Search:  
Gentoo Wiki

Toshiba_Satellite_A100-XXX

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

Contents

Introduction

This is a reference/guide for installing Gentoo on a Toshiba Satellite A100 PSAANE model with an intel ICH7 945 motherboard. Several other Toshiba notebooks (as of march 2007) are very similar. Check the hardware specs and take whatever is useful. According to the ectype groupings of notebooks here: http://omnibook.sourceforge.net/doku.php?id=laptops&s=ectype this guide should have some relevance to the P100, A105 and M115 Toshiba laptops

Status

getting better

Disclaimer

Software

Since there is a lot of confusion, which Toshibas are 'real' here i'll post utilities which are known to work with this hardware.

Omnibook

The omnibook tools support some functions of different Toshiba notebooks, but sadly the A100 and similar are not really supported, but it could change so here we go (remeber you need to configure the kernel first):

Code: emerge omnibook tools

echo "app-laptop/omnibook ~x86" >> /etc/portage/package.keywords emerge omnibook

This will compile and install the module omnibook.ko, to have some very very basic support (lcd and bluetooth) for this notebook run it with the option:

Code: modprobe omnibook

modprobe omnibook ectype=14

As of now you can only access lcd and bloototh. You could use it to change the lcd brightness level

Code: and there was light

echo 0 > /proc/omnibook/lcd

Nothing happened? Then try to press Fn+F6 it should go to the lowest possible brightness. Not really useful since it works with acpi also.

Power Managment

If you follow this guide http://www.gentoo.org/doc/en/power-management-guide.xml, which i recommend You'll find that most things just work so follow the guide closely and here are my minor hacks.

Backlight dimming

LCD dimming does not work so first safe your time and do not emerge acpitool. The brightness-lcd script has to be modified:

File: /etc/init.d/lcd-brightness

#!/sbin/runscript
set_brightness() {
    if on_ac_power
    then
        LEVEL=${BRIGHTNESS_AC:-90}
    else
        LEVEL=${BRIGHTNESS_BATTERY:-10}
    fi

ebegin "Setting LCD brightness"
echo "${LEVEL}" > /proc/acpi/video/VGA/LCD/brightness
eend $?

}
start() {
        set_brightness
}
stop() {
        set_brightness
}


File: /etc/conf.d/lcd-brightness

# Please 'cat /proc/acpi/video/VGA/LCD/brightness' to see available values

# brightness level in ac mode.
BRIGHTNESS_AC=90

# brightness level in battery mode.
BRIGHTNESS_BATTERY=10


Hardware

Specs

The laptop has a motherboard with the popular Mobile Intel 945GM Chipset: http://www.intel.com/products/chipsets/945gm/index.htm, and uses the onboard graphic accelerator.

The following is a highly abridged summary of Toshiba's A100(PSAANE) specs:

Processor

The system is equipped with an Intel Centrino Core Duo processor, which has two indentical Intel Yonah cores on one chip. It's 32bit but supports sse3 (prescott instructions), do use a i686 stage.

recommended configuration:

File: /etc/make.conf
CHOST="i686-pc-linux-gnu" # Do not change it, if yours is different use a i686 stage3
CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"

There seems to be no agreement which Processor Family to use while compiling the kernel.


File: /proc/cpuinfo
cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 14
model name      : Intel(R) Core(TM) Duo CPU      T2350  @ 1.86GHz
stepping        : 12
cpu MHz         : 1867.000
cache size      : 2048 KB
physical id     : 0
siblings        : 2
core id         : 0
cpu cores       : 2
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 10
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe constant_tsc pni monitor est
tm2 xtpr
bogomips        : 3727.35
clflush size    : 64

processor       : 1
vendor_id       : GenuineIntel
cpu family      : 6
model           : 14
model name      : Intel(R) Core(TM) Duo CPU      T2350  @ 1.86GHz
stepping        : 12
cpu MHz         : 1867.000
cache size      : 2048 KB
physical id     : 0
siblings        : 2
core id         : 1
cpu cores       : 2
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 10
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe constant_tsc pni monitor est
tm2 xtpr
bogomips        : 3724.03
clflush size    : 64

lspci

Code: Output of 'lspci -v'
00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS/940GML and 945GT Express Memory Controller Hub (rev 03)
        Subsystem: Toshiba America Info Systems Unknown device ff10
        Flags: bus master, fast devsel, latency 0
        Capabilities: [e0] Vendor Specific Information

00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS/940GML Express Integrated Graphics Controller (rev 03) (prog-if 00 [VGA])
        Subsystem: Toshiba America Info Systems Unknown device ff10
        Flags: bus master, fast devsel, latency 0, IRQ 17
        Memory at f0a00000 (32-bit, non-prefetchable) [size=512K]
        I/O ports at 1800 [size=8]
        Memory at d0000000 (32-bit, prefetchable) [size=256M]
        Memory at f0b00000 (32-bit, non-prefetchable) [size=256K]
        Capabilities: [90] Message Signalled Interrupts: 64bit- Queue=0/0 Enable-
        Capabilities: [d0] Power Management version 2

00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/940GML Express Integrated Graphics Controller (rev 03)
        Subsystem: Toshiba America Info Systems Unknown device ff10
        Flags: bus master, fast devsel, latency 0
        Memory at f0a80000 (32-bit, non-prefetchable) [size=512K]
        Capabilities: [d0] Power Management version 2

00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)
        Subsystem: Toshiba America Info Systems Unknown device ff10
        Flags: bus master, fast devsel, latency 0, IRQ 22
        Memory at f0b40000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: [50] Power Management version 2
        Capabilities: [60] Message Signalled Interrupts: 64bit+ Queue=0/0 Enable-
        Capabilities: [70] Express Unknown type IRQ 0

00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
        Capabilities: [40] Express Root Port (Slot+) IRQ 0
        Capabilities: [80] Message Signalled Interrupts: 64bit- Queue=0/0 Enable-
        Capabilities: [90] #0d [0000]
        Capabilities: [a0] Power Management version 2

00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=03, subordinate=04, sec-latency=0
        I/O behind bridge: 00002000-00002fff
        Memory behind bridge: f0700000-f07fffff
        Prefetchable memory behind bridge: 00000000f0200000-00000000f0300000
        Capabilities: [40] Express Root Port (Slot+) IRQ 0
        Capabilities: [80] Message Signalled Interrupts: 64bit- Queue=0/0 Enable-
        Capabilities: [90] #0d [0000]
        Capabilities: [a0] Power Management version 2

00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 (rev 02) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=05, subordinate=06, sec-latency=0
        I/O behind bridge: 00003000-00003fff
        Memory behind bridge: f0800000-f08fffff
        Prefetchable memory behind bridge: 00000000f0400000-00000000f0500000
        Capabilities: [40] Express Root Port (Slot+) IRQ 0
        Capabilities: [80] Message Signalled Interrupts: 64bit- Queue=0/0 Enable-
        Capabilities: [90] #0d [0000]
        Capabilities: [a0] Power Management version 2

00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #1 (rev 02) (prog-if 00 [UHCI])
        Subsystem: Toshiba America Info Systems Unknown device ff10
        Flags: bus master, medium devsel, latency 0, IRQ 21
        I/O ports at 1820 [size=32]

00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #2 (rev 02) (prog-if 00 [UHCI])
        Subsystem: Toshiba America Info Systems Unknown device ff10
        Flags: bus master, medium devsel, latency 0, IRQ 20
        I/O ports at 1840 [size=32]

00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #3 (rev 02) (prog-if 00 [UHCI])
        Subsystem: Toshiba America Info Systems Unknown device ff10
        Flags: bus master, medium devsel, latency 0, IRQ 18
        I/O ports at 1860 [size=32]

00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #4 (rev 02) (prog-if 00 [UHCI])
        Subsystem: Toshiba America Info Systems Unknown device ff10
        Flags: bus master, medium devsel, latency 0, IRQ 17
        I/O ports at 1880 [size=32]

00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02) (prog-if 20 [EHCI])
        Subsystem: Toshiba America Info Systems Unknown device ff10
        Flags: bus master, medium devsel, latency 0, IRQ 21
        Memory at f0d44000 (32-bit, non-prefetchable) [size=1K]
        Capabilities: [50] Power Management version 2
        Capabilities: [58] Debug port

00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2) (prog-if 01 [Subtractive decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=07, subordinate=07, sec-latency=64
        I/O behind bridge: 00004000-00004fff
        Memory behind bridge: f0900000-f09fffff
        Prefetchable memory behind bridge: 0000000050000000-0000000053f00000
        Capabilities: [50] #0d [0000]

00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02)
        Subsystem: Toshiba America Info Systems Unknown device ff10
        Flags: bus master, medium devsel, latency 0
        Capabilities: [e0] Vendor Specific Information

00:1f.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7 Family) Serial ATA Storage Controller IDE (rev 02) (prog-if 80 [Master])
        Subsystem: Toshiba America Info Systems Unknown device ff10
        Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 20
        I/O ports at 01f0 [size=8]
        I/O ports at 03f4 [size=1]
        I/O ports at 0170 [size=8]
        I/O ports at 0374 [size=1]
        I/O ports at 18b0 [size=16]
        Capabilities: [70] Power Management version 2

00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 02)
        Subsystem: Toshiba America Info Systems Unknown device ff10
        Flags: medium devsel, IRQ 20
        I/O ports at 18c0 [size=32]

05:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG Network Connection (rev 02)
        Subsystem: Intel Corporation Unknown device 1041
        Flags: bus master, fast devsel, latency 0, IRQ 11
        Memory at f0800000 (32-bit, non-prefetchable) [size=4K]
        Capabilities: [c8] Power Management version 2
        Capabilities: [d0] Message Signalled Interrupts: 64bit+ Queue=0/0 Enable-
        Capabilities: [e0] Express Legacy Endpoint IRQ 0

07:06.0 CardBus bridge: Texas Instruments Unknown device 8039
        Subsystem: Toshiba America Info Systems Unknown device ff10
        Flags: bus master, medium devsel, latency 64, IRQ 18
        Memory at f0907000 (32-bit, non-prefetchable) [size=4K]
        Bus: primary=07, secondary=08, subordinate=0b, sec-latency=176
        Memory window 0: 50000000-53fff000 (prefetchable)
        Memory window 1: 54000000-57fff000 (prefetchable)
        I/O window 0: 00004400-000044ff
        I/O window 1: 00004800-000048ff
        16-bit legacy interface ports at 0001

07:06.1 FireWire (IEEE 1394): Texas Instruments Unknown device 803a (prog-if 10 [OHCI])
        Subsystem: Toshiba America Info Systems Unknown device ff10
        Flags: bus master, medium devsel, latency 128, IRQ 16
        Memory at f0906000 (32-bit, non-prefetchable) [size=2K]
        Memory at f0900000 (32-bit, non-prefetchable) [size=16K]
        Capabilities: [44] Power Management version 2

07:06.2 Mass storage controller: Texas Instruments 5-in-1 Multimedia Card Reader (SD/MMC/MS/MS PRO/xD)
        Subsystem: Toshiba America Info Systems Unknown device ff10
        Flags: bus master, medium devsel, latency 128, IRQ 11
        Memory at f0904000 (32-bit, non-prefetchable) [size=4K]
        Capabilities: [44] Power Management version 2

07:06.3 Class 0805: Texas Instruments Unknown device 803c (prog-if 01)
        Subsystem: Toshiba America Info Systems Unknown device ff10
        Flags: bus master, medium devsel, latency 128, IRQ 11
        Memory at f0906800 (32-bit, non-prefetchable) [size=256]
        Capabilities: [80] Power Management version 2

07:08.0 Ethernet controller: Intel Corporation Intel(R) PRO/100 VE Network Connection (rev 02)
        Subsystem: Toshiba America Info Systems Unknown device ff10
        Flags: bus master, medium devsel, latency 66, IRQ 19
        Memory at f0905000 (32-bit, non-prefetchable) [size=4K]
        I/O ports at 4000 [size=64]
        Capabilities: [dc] Power Management version 2

Your New make.conf

Start by editing your /etc/make.conf.

File: /etc/make.conf

# These settings were set by the catalyst build script that automatically built$
# Please consult /etc/make.conf.example for a more detailed example
CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j3"
LINGUAS="utf8 en"
FEATURES="parallel-fetch prelink"

GENTOO_MIRRORS="FILL IT"
SYNC="FILL IT"

USE="X mozbranding 7zip kde aac acpi amarok apache2 aqua asf bash-completion cdparanoia chroot commercial \
pdf dvd tiff dvdr dvdread escreen samba extramodules fat glx hpn justify kdeenablefinal mmx mmxext \
vorbis mp3 mplayer musicbrainz nocd nsplugin ntfs sse sse2 tlen unicode gcj win32codecs -arts -gnome -gtk \
tetex hal ipod -mysql -apache2 oss postgres pdf -mikmod -xmms ffmpeg -gstreamer alsa flac xine java xvid \
nptlonly scanner ppds usb xinerama dri real cups -postgres slang bitmap-fonts truetype-fonts type1-fonts rdesktop \
lm_sensors opengl visualization png jpeg mpeg gif -directfb -fbcon truetype javascript djvu -real"

INPUT_DEVICES="evdev keyboard mouse synaptics"
VIDEO_CARDS="i810"
ALSA_CARDS="hda-intel"

A Shiny New Kernel

Here's the kernel config options you want to make sure to set:

Linux Kernel Configuration: The Important Options
Processor type and features  --->
  [*] Symmetric multi-processing support
      Subarchitecture Type (PC-compatible)  --->
      Processor family (Pentium M)  --->
  [ ] Generic x86 support
  [*] HPET Timer Support
  (2) Maximum number of CPUs (2-255)
      Preemption Model (Voluntary Kernel Preemption (Desktop))  --->
  < > Toshiba Laptop support  ''(Note: You'd think you want this, but nooooo!)''
  < > Dell laptop support
  [*] Support for hot-pluggable CPUs (EXPERIMENTAL)
        ''(Note: Needed for ACPI Sleep States)''

Power management options (ACPI, APM)  --->
  ACPI (Advanced Configuration and Power Interface) Support  --->
    [*] ACPI Support
    [*]   Sleep States
    <*>   AC Adapter
    <*>   Battery
    <*>   Button
    <*>   Video
    < >   Generic Hotkey (EXPERIMENTAL)
    <*>   Fan
    <*>   Processor
    <*>     Thermal Zone
    < >   ASUS/Medion Laptop Extras
    < >   IBM ThinkPad Laptop Extras
    < >   Toshiba Laptop Extras
    (0)   Disable ACPI for systems before Jan 1st this year
    [ ]   Debug Statements
    [*]   Power Management Timer Support
    <*>   ACPI0004,PNP0A05 and PNP0A06 Container Driver (EXPERIMENTAL)
            ''(Note: May be automatically selected - check the help)''
  APM (Advanced Power Management) BIOS Support  --->
    < > APM (Advanced Power Management) BIOS support
  CPU Frequency scaling  --->
    [*] CPU Frequency scaling
    [ ]   Enable CPUfreq debugging
    <*>   CPU frequency translation statistics
    [*]     CPU frequency translation statistics details
          Default CPUFreq governor (performance)  --->
    ---   'performance' governor
    <*>   'powersave' governor
    <*>   'userspace' governor for userspace frequency scaling
    <*>   'ondemand' cpufreq policy governor
    <*>   'conservative' cpufreq governor
    ---   CPUFreq processor drivers
    <*>   ACPI Processor P-States driver
    < >   AMD Mobile K6-2/K6-3 PowerNow!
    < >   AMD Mobile Athlon/Duron PowerNow!
    < >   AMD Opteron/Athlon64 PowerNow!
    < >   Cyrix MediaGX/NatSemi Geode Suspend Modulation
    <*>   Intel Enhanced SpeedStep
    [*]     Use ACPI tables to decode valid frequency/voltage pairs
    [ ]     Built-in tables for Banias CPUs
    < >   Intel Speedstep on ICH-M chipsets (ioport interface)
    < >   Intel SpeedStep on 440BX/ZX/MX chipsets (SMI interface)
    < >   Intel Pentium 4 clock modulation
    < >   nVidia nForce2 FSB changing
    < >   Transmeta LongRun

Device Drivers  --->
  IEEE 1394 (FireWire) support  --->
    <M> IEEE 1394 (FireWire) support
    <M>   Texas Instruments PCILynx support  ''(Note: I'm only guessing here)''
  Input device support  --->
    <*>   Event interface  ''(Note: For touchpad configuration)''
  Network device support  --->
    Wireless LAN (non-hamradio)  --->
      [*] Wireless LAN drivers (non-hamradio) & Wireless Extensions
            ''(Note: De-select everything in this section except this entry)''
  Graphics support  --->
    <*> Support for frame buffer devices
    <M>   VESA VGA graphics support
            VESA driver type (vesafb-tng)  --->
  LED devices  --->  ''(Note: Play with these, not sure if they do anything)''

Networking  --->  ''(Note: Make sure to do this last)''
  --- Networking support
  <M>   Bluetooth subsystem support  --->
  <M>   Generic IEEE 802.11 Networking Stack

Installing Wireless Drivers

See this guide.

Installing the Tools

Code: Needed Tools
emerge -uDN acpitool acpi acpid cpufrequtils hibernate-script wireless-tools

Xorg

Misc Other Tweaks

Keyboard Mapping

ToDo

As of yet everything.

References

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

Last modified: Thu, 28 Aug 2008 22:57:00 +0000 Hits: 3,872