[patch] Re: HAL and hotplugging

Magnus Vigerlöf Magnus.Vigerlof at home.se
Sat Mar 15 16:04:33 PDT 2008


On lördag 15 mars 2008, Dustin Spicuzza wrote:
> Ok, this patch allows the HAL layer to send arbitrary options to the
> driver. I tested it using the evtouch driver that my touchscreen uses...
> but it'll most likely work with evdev or any other driver too. Test it
> and let me know.

Mmm.. Now the option-support is getting somewhere.. While the HAL-support in 
the Xserver makes attaching mice, keyboards, and some of the available 
tablets/touchpad/touchscreens easier I'm not sure it will get all the way. 
The Wacom driver does not have a simple 1:1 mapping between kernel 
device:Xinput device and this is a problem for HAL today afaik, see [1] for 
more info.

Also if there are parameters that should be set that can be individual for the 
logged in user, how are these set when the hw is plugged in/the user on the 
console changes?

Are there any existing thoughts on how to handle these kinds of devices in a 
reliably way? Or is the work I've done on the XInputHotplugger daemon [2] the 
only work that has, so far, addressed this?

Cheers
  Magnus

[1] http://lists.freedesktop.org/archives/xorg/2008-February/032659.html
[2] http://lists.freedesktop.org/archives/xorg/2008-March/033881.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.x.org/archives/xorg/attachments/20080316/65bef839/attachment.pgp>


More information about the xorg mailing list