Linux on Laptops

For Linux configurations on many specific laptops, see this page.

Linux On Laptops

Linux on the Clevo 8880 (Mandrake 10.2/kernel 2.6)

 

I upgraded form Mandrake 10.0 (as described here) to Mandrake 10.2, which includes kernel 2.6.11.6. It was not complete; I had to rebuild manually the X desktop, and reinstall a few things.

Here are the steps required to make all devices work (except the memory stick). Wherever changes are mentioned on all that follows, see here to start with.


Kernel 2.6 configuration

Kernel 2.6 requires adapting files from kernel 2.4, which can be found here:

For supporting the laptop particular devices (modem, lirc, sound, irda, network adapter, tv tuner, etc) see /usr/src/linux/.config for kernel 2.6.


Modem

Smart Link, its manufacturer, supports it in Linux, including support for kernel 2.6. See http://www.smlink.com.

Decompressing "slmodem-2.9.10.tar.gz" (or whatever version), running commands:

make; make install

as documented, the corresponding devices ("/dev/slamr0-3") were created, but the generated module ("slamr.ko") didn't load, appearing in dmesg after 'modprobe slamr':

slamr: module license 'Smart Link Ltd.' taints kernel.
slamr: Unknown symbol get_device
slamr: Unknown symbol put_device
slamr: Unknown symbol device_release_driver

This is solved applying patch "slmodem-2.9.10-abby.diff", which can be found here.

Smart Link also includes script "slmodemd" for Mandrake to be placed at "/etc/rc.d/init.d" and configured with 'chkconfig --add slmodemd', also you should edit it to configure the modem for your country.


LIRC

I used the lirc modules included with the kernel (3rd. party). They need new lirc tools, as found in "lirc-0.7.0-1mdk.i586.rpm".

The LIRC related items appearing in /dev and /tmp (pipe, character device, socket), without using devfs. are:

$ ll /dev/lirc*
crw-rw---- 1 root root 61, 0 may 1 18:09 /dev/lirc0
srw-rw-rw- 1 root root 0 may 1 18:09 /dev/lircd=
prw-r--r-- 1 root root 0 may 1 18:09 /dev/lircm|
$ ll /tmp/.lircd
srw-rw-rw- 1 root root 0 abr 29 16:37 /tmp/.lircd=

Therefore, a line to change in "/etc/sysconfig/lircd" is:

# without devfs
DEVICE=/dev/lirc0

With 'irw' and pressing the TV remote control, it is easy to test if LIRC works.


Synaptics touchpad

An interesting option for X is use synaptics rpm (now "synaptics-0.14.1-1mdk.i586.rpm"). It makes wheel work in X.

It can be recognized at kernel boot:

Synaptics Touchpad, model: 1
Firmware: 5.6
180 degree mounted touchpad
Sensor: 18
new absolute packet format
Touchpad has extended capability bits
-> four buttons
-> multifinger detection
-> palm detection
input: SynPS/2 Synaptics TouchPad on isa0060/serio4

Software suspend

It is supported by the kernel.

(To be tested)


X

X version in Mandrake 10.2 is Xorg. Here is a simple configuration file that works with the LCD screen at 1600x1200: "/etc/X11/xorg.conf". See that it supports the LIRC mouse and the Synaptics touchpad.

An important change is the change on the keyboard driver:

Driver "kbd"

Miscellaneous

This is the output from 'dmesg'.

'cat /proc/interrupts' shows in a tipical situation:


    
CPU0

    

    
0:
4732929
XT-PIC
timer
1:
2740
XT-PIC
i8042
2:
0
XT-PIC
cascade
3:
24210
XT-PIC
irda0
4:
6
XT-PIC
serial
6:
169
XT-PIC
floppy
7:
2
XT-PIC
parport0
8:
0
XT-PIC
rtc
9:
27
XT-PIC
acpi
10:
525
XT-PIC
uhci_hcd, uhci_hcd, uhci_hcd, ehci_hcd, yenta, eth0, radeon@pci:0000:01:00.0
11:
19818
XT-PIC
uhci_hcd, uhci_hcd, bttv0, ohci1394, yenta, Intel 82801CA-ICH3, ICH
12:
185885
XT-PIC
i8042
14:
45659
XT-PIC
ide0
15:
42399
XT-PIC
ide1
NMI:
0

    

    
LOC:
0

    

    
ERR:
0

    

    
MIS:
0

    

    

Files

/etc/modprobe.preload and /etc/modprobe.conf: here.

/usr/src/linux/.config

/etc/X11/xorg.conf


New/to do


Conclusion

(Pending to be filled)

For sharing experiences about all this: webillo<at>gmail.com


Last update 11/08/05