Bug 13701

Summary: Turning on ACPI_VIDEO disables keyboard
Product: ACPI Reporter: Anders Søndergaard (a.sondergaard)
Component: Power-VideoAssignee: acpi_power-video
Status: REJECTED INSUFFICIENT_DATA    
Severity: normal CC: rui.zhang, yakui.zhao
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 2.6.29.5, 2.6.30, possibly others Subsystem:
Regression: No Bisected commit-id:

Description Anders Søndergaard 2009-07-03 21:18:45 UTC
When compiling a kernel on my system with
ACPI_VIDEO on, it compiles and boots fine, but will not
accept any keyboard input.

Disabling ACPI_VIDEO produces a perfectly functional kernel (without brightness control). This is true for a large number of different graphics configurations
(disable/enable framebuffer etc.)


Note that this has nothing to do with X. X was disabled completely
under my tests.

Adding if [[ ! -e /root/dmesg ]]; then dmesg > /root/dmesg ; fi
to my /etc/conf.d/local.start file (the last init script)
produces an empty /root/dmesg file (!!!). Therefore, I have
not attached dmesg output.


Hypothesis: Pressing Fn+f4 and Fn+f5 (for brightness control)
sends a keycode (from /var/log/messages):
Fn+f4:
  (empty)
Fn+f5:
Jul  3 22:28:50 localhost atkbd.c: Unknown key pressed (translated set 2, code 0xf8 on isa0060/serio0).
Jul  3 22:28:50 localhost atkbd.c: Use 'setkeycodes e078 <keycode>' to make it known.
Jul  3 22:28:50 localhost atkbd.c: Unknown key released (translated set 2, code 0xf8 on isa0060/serio0).
Jul  3 22:28:50 localhost atkbd.c: Use 'setkeycodes e078 <keycode>' to make it known.

For the ACPI system to receive the keycodes, it has to at least modify the
keyboard handler code. Somewhy, on my system, this breaks the handler.

For lspci, .config, cpuinfo, see my initial post on the Gentoo forums:
http://forums.gentoo.org/viewtopic-t-776516.html

Anders Søndergaard
Comment 1 Zhang Rui 2009-07-06 01:28:46 UTC
please verify if this is a duplicate of bug #9147
Comment 2 ykzhao 2009-07-08 09:11:05 UTC
Will you please attach the output of acpidump?
Thanks.
Comment 3 Zhang Rui 2009-07-15 03:48:04 UTC
ping anders...
Comment 4 Zhang Rui 2009-08-11 08:58:48 UTC
close this bug as there is no response for more than a month.