Bug 60069 - HAL unloads keyboard driver when one of the few keyboards is disconnected
Summary: HAL unloads keyboard driver when one of the few keyboards is disconnected
Status: RESOLVED MOVED
Alias: None
Product: xorg
Classification: Unclassified
Component: Input/Keyboard (show other bugs)
Version: 7.5 (2009.10)
Hardware: Other FreeBSD
: medium major
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-30 11:01 UTC by Yuri
Modified: 2018-08-10 20:55 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yuri 2013-01-30 11:01:26 UTC
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
Comment 1 Seth 2014-05-18 16:46:02 UTC
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
Comment 2 GitLab Migration User 2018-08-10 20:55:28 UTC
-- 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.