Difference between revisions of "Toshiba P205D-S8804"

From ArchWiki
Jump to: navigation, search
(New page: Category:Laptops (English) I'm currently working on getting Arch set up on my new Toshiba Satellite P205D-S8804. This page isn't complete yet, but I'll work on it as I get things up! ...)
 
(28 intermediate revisions by 6 users not shown)
Line 1: Line 1:
[[Category:Laptops (English)]]
+
[[Category:Toshiba]]
 
+
 
I'm currently working on getting Arch set up on my new Toshiba Satellite P205D-S8804. This page isn't complete yet, but I'll work on it as I get things up!
 
I'm currently working on getting Arch set up on my new Toshiba Satellite P205D-S8804. This page isn't complete yet, but I'll work on it as I get things up!
  
=Toshiba P205D-S8804=
+
==Networking==
 +
The on-board ethernet adaptor worked out of the box for me.
  
==Base Install==
+
===Wifi===
I ran into an immediate snag using the Don't Panic install cd. The installer (and the initial installed system) will not boot. To work around, boot using this command:
+
This laptop has an Atheros chipset, which is now supported by the latest madwifi release. With that installed, no additional configuration should be necessary.
  
$ arch acpi=off
+
===Modem===
 +
Looks like this is a winmodem, but I haven't tried it yet, and do not ever plan to.
  
And you should be able to install. When you boot your system for the first time, you will need to manually edit Grub to allow this to boot.
+
==Audio==
1) Press "e" on the default entry (or whatever entry you have set up Arch on)
+
Audio worked out of the box for me as well.
2) Press "e" on the second line
+
pacman -S alsa-utils
3) Add "acpi=off" to the end of the line, and press <enter>
+
4) Press "b" to boot
+
  
You'll have to do this every time you boot until you run your first full system upgrade -- the problem is resolved with the newest kernel.
+
and unmute the volume.
  
==Networking==
+
Note: Remember to add your user to the audio group, log out and log back in!
The on-board ethernet adaptor worked out of the box for me.
+
gpasswd -a '''username''' audio
 +
I have yet to test things like line-out/spdif/microphone-in on this card.
  
===Wifi===
+
==Video==
This laptop has an Atheros based wireless chipset that I just could not get to work with the MadWifi drivers. My understanding is that they are much better supported in the next upcoming release of MadWifi. In the meantime, Ndiswrapper worked beautifully.
+
This laptop ships with ATI Radeon X1200 integrated video.
 +
This card combined with the 17" screen should yield a max resolution of up to 1440x900.
  
1) Add an "!" before ath_pci, ath_hal, and wlan in your /etc/rc.conf; add an entry for "ndiswrapper"
+
===Free Drivers===
2) Install ndiswrapper and cabextract:
+
Initially, I used the free drivers because the prior version of ATI's official driver had serious issues with resolution.
 +
I've used xf86-video-vesa, xf86-video-ati, and xf86-radeonhd without problems. All are available in pacman. Note that the vesa driver will not yield high resolutions, and that none of the three provide decent 3D acceleration, although the RadeonHD driver provides some limited accelerated functionality.
  
# pacman -S ndiswrapper ndiswrapper-utils cabextract
+
===ATI Catalyst Driver===
 +
Visit the [[ATI|ATI wiki page]] for instructions on how to get the intial set up completed.
  
3) Download the drivers from http://www-307.ibm.com/pc/support/site.wss/document.do?lndocid=MIGR-66449
+
You'll want to edit your ''/etc/X11/xorg.conf'', because otherwise using accelerated 3D causes rather annoying hard (un-recoverable) kernel locks.
4) Run cabextract on that exe file
+
cp /etc/X11/xorg.conf /etc/X11/xorg.conf.sav
5) Install the NET5416.INF file with
+
to backup the original file, then
# ndiswrapper -i NET5416.INF
+
nano /etc/X11/xorg.conf
6) run these commands
+
# ndiswrapper -m
+
# ndiswrapper -ma
+
# ndiswrapper -mi
+
# rmmod ndiswrapper
+
# modprobe ndiswrapper
+
  
And you should be all set to configure your wireless card.
+
and make changes to the sections below
 +
'''Note: I intentionally left out some sections, like "Fonts" because that may vary from system to system.'''
 +
Section "ServerLayout"
 +
Identifier    "X.org Configured"
 +
Screen      0  "Screen0" 0 0
 +
InputDevice    "Touchpad[1]" "CorePointer"
 +
InputDevice    "Keyboard0" "CoreKeyboard"
 +
Option "aiglx" "true"
 +
EndSection
  
==Audio==
+
Section "Module"
Audio worked out of the box for me as well.
+
#Load  "GLcore"
# pacman -S alsa-utils
+
Load  "dri"
 +
Load  "dbe"
 +
Load  "record"
 +
Load  "glx"
 +
Load  "xtrap"
 +
Load  "extmod"
 +
Load  "freetype"
 +
Load  "synaptics"
 +
#Load  "vbe"
 +
EndSection
  
and unmute the volume. This card is a little odd -- it won't automatically mute the main speakers when you plug in headphones -- hence the two channels in alsamixer. Don't know if thats a bug or a feature! ;-)
+
Section "ServerFlags"
I'll post an update if I can find out how to get it to automatically mute.
+
Option "IgnoreABI" "on"
 +
EndSection
  
Note: Remember to add your user to the audio group, log out and log back in!
+
Section "Device"
 +
Option      "XAANoOffscreenPixmaps"
 +
Option     "RenderAccel" "true"
 +
Option     "VideoOverlay" "on"
 +
Option     "OpenGLOverlay" "off"
 +
Option      "AllowGLXWithComposite" "true"
 +
Identifier  "Card0"
 +
Driver      "fglrx"
 +
VendorName  "ATI Technologies Inc"
 +
BoardName  "Radeon X1200 Series"
 +
BusID      "PCI:1:5:0"
 +
EndSection
  
I have yet to test things like line-out/spdif/microphone on this card.
+
Section "Extensions"
 +
Option "DAMAGE"   "true"
 +
Option "RENDER"    "true"
 +
Option "Composite" "true"
 +
EndSection
  
==Video==
+
Section "DRI"
ATI Radeon X1200
+
Mode 0666
 +
EndSection
  
The latest catalyst driver (8.01) supports this card, and the widescreen resolution this card is capable of (1440x900).
+
I added AIGLX to this configuration file, but I do not know that it is necessary -- I added it personally for Compiz.
  
Visit the Ati wiki page for instructions on how to set that up.
+
I haven't tested dual displays or the S-Video out yet.
  
Remember to add
+
==Touchpad==
Section "DRI"
+
Works fine with the synaptics driver.
    Mode 0666
+
pacman -S synaptics
EndSection
+
  
to your xorg.conf, or accelerated 3D doesn't work.
+
then edit your ''/etc/X11/xorg.conf'' file to include this section:
 +
Section "InputDevice"
 +
Driver    "synaptics"
 +
Identifier        "Touchpad[1]"
 +
Option    "Device"        "/dev/psaux"
 +
Option    "Protocol"      "auto-dev"
 +
Option    "LeftEdge"      "1700"
 +
Option    "RightEdge"    "5300"
 +
Option    "TopEdge"      "1700"
 +
Option    "BottomEdge"    "4200"
 +
Option    "FingerLow"    "25"
 +
Option    "FingerHigh"    "30"
 +
Option    "MaxTapTime"    "180"
 +
Option    "MaxTapMove"    "220"
 +
Option    "VertScrollDelta" "100"
 +
Option    "MinSpeed"      "0.06"
 +
Option    "MaxSpeed"      "0.12"
 +
Option    "AccelFactor" "0.0010"
 +
Option    "SHMConfig"    "on"
 +
EndSection
  
Note: While glxinfo | grep direct = yes, fgl_glxgears will not run and glxgears causes a hard kernel lock. I'm trying to figure out what setting I have to change in Xorg.conf to get this to run -- more updates when I find it.
+
and make sure that the ''Section "Module"'' section has this line:
 +
Load  "synaptics"
  
Also, I haven't tested dual displays or the S-Video out.
+
and also change the ''"InputDevice"'' line under ''Section "ServerLayout"'' that references ''Mouse0'' to look like:
==Touchpad==
+
InputDevice    "Touchpad[1]" "CorePointer"
Works fine with the synaptics driver. View /var/log/pacman.log after you install for the necessary changes.
+
 
# pacman -S synaptics
+
Log out of X, log back in and your toucpad should be working much nicer.
  
 
==Hotkeys==
 
==Hotkeys==
Not all keys on this keyboard that have a "hotkey" label are actually recognized (eg setkeycodes doesn't even recognize them) and no hotkeys appear to be funtional out of the box. More updates once I get those running.
+
Not all "hotkeys" are funtional on this machine -- Some of them are not even generating events in the kernel, although I think we can eventually work around that.
 +
Here are the keys that I have gotten to work so far:
 +
Mute
 +
Suspend to Ram
 +
Brightness up
 +
Brightness down
 +
Volume Wheel
 +
"Web" key
 +
Play/Pause
 +
Stop
 +
Previous Track
 +
Next Track
 +
 
 +
What I still have left to fix:
 +
Lock
 +
Search
 +
Suspend to disk
 +
Display toggle
 +
Wifi switch (Not sure what this key does -- it is on F8, though)
 +
Touchpad switch
 +
 
 +
 
 +
In order to get any kind of functionality out of these keys, we need to map them to keysyms under X11. Some window managers (eg GNOME) may do this automatically, but if it doesn't, then here's what we need to do:
 +
 
 +
# Find out the scan code of the keys we want to map to a specific function. Here's the list that I compiled:
 +
Mute = 160
 +
Suspend to Ram = 223
 +
Brightness Down = 101
 +
Brightness Up = 212
 +
Internet = 178
 +
Play = 162
 +
Stop = 164
 +
Previous Track 144
 +
Next Track = 153
 +
Volume Wheel Down = 174
 +
Volume Wheel Up = 176
 +
 
 +
# Create an Xmodmap file in your home directory with the functions you want to give those keys.
 +
nano /home/'''username'''/.Xmodmap
 +
 
 +
and create a file with the following format:
 +
keycode ### = ''function name''
 +
 
 +
where ### = the numerical keycode from the list above, and ''function name'' is one of the functions listed in /usr/share/X11/XKeysymDB
 +
 
 +
For reference, here's what I used for my .Xmodmap:
 +
keycode 160 = XF86AudioMute
 +
keycode 223 = XF86Sleep
 +
keycode 101 = F28
 +
keycode 212 = F29
 +
keycode 178 = XF86WWW
 +
keycode 162 = XF86AudioPlay
 +
keycode 164 = XF86AudioStop
 +
keycode 144 = XF86AudioPrev
 +
keycode 153 = XF86AudioNext
 +
keycode 174 = XF86AudioLowerVolume
 +
keycode 176 = XF86AudioRaiseVolume
 +
 
 +
I mapped Brightness up/down to F28 and F29 since I needed two seperate keys for the scripts that I am trying to write to control the LCD brightness -- this laptop is not really playing nicely with ACPI.
 +
 
 +
From here you'll have to configure your individual system to react to these X11 events -- this will vary depending on what window manager you use, or Desktop Environment.
 +
 
  
 
==CD/DVD/Labelflash==
 
==CD/DVD/Labelflash==
Have not tested, although the CD drive at least reads.
+
The drive reads and writes both CD's and DVD's out of the box.
Not sure if Labelflash is supported under linux.
+
This drive also has labelflash capabilities, but I 'm not sure if that is supported under linux or not.
  
 
==USB==
 
==USB==
Line 88: Line 199:
  
 
==PCMCIA==  
 
==PCMCIA==  
have not tested
+
Have not tested.
 
+
==Volume Wheel==
+
Not functional. Will look for a solution.
+
  
 
==5-in-1 card reader==
 
==5-in-1 card reader==
 
Funtional out of the box, although we need to manually add a module to enable SD card support
 
Funtional out of the box, although we need to manually add a module to enable SD card support
# modprobe tifm_sd
+
modprobe tifm_sd
 +
modprobe tifm_7xx1
 +
modprobe tifm_ms
 +
modprobe tifm_core
  
and add tifm_sd to your /etc/rc.conf
+
and add tifm_sd, tifm_7xx1, tifm_ms and tifm_core to the modules section of your ''/etc/rc.conf''
  
 
I'm not actually sure if things like CompactFlash or MemoryStick are working, SD card is the only thing I have at the moment.
 
I'm not actually sure if things like CompactFlash or MemoryStick are working, SD card is the only thing I have at the moment.
Line 103: Line 214:
 
==Power Management==
 
==Power Management==
 
===Cpufreq===
 
===Cpufreq===
Cpu frequency scaling is supported and works well. Visit the cpufreq wiki page for instructions.
+
Cpu frequency scaling is supported and works well. Visit the [[Cpufrequtils]] wiki page for instructions.
 +
The frequency range in question is 800MHz to a max of 2GHz.
  
 
===Hibernate===
 
===Hibernate===
 
Appears to work flawlessly, although not really speedily.  
 
Appears to work flawlessly, although not really speedily.  
The command
+
Install pm-utils, if it is not already:
# pm-hibernate
+
pacman -S pm-utils
  
accomplishes this quite well.
+
For further ''necessary'' steps, see [[Pm-utils#Hibernation_.28suspend2disk.29|this section]] of the [[Pm-utils]] wiki page for more instructions.
Make sure that pm-utils is installed
+
 
# pacman -S pm-utils
+
Then, after finishing setup, a simple
 +
pm-hibernate
 +
 
 +
as root will take care of it.
  
 
===Suspend to Ram===
 
===Suspend to Ram===
 
To my utter shock and amazement, this also works out of the box.
 
To my utter shock and amazement, this also works out of the box.
 
Ensure that pm-utils is installed.
 
Ensure that pm-utils is installed.
# pacman -S pm-utils
+
pacman -S pm-utils
 +
 
 +
Ensure that ''resume=/dev/sdX'' is added as an option to your grub ''/boot/grub/menu.lst'' kernel line, where ''sdX'' corresponds to your swap partition.
 +
 
 +
Reboot, and then you should be able to suspend to ram with
 +
pm-suspend
 +
as root.
 +
 
 +
==Webcam==
 +
lsusb
 +
returns this webcam as a "Chicony USB 2.0" webcam, which is supported via the ''uvcvideo'' and snd_usb_audio modules.
 +
modprobe uvcvideo
 +
modprobe snd_usb_audio
 +
 
 +
and add them to the modules section of your ''/etc/rc.conf''
  
And make sure "vga=0" is in your menu.lst
+
You can view the webcam with different applications -- try VNC, xawtv, ekiga, amsn etc.
  
So far, I've not found any hardware that does not work after a resume. Touchpad, wireless card and sound all appear fine.
 
Note: Your wireless connection is lost after a resume. You simply need to reconnect to the network.
 
  
  
 
=Notes=
 
=Notes=
Please,Please Please! Update this if you have the same model laptop, or if you just feel like correcting me, or fixing my grammer/spelling/confusing entries.
+
Please,Please Please! Update this if you have the same model laptop, or if you just feel like correcting me, or fixing my grammar/spelling/confusing entries.

Revision as of 13:12, 23 April 2012

I'm currently working on getting Arch set up on my new Toshiba Satellite P205D-S8804. This page isn't complete yet, but I'll work on it as I get things up!

Networking

The on-board ethernet adaptor worked out of the box for me.

Wifi

This laptop has an Atheros chipset, which is now supported by the latest madwifi release. With that installed, no additional configuration should be necessary.

Modem

Looks like this is a winmodem, but I haven't tried it yet, and do not ever plan to.

Audio

Audio worked out of the box for me as well.

pacman -S alsa-utils

and unmute the volume.

Note: Remember to add your user to the audio group, log out and log back in!

gpasswd -a username audio

I have yet to test things like line-out/spdif/microphone-in on this card.

Video

This laptop ships with ATI Radeon X1200 integrated video. This card combined with the 17" screen should yield a max resolution of up to 1440x900.

Free Drivers

Initially, I used the free drivers because the prior version of ATI's official driver had serious issues with resolution. I've used xf86-video-vesa, xf86-video-ati, and xf86-radeonhd without problems. All are available in pacman. Note that the vesa driver will not yield high resolutions, and that none of the three provide decent 3D acceleration, although the RadeonHD driver provides some limited accelerated functionality.

ATI Catalyst Driver

Visit the ATI wiki page for instructions on how to get the intial set up completed.

You'll want to edit your /etc/X11/xorg.conf, because otherwise using accelerated 3D causes rather annoying hard (un-recoverable) kernel locks.

cp /etc/X11/xorg.conf /etc/X11/xorg.conf.sav

to backup the original file, then

nano /etc/X11/xorg.conf

and make changes to the sections below Note: I intentionally left out some sections, like "Fonts" because that may vary from system to system.

Section "ServerLayout"
Identifier     "X.org Configured"
Screen      0  "Screen0" 0 0
InputDevice    "Touchpad[1]" "CorePointer"
InputDevice    "Keyboard0" "CoreKeyboard"
Option	"aiglx"	"true"
EndSection
Section "Module"
#Load  "GLcore"
Load  "dri"
Load  "dbe"
Load  "record"
Load  "glx"
Load  "xtrap"
Load  "extmod"
Load  "freetype"
Load  "synaptics"
#Load  "vbe"
EndSection
Section "ServerFlags"
Option	"IgnoreABI"	"on"
EndSection
Section "Device"
Option      "XAANoOffscreenPixmaps"
Option	    "RenderAccel"	"true"
Option 	    "VideoOverlay"	"on"
Option	    "OpenGLOverlay" 	"off"
Option      "AllowGLXWithComposite" "true"
Identifier  "Card0"
Driver      "fglrx"
VendorName  "ATI Technologies Inc"
BoardName   "Radeon X1200 Series"
BusID       "PCI:1:5:0"
EndSection
Section "Extensions"
Option "DAMAGE"	   "true"
Option "RENDER"    "true"
Option "Composite" "true"
EndSection
Section "DRI"
Mode	0666
EndSection

I added AIGLX to this configuration file, but I do not know that it is necessary -- I added it personally for Compiz.

I haven't tested dual displays or the S-Video out yet.

Touchpad

Works fine with the synaptics driver.

pacman -S synaptics

then edit your /etc/X11/xorg.conf file to include this section:

Section "InputDevice"
Driver     "synaptics"
Identifier         "Touchpad[1]"
Option     "Device"        "/dev/psaux"
Option     "Protocol"      "auto-dev"
Option     "LeftEdge"      "1700"
Option     "RightEdge"     "5300"
Option     "TopEdge"       "1700"
Option     "BottomEdge"    "4200"
Option     "FingerLow"     "25"
Option     "FingerHigh"    "30"
Option     "MaxTapTime"    "180"
Option     "MaxTapMove"    "220"
Option     "VertScrollDelta" "100"
Option     "MinSpeed"      "0.06"
Option     "MaxSpeed"      "0.12"
Option     "AccelFactor" "0.0010"
Option     "SHMConfig"     "on"
EndSection

and make sure that the Section "Module" section has this line:

Load  "synaptics"

and also change the "InputDevice" line under Section "ServerLayout" that references Mouse0 to look like:

InputDevice    "Touchpad[1]" "CorePointer"

Log out of X, log back in and your toucpad should be working much nicer.

Hotkeys

Not all "hotkeys" are funtional on this machine -- Some of them are not even generating events in the kernel, although I think we can eventually work around that. Here are the keys that I have gotten to work so far:

Mute
Suspend to Ram
Brightness up
Brightness down
Volume Wheel
"Web" key
Play/Pause
Stop
Previous Track
Next Track

What I still have left to fix:

Lock
Search
Suspend to disk
Display toggle
Wifi switch (Not sure what this key does -- it is on F8, though)
Touchpad switch


In order to get any kind of functionality out of these keys, we need to map them to keysyms under X11. Some window managers (eg GNOME) may do this automatically, but if it doesn't, then here's what we need to do:

  1. Find out the scan code of the keys we want to map to a specific function. Here's the list that I compiled:
Mute = 160
Suspend to Ram = 223
Brightness Down = 101
Brightness Up = 212
Internet = 178
Play = 162
Stop = 164
Previous Track 144
Next Track = 153
Volume Wheel Down = 174
Volume Wheel Up = 176
  1. Create an Xmodmap file in your home directory with the functions you want to give those keys.
nano /home/username/.Xmodmap

and create a file with the following format:

keycode ### = function name

where ### = the numerical keycode from the list above, and function name is one of the functions listed in /usr/share/X11/XKeysymDB

For reference, here's what I used for my .Xmodmap:

keycode 160 = XF86AudioMute
keycode 223 = XF86Sleep
keycode 101 = F28
keycode 212 = F29
keycode 178 = XF86WWW
keycode 162 = XF86AudioPlay
keycode 164 = XF86AudioStop
keycode 144 = XF86AudioPrev
keycode 153 = XF86AudioNext
keycode 174 = XF86AudioLowerVolume
keycode 176 = XF86AudioRaiseVolume

I mapped Brightness up/down to F28 and F29 since I needed two seperate keys for the scripts that I am trying to write to control the LCD brightness -- this laptop is not really playing nicely with ACPI.

From here you'll have to configure your individual system to react to these X11 events -- this will vary depending on what window manager you use, or Desktop Environment.


CD/DVD/Labelflash

The drive reads and writes both CD's and DVD's out of the box. This drive also has labelflash capabilities, but I 'm not sure if that is supported under linux or not.

USB

Functional out of the box

Firewire

Have not tested.

PCMCIA

Have not tested.

5-in-1 card reader

Funtional out of the box, although we need to manually add a module to enable SD card support

modprobe tifm_sd
modprobe tifm_7xx1
modprobe tifm_ms
modprobe tifm_core

and add tifm_sd, tifm_7xx1, tifm_ms and tifm_core to the modules section of your /etc/rc.conf

I'm not actually sure if things like CompactFlash or MemoryStick are working, SD card is the only thing I have at the moment.

Power Management

Cpufreq

Cpu frequency scaling is supported and works well. Visit the Cpufrequtils wiki page for instructions. The frequency range in question is 800MHz to a max of 2GHz.

Hibernate

Appears to work flawlessly, although not really speedily. Install pm-utils, if it is not already:

pacman -S pm-utils

For further necessary steps, see this section of the Pm-utils wiki page for more instructions.

Then, after finishing setup, a simple

pm-hibernate

as root will take care of it.

Suspend to Ram

To my utter shock and amazement, this also works out of the box. Ensure that pm-utils is installed.

pacman -S pm-utils

Ensure that resume=/dev/sdX is added as an option to your grub /boot/grub/menu.lst kernel line, where sdX corresponds to your swap partition.

Reboot, and then you should be able to suspend to ram with

pm-suspend

as root.

Webcam

lsusb

returns this webcam as a "Chicony USB 2.0" webcam, which is supported via the uvcvideo and snd_usb_audio modules.

modprobe uvcvideo
modprobe snd_usb_audio

and add them to the modules section of your /etc/rc.conf

You can view the webcam with different applications -- try VNC, xawtv, ekiga, amsn etc.


Notes

Please,Please Please! Update this if you have the same model laptop, or if you just feel like correcting me, or fixing my grammar/spelling/confusing entries.