Rainers Home

Debian Linux on a Sony Vaio Z1XMP

(Model PCG-5A1M)

There are some other pages out there which describe the installation of Linux on a Sony/Centrino Laptop. Some of them I’ve used are

So, let’s have a look at the Hardware first:

Device Model Status
CPU Intel Pentium M 1.5 GHz Working including CPU throttling from 600MHz to 1500MHz (in 200MHz steps)
RAM 512MB DDR-RAM
HDD 60GB HITACHI IC25N060ATMR04-0
LCD 14,1’’ SXGA+ (1400x1050) Samsung LTN150P1-L02 Working in full resolution using XFree 4.3.0
Graphics Card ATI Radeon Mobility M6 LY rev 0, 16MB RAM Working using the XFree radeon driver.
Sound Intel 82801DB-ICH4 Working using the intel8x0 alsa driver
Networking Intel(R) PRO/100 Network Driver Working using the e100 driver
DVD-ROM/CD-RW MATSHITA UJDA755 DVD/CDRW Working
Modem Intel 82801DB (ICH4) AC’97 Modem Controller Not tested
Wireless LAN Intel Pro/Wireless 2200BG (802.11 b/g) Working using the ipw2200 driver.
Bluetooth Cambridge Silicon Radio, see also product qualification Working (acts as USB device to the system)
USB USB 2.0 Working
Memory Stick Reader Sony MSC-U04 Not tested
SonyPI device   Working
CardBus Ricoh Co Ltd RL5c475 CardBus bridge Working (using the yenta module)
Touchpad Alps device Working with scrolling.

Kernel
I’m currently using 2.6.11.11 with all acpi and cpufreq-features for centrino enabled. But also in this Kernel you’ll still have to unset CONFIG_X86_UP_APIC, if you want having your system to power off properly. You can grab my .config at the end of this text. With the cpufreqd and the centrino-speedstep and poversave-governor from the kernel you have a broad range to influence the actual speed of your processor. /sys/devices/system/cpu/cpu0/cpufreq/ is your friend here (or see the scripts below). The modules to load for the whole system can also be found at the end.

X11
X11 with full resoultion of the display (1400x1050) was working out of the box using the radeon driver. If you want to control the vga-out and being able to en-/disable the backlight, have a look at radeontool. This allows you to control those parameters. Also the lightwatch.pl - script of this site is quite useful: if you use xscreensaver, this will really blank your screen (and thus save power) if a screensaver is running.
Another useful thing is the control of the LCD brightness. This can be done with having the sonypi module enabled in the kernel and have a look at How to install GNU/Linux on a Sony Z1?. You’ll need the sonypid and spiccontrol (which comes with debian). Once the sonypi kernel module is loaded, look with dmesg what minor number your sonypi has and then do a mknod /dev/sonypi c 10 250, assuming 250 would be the minor number. If you now want to assign the function keys of your keyboard to some system events, use sonypidd. You can find my slightly modified version with some more functions attached.
The only thing I didn’t get working until now (but I also haven’t tried yet) is DRI/ OpenGL support for the graphics.

Wireless
is working fine with the ipw2200 driver. Just take the module, compile and install it and put the firmware in place. With the latest version even monitor mode should work although I haven’t had the time to test it. Just one note: If you should encounter some trouble not being able to reach your Acces Point, turn the wireless switch from "On" to "Off" wait some seconds and turn it on again. But this happens rarely.

Suspend to RAM
is also working fine when you use the plain vga text console (no framebuffer, vga=normal in lilo.conf), stop mysql before suspend and rmmoding ehci_hcd. Then you can simply do an echo mem > /sys/power/state and you’re done. Pressing some key or the power switch should then bring your laptop back to life. It might happen that you’ll have to dis- and enable your network card after resuming but, well. You might also want not to use your CD-ROM in ide-scsi mode as it will then not working any more after a resume (not working means in this case: it will hang the whole laptop)

Touchpad
This didn’t work well until Kernel 2.6.11. With the alps-patches in the kernel now and having xfree86-driver-synaptics installed the touchpad is now also working with scrolling. All neccessary modifications for the XFree86 config file are described in /usr/share/doc/xfree86-driver-synaptics/README.alps.

SPIP | | Aktivitäten verfolgen RSS 2.0