I have the main AT keyboard and an additional USB keyboard that is implemented as a side-effect of mouse. Disconnecting the mouse (with included in it keyboard) causes AT keyboard to stop functioning. This is because HAL-support code in xorg causes it to unload the keyboard driver, even though another keyboard is still attached. (see stack below). I suggest Xorg should only disable the keyboard driver when the last keyboard is disconnected. HAL interface is able to find all keyboards attached. Stack of device deletion request: kbd_drv.so`KbdProc+0x6e Xorg`DisableDevice+0x174 Xorg`RemoveDevice+0x1d9 Xorg`DeleteInputDeviceRequest+0x57 Xorg`remove_device+0x38 Xorg`device_removed+0x80 libhal.so.1`filter_func+0xb4 libdbus-1.so.3`dbus_connection_dispatch+0x32a libdbus-1.so.3`0x801d789ec Xorg`wakeup_handler+0x3c Xorg`WakeupHandler+0x56 Xorg`WaitForSomething+0x1d2 Xorg`Dispatch+0x92 Xorg`main+0x365 Xorg`_start+0xa1 ld-elf.so.1`0x8007d1000
This problem persists as of May 18 2014 in the following environment X.Org X Server 1.12.4 Release Date: 2012-08-27 X Protocol Version 11, Revision 0 Build Operating System: FreeBSD 10.0-RELEASE-p6 amd64 Current Operating System: FreeBSD host 10.0-RELEASE-p11 FreeBSD 10.0-RELEASE-p11 #0: Wed May 14 14:03:59 UTC 2014 root@amd64-builder.pcbsd.org:/usr/obj/usr/src/sys/GENERIC amd64 Build Date: 05 May 2014 05:42:01PM
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xorg/driver/xf86-input-keyboard/issues/12.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.