2.6.25-rc2 Regression Thinkpad acpi
Subsystems (2)
Hello,
2.6.25-rc2-git7 has regression, thinkpad keys do not work any more.
Probably this commit broke things 6c231bd5eb07ce546517019f334652b9ecfc329a
Signature · 1 line
Lukáš Hejtmánek
Quoted 1 line · Lukas Hejtmanek
Hello,
Hi,
Thanks for the report.
Quoted 3 lines
2.6.25-rc2-git7 has regression, thinkpad keys do not work any more.
Probably this commit broke things
6c231bd5eb07ce546517019f334652b9ecfc329a
Please always provide the commit subject along with the hash in bug reports.
Also, CCing the author and the relevant list on a report usually is a good idea. :-)
Thanks,
Rafael
Quoted 3 lines · Rafael J. Wysocki
Quoted 3 lines
2.6.25-rc2-git7 has regression, thinkpad keys do not work any more.
Probably this commit broke things
6c231bd5eb07ce546517019f334652b9ecfc329a
This commit is indeed broken, and I have a tentative fix for it. But I'd like to have a better description of just "how" the thinkpad keys do not work anymore, to make sure I fix the entire breakage in one go. I will stare at the code and the fix a bit more before sending in any patches, though.
Quoted 2 lines
Also, CCing the author and the relevant list on a report usually is a good idea. :-)
Make it "mandatory" if you want a fast reply :^)
Signature · 4 lines
"One disk to rule them all, One disk to find them. One disk to bring them all and in the darkness grind them. In the Land of Redmond where the shadows lie." -- The Silicon Valley Tarot Henrique Holschuh
Quoted 5 lines · Henrique de Moraes Holschuh
This commit is indeed broken, and I have a tentative fix for it. But I'd like to have a better description of just "how" the thinkpad keys do not work anymore, to make sure I fix the entire breakage in one go. I will stare at the code and the fix a bit more before sending in any patches, though.
Well, keys generate ACPI interrupt but acpid never receives any event.
I would be happy to test fixes to see whether things go well.
Signature · 5 lines
Lukáš Hejtmánek - To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 8 lines · Lukas Hejtmanek
Quoted 5 lines · Henrique de Moraes Holschuh
This commit is indeed broken, and I have a tentative fix for it. But I'd like to have a better description of just "how" the thinkpad keys do not work anymore, to make sure I fix the entire breakage in one go. I will stare at the code and the fix a bit more before sending in any patches, though.
Well, keys generate ACPI interrupt but acpid never receives any event.
Not even over the new netlink socket? Or the thinkpad-acpi input device? Please send me the debug output of thinkpad-acpi loading, just in case.
Quoted 1 line
I would be happy to test fixes to see whether things go well.
Sure, try this one:
drivers/misc/thinkpad_acpi.c +2 -1
@@ -1078,7 +1078,8 @@ static int hotkey_get_tablet_mode(int *status)if (!acpi_evalf (hkey_handle, &s,"MHKG" ,"d" ))return -EIO ; -return ((s &TP_HOTKEY_TABLET_MASK ) !=0 ); + *status = ((s &TP_HOTKEY_TABLET_MASK ) !=0 ); +return 0 ; }/*
Signature · 4 lines
"One disk to rule them all, One disk to find them. One disk to bring them all and in the darkness grind them. In the Land of Redmond where the shadows lie." -- The Silicon Valley Tarot Henrique Holschuh
Quoted 1 line · Henrique de Moraes Holschuh
Not even over the new netlink socket? Or the thinkpad-acpi input device?
how can I check this?
volume keys work. But anything through acpid does not. Even AC/battery switch is not signalized. So the bug may be somewhere else?
Quoted 1 line
Please send me the debug output of thinkpad-acpi loading, just in case.
[ 247.170385] thinkpad_acpi: ThinkPad ACPI Extras v0.19 [ 247.170398] thinkpad_acpi: http://ibm-acpi.sf.net/ [ 247.170402] thinkpad_acpi: ThinkPad BIOS 7LETB0WW (2.10 ), EC 7KHT24WW-1.08 [ 247.170407] thinkpad_acpi: Lenovo ThinkPad T61 [ 247.171289] thinkpad_acpi: radio switch found; radios are enabled [ 247.184889] thinkpad_acpi: requested hot key mask 0xffffffff, but firmware forced it to 0x00ffffff [ 247.188509] thinkpad_acpi: detected a 16-level brightness capable ThinkPad [ 247.189027] input: ThinkPad Extra Buttons as /devices/virtual/input/input10 [ 418.790341] thinkpad_acpi: drv_acpi_handle_init: Found ACPI handle \_SB.PCI0.LPC.EC for ec [ 418.793747] thinkpad_acpi: ibm_init: probing for driver [ 418.793758] thinkpad_acpi: ThinkPad ACPI Extras v0.19 [ 418.793762] thinkpad_acpi: http://ibm-acpi.sf.net/ [ 418.793766] thinkpad_acpi: ThinkPad BIOS 7LETB0WW (2.10 ), EC 7KHT24WW-1.08 [ 418.793771] thinkpad_acpi: Lenovo ThinkPad T61 [ 418.793775] thinkpad_acpi: ibm_init: driver installed [ 418.793780] thinkpad_acpi: ibm_init: probing for hotkey [ 418.793827] thinkpad_acpi: drv_acpi_handle_init: Found ACPI handle HKEY for hkey [ 428.258389] thinkpad_acpi: radio switch found; radios are enabled [ 428.258423] thinkpad_acpi: hotkey_init: using Lenovo default hot key map [ 428.258431] thinkpad_acpi: hotkey_init: enabling hot key handling [ 428.264778] thinkpad_acpi: hotkey_init: legacy hot key reporting over procfs enabled [ 418.806536] thinkpad_acpi: register_tpacpi_subdriver: registering hotkey as an ACPI driver [ 418.808594] thinkpad_acpi: ibm_init: hotkey installed [ 418.816087] thinkpad_acpi: requested hot key mask 0xffffffff, but firmware forced it to 0x00ffffff [ 418.816100] thinkpad_acpi: ibm_init: probing for bluetooth [ 418.816114] thinkpad_acpi: drv_acpi_handle_init: Found ACPI handle HKEY for hkey [ 418.821862] thinkpad_acpi: ibm_init: bluetooth installed [ 418.821875] thinkpad_acpi: ibm_init: probing for wan [ 418.821890] thinkpad_acpi: drv_acpi_handle_init: Found ACPI handle HKEY for hkey [ 418.828238] thinkpad_acpi: wan_init: wan hardware not installed [ 418.828251] thinkpad_acpi: ibm_init: probing for light [ 418.828266] thinkpad_acpi: drv_acpi_handle_init: Found ACPI handle \UCMS for cmos [ 418.842964] thinkpad_acpi: ibm_init: light installed [ 418.843021] thinkpad_acpi: ibm_init: probing for bay [ 418.843050] thinkpad_acpi: ibm_init: probing for cmos [ 418.843060] thinkpad_acpi: drv_acpi_handle_init: Found ACPI handle \UCMS for cmos [ 418.843378] thinkpad_acpi: ibm_init: cmos installed [ 418.843385] thinkpad_acpi: ibm_init: probing for led [ 418.843402] thinkpad_acpi: drv_acpi_handle_init: Found ACPI handle LED for led [ 418.843407] thinkpad_acpi: ibm_init: led installed [ 418.843412] thinkpad_acpi: ibm_init: probing for beep [ 418.843418] thinkpad_acpi: drv_acpi_handle_init: Found ACPI handle BEEP for beep [ 418.843422] thinkpad_acpi: ibm_init: beep installed [ 418.843429] thinkpad_acpi: ibm_init: probing for thermal [ 418.849384] thinkpad_acpi: ibm_init: thermal installed [ 418.849392] thinkpad_acpi: ibm_init: probing for ecdump [ 418.849396] thinkpad_acpi: ibm_init: ecdump installed [ 418.849401] thinkpad_acpi: ibm_init: probing for brightness [ 418.849406] thinkpad_acpi: brightness_init: selected brightness_mode=2 [ 418.849424] thinkpad_acpi: drv_acpi_handle_init: Found ACPI handle \_SB.PCI0.VID for vid [ 418.849464] thinkpad_acpi: detected a 16-level brightness capable ThinkPad [ 418.850526] thinkpad_acpi: ibm_init: brightness installed [ 418.850534] thinkpad_acpi: ibm_init: probing for volume [ 418.850538] thinkpad_acpi: ibm_init: volume installed [ 418.850545] thinkpad_acpi: ibm_init: probing for fan [ 418.850853] thinkpad_acpi: ibm_init: fan installed [ 418.850952] input: ThinkPad Extra Buttons as /devices/virtual/input/input11
Quoted 3 lines
Quoted 1 line
I would be happy to test fixes to see whether things go well.
Sure, try this one:
not better.
Signature · 5 lines
Lukáš Hejtmánek - To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 2 lines · Lukas Hejtmanek
volume keys work. But anything through acpid does not. Even AC/battery switch is not signalized. So the bug may be somewhere else?
Yeah, there is an EC-related regression in 2.6.25-rc3 that bites your thinkpad. I don't have a link to it right now, but if you look for the messages to LKML on the last 48h, you will find it.
Quoted 1 line
[ 418.816087] thinkpad_acpi: requested hot key mask 0xffffffff, but firmware forced it to 0x00ffffff
Don't do this. Just let the driver select the default mask, unless you *really* know better.
Quoted 3 lines
Quoted 1 line
Sure, try this one:
not better.
It wouldn't fix any EC issues. If you just revert the 6c231bd5eb07ce546517019f334652b9ecfc329a commit entirely (note, I don't mean revert TO THE COMMIT), by doing something like this:
git checkout v2.6.25-rc3
git show 6c231bd5eb07ce546517019f334652b9ecfc329a | patch -p1 -R
Does it fix anything ?
Signature · 4 lines
"One disk to rule them all, One disk to find them. One disk to bring them all and in the darkness grind them. In the Land of Redmond where the shadows lie." -- The Silicon Valley Tarot Henrique Holschuh
Quoted 7 lines · Henrique de Moraes Holschuh
Quoted 2 lines · Lukas Hejtmanek
volume keys work. But anything through acpid does not. Even AC/battery switch is not signalized. So the bug may be somewhere else?
Yeah, there is an EC-related regression in 2.6.25-rc3 that bites your thinkpad. I don't have a link to it right now, but if you look for the messages to LKML on the last 48h, you will find it.
http://bugzilla.kernel.org/show_bug.cgi?id=10100
(easy to remember ;=))
Thanks,
Rafael
Dell OptiPlex 320 - Core 2 Duo
Greetings to all,
I recently stumbled across a Dell OptiPlex 320 which brings a nasty assembly of hardware. Besides the many issues reported (system/bios time de-sync, SATA controller detection, etc), this particular model doesn't seem to correctly recognize the CPU, which I'm not even sure what it is (I haven't seen anyone else complaining about it). As far as I could investigate, it looks like a weird P4 1.8Ghz, dual core. However, /proc/cpuinfo only reports 1 processor, 1.8Ghz. I'm saying that it's a dual core because I've seen an identical machine running Windows, showing 2 CPUs. Besides, other tools report it as "dual core".
Below is the output of /proc/cpuinfo and some head lines of dmesg. Here is the output of Todd Allen's cpuid tool (20060917):
(multi-processing synth): hyper-threaded (t=2)
(synth) = Intel Core 2 Duo (Conroe/Allendale) / Core 2 Extreme
Processor (Conroe) / Dual-Core Xeon Processor 5100 (Woodcrest), 65nm
I've tried OpenSuSE 10.3 default kernel, 2.6.22.5, the oSuSE last update, 2.6.22.17, and a custom-built 2.6.24.2, all 32bit. I just notice now that I could have tried downgrading...
What I'm looking for is some guidance in how can I trace this for you and perhaps help you/me somehow. I've digged this mailing-list and lots of other sources, and no one seems to complain about this, which is odd...
------------------- /proc/cpuinfo -------------------- processor : 0vendor_id : GenuineIntel
cpu family : 6
model : 15
model name : Genuine Intel(R) CPU 2160 @ 1.80GHz
stepping : 2
cpu MHz : 1800.256
cache size : 1024 KB
physical id : 0
siblings : 1
core id : 0
cpu cores : 1fdiv_bug : nohlt_bug : nof00f_bug : nocoma_bug : no
fpu : yesfpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc up pni monitor ds_cpl est tm2 ssse3 cx16 xtpr lahf_lm bogomips : 3614.79
clflush size : 64
------------------- dmesg --------------------
Linux version 2.6.22.5-23-default (geeko@buildhost) (gcc version 4.2.1 (SUSE Linux)) #1 SMP 2007/09/18 05:23:45 UTC
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000007de5c800 (usable)
BIOS-e820: 000000007de5c800 - 000000007de5e800 (ACPI NVS)
BIOS-e820: 000000007de5e800 - 000000007de60800 (ACPI data)
BIOS-e820: 000000007de60800 - 000000007e000000 (reserved)
BIOS-e820: 00000000e0000000 - 00000000f0000000 (reserved)
BIOS-e820: 00000000fec00000 - 00000000fed00400 (reserved)
BIOS-e820: 00000000fee00000 - 00000000fef00000 (reserved)
BIOS-e820: 00000000ffb00000 - 0000000100000000 (reserved) 1118MB HIGHMEM available.
896MB LOWMEM available.
Entering add_active_range(0, 0, 515676) 0 entries of 256 used Zone PFN ranges:
DMA 0 -> 4096
Normal 4096 -> 229376
HighMem 229376 -> 515676
early_node_map[1] active PFN ranges
0: 0 -> 515676
On node 0 totalpages: 515676
DMA zone: 32 pages used for memmap
DMA zone: 0 pages reserved
DMA zone: 4064 pages, LIFO batch:0
Normal zone: 1760 pages used for memmap
Normal zone: 223520 pages, LIFO batch:31
HighMem zone: 2236 pages used for memmap
HighMem zone: 284064 pages, LIFO batch:31
DMI 2.3 present.
Using APIC driver default
ATI board detected. Disabling timer routing over 8254. Allocating PCI resources starting at 80000000 (gap: 7e000000:62000000) Built 1 zonelists. Total pages: 511648
Kernel command line:
root=/dev/disk/by-id/scsi-SATA_WDC_WD800JD-75M_WD-WMAM9TA95509-part2 apm=off acpi=off mce=off barrier=off ide=nodma idewait=50 i8042.nomux
psmouse.proto=bare irqpoll pci=nommconf resume=/dev/sda1 splash=silent
Misrouted IRQ fixup and polling support enabled
This may significantly impact system performance
bootsplash: silent mode.
Found and enabled local APIC!
mapped APIC to ffffd000 (fee00000)
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done. Initializing CPU#0
PID hash table entries: 4096 (order: 12, 16384 bytes) Detected 1800.245 MHz processor.
Console: colour VGA+ 80x25
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes) Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 2037048k/2062704k available (1820k kernel code, 24356k reserved, 761k data, 228k init, 1145200k highmem)
virtual kernel memory layout:
fixmap : 0xffdf4000 - 0xfffff000 (2092 kB)
pkmap : 0xff800000 - 0xffc00000 (4096 kB)
vmalloc : 0xf8800000 - 0xff7fe000 ( 111 MB)
lowmem : 0xc0000000 - 0xf8000000 ( 896 MB)
.init : 0xc038c000 - 0xc03c5000 ( 228 kB)
.data : 0xc02c725d - 0xc0385964 ( 761 kB)
.text : 0xc0100000 - 0xc02c725d (1820 kB)Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay using timer specific routine.. 3614.77 BogoMIPS (lpj=7229554)
Security Framework v1.0.0 initialized
Mount-cache hash table entries: 512
CPU: After generic identify, caps: bfebfbff 20100000 00000000 00000000 0000e39d 00000000 00000001
monitor/mwait feature present.
using mwait in idle threads.
CPU: L1 I cache: 32K, L1 D cache: 32K
CPU: L2 cache: 1024K
CPU: Physical Processor ID: 0
CPU: Processor Core ID: 0
CPU: After all inits, caps: bfebfbff 20100000 00000000 00003940 0000e39d 00000000 00000001
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
Compat vDSO mapped to ffffe000.
Checking 'hlt' instruction... OK.
SMP alternatives: switching to UP code
Freeing SMP alternatives: 12k freed
Unpacking initramfs... done
Freeing initrd memory: 3950k freed
CPU0: Intel Genuine Intel(R) CPU 2160 @ 1.80GHz stepping 02
SMP motherboard not detected.
Brought up 1 CPUs
Booting paravirtualized kernel on bare hardware
NET: Registered protocol family 16
[...]
Signature · 3 lines
Nuno Tavares DRI, Consultoria Informática Telef: +351 936 184 086
Re: Dell OptiPlex 320 - Core 2 Duo
On Wed, 2008-02-27 at 11:54 +0000, Nuno Tavares wrote:
[...]
Quoted 3 lines
I'm saying that
it's a dual core because I've seen an identical machine running Windows, showing 2 CPUs. Besides, other tools report it as "dual core".
FYI, DELL often changes its hardware for the same model number.
Xav
Re: Dell OptiPlex 320 - Core 2 Duo
In reply to Nuno TavaresQuoted 3 lines · Nuno Tavares
Kernel command line:
root=/dev/disk/by-id/scsi-SATA_WDC_WD800JD-75M_WD-WMAM9TA95509-part2 apm=off acpi=off mce=off barrier=off ide=nodma idewait=50 i8042.nomux
Multi processor requires acpi, so your acpi=off will disable all but the first CPU.
Is the system really so broken that you have to tell the kernel to disable everything?
--
Len Sorensen
Quoted 7 lines · Henrique de Moraes Holschuh
Quoted 2 lines · Lukas Hejtmanek
volume keys work. But anything through acpid does not. Even AC/battery switch is not signalized. So the bug may be somewhere else?
Yeah, there is an EC-related regression in 2.6.25-rc3 that bites your thinkpad. I don't have a link to it right now, but if you look for the messages to LKML on the last 48h, you will find it.
this one fixes all my troubles with thinkpad hotkeys in rc3.
http://lkml.org/lkml/2008/2/25/400
Quoted 4 lines
Quoted 1 line
[ 418.816087] thinkpad_acpi: requested hot key mask 0xffffffff, but firmware forced it to 0x00ffffffDon't do this. Just let the driver select the default mask, unless you *really* know better.
OK, thanks.
Signature · 5 lines
Lukáš Hejtmánek - To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 11 lines · Lukas Hejtmanek
Quoted 7 lines · Henrique de Moraes Holschuh
Quoted 2 lines · Lukas Hejtmanek
volume keys work. But anything through acpid does not. Even AC/battery switch is not signalized. So the bug may be somewhere else?
Yeah, there is an EC-related regression in 2.6.25-rc3 that bites your thinkpad. I don't have a link to it right now, but if you look for the messages to LKML on the last 48h, you will find it.
this one fixes all my troubles with thinkpad hotkeys in rc3.
http://lkml.org/lkml/2008/2/25/400
Ping - is anyone sending this upstream? Would be nice to have my x60 usable for -rc4 at least.
Signature · 1 line
Jens Axboe
Quoted 13 lines · Jens Axboe
Quoted 11 lines · Lukas Hejtmanek
Quoted 9 lines · Henrique de Moraes Holschuh
Quoted 3 lines · Lukas Hejtmanek
volume keys work. But anything through acpid does not. Even AC/battery switch is not signalized. So the bug may be somewhere else?
Yeah, there is an EC-related regression in 2.6.25-rc3 that bites your thinkpad. I don't have a link to it right now, but if you look for the messages to LKML on the last 48h, you will find it.
Quoted 8 lines
Quoted 3 lines
this one fixes all my troubles with thinkpad hotkeys in rc3.
http://lkml.org/lkml/2008/2/25/400Ping - is anyone sending this upstream? Would be nice to have my x60 usable for -rc4 at least.
Please take a look at patches in #10100.
Alex.
Quoted 20 lines · Alexey Starikovskiy
Quoted 19 lines · Jens Axboe
Quoted 16 lines · Lukas Hejtmanek
Quoted 10 lines · Henrique de Moraes Holschuh
Quoted 4 lines · Lukas Hejtmanek
volume keys work. But anything through acpid does not. Even AC/battery switch
is not signalized. So the bug may be somewhere else?Yeah, there is an EC-related regression in 2.6.25-rc3 that bites your thinkpad. I don't have a link to it right now, but if you look for the messages to LKML on the last 48h, you will find it.
this one fixes all my troubles with thinkpad hotkeys in rc3.
http://lkml.org/lkml/2008/2/25/400
Quoted 5 lines
Quoted 4 lines
Ping - is anyone sending this upstream? Would be nice to have my x60 usable for -rc4 at least.
Please take a look at patches in #10100.
Can you be more specific (eg if you want me to test any/all of them, let me know)?
Signature · 1 line
Jens Axboe
Quoted 31 lines · Jens Axboe
Quoted 29 lines · Alexey Starikovskiy
Quoted 27 lines · Jens Axboe
Quoted 10 lines · Lukas Hejtmanek
Quoted 7 lines · Henrique de Moraes Holschuh
Quoted 4 lines · Lukas Hejtmanek
volume keys work. But anything through acpid does not. Even AC/battery switch is not signalized. So the bug may be somewhere else?
Quoted 9 lines
Quoted 5 lines
Yeah, there is an EC-related regression in 2.6.25-rc3 that bites your thinkpad. I don't have a link to it right now, but if you look for the messages to LKML on the last 48h, you will find it.
this one fixes all my troubles with thinkpad hotkeys in rc3.
http://lkml.org/lkml/2008/2/25/400Ping - is anyone sending this upstream? Would be nice to have my x60 usable for -rc4 at least.
Quoted 7 lines
Quoted 2 lines
Please take a look at patches in #10100.
Can you be more specific (eg if you want me to test any/all of them, let me know)?
Patch from comment #3 is in -mm at the moment, and has good chance to appear in linus tree. I am trying to invent something less crufty along the lines of comment #4, but not succeeded yet.
Quoted 37 lines · Alexey Starikovskiy
Quoted 36 lines · Jens Axboe
Quoted 33 lines · Alexey Starikovskiy
Quoted 20 lines · Jens Axboe
Quoted 17 lines · Lukas Hejtmanek
Quoted 13 lines · Henrique de Moraes Holschuh
Quoted 5 lines · Lukas Hejtmanek
volume keys work. But anything through acpid does not. Even AC/battery switch
is not signalized. So the bug may be somewhere else?Yeah, there is an EC-related regression in 2.6.25-rc3 that bites your thinkpad. I don't have a link to it right now, but if you look for the messages to LKML on the last 48h, you will find it.
Quoted 9 lines
Quoted 4 lines
this one fixes all my troubles with thinkpad hotkeys in rc3.
http://lkml.org/lkml/2008/2/25/400Ping - is anyone sending this upstream? Would be nice to have my x60 usable for -rc4 at least.
Please take a look at patches in #10100.
Quoted 8 lines
Quoted 4 lines
Can you be more specific (eg if you want me to test any/all of them, let me know)?
Patch from comment #3 is in -mm at the moment, and has good chance to appear in linus tree.
I am trying to invent something less crufty along the lines of comment #4, but not succeeded yet.
Updating and doing what the bugzilla entry suggests, that is reverting the offending commit. That makes my brightness controls work, but the volume and mute keys still do not work.
Signature · 1 line
Jens Axboe
Quoted 5 lines · Jens Axboe
Quoted 5 lines
Quoted 5 lines
Quoted 1 line
Please take a look at patches in #10100.
Can you be more specific (eg if you want me to test any/all of them, let me know)?
Quoted 8 lines
Quoted 4 lines
Patch from comment #3 is in -mm at the moment, and has good chance to appear in linus tree.
I am trying to invent something less crufty along the lines of comment #4, but not succeeded yet.Updating and doing what the bugzilla entry suggests, that is reverting the offending commit. That makes my brightness controls work, but the volume and mute keys still do not work.
Those are not an ACPI business in your thinkpad anymore. They go over the
KDC, so we're out of the loop. That means the bug is fixed completely.
Signature · 4 lines
"One disk to rule them all, One disk to find them. One disk to bring them all and in the darkness grind them. In the Land of Redmond where the shadows lie." -- The Silicon Valley Tarot Henrique Holschuh
Quoted 11 lines · Henrique de Moraes Holschuh
Quoted 10 lines · Jens Axboe
Quoted 9 lines
Quoted 5 lines
Quoted 1 line
Please take a look at patches in #10100.
Can you be more specific (eg if you want me to test any/all of them, let me know)?
Patch from comment #3 is in -mm at the moment, and has good chance to appear in linus tree.
I am trying to invent something less crufty along the lines of comment #4, but not succeeded yet.
Quoted 6 lines
Quoted 3 lines
Updating and doing what the bugzilla entry suggests, that is reverting the offending commit. That makes my brightness controls work, but the volume and mute keys still do not work.
Those are not an ACPI business in your thinkpad anymore. They go over the
KDC, so we're out of the loop. That means the bug is fixed completely.
KDC? Pressing the buttons used to indicate mute and volume level in kmix, now they don't. That is somewhat annoying. If there's a way to get that working, please let me know.
Signature · 1 line
Jens Axboe
Quoted 6 lines · Jens Axboe
Quoted 2 lines
Those are not an ACPI business in your thinkpad anymore. They go over the
KDC, so we're out of the loop. That means the bug is fixed completely.KDC? Pressing the buttons used to indicate mute and volume level in kmix, now they don't. That is somewhat annoying. If there's a way to get that working, please let me know.
You shouldn't need to do anything other than teach userspace to respond to them, as they generate the proper KEY_* events. If you are giving the AML _OSI(Linux), at least...
But maybe looking at the keyboard output in console mode, to make triple sure the events ARE being sent over the KDC as they should, would be in order?
Signature · 4 lines
"One disk to rule them all, One disk to find them. One disk to bring them all and in the darkness grind them. In the Land of Redmond where the shadows lie." -- The Silicon Valley Tarot Henrique Holschuh
Quoted 7 lines · Henrique de Moraes Holschuh
You shouldn't need to do anything other than teach userspace to respond to them, as they generate the proper KEY_* events. If you are giving the AML
_OSI(Linux), at least...But maybe looking at the keyboard output in console mode, to make triple sure the events ARE being sent over the KDC as they should, would be in order?
so, do I understand correctly that volume keys have been controlled by ACPI and seemed to work independently on SW and now (exactly since when?) are passed complety to the user space as key codes?
Signature · 5 lines
Lukáš Hejtmánek -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 5 lines · Lukas Hejtmanek
Quoted 4 lines · Henrique de Moraes Holschuh
You shouldn't need to do anything other than teach userspace to respond to them, as they generate the proper KEY_* events. If you are giving the AML
_OSI(Linux), at least...
Quoted 7 lines
Quoted 3 lines
But maybe looking at the keyboard output in console mode, to make triple sure the events ARE being sent over the KDC as they should, would be in order?
so, do I understand correctly that volume keys have been controlled by ACPI and seemed to work independently on SW and now (exactly since when?) are passed complety to the user space as key codes?
Yes, since the first *61 model. And field-upgradeable firmware revisons have a say on how this thing works, since the entire KDC is software in a Lenovo ThinkPad (it is just a small part of the EC firmware, that comes with the BIOS upgrades).
I have some long email sitting on my draft folders about how to restore full sanity to thinkpad mixer behaviour on Linux, but I have to cool down for a few days before I revise it and send it.
Signature · 4 lines
"One disk to rule them all, One disk to find them. One disk to bring them all and in the darkness grind them. In the Land of Redmond where the shadows lie." -- The Silicon Valley Tarot Henrique Holschuh
Quoted 5 lines · Henrique de Moraes Holschuh
Quoted 3 lines
You shouldn't need to do anything other than teach userspace to respond to them, as they generate the proper KEY_* events. If you are giving the AML
_OSI(Linux), at least...
I'm also seeing regression on my thinkpad z60m where with git tree (tested again with 2 days old git) "thinkvantage" button stopped working (pressing it was previously seen by some userspace kde which run konsole).
On 2.6.24 presses are seen.
Signature · 6 lines
Arkadiusz Miśkiewicz PLD/Linux Team arekm / maven.pl http://ftp.pld-linux.org/ -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 5 lines · Arkadiusz Miskiewicz
I'm also seeing regression on my thinkpad z60m where with git tree (tested again with 2 days old git) "thinkvantage" button stopped working (pressing it was previously seen by some userspace kde which run konsole).
On 2.6.24 presses are seen.
well, on 2.6.25-rc4, some keys are not reported as input (xev does not see any key press), some keys are. Is this desired? Or all the keys (fn+f1-12 + volume
+ backlight + think vantage) should be reported as some input event and thus acpid makes no sense any more?
Signature · 1 line
Lukáš Hejtmánek
Quoted 11 lines · Lukas Hejtmanek
Quoted 5 lines · Arkadiusz Miskiewicz
I'm also seeing regression on my thinkpad z60m where with git tree (tested again with 2 days old git) "thinkvantage" button stopped working (pressing it was previously seen by some userspace kde which run konsole).
On 2.6.24 presses are seen.
well, on 2.6.25-rc4, some keys are not reported as input (xev does not see any key press), some keys are. Is this desired? Or all the keys (fn+f1-12 + volume
+ backlight + think vantage) should be reported as some input event and thus acpid makes no sense any more?
xev has to get events from somewhere. That somewhere happens to be a buggy mess right now (X.org evdev device). Or it is getting it through some other middleware, like HAL, which can have its own problems.
If you want to test thinkpad-acpi functionality, get HAL and X.org out of the way. The easiest way is to do it in single user mode.
Signature · 4 lines
"One disk to rule them all, One disk to find them. One disk to bring them all and in the darkness grind them. In the Land of Redmond where the shadows lie." -- The Silicon Valley Tarot Henrique Holschuh
Quoted 14 lines · Henrique de Moraes Holschuh
Quoted 6 lines · Lukas Hejtmanek
Quoted 5 lines · Arkadiusz Miskiewicz
I'm also seeing regression on my thinkpad z60m where with git tree (tested again with 2 days old git) "thinkvantage" button stopped working (pressing it was previously seen by some userspace kde which run konsole).
Quoted 6 lines
Quoted 1 line
On 2.6.24 presses are seen.
well, on 2.6.25-rc4, some keys are not reported as input (xev does not see any key press), some keys are. Is this desired? Or all the keys (fn+f1-12 + volume + backlight + think vantage) should be reported as some input event and thus acpid makes no sense any more?
Quoted 6 lines
xev has to get events from somewhere. That somewhere happens to be a buggy mess right now (X.org evdev device). Or it is getting it through some other middleware, like HAL, which can have its own problems.
If you want to test thinkpad-acpi functionality, get HAL and X.org out of the way. The easiest way is to do it in single user mode.
In my thinkpad z60m case. On 2.6.24 kernels pressing "thinkvantage" key is seen by acpid like this:
Mar 13 08:27:48 tarm acpid: received event "ibm/hotkey HKEY 00000080 00001018" Mar 13 08:27:48 tarm acpid: notifying client 4071[126:126] Mar 13 08:27:48 tarm acpid: notifying client 4096[0:0] Mar 13 08:27:48 tarm acpid: notifying client 4230[0:0] Mar 13 08:27:48 tarm acpid: completed event "ibm/hotkey HKEY 00000080
00001018"
(this log was done while X was running + some kde apps).
Now under git kernel there is no such event. X has nothing to do with it since I tested without X running, too.
Signature · 6 lines
Arkadiusz Miśkiewicz PLD/Linux Team arekm / maven.pl http://ftp.pld-linux.org/ -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 7 lines · Arkadiusz Miskiewicz
Mar 13 08:27:48 tarm acpid: received event "ibm/hotkey HKEY 00000080 00001018" Mar 13 08:27:48 tarm acpid: notifying client 4071[126:126] Mar 13 08:27:48 tarm acpid: notifying client 4096[0:0] Mar 13 08:27:48 tarm acpid: notifying client 4230[0:0] Mar 13 08:27:48 tarm acpid: completed event "ibm/hotkey HKEY 0000008000001018"
(this log was done while X was running + some kde apps).
I got this event under 2.6.25-rc3-git1.
However, I wonder why some keys are reported as key press through input device and some only for acpid. I thing, all the key should be reported in the same way...
Signature · 5 lines
Lukáš Hejtmánek -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 13 lines · Henrique de Moraes Holschuh
Quoted 11 lines · Lukas Hejtmanek
Quoted 5 lines · Arkadiusz Miskiewicz
I'm also seeing regression on my thinkpad z60m where with git tree (tested again with 2 days old git) "thinkvantage" button stopped working (pressing it was previously seen by some userspace kde which run konsole).
On 2.6.24 presses are seen.
well, on 2.6.25-rc4, some keys are not reported as input (xev does not see any key press), some keys are. Is this desired? Or all the keys (fn+f1-12 + volume
+ backlight + think vantage) should be reported as some input event and thus acpid makes no sense any more?
Quoted 6 lines
xev has to get events from somewhere. That somewhere happens to be a buggy mess right now (X.org evdev device). Or it is getting it through some other middleware, like HAL, which can have its own problems.
If you want to test thinkpad-acpi functionality, get HAL and X.org out of the way. The easiest way is to do it in single user mode.
And lets now get back to reality - the reality that now breaks the previously working setup of lots of users. So you are telling me that in order to get my volume key functionality back I have to get rid of HAL and X?
Lets turn back time a bit. Why was this change made? IOW, what was the reason for breaking a working setup for lots of users? It better be a damn good reason, or I would heavily argue for reverting this change so that 2.6.25 actually WORKS as expected for thinkpad users.
Signature · 1 line
Jens Axboe
Quoted 9 lines · Jens Axboe
And lets now get back to reality - the reality that now breaks the previously working setup of lots of users. So you are telling me that in order to get my volume key functionality back I have to get rid of HAL and X?
Lets turn back time a bit. Why was this change made? IOW, what was the reason for breaking a working setup for lots of users? It better be a damn good reason, or I would heavily argue for reverting this change so that 2.6.25 actually WORKS as expected for thinkpad users.
so, you are telling that xev does not show keycodes of volume buttons for you, right? Because for me, it works. Thinkvantage does not work.
Signature · 5 lines
Lukáš Hejtmánek -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 6 lines · Lukas Hejtmanek
Quoted 5 lines · Jens Axboe
And lets now get back to reality - the reality that now breaks the previously working setup of lots of users. So you are telling me that in order to get my volume key functionality back I have to get rid of HAL and X?
Quoted 7 lines
Quoted 4 lines
Lets turn back time a bit. Why was this change made? IOW, what was the reason for breaking a working setup for lots of users? It better be a damn good reason, or I would heavily argue for reverting this change so that 2.6.25 actually WORKS as expected for thinkpad users.
so, you are telling that xev does not show keycodes of volume buttons for you, right? Because for me, it works. Thinkvantage does not work.
They do not generate any events, xev reports nothing. The ThinkVantage button doesn't generate any events either.
Signature · 1 line
Jens Axboe
Quoted 2 lines · Jens Axboe
They do not generate any events, xev reports nothing. The ThinkVantage button doesn't generate any events either.
what about BIOS upgrade? I think this really should work.
Ahh, maybe you are facing EC problems? Are you using just stock vanila kernel or some additional patches?
Signature · 5 lines
Lukáš Hejtmánek -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 5 lines · Lukas Hejtmanek
Quoted 2 lines · Jens Axboe
They do not generate any events, xev reports nothing. The ThinkVantage button doesn't generate any events either.
what about BIOS upgrade? I think this really should work.
The BIOS isn't that old, probably updated it a couple of months ago.
Quoted 2 lines
Ahh, maybe you are facing EC problems? Are you using just stock vanila kernel or some additional patches?
It's stock -git as of this morning, with the 208c70a45624400fafd7511b96bc426bf01f8f5e commit reverted. And some other unrelated patches I'm working on, but nothing that has anything remotely to do with this.
Signature · 1 line
Jens Axboe
Quoted 1 line · Jens Axboe
The BIOS isn't that old, probably updated it a couple of months ago.
I use the latest BIOS for my T61 and it just works. At least the event is generated either for acpid or for Xserver.
Signature · 5 lines
Lukáš Hejtmánek -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 5 lines · Lukas Hejtmanek
Quoted 1 line · Jens Axboe
The BIOS isn't that old, probably updated it a couple of months ago.
I use the latest BIOS for my T61 and it just works. At least the event is generated either for acpid or for Xserver.
This is an x60, so there may be other differences there.
Signature · 1 line
Jens Axboe
Quoted 4 lines · Jens Axboe
Quoted 2 lines · Lukas Hejtmanek
On Thu, Mar 13, 2008 at 01:59:34PM +0100, Jens Axboe wrote:
Quoted 9 lines
Quoted 5 lines
Quoted 2 lines
The BIOS isn't that old, probably updated it a couple of months ago.
I use the latest BIOS for my T61 and it just works. At least the event is generated either for acpid or for Xserver.
This is an x60, so there may be other differences there.
There are was some playing with acpi_osi=Linux in this timeframe, known to deal with sound buttons too.
Some of Thinkpads were inserted into the blacklist to need this OSI. It might be that your Thinkpad needs it too...
Regards,
Alex.
Quoted 11 lines · Alexey Starikovskiy
Quoted 10 lines · Jens Axboe
Quoted 7 lines · Lukas Hejtmanek
Quoted 2 lines · Jens Axboe
The BIOS isn't that old, probably updated it a couple of months ago.
I use the latest BIOS for my T61 and it just works. At least the event is generated either for acpid or for Xserver.
Quoted 7 lines
Quoted 3 lines
This is an x60, so there may be other differences there.
There are was some playing with acpi_osi=Linux in this timeframe, known to deal with sound buttons too.
Some of Thinkpads were inserted into the blacklist to need this OSI. It might be that your Thinkpad needs it too...
Please talk to me like I'm an ACPI ignorant - because I am. Where is this blacklist?
Signature · 1 line
Jens Axboe
Quoted 21 lines · Jens Axboe
Quoted 19 lines · Alexey Starikovskiy
Quoted 17 lines · Jens Axboe
Quoted 10 lines · Lukas Hejtmanek
Quoted 3 lines · Jens Axboe
The BIOS isn't that old, probably updated it a couple of months ago.
I use the latest BIOS for my T61 and it just works. At least the event is generated either for acpid or for Xserver.
This is an x60, so there may be other differences there.
Quoted 10 lines
Quoted 5 lines
There are was some playing with acpi_osi=Linux in this timeframe, known to deal with sound buttons too.
Some of Thinkpads were inserted into the blacklist to need this OSI. It might be that your Thinkpad needs it too...Please talk to me like I'm an ACPI ignorant - because I am. Where is this blacklist?
drivers/acpi/blacklist.c:485.
You probably could set acp_osi=Linux as kernel parameter to check if it helps.
Quoted 29 lines · Alexey Starikovskiy
Quoted 28 lines · Jens Axboe
Quoted 25 lines · Alexey Starikovskiy
Quoted 9 lines · Jens Axboe
Quoted 6 lines · Lukas Hejtmanek
Quoted 3 lines · Jens Axboe
The BIOS isn't that old, probably updated it a couple of months ago.
Quoted 9 lines
Quoted 5 lines
I use the latest BIOS for my T61 and it just works. At least the event is
generated either for acpid or for Xserver.This is an x60, so there may be other differences there.
There are was some playing with acpi_osi=Linux in this timeframe, known to deal with sound buttons too.
Some of Thinkpads were inserted into the blacklist to need this OSI. It might be that your Thinkpad needs it too...
Quoted 7 lines
Quoted 4 lines
Please talk to me like I'm an ACPI ignorant - because I am. Where is this blacklist?
drivers/acpi/blacklist.c:485.
You probably could set acp_osi=Linux as kernel parameter to check if it helps.
I booted with acpi_osi=Linux and it has made no difference.
Signature · 1 line
Jens Axboe
Quoted 43 lines · Jens Axboe
Quoted 41 lines · Alexey Starikovskiy
Quoted 39 lines · Jens Axboe
Quoted 25 lines · Alexey Starikovskiy
Quoted 12 lines · Jens Axboe
Quoted 8 lines · Lukas Hejtmanek
Quoted 4 lines · Jens Axboe
The BIOS isn't that old, probably updated it a couple of months ago.
Quoted 10 lines
Quoted 5 lines
I use the latest BIOS for my T61 and it just works. At least the event is generated either for acpid or for Xserver.
This is an x60, so there may be other differences there.
Quoted 6 lines
There are was some playing with acpi_osi=Linux in this timeframe, known to deal with sound buttons too.
Some of Thinkpads were inserted into the blacklist to need this OSI. It might be that your Thinkpad needs it too...Please talk to me like I'm an ACPI ignorant - because I am. Where is this blacklist?
Quoted 7 lines
Quoted 3 lines
drivers/acpi/blacklist.c:485.
You probably could set acp_osi=Linux as kernel parameter to check if it helps.I booted with acpi_osi=Linux and it has made no difference.
What is the last kernel there these buttons work?
Quoted 50 lines · Alexey Starikovskiy
Quoted 49 lines · Jens Axboe
Quoted 46 lines · Alexey Starikovskiy
Quoted 29 lines · Jens Axboe
Quoted 26 lines · Alexey Starikovskiy
Quoted 23 lines · Jens Axboe
Quoted 4 lines · Lukas Hejtmanek
On Thu, Mar 13, 2008 at 01:59:34PM +0100, Jens Axboe wrote:
Quoted 10 lines
Quoted 4 lines
The BIOS isn't that old, probably updated it a couple of months ago.
I use the latest BIOS for my T61 and it just works. At least the event is
generated either for acpid or for Xserver.This is an x60, so there may be other differences there.
Quoted 11 lines
Quoted 6 lines
There are was some playing with acpi_osi=Linux in this timeframe, known to deal with sound buttons too.
Some of Thinkpads were inserted into the blacklist to need this OSI. It might be that your Thinkpad needs it too...Please talk to me like I'm an ACPI ignorant - because I am. Where is this blacklist?
drivers/acpi/blacklist.c:485.
You probably could set acp_osi=Linux as kernel parameter to check if it helps.
Quoted 4 lines
Quoted 3 lines
I booted with acpi_osi=Linux and it has made no difference.
What is the last kernel there these buttons work?
It worked fine in 2.6.24, not sure when it broke in 2.6.25-rcX, but it was some time ago. I initially thought it was the same issue and would be fixed by the revert of 208c70a45624400fafd7511b96bc426bf01f8f5e, but that turned out not to be the case.
Signature · 1 line
Jens Axboe
Quoted 8 lines · Jens Axboe
Quoted 5 lines · Lukas Hejtmanek
Quoted 2 lines · Jens Axboe
They do not generate any events, xev reports nothing. The ThinkVantage button doesn't generate any events either.
what about BIOS upgrade? I think this really should work.
The BIOS isn't that old, probably updated it a couple of months ago.
On a T61/X61 Thinkpad, anything but the very latest BIOS is too old. They have been modifying the BIOS in areas that are directly related to Linux support.
Quoted 2 lines
Quoted 2 lines
Ahh, maybe you are facing EC problems? Are you using just stock vanila kernel or some additional patches?
EC problems anywhere in the entire ACPI subsystem can, and have, caused weird thinkpad-acpi issues.
Signature · 4 lines
"One disk to rule them all, One disk to find them. One disk to bring them all and in the darkness grind them. In the Land of Redmond where the shadows lie." -- The Silicon Valley Tarot Henrique Holschuh
Quoted 7 lines · Jens Axboe
Quoted 2 lines
If you want to test thinkpad-acpi functionality, get HAL and X.org out of the way. The easiest way is to do it in single user mode.
And lets now get back to reality - the reality that now breaks the previously working setup of lots of users. So you are telling me that in order to get my volume key functionality back I have to get rid of HAL and X?
I am telling you to go single user mode to check if the problem is in thinkpad-acpi. Nothing more, nothing less. AFTER we find out where the problem is, we see what should be done about it.
Quoted 1 line
Lets turn back time a bit. Why was this change made? IOW, what was the
What change? For all we know, it could be a bug. And if it is not a bug, read the thinkpad-acpi documentation, and complain to me exactly about whatever change described in there that is giving you issues. Or give me a bissect culprit. Or do the testing I asked you to do, and tell me the results.
Quoted 3 lines
reason for breaking a working setup for lots of users? It better be a damn good reason, or I would heavily argue for reverting this change so that 2.6.25 actually WORKS as expected for thinkpad users.
I will get pissed very fast, if you keep up with this tone. I certainly did not send in any changes that should cause what you describe on purpose, UNLESS you have disabled with the "deprecated" /proc/acpi/event stuff. In which case, it is your problem to get proper userspace.
Signature · 4 lines
"One disk to rule them all, One disk to find them. One disk to bring them all and in the darkness grind them. In the Land of Redmond where the shadows lie." -- The Silicon Valley Tarot Henrique Holschuh
Quoted 10 lines · Arkadiusz Miskiewicz
Quoted 4 lines · Henrique de Moraes Holschuh
Quoted 3 lines
You shouldn't need to do anything other than teach userspace to respond to them, as they generate the proper KEY_* events. If you are giving the AML
_OSI(Linux), at least...I'm also seeing regression on my thinkpad z60m where with git tree (tested again with 2 days old git) "thinkvantage" button stopped working (pressing it was previously seen by some userspace kde which run konsole).
On 2.6.24 presses are seen.
There were no changes to thinkpad-acpi that should have caused this. So I need more data to find out what is happening. Might be a problem elsewhere in ACPI, or some bug in thinkpad-acpi.
You DO have /proc/acpi/event, correct? Please send me the debug output of thinkpad-acpi when it is loaded with "debug=0xffff" as a parameter (and for extra bonus, please compile it with the verbose debug Kconfig option).
Also, send me the output of
"grep . /sys/bus/platform/devices/thinkpad_acpi/*"
Signature · 4 lines
"One disk to rule them all, One disk to find them. One disk to bring them all and in the darkness grind them. In the Land of Redmond where the shadows lie." -- The Silicon Valley Tarot Henrique Holschuh
Quoted 12 lines · Henrique de Moraes Holschuh
Quoted 10 lines · Arkadiusz Miskiewicz
Quoted 4 lines · Henrique de Moraes Holschuh
Quoted 3 lines
You shouldn't need to do anything other than teach userspace to respond to them, as they generate the proper KEY_* events. If you are giving the AML
_OSI(Linux), at least...I'm also seeing regression on my thinkpad z60m where with git tree (tested again with 2 days old git) "thinkvantage" button stopped working (pressing it was previously seen by some userspace kde which run konsole).
On 2.6.24 presses are seen.
Quoted 7 lines
There were no changes to thinkpad-acpi that should have caused this. So I need more data to find out what is happening. Might be a problem elsewhere in ACPI, or some bug in thinkpad-acpi.
You DO have
/proc/acpi/event, correct? Please send me the debug output of thinkpad-acpi when it is loaded with "debug=0xffff" as a parameter (and for extra bonus, please compile it with the verbose debugKconfigoption).
Yep, I do have /proc/acpi event. I'll build thinkpad-acpi modular and set the extra debug option.
Quoted 2 lines
Also, send me the output of
"grep ./sys/bus/platform/devices/thinkpad_acpi/*"
/sys/bus/platform/devices/thinkpad_acpi/bluetooth_enable:0
grep: /sys/bus/platform/devices/thinkpad_acpi/cmos_command: Permission denied /sys/bus/platform/devices/thinkpad_acpi/hotkey_all_mask:0x00ffffff /sys/bus/platform/devices/thinkpad_acpi/hotkey_bios_enabled:0 /sys/bus/platform/devices/thinkpad_acpi/hotkey_bios_mask:0x0000080c /sys/bus/platform/devices/thinkpad_acpi/hotkey_enable:1 /sys/bus/platform/devices/thinkpad_acpi/hotkey_mask:0x008c7fff /sys/bus/platform/devices/thinkpad_acpi/hotkey_radio_sw:1 /sys/bus/platform/devices/thinkpad_acpi/hotkey_recommended_mask:0x008c7fff /sys/bus/platform/devices/thinkpad_acpi/hotkey_report_mode:1 /sys/bus/platform/devices/thinkpad_acpi/modalias:platform:thinkpad_acpi /sys/bus/platform/devices/thinkpad_acpi/uevent:DRIVER=thinkpad_acpi /sys/bus/platform/devices/thinkpad_acpi/uevent:PHYSDEVBUS=platform /sys/bus/platform/devices/thinkpad_acpi/uevent:PHYSDEVDRIVER=thinkpad_acpi /sys/bus/platform/devices/thinkpad_acpi/uevent:MODALIAS=platform:thinkpad_acpi /sys/bus/platform/devices/thinkpad_acpi/wakeup_hotunplug_complete:0 /sys/bus/platform/devices/thinkpad_acpi/wakeup_reason:0
Signature · 1 line
Jens Axboe
Quoted 12 lines · Henrique de Moraes Holschuh
Quoted 10 lines · Arkadiusz Miskiewicz
Quoted 4 lines · Henrique de Moraes Holschuh
Quoted 3 lines
You shouldn't need to do anything other than teach userspace to respond to them, as they generate the proper KEY_* events. If you are giving the AML
_OSI(Linux), at least...I'm also seeing regression on my thinkpad z60m where with git tree (tested again with 2 days old git) "thinkvantage" button stopped working (pressing it was previously seen by some userspace kde which run konsole).
On 2.6.24 presses are seen.
Quoted 7 lines
There were no changes to thinkpad-acpi that should have caused this. So I need more data to find out what is happening. Might be a problem elsewhere in ACPI, or some bug in thinkpad-acpi.
You DO have
/proc/acpi/event, correct? Please send me the debug output of thinkpad-acpi when it is loaded with "debug=0xffff" as a parameter (and for extra bonus, please compile it with the verbose debugKconfigoption).
Updated to current kernel (saw it had a bunch of acpi fixes), and it now works correctly! xev sees the events and the mixer sees mute/unmute and volume up+down events.
So I think we can lay this one to rest, thankfully.
Signature · 1 line
Jens Axboe
Quoted 3 lines · Jens Axboe
Quoted 2 lines · Henrique de Moraes Holschuh
Quoted 1 line · Arkadiusz Miskiewicz
Quoted 1 line
On Wed, Mar 12, 2008 at 10:35:29AM -0300, Henrique de Moraes Holschuh
Quoted 15 lines · wrote:
Quoted 15 lines
Quoted 10 lines
Quoted 3 lines
Quoted 3 lines
You shouldn't need to do anything other than teach userspace to respond to them, as they generate the proper KEY_* events. If you are giving the AML
_OSI(Linux), at least...I'm also seeing regression on my thinkpad z60m where with git tree (tested again with 2 days old git) "thinkvantage" button stopped working (pressing it was previously seen by some userspace kde which run konsole).
On 2.6.24 presses are seen.
There were no changes to thinkpad-acpi that should have caused this. So I need more data to find out what is happening. Might be a problem elsewhere in ACPI, or some bug in thinkpad-acpi.
Quoted 8 lines
Quoted 4 lines
You DO have
/proc/acpi/event, correct? Please send me the debug output of thinkpad-acpi when it is loaded with "debug=0xffff" as a parameter (and for extra bonus, please compile it with the verbose debugKconfigoption).Updated to current kernel (saw it had a bunch of acpi fixes), and it now works correctly! xev sees the events and the mixer sees mute/unmute and volume up+down events.
Same here, recent git works fine on z60m.
Signature · 6 lines
Arkadiusz Miśkiewicz PLD/Linux Team arekm / maven.pl http://ftp.pld-linux.org/ -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 4 lines · Lukas Hejtmanek
Quoted 1 line · Henrique de Moraes Holschuh
Not even over the new netlink socket? Or the thinkpad-acpi input device?
how can I check this?
A while ago I worked on a new acpi daemon that could receive events from both netlink and /dev/input devices. Right now it's more like a testing tool then a real replacement for the current acpid. I haven't had time to work on it.
http://git.dbservice.com/?p=acpid;a=summary
$ git clone git://dbservice.com/acpid
You'll need dbus and lua to compile it. There's also a readme that describes how to get it running and how it works. In its default configuration it will print the events into stdout.
tom
ACPI: thinkpad-acpi: fix hotkey_get_tablet_mode
In reply to Henrique de Moraes HolschuhI used the wrong return convention on hotkey_get_tablet_mode(), breaking a lot of stuff. Bad Henrique!
Fix it to return the status in the parameter-by-reference, and IO status on the function return value. Duh.
--- drivers/misc/thinkpad_acpi.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
drivers/misc/thinkpad_acpi.c +2 -1
@@ -1078,7 +1078,8 @@ static int hotkey_get_tablet_mode(int *status)if (!acpi_evalf (hkey_handle, &s,"MHKG" ,"d" ))return -EIO ; -return ((s &TP_HOTKEY_TABLET_MASK ) !=0 ); + *status = ((s &TP_HOTKEY_TABLET_MASK ) !=0 ); +return 0 ; }/*
Signature · 7 lines
1.5.4.2 ------------------------------------------------------------------------- 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/