P1510

From Theory of Measurements Wiki

Jump to: navigation, search

Contents

Debian Linux on a Fujitsu Siemens Lifebook p1510.

written by Osku, ossi at kavaro dot com

Installing Linux from network

There's no DVD drive in the lifebook...

Get the Debian netinstall package from here. You need a private network between an already-installed Linux/unix box and the lifebook, or a crossover cable, to get the installer running.

First, install a tftp server. Some of Debian's tftpd packages are sufficient. AFAIK atftpd works fine, tftpd-hpa doesn't, since it doesn't support some necessary TFTP option...

Then, configure your DHCP server. The subnet declaration in the dhcpd.conf file must have the 'next-server' and 'filename' directives to instruct the Lifebook's PXE client to fetch the pxelinux.0 bootloader, like this:

subnet 192.168.0.0 netmask 255.255.255.0 {
    next-server 192.168.0.254;
    filename "pxelinux.0";
    range 192.168.0.100 192.168.0.200;
}

Check which directory your tftp server is serving and unpack the aforementioned netboot.tar.gz there. It contains the pxelinux.0 bootloader and a working default config file.

Configuring Linux

Mostly everything works out of the box, except ACPI, hibernate, WLAN etc... thus some hacking is needed. Start with getting kernel sources: apt-get install kernel-source-2.6.16 ; cd /usr/src ; tar xjf linux-source-2.6.16.tar.bz2

Hibernate to disk

Download suspend2-2.2.4-for-2.6.16.tar.bz2 from http://www.suspend2.net/downloads/. Patch the kernel sources and remember to configure the kernel to use the new suspend2 functionality. Disable old hibernate/whatever stuff. Remember to enable the LZF compression in the kernel. It is found in main --> cryptographic functions when using make menuconfig to configure the kernel.

I'm booting Debian without a ramdisk to use the suspend2 functionality... additionally, this requires lots of kernel functionality normally compiled as modules to be compiled statically since there is no ramdisk to stash these modules to. And suspend2 won't work when booting from ramdisk. here is my kernel config file.

ACPI suspend

Suspending worked almost just fine, except that the screen stays black after resuming. I also patched my kernel with this patch. It's wise to make a suspend script that suspends the system, then calls something like echo 3 > /proc/acpi/video/GFX0/LCD/brightness to turn the display back on.

And by the way, in order to the /proc/acpi/video/GFX0/LCD/brightness to be there, the video.ko ACPI module needs to be modprobed manually. For some reason it doesn't get into the kernel automatically.

This is my own standby script.

WLAN

Get these: ipw2200 drivers, ieee80211 drivers. Also get the firmware for the adapter.

Compiling and installing these makes the WLAN just work. The small switch on the right hand side of the laptop is used to activate the radio (both bluetooth and WLAN)

Bluetooth

Works out of the box with the 2.6.16 kernel and with the config above.

X11

I leeched this xorg.conf file from somewhere and it works for me.

Guest comment: The config file probably came from here, where it is also explained.

Guest comment: Have a look at http://www.leog.net/fujp_forum/topic.asp?TOPIC_ID=9436, there you will find some hints to get the touch screen working. Touch screen driver is available at www.conan.de. 99350644549292720254770 87916175418963169252264 807444731894

Personal tools