[Pkg-utopia-maintainers] Bug#524590: xserver-xorg-input-evdev: reconnect a bluetooth keyboard is not possible..

Julien Cristau jcristau at debian.org
Sat Apr 18 12:54:30 UTC 2009


On Sat, 2009-04-18 at 12:06 +0200, Markus Schulz wrote:
> After my bluetooth keyboard was disconnected (switched off to save
> battery power) it's impossible to connect again (see errors in
> Xorg*log below).
> Looks like a timeout issue cause the old device wont disconnected and
> therefore the new was'nt accepted.
> I must login via ssh and restart the xserver/kdm to regain my keyboard.
> 
[...]
> (II) config/hal: Adding input device PSTC Bluetooth Keyboard
> (II) LoadModule: "evdev"
> (II) Loading /usr/lib/xorg/modules/input//evdev_drv.so
> (II) Module evdev: vendor="X.Org Foundation"
> 	compiled for 1.6.0, module version = 2.2.1
> 	Module class: X.Org XInput Driver
> 	ABI class: X.Org XInput driver, version 4.0
> (**) PSTC Bluetooth Keyboard: always reports core events
> (**) PSTC Bluetooth Keyboard: Device: "/dev/input/event0"
> (II) PSTC Bluetooth Keyboard: Found 3 mouse buttons
> (II) PSTC Bluetooth Keyboard: Found x and y relative axes
> (II) PSTC Bluetooth Keyboard: Found scroll wheel(s)
> (II) PSTC Bluetooth Keyboard: Found keys
> (II) PSTC Bluetooth Keyboard: Configuring as mouse
> (II) PSTC Bluetooth Keyboard: Configuring as keyboard
> (**) PSTC Bluetooth Keyboard: YAxisMapping: buttons 4 and 5
> (**) PSTC Bluetooth Keyboard: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
> (II) XINPUT: Adding extended input device "PSTC Bluetooth Keyboard" (type: KEYBOARD)
> (**) Option "xkb_rules" "evdev"
> (**) Option "xkb_model" "pc105"
> (**) Option "xkb_layout" "de"
> (**) Option "xkb_variant" "nodeadkeys"
> (**) Option "xkb_options" "lv3:ralt_switch"
> (**) PSTC Bluetooth Keyboard: (accel) keeping acceleration scheme 1
> (**) PSTC Bluetooth Keyboard: (accel) filter chain progression: 2.00
> (**) PSTC Bluetooth Keyboard: (accel) filter stage 0: 20.00 ms
> (**) PSTC Bluetooth Keyboard: (accel) set acceleration profile 0
> (II) config/hal: Adding input device PSTC Bluetooth Keyboard
> (**) PSTC Bluetooth Keyboard: always reports core events
> (**) PSTC Bluetooth Keyboard: Device: "/dev/input/event0"
> (WW) PSTC Bluetooth Keyboard: device file already in use. Ignoring.
> (II) UnloadModule: "evdev"
> (EE) PreInit returned NULL for "PSTC Bluetooth Keyboard"
> (EE) config/hal: NewInputDeviceRequest failed (8)
> (II) config/hal: Adding input device PSTC Bluetooth Keyboard
> (**) PSTC Bluetooth Keyboard: always reports core events
> (**) PSTC Bluetooth Keyboard: Device: "/dev/input/event0"
> (WW) PSTC Bluetooth Keyboard: device file already in use. Ignoring.
> (II) UnloadModule: "evdev"
> (EE) PreInit returned NULL for "PSTC Bluetooth Keyboard"
> (EE) config/hal: NewInputDeviceRequest failed (8)
> (II) config/hal: Adding input device PSTC Bluetooth Keyboard
> (**) PSTC Bluetooth Keyboard: always reports core events
> (**) PSTC Bluetooth Keyboard: Device: "/dev/input/event0"
> (WW) PSTC Bluetooth Keyboard: device file already in use. Ignoring.
> (II) UnloadModule: "evdev"
> (EE) PreInit returned NULL for "PSTC Bluetooth Keyboard"
> (EE) config/hal: NewInputDeviceRequest failed (8)
> (II) config/hal: Adding input device PSTC Bluetooth Keyboard
> (**) PSTC Bluetooth Keyboard: always reports core events
> (**) PSTC Bluetooth Keyboard: Device: "/dev/input/event0"
> (WW) PSTC Bluetooth Keyboard: device file already in use. Ignoring.
> (II) UnloadModule: "evdev"
> (EE) PreInit returned NULL for "PSTC Bluetooth Keyboard"
> (EE) config/hal: NewInputDeviceRequest failed (8)
> (II) config/hal: Adding input device PSTC Bluetooth Keyboard
> (**) PSTC Bluetooth Keyboard: always reports core events
> (**) PSTC Bluetooth Keyboard: Device: "/dev/input/event0"
> (WW) PSTC Bluetooth Keyboard: device file already in use. Ignoring.
> (II) UnloadModule: "evdev"
> (EE) PreInit returned NULL for "PSTC Bluetooth Keyboard"
> (EE) config/hal: NewInputDeviceRequest failed (8)
> (II) config/hal: Adding input device PSTC Bluetooth Keyboard
> (**) PSTC Bluetooth Keyboard: always reports core events
> (**) PSTC Bluetooth Keyboard: Device: "/dev/input/event0"
> (WW) PSTC Bluetooth Keyboard: device file already in use. Ignoring.
> (II) UnloadModule: "evdev"
> (EE) PreInit returned NULL for "PSTC Bluetooth Keyboard"
> (EE) config/hal: NewInputDeviceRequest failed (8)
> (II) config/hal: Adding input device Budget-CI dvb ir receiver saa7146 (0)
> (**) Budget-CI dvb ir receiver saa7146 (0): always reports core events
> (**) Budget-CI dvb ir receiver saa7146 (0): Device: "/dev/input/event6"
> (II) Budget-CI dvb ir receiver saa7146 (0): Found keys
> (II) Budget-CI dvb ir receiver saa7146 (0): Configuring as keyboard
> (II) XINPUT: Adding extended input device "Budget-CI dvb ir receiver saa7146 (0)" (type: KEYBOARD)
> (**) Option "xkb_rules" "evdev"
> (**) Option "xkb_model" "cherryblueb"
> (**) Option "xkb_layout" "de"
> (**) Option "xkb_variant" "nodeadkeys"
> (**) Option "xkb_options" "lv3:ralt_switch"
> (II) NVIDIA(0): Setting mode "1280x720_50"
> (EE) PSTC Bluetooth Keyboard: Read error: No such device
> 

It looks like hal never sends us the 'device disappeared' info (which
probably means it doesn't get it from the kernel).  I'm not sure whether
to blame xf86-input-evdev, the X server, hal or the kernel here :)
Peter, any clue?

Cheers,
Julien



More information about the Pkg-utopia-maintainers mailing list