lifebook-2.6
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
lifebook-2.6 [2007/01/04 01:40] – 65.172.181.6 | lifebook-2.6 [2008/03/10 14:48] (current) – 87.171.56.63 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Linux 2.6.x on the Lifebook S-5582 ====== | ||
+ | See [[lifebook]] for more general info and configuration tips for the 2.4 series Kernel and [[kernel2.6]] for general info about using a 2.6 Kernel on [[Debian]]. | ||
+ | |||
+ | //WORK IN PROGRESS// | ||
+ | |||
+ | ===== ACPI ===== | ||
+ | |||
+ | Install some ACPI tools and remove the APM software. | ||
+ | |||
+ | #> apt-get install acpi acpid | ||
+ | #> apt-get remove apmd | ||
+ | |||
+ | ===== Mouse ===== | ||
+ | |||
+ | Getting the touchpad to work nicely is a little more work than on 2.4 but it works real fine then. | ||
+ | |||
+ | First get the Synaptics driver for XFree: | ||
+ | |||
+ | #> apt-get install xfree86-driver-synaptics | ||
+ | |||
+ | The touchpad is not a real Synaptics pad but an ALPS glidepoint device. From Kernel 2.6.11((somehow broken in 2.6.13 again)) this is supported out of the box and no patch is neccessary anymore. This is what you need to select at least for the touchpad. | ||
+ | |||
+ | Device Drivers | ||
+ | Input device support | ||
+ | [*] Provide legacy /dev/psaux device | ||
+ | (1024) Horizontal screen resolution | ||
+ | (768) Vertical screen resolution | ||
+ | < | ||
+ | [*] Mice | ||
+ | < | ||
+ | |||
+ | Before you reboot into the new kernel make sure the ''/ | ||
+ | |||
+ | #> mknod / | ||
+ | #> mknod / | ||
+ | #> mknod / | ||
+ | |||
+ | On booting the new Kernel you should see some messages like this: | ||
+ | |||
+ | alps.c: E6 report: 00 00 64 | ||
+ | alps.c: E7 report: 63 02 28 | ||
+ | alps.c: E6 report: 00 00 64 | ||
+ | alps.c: E7 report: 63 02 28 | ||
+ | alps.c: Status: 15 01 0a | ||
+ | ALPS Touchpad (Glidepoint) detected | ||
+ | Disabling hardware tapping | ||
+ | alps.c: Status: 15 01 0a | ||
+ | input: AlpsPS/2 ALPS TouchPad on isa0060/ | ||
+ | |||
+ | Now you can tune your ''/ | ||
+ | |||
+ | < | ||
+ | Section " | ||
+ | Identifier | ||
+ | Option | ||
+ | Driver | ||
+ | Option | ||
+ | Option | ||
+ | Option | ||
+ | Option | ||
+ | Option | ||
+ | Option | ||
+ | Option | ||
+ | Option | ||
+ | Option | ||
+ | Option | ||
+ | Option | ||
+ | Option | ||
+ | Option | ||
+ | Option | ||
+ | Option | ||
+ | Option | ||
+ | Option | ||
+ | Option | ||
+ | Option | ||
+ | Option | ||
+ | Option | ||
+ | EndSection | ||
+ | </ | ||
+ | |||
+ | Adding this device to your '' | ||
+ | |||
+ | ===== CPU ===== | ||
+ | |||
+ | These are the CPU specific options I set: | ||
+ | |||
+ | < | ||
+ | Processor type and features | ||
+ | | ||
+ | (X) Pentium M | ||
+ | Power management options (ACPI, APM) ---> | ||
+ | [*] Power Management support | ||
+ | [*] ACPI Support | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | <*> APM (Advanced Power Management) BIOS support | ||
+ | [*] Make CPU Idle calls when idle | ||
+ | [*] | ||
+ | [*] Allow interrupts during APM BIOS calls | ||
+ | [*] CPU Frequency scaling | ||
+ | < | ||
+ | [*] CPU frequency translation statistics details | ||
+ | Default CPUFreq governor (performance) | ||
+ | --- ' | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | --- | ||
+ | <*> ACPI Processor P-States driver | ||
+ | <*> Intel Speedstep on ICH-M chipsets (ioport interface) | ||
+ | <*> Intel SpeedStep on 440BX/ZX/MX chipsets (SMI interface) | ||
+ | --- shared options | ||
+ | [*] Relaxed speedstep capability checks | ||
+ | </ | ||
+ | |||
+ | Well the boot messages say there is no SpeedStep available... | ||
+ | |||
+ | cpufreq: Intel(R) SpeedStep(TM) for this chipset not (yet) available. | ||
+ | |||
+ | ... but ACPI detects 8 throttling states ... | ||
+ | |||
+ | ACPI: Processor [CPU0] (supports C1 C2, 8 throttling states) | ||
+ | |||
+ | So using them is as easy as doing | ||
+ | |||
+ | #> apt-get install cpufreqd | ||
+ | |||
+ | If you want some logging set '' | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | ===== Multimediabuttons ===== | ||
+ | |||
+ | A new driver has been posted to the i2c and input mailing lists that supports these buttons directly (no daemon). Hopefully it will be included in 2.6.21. The patch is available at: | ||
+ | [[http:// | ||
+ | |||
+ | > is it included in 2.6.22? I couldn' | ||
+ | >> The driver will definitly be included in 2.6.25 | ||
+ | |||
+ | It supersedes/ | ||
+ | |||
+ | --------------------------------------------------------------- | ||
+ | |||
+ | The other alternative is the older [[http:// | ||
+ | |||
+ | Download and compile the module first: | ||
+ | |||
+ | $> wget http:// | ||
+ | $> tar -xzvf apanel-linux-1.3.tar.gz | ||
+ | $> cd apanel-linux-1.3/ | ||
+ | $> mv -f Makefile-2.6 Makefile | ||
+ | $> make KERNEL_SOURCE=/ | ||
+ | #> cp apanel.ko / | ||
+ | #> depmod -a | ||
+ | |||
+ | Then create the needed device: | ||
+ | |||
+ | #> mkdir / | ||
+ | #> mknod / | ||
+ | |||
+ | Loading the module with '' | ||
+ | |||
+ | apanel: Application Buttons found, slave address = 0x19 | ||
+ | apanel: LED found, slave address = 0x19 | ||
+ | |||
+ | Be sure the module load the correct I2C module for your laptop -- '' | ||
+ | |||
+ | Add '' | ||
+ | |||
+ | The next thing is to compile and install the userspace tools. | ||
+ | |||
+ | $> ../utils | ||
+ | $> make | ||
+ | #> cp fjkeyd / | ||
+ | #> cp apanelc / | ||
+ | |||
+ | Install the following ''/ | ||
+ | |||
+ | <code bash> | ||
+ | #! /bin/sh | ||
+ | |||
+ | case " | ||
+ | start) | ||
+ | echo -n " | ||
+ | if / | ||
+ | ;; | ||
+ | stop) | ||
+ | echo -n " | ||
+ | if / | ||
+ | ;; | ||
+ | status) | ||
+ | / | ||
+ | ;; | ||
+ | restart) | ||
+ | $0 stop | ||
+ | $0 start | ||
+ | ;; | ||
+ | *) | ||
+ | echo " | ||
+ | exit 1 | ||
+ | esac | ||
+ | </ | ||
+ | |||
+ | And use the following command to link it into the default run levels. | ||
+ | |||
+ | #> update-rc.d fjkeyd defaults 40 60 | ||
+ | |||
+ | The Daemon will start a script for each button located in ''/ | ||
+ | |||
+ | ^ Button^ Script | ||
+ | | 1 | ''/ | ||
+ | | 2 | ''/ | ||
+ | | 3 | ''/ | ||
+ | | 4 | ''/ | ||
+ | | Enter | seems not to work | | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | ====== Additional Notes ====== | ||
+ | |||
+ | Added by Nicolas CAZIER, french happy Lifebook S 5582 owner | ||
+ | |||
+ | It works great. I've added, by searching on the net, some usefull functions : | ||
+ | [[http:// | ||
+ | |||
+ | APANEL is a kernel module and demon for using multimedia buttons. (for me the N°1 switch to screen saver, 2 launch KONSOLE (kde's xterm equivalent), | ||
+ | |||
+ | > doesn' | ||
+ | |||
+ | FUJ02B1 is an ACPI kernel Module which give access to some settings : sound volume and brightness ! (functions aviable from Fn+F6 to F9). | ||
+ | |||
+ | > I think this refers to http:// | ||
+ | >> This may be an update - http:// | ||
+ | In addition I've added an small KDE GUI for APANEL and FUJ02B1. | ||
+ | |||
+ | And the last : The modem works ! YES ! with a new alsa module: snd-intel8x0m (m stands for modem !) | ||
+ | In addition, juste compile slmodemd (from an company I just can't remember the name !) with the alsa option activated and you can send fax ! | ||
+ | |||
+ | On my S5582 there is only on thing left that doesn' | ||
+ | |||
+ | ---- | ||
+ | |||
+ | Got some more feedback I have to try: | ||
+ | |||
+ | > I have got apanel to work with my S2020, but indeed got the same error | ||
+ | > as you initially. I found the key was to load the appropriate I2C | ||
+ | > modules before loading apanel. In my case, the modules I needed were: | ||
+ | > | ||
+ | > (Main I2C bus driver) i2c_ali1535 | ||
+ | > (Not sure if you need these just for apanel) i2c_sensor, i2c_dev | ||
+ | > (Other detected I2C sensors: ) eeprom, adm1031 | ||
+ | > | ||
+ | > Then loading apanel registers itsself with I2C and things ' | ||
+ | > | ||
+ | > I'd be interested to know if you have a copy of fuj02b1-2.6.0.patch.gz | ||
+ | > | ||
+ | > The link on the Wiki to the Leog forums works, but the link from there | ||
+ | > is dead. | ||
+ | > | ||
+ | > Many thanks, | ||
+ | > | ||
+ | > Peter Clifton | ||
+ | |||
+ | The patch now seems to be located here: http:// | ||
+ | |||
+ | ====== 2.6.14(+?) apanel patch ====== | ||
+ | |||
+ | apanel is broken as of kernel 2.6.14 as a result of changes to the I2C interface. | ||
+ | < | ||
+ | --- ../ | ||
+ | +++ apanel.c 2005-12-03 13: | ||
+ | @@ -126,7 +126,7 @@ | ||
+ | | ||
+ | { | ||
+ | | ||
+ | - .id = -1, | ||
+ | + /* .id = -1, -- no longer used */ | ||
+ | | ||
+ | | ||
+ | | ||
+ | @@ -609,7 +609,7 @@ | ||
+ | | ||
+ | { | ||
+ | /* try to attach on any smbus adapter */ | ||
+ | - if (adap-> | ||
+ | + if (adap-> | ||
+ | | ||
+ | /* addr_data is generated by this I2C_CLIENT_INSMOD stuff */ | ||
+ | </ | ||
+ | If you have problems or questions, please email me at ckm (at) crust (dot) net | ||
+ | |||
+ | Please note that this was tested *only* on my P2040. | ||
+ | |||
+ | Chris. | ||
+ | |||
+ | |||
+ | Works 2.6.15 on S6010 thanx |