[BUG] numlock/capslock status broken after switch from framebuffer console to xorg

Knut Petersen Knut_Petersen at t-online.de
Thu Jan 5 05:12:35 PST 2012


SYSTEM
=======
xorg: current git master
os: linux
kernel: 3.1.7, 3.2.0
hardware: AOpen i915Gmm-hfs
keyboard: connected to ps/2 port

HOW TO REPRODUCE
===================

Bug 1:
=====
1: activate numlock
2:switch to a framebuffer console
3. switch back to Xorg status: numlock led O
4. depress numlock

status after step 1: numlock led ON, numpad keys work as expected.
status after step 3: numlock led OFF (should be on)
                                  numpad keys generate numbers (ok, but inconsistend with led)
status after step 4: numlock led OFF, numpad keys produce correct codes

caps lock has the same problem.

Bug 2:
=====
<ctrl> and <alt> status is lost during a switch from framebuffer console to xorg (not vice versa).

Assuming that the <ctrl><alt><F1> hotkey switches to a framebuffer console and <ctrl><alt><F7>
switches back, try <ctrl><alt><F1> <F7> <F1> (keep <ctrl><alt> depressed all the time). This will
switch from xorg to framebuffer console and back, but the second F1 will not switch to the framebuffer
console again but do whatever action is defined for F1.


LOG SNIPPET
============
[   186.757] (II) LoadModule: "evdev"
[   186.758] (II) Loading /home/knut/git/X11/usr/lib/xorg/modules/input/evdev_drv.so
[   186.780] (II) Module evdev: vendor="X.Org Foundation"
[   186.781]    compiled for 1.11.99.901, module version = 2.6.99
[   186.781]    Module class: X.Org XInput Driver
[   186.781]    ABI class: X.Org XInput driver, version 16.0
[   186.781] (II) Using input driver 'evdev' for 'Power Button'
[   186.781] (**) Power Button: always reports core events
[   186.781] (**) evdev: Power Button: Device: "/dev/input/event1"
[   186.781] (--) evdev: Power Button: Vendor 0 Product 0x1
[   186.781] (--) evdev: Power Button: Found keys
[   186.781] (II) evdev: Power Button: Configuring as keyboard
[   186.781] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input1/event1"
[   186.782] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[   186.782] (**) Option "xkb_rules" "evdev"
[   186.782] (**) Option "xkb_model" "evdev"
[   186.782] (**) Option "xkb_layout" "de"
[   186.782] (**) Option "xkb_variant" "nodeadkeys"
[   186.856] (II) config/udev: Adding input device Power Button (/dev/input/event0)
[   186.856] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[   186.856] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[   186.856] (**) Power Button: Applying InputClass "LocalKeyboard"
[   186.856] (II) Using input driver 'evdev' for 'Power Button'
[   186.856] (**) Power Button: always reports core events
[   186.856] (**) evdev: Power Button: Device: "/dev/input/event0"
[   186.856] (--) evdev: Power Button: Vendor 0 Product 0x1
[   186.856] (--) evdev: Power Button: Found keys
[   186.856] (II) evdev: Power Button: Configuring as keyboard
[   186.856] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/device:00/PNP0C0C:00/input/input0/event0"
[   186.856] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 7)
[   186.856] (**) Option "xkb_rules" "evdev"
[   186.856] (**) Option "xkb_model" "evdev"
[   186.857] (**) Option "xkb_layout" "de"
[   186.857] (**) Option "xkb_variant" "nodeadkeys"
[   186.858] (II) config/udev: Adding input device HDA Digital PCBeep (/dev/input/event5)
[   186.858] (II) No input driver/identifier specified (ignoring)
[   186.859] (II) config/udev: Adding input device Logitech USB RECEIVER (/dev/input/event4)
[   186.859] (**) Logitech USB RECEIVER: Applying InputClass "evdev pointer catchall"
[   186.859] (**) Logitech USB RECEIVER: Applying InputClass "evdev pointer catchall"
[   186.859] (II) Using input driver 'evdev' for 'Logitech USB RECEIVER'
[   186.859] (**) Logitech USB RECEIVER: always reports core events
[   186.859] (**) evdev: Logitech USB RECEIVER: Device: "/dev/input/event4"
[   186.859] (**) evdev: Logitech USB RECEIVER: Device: "/dev/input/event4"
[   186.859] (--) evdev: Logitech USB RECEIVER: Vendor 0x46d Product 0xc50e
[   186.859] (--) evdev: Logitech USB RECEIVER: Found 20 mouse buttons
[   186.859] (--) evdev: Logitech USB RECEIVER: Found scroll wheel(s)
[   186.859] (--) evdev: Logitech USB RECEIVER: Found relative axes
[   186.859] (--) evdev: Logitech USB RECEIVER: Found x and y relative axes
[   186.859] (II) evdev: Logitech USB RECEIVER: Configuring as mouse
[   186.859] (II) evdev: Logitech USB RECEIVER: Adding scrollwheel support
[   186.859] (**) evdev: Logitech USB RECEIVER: YAxisMapping: buttons 4 and 5
[   186.859] (**) evdev: Logitech USB RECEIVER: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[   186.859] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-2/2-2:1.0/input/input4/event4"
[   186.859] (II) XINPUT: Adding extended input device "Logitech USB RECEIVER" (type: MOUSE, id 8)
[   186.860] (II) evdev: Logitech USB RECEIVER: initialized for relative axes.
[   186.860] (**) Logitech USB RECEIVER: (accel) keeping acceleration scheme 1
[   186.860] (**) Logitech USB RECEIVER: (accel) acceleration profile 0
[   186.860] (**) Logitech USB RECEIVER: (accel) acceleration factor: 2.000
[   186.860] (**) Logitech USB RECEIVER: (accel) acceleration threshold: 4
[   186.861] (II) config/udev: Adding input device Logitech USB RECEIVER (/dev/input/mouse0)
[   186.861] (II) No input driver/identifier specified (ignoring)
[   186.861] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event3)
[   186.861] (**) AT Translated Set 2 keyboard: Applying InputClass "evdev keyboard catchall"
[   186.861] (**) AT Translated Set 2 keyboard: Applying InputClass "evdev keyboard catchall"
[   186.862] (**) AT Translated Set 2 keyboard: Applying InputClass "LocalKeyboard"
[   186.862] (II) Using input driver 'evdev' for 'AT Translated Set 2 keyboard'
[   186.862] (**) AT Translated Set 2 keyboard: always reports core events
[   186.862] (**) evdev: AT Translated Set 2 keyboard: Device: "/dev/input/event3"
[   186.862] (--) evdev: AT Translated Set 2 keyboard: Vendor 0x1 Product 0x1
[   186.862] (--) evdev: AT Translated Set 2 keyboard: Found keys
[   186.862] (II) evdev: AT Translated Set 2 keyboard: Configuring as keyboard
[   186.862] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input3/event3"
[   186.862] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 9)
[   186.862] (**) Option "xkb_rules" "evdev"
[   186.862] (**) Option "xkb_model" "evdev"
[   186.862] (**) Option "xkb_layout" "de"
[   186.862] (**) Option "xkb_variant" "nodeadkeys"
[   186.863] (II) config/udev: Adding input device PC Speaker (/dev/input/event2)
[   186.863] (II) No input driver/identifier specified (ignoring)

knut



More information about the xorg-devel mailing list