On Sun, Feb 10, 2008 at 01:00:27PM -0200, Henrique de Moraes Holschuh wrote: > I was looking at the X61t events, and tried to locate a way to get the > current state of its tablet mode, since thinkpad-acpi currently lacks that > (important) information. > There are already acpi events on my X61t when switching from latop to tablet mode and vice versa, so I didn't notice anything lacking in this respect. What would thinkpad_acpi do that isn't already happening? > Well, I fount two EC registers that might be it. But I will need some help > from X61t owners to make sure. > > Here's how you can help: > 1. load thinkpad-acpi with the experimental=1 flag to make > /proc/acpi/ibm/ecdump available. > > There are two registers I need to understand: EC.HDIM (bit 0 of EC 0x01) > and EC.HTAB (bit 7 of EC 0x0f). > > Please send the output of "cat /proc/acpi/ibm/ecdump" when the tablet is in > each mode (tablet or laptop). > Attached. Model is a X61t with BIOS version 1.08. Andreas
EC +00 +01 +02 +03 +04 +05 +06 +07 +08 +09 +0a +0b +0c +0d +0e +0f EC 0x00: a6 05 b0 44 00 86 00 00 1f 02 47 00 00 00 80 00 EC 0x10: 00 00 ff ff f4 3c 87 09 4b ff 83 f1 ff ff 2d 00 EC 0x20: 00 00 00 00 50 00 00 *ad 00 00 00 01 8b 00 00 80 EC 0x30: 07 00 12 00 30 04 00 00 85 00 20 10 00 50 00 00 EC 0x40: 00 00 00 00 00 00 14 01 42 01 00 00 00 00 00 00 EC 0x50: 00 c0 02 19 d8 07 02 0a 15 37 3b 5c 5d 00 00 00 EC 0x60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 EC 0x70: 00 00 00 00 00 12 30 80 *2f 2d 2d 29 1c 80 1c 80 EC 0x80: 00 00 00 06 *d4 0d 03 00 00 00 00 00 00 00 00 00 EC 0x90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 EC 0xa0: 29 19 e0 1e ff ff 52 00 00 00 0c 3f ff ff c0 00 EC 0xb0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 EC 0xc0: 2a 29 80 80 80 80 80 80 00 41 00 00 00 00 08 00 EC 0xd0: 06 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 EC 0xe0: 00 00 00 00 00 00 00 00 10 20 b6 05 24 2e 55 03 EC 0xf0: 37 52 48 54 31 36 57 57 0e e2 43 aa 0e 62 4d 0f
EC +00 +01 +02 +03 +04 +05 +06 +07 +08 +09 +0a +0b +0c +0d +0e +0f EC 0x00: a6 *04 b0 44 00 86 00 00 1f 02 47 00 00 00 80 *80 EC 0x10: 00 00 ff ff f4 *30 87 09 4b ff 83 f1 ff ff 2d 00 EC 0x20: 00 00 00 00 50 00 00 *28 00 00 00 01 8b 00 00 80 EC 0x30: 07 00 12 00 30 04 00 00 85 00 20 10 00 50 00 00 EC 0x40: 00 00 00 00 00 00 *34 01 *4a 01 00 00 00 00 00 00 EC 0x50: 00 c0 02 19 d8 07 02 0a 15 37 3b 5c 5d 00 00 00 EC 0x60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 EC 0x70: 00 00 00 00 00 12 30 80 2f 2d 2d 29 1c 80 1c 80 EC 0x80: 00 00 00 06 *db 0d 03 00 00 00 00 00 00 00 00 00 EC 0x90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 EC 0xa0: 29 19 e0 1e ff ff 52 00 00 00 *0e 3f ff ff c0 00 EC 0xb0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 EC 0xc0: 2a 29 80 80 80 80 80 80 00 41 00 00 00 00 08 00 EC 0xd0: 06 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 EC 0xe0: 00 00 00 00 00 00 00 00 10 20 b6 05 24 2e 55 03 EC 0xf0: 37 52 48 54 31 36 57 57 0e e2 43 aa 0e 62 4d 0f
Attachment:
signature.asc
Description: Digital signature
------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________ ibm-acpi-devel mailing list ibm-acpi-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/ibm-acpi-devel