Bug 13701 - Turning on ACPI_VIDEO disables keyboard
Summary: Turning on ACPI_VIDEO disables keyboard
Status: REJECTED INSUFFICIENT_DATA
Alias: None
Product: ACPI
Classification: Unclassified
Component: Power-Video (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: acpi_power-video
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-03 21:18 UTC by Anders Søndergaard
Modified: 2009-08-11 08:58 UTC (History)
2 users (show)

See Also:
Kernel Version: 2.6.29.5, 2.6.30, possibly others
Subsystem:
Regression: No
Bisected commit-id:


Attachments

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.

Note You need to log in before you can comment on or make changes to this bug.