Laptop keyboard not responsive after USB keyboard unplug

Pierre DAVID pdagog at gmail.com
Fri Jan 11 08:40:52 UTC 2013


Hi,

I have an old (since the conversion to HAL I think) problem which
begins to be very annoying since I now need more mobility:

    when I disconnect the USB keyboard/mouse from my laptop, the
    laptop keyboard is no longer responsive.

    Internal touchpad/mouse continue to work. When plug back the
    USB keyboard, all keyboards (laptop + USB) work again.

    This problem occurs only when using X11. When not using X11,
    keyboard plug/unplug is working perfectly well.

This problem has been already described in:
    http://lists.freebsd.org/pipermail/freebsd-current/2009-September/011898.html
    http://forums.freebsd.org/showthread.php?t=21633
    https://bugs.freedesktop.org/show_bug.cgi?id=39532

I did not got any answer from these people, so I don't know if they
finally solved this problem. The second URL
    http://forums.freebsd.org/showthread.php?t=21633
has a lot of pertinent informations.

I'm wondering if any of you has already worked on this problem,
and/or are willing to help.

Thanks in advance for your help,

Pierre
------------------------------------------------------------------------------
My actual settings are now:
- FreeBSD vagabond 10.0-CURRENT FreeBSD 10.0-CURRENT #2 r244925M: Tue Jan  1 18:30:45 CET 2013     pda at biceps.ma.maison:/usr/obj/usr/src/sys/VAGABOND  amd64
    (the problem was occurring largely before 2011)
- ports: xf86-input-keyboard-1.6.1 xf86-video-intel-2.17.0_1
    (compiled with WITH_NEW_XORG=yes and WITH_KMS=yes, but the
    problem was also occurring on my previous laptop from 2008 and
    previous port versions)
- Xorg.conf: no InputDevice section, and no AllowEmptyInput line
- hald and dbus started (in a KDE4 environment)
------------------------------------------------------------------------------
Here are the relevant lines of Xorg.0.log:
    1- initial loading

	[    45.769] (EE) config/hal: couldn't initialise context: unknown error (null)
	[    48.933] (II) config/hal: Adding input device Cordless Keyboard+Mouse Receiver
	[    48.936] (**) Option "config_info" "hal:/org/freedesktop/Hal/devices/usb_device_46d_c512_noserial_if1"
	[    48.936] (II) XINPUT: Adding extended input device "Cordless Keyboard+Mouse Receiver" (type: MOUSE)
	[    48.936] (**) Cordless Keyboard+Mouse Receiver: (accel) keeping acceleration scheme 1
	[    48.936] (**) Cordless Keyboard+Mouse Receiver: (accel) acceleration profile 0
	[    48.936] (**) Cordless Keyboard+Mouse Receiver: (accel) acceleration factor: 2.000
	[    48.936] (**) Cordless Keyboard+Mouse Receiver: (accel) acceleration threshold: 4
	[    48.936] (II) Cordless Keyboard+Mouse Receiver: SetupAuto: hw.iftype is 4, hw.model is 0
	[    48.936] (II) Cordless Keyboard+Mouse Receiver: SetupAuto: protocol is SysMouse
	[    50.045] (II) config/hal: Adding input device Cordless Keyboard+Mouse Receiver
	[    50.045] (II) LoadModule: "kbd"
	[    50.045] (II) Loading /usr/local/lib/xorg/modules/input/kbd_drv.so
	[    50.047] (II) Module kbd: vendor="X.Org Foundation"
	[    50.047]    compiled for 1.10.6, module version = 1.6.1
	[    50.047]    Module class: X.Org XInput Driver
	[    50.047]    ABI class: X.Org XInput driver, version 12.2
	[    50.047] (II) Using input driver 'kbd' for 'Cordless Keyboard+Mouse Receiver'
	[    50.047] (II) Loading /usr/local/lib/xorg/modules/input/kbd_drv.so
	[    50.047] (**) Cordless Keyboard+Mouse Receiver: always reports core events
	[    50.047] (**) Cordless Keyboard+Mouse Receiver: always reports core events
	[    50.048] (**) Option "Protocol" "standard"
	[    50.048] (**) Option "XkbRules" "base"
	[    50.048] (**) Option "XkbModel" "pc105"
	[    50.048] (**) Option "XkbLayout" "fr"
	[    50.048] (**) Option "XkbOptions" "terminate:ctrl_alt_bksp"
	[    50.048] (**) Option "config_info" "hal:/org/freedesktop/Hal/devices/usb_device_46d_c512_noserial_if0"
	[    50.048] (II) XINPUT: Adding extended input device "Cordless Keyboard+Mouse Receiver" (type: KEYBOARD)
	[    50.168] (II) config/hal: Adding input device AT Keyboard
	[    50.168] (II) Using input driver 'kbd' for 'AT Keyboard'
	[    50.168] (II) Loading /usr/local/lib/xorg/modules/input/kbd_drv.so
	[    50.168] (**) AT Keyboard: always reports core events
	[    50.168] (**) AT Keyboard: always reports core events
	[    50.168] (**) Option "Protocol" "standard"
	[    50.168] (**) Option "XkbRules" "base"
	[    50.168] (**) Option "XkbModel" "pc105"
	[    50.168] (**) Option "XkbLayout" "fr"
	[    50.168] (**) Option "XkbOptions" "terminate:ctrl_alt_bksp"
	[    50.168] (**) Option "config_info" "hal:/org/freedesktop/Hal/devices/atkbd_0"
	[    50.168] (II) XINPUT: Adding extended input device "AT Keyboard" (type: KEYBOARD)

    2- when USB keyboard is unplugged

	[  7531.002] (II) config/hal: removing device Cordless Keyboard+Mouse Receiver
	[  7531.013] (II) UnloadModule: "mouse"
	[  7531.014] (II) Unloading mouse
	[  7531.014] (II) config/hal: removing device Cordless Keyboard+Mouse Receiver
	[  7531.015] (II) UnloadModule: "kbd"
	[  7531.015] (II) Unloading kbd

    3- when USB keyboard is plugged back

	[  7551.056] (II) config/hal: Adding input device Cordless Keyboard+Mouse Receiver
	[  7551.056] (II) Using input driver 'kbd' for 'Cordless Keyboard+Mouse Receiver'
	[  7551.056] (II) Loading /usr/local/lib/xorg/modules/input/kbd_drv.so
	[  7551.056] (**) Cordless Keyboard+Mouse Receiver: always reports core events
	[  7551.057] (**) Cordless Keyboard+Mouse Receiver: always reports core events
	[  7551.057] (**) Option "Protocol" "standard"
	[  7551.057] (**) Option "XkbRules" "base"
	[  7551.057] (**) Option "XkbModel" "pc105"
	[  7551.058] (**) Option "XkbLayout" "fr"
	[  7551.058] (**) Option "XkbOptions" "terminate:ctrl_alt_bksp"
	[  7551.058] (**) Option "config_info" "hal:/org/freedesktop/Hal/devices/usb_device_46d_c512_noserial_if0"
	[  7551.058] (II) XINPUT: Adding extended input device "Cordless Keyboard+Mouse Receiver" (type: KEYBOARD)
	[  7552.734] (II) config/hal: Adding input device Cordless Keyboard+Mouse Receiver
	[  7552.734] (II) Using input driver 'mouse' for 'Cordless Keyboard+Mouse Receiver'
	[  7552.734] (II) Loading /usr/local/lib/xorg/modules/input/mouse_drv.so
	[  7552.734] (**) Cordless Keyboard+Mouse Receiver: always reports core events
	[  7552.734] (**) Option "Device" "/dev/sysmouse"
	[  7552.734] (==) Cordless Keyboard+Mouse Receiver: Protocol: "Auto"
	[  7552.734] (**) Cordless Keyboard+Mouse Receiver: always reports core events
	[  7552.735] (==) Cordless Keyboard+Mouse Receiver: Emulate3Buttons, Emulate3Timeout: 50
	[  7552.735] (**) Cordless Keyboard+Mouse Receiver: ZAxisMapping: buttons 4 and 5
	[  7552.735] (**) Cordless Keyboard+Mouse Receiver: Buttons: 9
	[  7552.735] (**) Option "config_info" "hal:/org/freedesktop/Hal/devices/usb_device_46d_c512_noserial_if1"



More information about the freebsd-x11 mailing list