Search:  
Gentoo Wiki

Toshiba_Satellite_A70-RW

This article is still a Stub. You can help Gentoo-Wiki by expanding it.

Contents

Introduction

This page contains some random bits of info regarding running Gentoo on a Toshiba Satellite A70 laptop. There are several different versions of the A70, so your machine will probably not match mine exactly, but it may be close enough that you can use this info as a starting point.

The laptop I'm using is a Satellite A70-RW, which is a Canadian model, more or less equivalent to the American S256.

Hardware Specs

Summary

  • Mobile Intel Prescott Pentium 4 Processor 532 with Hyper-Threading @ 3.06Ghz
  • 1MB Level 2 cache
  • 533MHz Processor System Bus
  • 15.4" WXGA TFT TruBrite Display @ 1280 x 800 resolution
  • 80GiB Enhanced IDE Hard Drive (4200 RPM)
  • 512MiB DDR RAM, expandable to 1.5GiB
  • ATI Mobility RADEON 9100 IGP w/ 64MB shared video memory
  • DVD Super Multi-Drive (CDR, CDRW, DVD-ROM, DVD-R, DVD-RW, DVD+R, DVD+RW, DVD-RAM)
  • Alps (Synaptic) Touchpad
  • Atheros WiFi 802.11abg NIC
  • ATI IXP150 onboard Sound
  • Phoenix BIOS (ACPI, PnP, VESA, DPMS, DDC, SM BIOS)

Complete Details

Code: # lshw -businfo
Bus info     Device     Class          Description
==================================================
                        system         Satellite A70
                        bus            EDW10
                        memory         BIOS
cpu@0                   processor      Mobile Intel(R) Pentium(R) 4 CPU 3.06GHz
                        memory         L1 cache
                        memory         L2 cache
                        processor      Logical CPU
                        processor      Logical CPU
                        memory         System Memory
                        memory         SODIMM DDR Synchronous 166 MHz (6.0 ns) [empty]
                        memory         SODIMM DDR Synchronous 166 MHz (6.0 ns) [empty]
                        memory         SODIMM DDR Synchronous 166 MHz (6.0 ns)
                        memory         SODIMM DDR Synchronous 166 MHz (6.0 ns)
pci@00:00.0  /dev/fb0   bridge         RS300 Host Bridge
pci@00:01.0             bridge         Radeon 9100 IGP AGP Bridge
pci@01:05.0             display        RS300M AGP [Radeon Mobility 9100IGP]
pci@00:13.0             bus            OHCI USB Controller #1
usb@2        usb2       bus            OHCI Host Controller
usb@2:3                 input          USB Receiver
pci@00:13.1             bus            OHCI USB Controller #2
usb@3        usb3       bus            OHCI Host Controller
pci@00:13.2             bus            EHCI USB Controller
usb@1        usb1       bus            EHCI Host Controller
pci@00:14.0             bus            ATI SMBus
pci@00:14.1             storage        ATI Dual Channel Bus Master PCI IDE Controller
ide@0        ide0       bus            IDE Channel 0
ide@0.0      /dev/hda   disk           IC25N080ATMR04-0
ide@0.0,1    /dev/hda1  disk           Linux filesystem partition
ide@0.0,2    /dev/hda2  disk           Linux swap / Solaris partition
ide@0.0,3    /dev/hda3  disk           Linux filesystem partition
ide@0.0,4    /dev/hda4  disk           Extended partition
             /dev/hda5  disk           Linux LVM Physical Volume partition
ide@1        ide1       bus            IDE Channel 1
ide@1.0      /dev/hdc   disk           MATSHITADVD-RAM UJ-820S
             /dev/hdc   disk           
pci@00:14.3             bridge         ATI Technologies Inc
pci@00:14.4             bridge         ATI Technologies Inc
pci@02:00.0             bus            TSB43AB21 IEEE-1394a-2000 Controller (PHY/Link)
pci@02:02.0  wifi0      network        AR5212 802.11abg NIC
pci@02:03.0  eth0       network        RTL-8139/8139C/8139C+
pci@02:04.0             bridge         CB-710/2/4 Cardbus Controller
pci@02:04.1             memory         ENE PCI Memory Stick Card Reader Controller
pci@02:04.2             system         ENE PCI Secure Digital Card Reader Controller
pci@02:04.3             memory         FLASH memory: ENE Technology Inc:
pci@00:14.5             multimedia     IXP150 AC'97 Audio Controller
pci@00:14.6             communication  IXP AC'97 Modem
                        power          PA3383U

CPU Info

Code: x86info
x86info v1.15.  Dave Jones 2001-2005
Feedback to <davej@redhat.com>.

Found 2 CPUs
--------------------------------------------------------------------------
CPU #1
Found unknown cache descriptors: 64 80 91 96 112 124
Family: 15 Model: 4 Stepping: 1 Type: 0 Brand: 0
CPU Model: Pentium 4 (Prescott) [E0]
Feature flags:
 fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflsh ds acpi mmx fxsr sse sse2 ss ht tm pbe sse3 monitor ds-cpl est tm2 cntx-id xTPR

Instruction trace cache:
	Size: 12K uOps	8-way associative.
L1 Data cache:
	Size: 16KB	Sectored, 8-way associative.
	line size=64 bytes.
L2 unified cache:
	Size: 1MB	Sectored, 8-way associative.
	line size=64 bytes.
Instruction TLB: 4K, 2MB or 4MB pages, fully associative, 64 entries.
Found unknown cache descriptors: 64 80 91 96 112 124
Data TLB: 4KB or 4MB pages, fully associative, 64 entries.
Processor serial: 0000-0F41-0000-0000-0000-0000
The physical package supports 2 logical processors

--------------------------------------------------------------------------
CPU #2
Found unknown cache descriptors: 64 80 91 96 112 124
Family: 15 Model: 4 Stepping: 1 Type: 0 Brand: 0
CPU Model: Pentium 4 (Prescott) [E0]
Feature flags:
 fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflsh ds acpi mmx fxsr sse sse2 ss ht tm pbe sse3 monitor ds-cpl est tm2 cntx-id xTPR

Instruction trace cache:
	Size: 12K uOps	8-way associative.
L1 Data cache:
	Size: 16KB	Sectored, 8-way associative.
	line size=64 bytes.
L2 unified cache:
	Size: 1MB	Sectored, 8-way associative.
	line size=64 bytes.
Instruction TLB: 4K, 2MB or 4MB pages, fully associative, 64 entries.
Found unknown cache descriptors: 64 80 91 96 112 124
Data TLB: 4KB or 4MB pages, fully associative, 64 entries.
Processor serial: 0000-0F41-0000-0000-0000-0000
The physical package supports 2 logical processors

--------------------------------------------------------------------------

Basic Configuration

Advanced Configuration

DSDT

See ACPI/Fix common problems for more information on patching the DSDT.


Code: DSDT patch
--- dsdt.dsl-orig	2005-09-10 23:22:45.000000000 -0600
+++ dsdt.dsl	2005-09-10 23:46:38.000000000 -0600
@@ -135,6 +135,7 @@
         {
             Store (0x30, DBGP)
         }
+	Return(Package(0x02){0x00, 0x00})
     }
 
     Scope (\_GPE)
@@ -344,7 +345,7 @@
             }
 
             OperationRegion (ECR, EmbeddedControl, 0x00, 0xFF)
-            Field (ECR, AnyAcc, Lock, Preserve)
+            Field (ECR, ByteAcc, Lock, Preserve)
             {
                 Offset (0x9E), 
                     ,   4, 
@@ -531,6 +532,7 @@
                 {
                     Store (Local0, Z00B)
                 }
+		Return(Package(0x02){0x00, 0x00})
             }
 
             Method (PBGU, 1, NotSerialized)
@@ -550,6 +552,7 @@
                     Store (0x00, Z00C)
                     Return (Z00C)
                 }
+		Return(Package(0x02){0x00, 0x00})
             }
         }
 
@@ -2444,7 +2447,7 @@
                     }
 
                     OperationRegion (ERAM, EmbeddedControl, 0x00, 0xFF)
-                    Field (ERAM, AnyAcc, Lock, Preserve)
+                    Field (ERAM, ByteAcc, Lock, Preserve)
                     {
                         Offset (0x60), 
                         SMPR,   8, 
@@ -2689,7 +2692,7 @@
                     }
 
                     OperationRegion (ECRM, EmbeddedControl, 0x00, 0xFF)
-                    Field (ECRM, AnyAcc, Lock, Preserve)
+                    Field (ECRM, ByteAcc, Lock, Preserve)
                     {
                         Offset (0x94), 
                         ERIB,   16, 
@@ -2840,6 +2843,7 @@
 
                     Method (PKTW, 1, NotSerialized)
                     {
+			Store (0x00, Local1)
                         Store (Arg0, \_SB.PCI0.LPC0.EC0.EPKT)
                         Return (Local1)
                     }

Configuration File Examples

These are the configuration files that I use. Be sure to not just copy them verbatim, and change them to suit your setup and needs.


make.conf

man make.conf for more information.

File: /etc/make.conf
CFLAGS="-O2 -march=prescott -fomit-frame-pointer -pipe"
CFLAGS="${CFLAGS} -fno-ident"
CXXFLAGS="${CFLAGS} -fvisibility-inlines-hidden"

LDFLAGS="-Wl,-O1"

FEATURES="${FEATURES} -strict ccache"
#FEATURES="${FEATURES} keepwork noclean"
#FEATURES="${FEATURES} test"
#FEATURES="${FEATURES} noman"

USE="-* X aac acpi alsa avi bash-completion berkdb bzip2 cdr crypt curl \
     dbus dts dvd dvdr dvdread exif ffmpeg firefox flac gdbm gif \
     gnutls gphoto2 gtk gtk2 hal imagemagick imlib java jpeg kde mad \
     mmap mmx mng mp3 mpeg mpi ncurses nntp nptl nsplugin \
     ogg oggvorbis opengl perl pic png python qt quicktime readline \
     ruby sdl sqlite sse sse2 ssl svg tcpd threads tiff truetype \
     usb vcd vorbis wifi win32codecs xml xml2 xv xvid zlib encode \
     a52 xine dri"

ACCEPT_KEYWORDS="~x86"
MAKEOPTS="-j3"
CHOST="i686-pc-linux-gnu"

LINGUAS="en"

CCACHE_SIZE=512M
CCACHE_DIR="/var/cache/ccache"
PORTDIR_OVERLAY="/home/dirtyepic/overlay"

ALSA_CARDS="atiixp"
CAMERAS="kodak"
GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo/"


X.Org

File: /etc/X11/xorg.conf
Section "Files"
	FontPath	"/usr/share/fonts/misc:unscaled"
	FontPath	"/usr/share/fonts/Type1"
	FontPath	"/usr/share/fonts/TTF"
	FontPath	"/usr/share/fonts/corefonts/"
	FontPath	"/usr/share/fonts/ttf-bitstream-vera"
	FontPath	"/usr/share/fonts/artwiz-aleczapka-en/"
	FontPath	"/usr/share/fonts/75dpi:unscaled"
	FontPath	"/usr/share/fonts/100dpi:unscaled"
EndSection

Section "ServerFlags"
	Option		"DefaultServerLayout"		"X.org"
	Option		"BlankTime"			"60"
EndSection

Section "Module"
	SubSection "extmod"
		Option	"omit XFree86-DGA"
	EndSubSection
	Load		"glx"
	Load		"freetype"
	Load		"type1"
	Load		"dbe"
	Load		"dri"
EndSection

Section "InputDevice"
	Identifier	"Keyboard"
	Driver		"kbd"
	Option		"CoreKeyboard"
EndSection

Section "InputDevice"
	Identifier	"Touchpad"
	Driver		"synaptics"
	Option		"CorePointer"
	Option		"Protocol"	"auto-dev"
    Option      "LeftEdge"                  "120"
    Option      "RightEdge"                 "830"
    Option      "TopEdge"                   "120"
    Option      "BottomEdge"                "650"
    Option      "FingerLow"                 "14"
    Option      "FingerHigh"                "15"
    Option      "MaxTapTime"                "180"
    Option      "MaxTapMove"                "110"
    Option      "EmulateMiddleButtonTime"   "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"         "2"
    Option      "SHMConfig"                 "on"
EndSection

Section "InputDevice"
	Identifier	"USBMouse"
	Driver		"mouse"
	Option		"SendCoreEvents"
	Option		"Protocol"			"IMPS/2"
	Option		"Device"			"/dev/input/mice"
	Option		"Buttons"			"5"
	Option		"ZAxisMapping"			"4 5"
EndSection

Section "Device"
	Identifier 	"Radeon1"
	Driver		"radeon"
	Screen		0
	Option		"AGPMode"			"4"
	Option		"AGPFastWrite"			"on"
	Option		"EnablePageFlip"		"on"
	Option		"DynamicClocks"			"on"
EndSection

Section "Monitor"
	Identifier	"Monitor"
EndSection

Section "Screen"
	Identifier	"Screen"
	Device		"Radeon1"
	Monitor		"Monitor"
	Subsection "Display"
		Depth	24
		Modes	"1280x800"
	EndSubSection
EndSection

Section "ServerLayout"
	Identifier	"X.org"
	Screen		"Screen"
	InputDevice	"Touchpad"
	InputDevice	"USBMouse"
	InputDevice	"Keyboard"
EndSection

Section "dri"
	Mode		0666
EndSection

Modular X.Org (as of 7.0 RC1)

File: /etc/X11/xorg.conf
Section "ServerLayout"
	Identifier		"X.org Configured"
	Screen			"Screen0"
	InputDevice		"Touchpad" "CorePointer"
	InputDevice		"USBMouse" "SendCoreEvents"
	InputDevice		"Keyboard0" "CoreKeyboard"
EndSection

Section "Screen"
	Identifier      "Screen0"
	Device          "Radeon9000a"
	Monitor         "Monitor0"
	SubSection "Display"
		Viewport    0 0
		Depth       32
		Modes       "1280x800"
	EndSubSection
EndSection

Section "Files"
	FontPath	"/usr/share/fonts/corefonts"
	FontPath	"/usr/share/fonts/ttf-bitstream-vera"
	FontPath	"/usr/share/fonts/misc/"
	FontPath	"/usr/share/fonts/artwiz-aleczapka-en"
	FontPath	"/usr/share/fonts/default/ghostscript"
	FontPath	"/usr/share/fonts/Type1"
	FontPath	"/usr/share/fonts/TTF"
	FontPath	"/usr/share/fonts/75dpi"
	FontPath	"/usr/share/fonts/100dpi"
EndSection

Section "Module"
		SubSection "extmod"
			Option	"omit xfree86-dga"
		EndSubSection
	Load  "dri"
	Load  "glx"
	Load  "dbe"
	Load  "freetype"
	Load  "type1"
EndSection

Section "Extensions"
	Option "Composite" "Enable"
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
EndSection

Section "InputDevice"
	Identifier	"Touchpad"
	Driver		"synaptics"
	Option		"Device"			"/dev/input/event2"
	Option		"Protocol"			"auto-dev"
	Option		"LeftEdge"			"120"
	Option		"RightEdge"			"830"
	Option		"TopEdge"			"120"
	Option		"BottomEdge"			"650"
	Option		"FingerLow"			"14"
	Option		"FingerHigh"			"15"
	Option		"MaxTapTime"			"180"
	Option		"MaxTapMove"			"110"
	Option		"EmulateMiddleButtonTime"	"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"		"2"
	Option		"SHMConfig"			"on"
EndSection

Section "InputDevice"
	Identifier	"USBMouse"
	Driver		"mouse"
	Option		"Device"			"/dev/input/mice"
	Option		"Protocol"			"IMPS/2"
	Option		"ZAxisMapping"			"4 5"
	Option		"Buttons"			"5"
EndSection

Section "Monitor"
	#DisplaySize	  330   210	# mm
	Identifier   "Monitor0"
	VendorName   "CPT"
	ModelName    "1389"
EndSection

Section "Device"
	Identifier  "Radeon9000a"
	Driver		"radeon"
	Option		"AGPFastWrite"	"true"
	Option		"AGPMode"	"8"
	Option		"EnablePageFlip" "true"
	Option		"DynamicClocks"	"true"
	Option		"BIOSHotkeys"	"true"
	Option		"AccelMethod"	"EXA"
EndSection

Section "dri"
	Mode 0666
EndSection
Retrieved from "http://www.gentoo-wiki.info/Toshiba_Satellite_A70-RW"

Last modified: Wed, 10 Sep 2008 04:40:00 +0000 Hits: 16,750