[ltp] T61p and FN-Key

Michael Gaber linux-thinkpad@linux-thinkpad.org
Thu, 23 Oct 2008 22:47:07 +0200


This is a cryptographically signed message in MIME format.

--------------ms060409090206000106090606
Content-Type: multipart/mixed;
 boundary="------------080900020103070700040800"

This is a multi-part message in MIME format.
--------------080900020103070700040800
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit



Michael Parker schrieb:
> Hallo,
>  
> to be honest I'm pretty confused about the different aproaches to get fn-key 
> working on thinkpads.
> I'm looking especially for a solution on a t61p.

T60 Core2Duo here

> I'm just installed
>  
>  2.6.25-gentoo-r7 #2 SMP x86_64 Intel(R) Core(TM)2 Duo CPU T9500 @ 2.60GHz 
> GenuineIntel GNU/Linux

2.6.26-thinkpad-r1 #3 SMP PREEMPT x86_64 Intel(R) Core(TM)2 CPU T7200 @
2.00GHz GenuineIntel GNU/Linux

> Sound buttons (160,174,176) work since I used this .Xmodmap
> keycode 144 = XF86AudioPrev
> keycode 153 = XF86AudioNext
> keycode 159 = XF86LaunchA
> keycode 160 = XF86AudioMute 
> keycode 162 = XF86AudioPlay
> keycode 164 = XF86AudioStop
> keycode 174 = XF86AudioLowerVolume
> keycode 176 = XF86AudioRaiseVolume
> keycode 227 = F35
> keycode 233 = XF86Forward
> keycode 234 = XF86Back


wooohoooo, would you perhaps simply try adding this line to your xorg.conf
Option		"XkbModel"	"thinkpad60"
or try to use attached fdi-file, which does not yet map the bluetooth
button correctly, but maps at least the 6 special buttons on the
arrow-keys (haven't tried any other)

btw: volume works out of the box here, but might be because T60/T61
difference

> 
> The other assignments don't work.
> 
> Light-brigthening keyboard light works out of the box.
> 
> Suspend-to-ram works via kde and klaptop after enabling acpi, but not by the 
> fn-f4 combinations.

add an acpi event that triggers hibernate-ram (tuxonice-userui i think)
on event
Oct 23 22:44:22 [acpid] completed event "ibm/hotkey HKEY 00000080 00001004"
> 
> 
> Furthermore I just installed acpid with the options
> 
> cat /etc/modules.d/ibm-acpi 
> options ibm_acpi experimental=1 hotkey=enable,0xffef
> 
> which I got from an t60 installation instruction.
> <http://thomasgersdorf.com/linux/index.php/Gentoo_Linux_on_IBM_ThinkPad_T60> .
> 
> 
> But I can't see the example scripts.
> Does anyone has a working script, keycodes for a new t61p ?
> 
> Do I need acpid beside thinkpad_acpi at all ?
> 
>  dmesg | grep   acpi
> ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
> ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled)
> ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
> ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
> thinkpad_acpi: ThinkPad ACPI Extras v0.19
> thinkpad_acpi: http://ibm-acpi.sf.net/
> thinkpad_acpi: ThinkPad BIOS 7LETC1WW (2.21 ), EC 7KHT24WW-1.08
> thinkpad_acpi: Lenovo ThinkPad T61p
> thinkpad_acpi: radio switch found; radios are enabled
> thinkpad_acpi: standard ACPI backlight interface available, not loading native 
> one...
> 
> 
> Any hints and links to actual information would be greatly appreciated !
> 

try adding jokeys overlay (layman) and use thinkpad-sources ^^
> Regards,
> Michael
> 


Regards Michael

--------------080900020103070700040800
Content-Type: text/xml;
 name="10-x11-input.fdi"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="10-x11-input.fdi"

<?xml version="1.0" encoding="utf-8"?>
<deviceinfo version="0.2">
   <match key="info.capabilities" contains="input.keys">
      <merge key="input.xkb.rules" type="string">xorg</merge>
      <!-- Option "XkbModel" "thinkpad60" -->
      <merge key="input.xkb.model" type="string">evdev</merge>
      <merge key="input.xkb.layout" type="string">de</merge>
      <append key="input.keymap.data" type="strlist">04:KEY_BLUETOOTH</append>
   </match>
</deviceinfo>


--------------080900020103070700040800--

--------------ms060409090206000106090606
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACA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