[Bug 557736] Re: Lenovo X100e: thinkpad_acpi: Not yet supported ThinkPad detected!
Brian Candler
b.candler at pobox.com
Fri Jun 11 12:35:25 UTC 2010
There is a good guide on recompiling individual modules here:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/554099/comments/14
Unfortunately,
http://git.kernel.org/?p=linux/kernel/git/next/linux-next.git;a=blob_plain;f=drivers/platform/x86/thinkpad_acpi.c;hb=HEAD
is not a drop-in replacement for thinkpad_acpi.c with 2.6.32-22-generic source, giving some errors about missing functions and wrong numbers of args.
But I hacked about with it fairly blindly, making the minimum changes to
make it compile with 2.6.32-22 (source attached). Now:
make O=../temp modules SUBDIRS=drivers/platform/x86/
modprobe thinkpad_acpi
gives the following results:
Jun 11 13:30:13 x100 kernel: [10886.706712] thinkpad_acpi: ThinkPad ACPI Extras v0.24
Jun 11 13:30:13 x100 kernel: [10886.706718] thinkpad_acpi: http://ibm-acpi.sf.net/
Jun 11 13:30:13 x100 kernel: [10886.706721] thinkpad_acpi: ThinkPad BIOS 6XET39WW (1.23 ), EC 6XHT39WW-1.179000
Jun 11 13:30:13 x100 kernel: [10886.706725] thinkpad_acpi: Lenovo ThinkPad X100e, model 35085EG
Jun 11 13:30:13 x100 kernel: [10886.709008] thinkpad_acpi: detected a 16-level brightness capable ThinkPad
Jun 11 13:30:13 x100 kernel: [10886.711563] thinkpad_acpi: possible tablet mode switch found; ThinkPad in laptop mode
Jun 11 13:30:13 x100 kernel: [10886.711596] thinkpad_acpi: This ThinkPad has standard ACPI backlight brightness control, supported by the ACPI video driver
Jun 11 13:30:13 x100 kernel: [10886.711599] thinkpad_acpi: Disabling thinkpad-acpi brightness events by default...
Jun 11 13:30:13 x100 kernel: [10886.716578] thinkpad_acpi: asked for hotkey mask 0x040808fc, but firmware forced it to 0x000808fc
Jun 11 13:30:13 x100 kernel: [10886.733126] thinkpad_acpi: rfkill switch tpacpi_bluetooth_sw: radio is blocked
Jun 11 13:30:13 x100 kernel: [10886.748479] thinkpad_acpi: rfkill switch tpacpi_wwan_sw: radio is unblocked
Jun 11 13:30:13 x100 kernel: [10886.748641] Registered led device: tpacpi::thinklight
Jun 11 13:30:13 x100 kernel: [10886.748683] Registered led device: tpacpi::power
Jun 11 13:30:13 x100 kernel: [10886.748708] Registered led device: tpacpi::standby
Jun 11 13:30:13 x100 kernel: [10886.748732] Registered led device: tpacpi::thinkvantage
Jun 11 13:30:13 x100 kernel: [10886.766321] thinkpad_acpi: Standard ACPI backlight interface available, not loading native one.
Jun 11 13:30:13 x100 kernel: [10886.766654] thinkpad_acpi: Console audio control enabled, mode: monitor (read only)
Jun 11 13:30:13 x100 kernel: [10886.771905] input: ThinkPad Extra Buttons as /devices/platform/thinkpad_acpi/input/input10
This looks promising. Pressing Fn-F5 enables the bluetooth happily.
** Attachment added: "Randomly hacked to compile with 2.6.32-22-generic"
http://launchpadlibrarian.net/50130966/thinkpad_acpi.c
--
Lenovo X100e: thinkpad_acpi: Not yet supported ThinkPad detected!
https://bugs.launchpad.net/bugs/557736
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to linux in ubuntu.
More information about the kernel-bugs
mailing list