Tuesday, December 18, 2007

Ubuntu Linux *Gutsy Gibbon* on Toshiba Satellite A215-S4747


Hardware:

Toshiba A215-S4747


  • AMD Turion 1.8 GHz x 2 processor

  • 2 x 2GB 677 MHz RAM

  • 1 x 200GB Toshiba Hard Drive

  • 1 x DualLayer DVD-RW/CD-RW

  • 15.4" Wide Screen display - 1200 x 800 Max Resolution

  • ATI Radeon X1200 integrated graphics card

  • ATI Azalia sound card

  • RealTek RTL8101E Ethernet controller

  • Atheros AR5006EG 802.11 b/g Wifi controller

  • Chicony 1.3 Megapixel camera

  • Texas Instruments FireWire controller

  • Texas Instruments Card Reader (SD/MMC/MS/MS PRO/xD)

  • Texas Instruments Cardbus Controller

  • HotKeys + Function keys




Software:Ubuntu Gutsy
Chose the normal live-cd and started install with simple VGA mode, live-cd ran in 1024x768.



Out-of-box recognized hardware:


  • (1) Ethernet

  • (2) Sound

  • (3) FireWire

  • (4) CardReader

  • (5) Cardbus

  • (6) DVD-RW

  • (7) Fn+ESC(mute), Web(hotkey) and volume dial


Detected with exceptions:

  • (1) Atheros Wireless (proprietary driver) disable this and use NDISwrapper

  • (2) Radeon Graphics (proprietary driver)enable this to keep FireGL driver




Once is install is done:



Atheros WiFi drivers:
You can use NDISwrapper 1.5 and Wireless Lan Driver 802abg Atheros Ver.5.3.0.45.zip



ATI Drivers:
Get fglrx(FireGL) driver:


  • sudo apt-get install linux-restricted-modules-generic restricted-manager

  • sudo apt-get install xorg-driver-fglrx


* Note: To enable compiz, install xserver-xgl

* Note: Try a tool called Envy, which is written to automate most of this process



fglrxinfo


display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: ATI Radeon X1200 Series
OpenGL version string: 2.0.6473 (8.37.6)



HotKeys and Function Keys: Function buttons and Hot keys


The system loads with LCD brightness set to max and you cannot use the function keys to control it.(Fn+F6 down and Fn+F7 up), and none of the other hot keys work either.
The Toshiba ACPI kernel support does not help because this laptop comes with a Phoenix BIOS. So use the Omnibook driver. A simple load of the omnibook driver does not recognize the BIOS, so you can load it custom*:


  • (1) Download the omnibook-source

  • (2) install module-assistant and build-essential

  • (3) sudo module-assistant build omnibook

  • (4) sudo module-assistant install omnibook

  • (5) add omnibook to /etc/modules

  • (6) you shold add options for the module in /etc/modprobe.d/options with options omnibook ectype=15 userset=1*


* modprobe omnibook ectype=15 userset=1. ectype 15 is very important, I got this by trial and error. userset 1 allows normal users to control the devices.


If the module loaded correcly, you can see /proc/omnibook and the devices will have sane values




$ ls -l /proc/omnibook
total 0
-rw-rw-rw- 1 root root 0 2007-12-18 19:19 blank
-r--r--r-- 1 root root 0 2007-12-18 19:19 display
-r--r--r-- 1 root root 0 2007-12-18 19:19 dmi
-rw-rw-rw- 1 root root 0 2007-12-18 19:19 hotkeys
-rw-rw-rw- 1 root root 0 2007-12-18 19:19 lcd
-r--r--r-- 1 root root 0 2007-12-18 19:19 temperature
-r--r--r-- 1 root root 0 2007-12-18 19:19 version



temperature:
CPU temperature: 51 C



lcd:
LCD brightness: 2 (max value: 7)



version:
2.20070211-trunk



dmi:


BIOS Vendor: TOSHIBA
BIOS Version: V1.40
BIOS Release: 07/02/2007
System Vendor: TOSHIBA
Product Name: Satellite A215
Version: PSAEGU-00W00U
Serial Number: S3RI4LNUM83R
Board Vendor: TOSHIBA
Board Name: 1.00



hotkey:
Onetouch buttons are enabled.



display:
External VGA: display absent



blank:
LCD console blanking hook is enabled



After this I had to reboot, for everthing to work. The one touch keys and some Funtion keys work, except


  • Fn+F12

  • Fn+F9

  • Fn+F8

  • Fn+F2

  • Fn+F1




Chicony webcam:I used 'cheese'(apt-get install cheese) to capture/record



Other relevant info:


lspci


00:00.0 Host bridge: ATI Technologies Inc RS690 Host Bridge
00:01.0 PCI bridge: ATI Technologies Inc RS690 PCI to PCI Bridge (Internal gfx)
00:05.0 PCI bridge: ATI Technologies Inc Unknown device 7915
00:06.0 PCI bridge: ATI Technologies Inc RS690 PCI to PCI Bridge (PCI Express Port 2)
00:07.0 PCI bridge: ATI Technologies Inc RS690 PCI to PCI Bridge (PCI Express Port 3)
00:12.0 SATA controller: ATI Technologies Inc SB600 Non-Raid-5 SATA
00:13.0 USB Controller: ATI Technologies Inc SB600 USB (OHCI0)
00:13.1 USB Controller: ATI Technologies Inc SB600 USB (OHCI1)
00:13.2 USB Controller: ATI Technologies Inc SB600 USB (OHCI2)
00:13.3 USB Controller: ATI Technologies Inc SB600 USB (OHCI3)
00:13.4 USB Controller: ATI Technologies Inc SB600 USB (OHCI4)
00:13.5 USB Controller: ATI Technologies Inc SB600 USB Controller (EHCI)
00:14.0 SMBus: ATI Technologies Inc SBx00 SMBus Controller (rev 14)
00:14.1 IDE interface: ATI Technologies Inc SB600 IDE
00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia
00:14.3 ISA bridge: ATI Technologies Inc SB600 PCI to LPC Bridge
00:14.4 PCI bridge: ATI Technologies Inc SBx00 PCI to PCI Bridge
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
01:05.0 VGA compatible controller: ATI Technologies Inc Radeon X1200 Series
0e:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E PCI Express Fast Ethernet controller (rev 01)
14:00.0 Ethernet controller: Atheros Communications, Inc. AR5006EG 802.11 b/g Wireless PCI Express Adapter (rev 01)
1a:04.0 CardBus bridge: Texas Instruments PCIxx12 Cardbus Controller
1a:04.1 FireWire (IEEE 1394): Texas Instruments PCIxx12 OHCI Compliant IEEE 1394 Host Controller
1a:04.2 Mass storage controller: Texas Instruments 5-in-1 Multimedia Card Reader (SD/MMC/MS/MS PRO/xD)
1a:04.3 Generic system peripheral [0805]: Texas Instruments PCIxx12 SDA Standard Compliant SD Host Controller


cpuinfo

processor : 0
vendor_id : AuthenticAMD
cpu family : 15
model : 104
model name : AMD Turion(tm) 64 X2 Mobile Technology TL-56
stepping : 1
cpu MHz : 800.000
cache size : 512 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 : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt rdtscp lm 3dnowext 3dnow pni cx16 lahf_lm cmp_legacy svm extapic cr8legacy 3dnowprefetch ts fid vid ttp tm stc 100mhzsteps
bogomips : 1630.37
clflush size : 64

processor : 1
vendor_id : AuthenticAMD
cpu family : 15
model : 104
model name : AMD Turion(tm) 64 X2 Mobile Technology TL-56
stepping : 1
cpu MHz : 800.000
cache size : 512 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 : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt rdtscp lm 3dnowext 3dnow pni cx16 lahf_lm cmp_legacy svm extapic cr8legacy 3dnowprefetch ts fid vid ttp tm stc 100mhzsteps
bogomips : 1630.37
clflush size : 64

/etc/X11/xorg.conf

# xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg

Section "ServerLayout"

# Uncomment if you have a wacom tablet
# InputDevice "stylus" "SendCoreEvents"
# InputDevice "cursor" "SendCoreEvents"
# InputDevice "eraser" "SendCoreEvents"
Identifier "Default Layout"
Screen "Default Screen" 0 0
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "Synaptics Touchpad"
EndSection

Section "Files"
EndSection

Section "Module"
Load "glx"
Load "xgl"
EndSection

Section "ServerFlags"
Option "AIGLX" "on"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
EndSection

Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "HorizEdgeScroll" "0"
EndSection

Section "InputDevice"
Identifier "stylus"
Driver "wacom"
Option "Device" "/dev/input/wacom"
Option "Type" "stylus"
Option "ForceDevice" "ISDV4"# Tablet PC ONLY
EndSection

Section "InputDevice"
Identifier "eraser"
Driver "wacom"
Option "Device" "/dev/input/wacom"
Option "Type" "eraser"
Option "ForceDevice" "ISDV4"# Tablet PC ONLY
EndSection

Section "InputDevice"
Identifier "cursor"
Driver "wacom"
Option "Device" "/dev/input/wacom"
Option "Type" "cursor"
Option "ForceDevice" "ISDV4"# Tablet PC ONLY
EndSection

Section "Monitor"
Identifier "Generic Monitor"
HorizSync 30.0 - 70.0
VertRefresh 50.0 - 160.0
Option "DPMS"
EndSection

Section "Device"
Identifier "Generic Video Card"
Driver "fglrx"
Option "VideoOverlay" "on"
Option "OpenGLOverlay" "off"
BusID "PCI:1:5:0"
EndSection

Section "Screen"
Identifier "Default Screen"
Device "Generic Video Card"
Monitor "Generic Monitor"
DefaultDepth 24
EndSection

Section "DRI"
Mode 0666
EndSection

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

lsmod

usb_storage 73024 0
libusual 18448 1 usb_storage
af_packet 24840 2
fglrx 656352 50
rfcomm 42136 2
l2cap 26240 11 rfcomm
bluetooth 57060 4 rfcomm,l2cap
ppdev 10244 0
powernow_k8 16960 1
cpufreq_conservative 8072 0
cpufreq_userspace 5280 0
cpufreq_stats 7232 0
cpufreq_powersave 2688 0
cpufreq_ondemand 9612 1
freq_table 5792 3 powernow_k8,cpufreq_stats,cpufreq_ondemand
sbs 19592 0
button 8976 0
ac 6148 0
battery 11012 0
container 5504 0
dock 10656 0
video 18060 0
ipv6 273892 10
omnibook 59060 0
ndiswrapper 185240 0
sbp2 24072 0
parport_pc 37412 0
lp 12580 0
parport 37448 3 ppdev,parport_pc,lp
joydev 11328 0
snd_hda_intel 263712 1
snd_pcm_oss 44672 0
snd_mixer_oss 17664 1 snd_pcm_oss
snd_pcm 80388 2 snd_hda_intel,snd_pcm_oss
uvcvideo 48644 0
snd_seq_dummy 4740 0
snd_seq_oss 33152 0
compat_ioctl32 2304 1 uvcvideo
videodev 29312 1 uvcvideo
v4l1_compat 15364 2 uvcvideo,videodev
v4l2_common 18432 2 uvcvideo,videodev
snd_seq_midi 9600 0
snd_rawmidi 25728 1 snd_seq_midi
snd_seq_midi_event 8448 2 snd_seq_oss,snd_seq_midi
tifm_7xx1 8832 0
pcmcia 41388 0
psmouse 39952 0
tifm_core 11652 1 tifm_7xx1
pcspkr 4224 0
serio_raw 8068 0
k8temp 6656 0
snd_seq 53232 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_timer 24324 2 snd_pcm,snd_seq
snd_seq_device 9228 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
sdhci 18828 0
yenta_socket 27532 1
rsrc_nonstatic 14080 1 yenta_socket
snd 54660 11 snd_hda_intel,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
soundcore 8800 1 snd
snd_page_alloc 11400 2 snd_hda_intel,snd_pcm
mmc_core 28420 1 sdhci
pcmcia_core 40980 3 pcmcia,yenta_socket,rsrc_nonstatic
shpchp 34580 0
pci_hotplug 32704 1 shpchp
i2c_piix4 9740 0
i2c_core 26112 1 i2c_piix4
ati_agp 10124 0
agpgart 35016 2 fglrx,ati_agp
evdev 11136 5
ide_cd 32672 0
cdrom 37536 1 ide_cd
ext3 133896 3
jbd 60456 1 ext3
mbcache 9732 1 ext3
sg 36764 0
sd_mod 30336 5
atiixp 7056 0 [permanent]
ide_core 116804 3 usb_storage,ide_cd,atiixp
usbhid 29536 0
hid 28928 1 usbhid
ohci1394 36528 0
ieee1394 96312 2 sbp2,ohci1394
ahci 23300 4
ata_generic 8452 0
libata 125168 2 ahci,ata_generic
scsi_mod 147084 5 usb_storage,sbp2,sg,sd_mod,libata
ehci_hcd 36492 0
ohci_hcd 22916 0
usbcore 138632 8 usb_storage,libusual,ndiswrapper,uvcvideo,usbhid,ehci_hcd,ohci_hcd
r8169 32260 0
thermal 14344 0
processor 32072 4 powernow_k8,thermal
fan 5764 0
fuse 47124 1
apparmor 40728 0
commoncap 8320 1 apparmor

1 comment:

Praveen said...

The Atheros worked fine on Gutsy using the ndiswrapper but its broken on hardy.