[xorg-bugzilla-noise] [Bug 971] New: Input device hotplug
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon Aug 2 09:37:54 PDT 2004
Please do not reply to this email: if you want to comment on the bug, go to
the URL shown below and enter yourcomments there.
https://freedesktop.org/bugzilla/show_bug.cgi?id=971
Summary: Input device hotplug
Product: xorg
Version: CVS_head
Platform: All
URL: http://freedesktop.org/XOrg/XInputHotplug
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P2
Component: Server/general
AssignedTo: xorg-bugzilla-noise at freedesktop.org
ReportedBy: krh at bitplanet.net
Attached is a first attempt at adding input device hotplug support to the Xorg
server. Hotplugging is implemented by adding two requests to XInput:
XAddInputDevice() and XRemoveInputDevice(). Also, a DevicePresenceNotify event
is added to XInput; this event is sent to interested client when the list of
present devices change.
The XAddInputDevice() call takes a name for the device and the driver to use as
arguments, and a list of options in the form (name, value), name and value being
strings. In this implementation, the meaning of the arguments are equivalent to
the contents of the xorg.conf "InputDevice" section, i.e. name maps to the
Identifer option and is used for the XInput device name, driver maps to the
Driver option and the (name, value) options maps to Option "name" "value".
When XAddInputDevice() successfully adds a new input device, this device is
present in the device list and available as if it had been in the xorg.conf file
with the given options, and a DevicePresenceNotify event is sent out.
Issues:
- XRemoveInputDevice() not yet implemented
- Security issues when you can ask the server to open any file as a device
- Is the XAddInputDevice() design too xorg.conf specific?
--
Configure bugmail: https://freedesktop.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the xorg-bugzilla-noise
mailing list