[ubuntu-x] Xorg input-hotplug blueprint

Colin Watson cjwatson at ubuntu.com
Wed Jun 11 13:24:43 BST 2008


On Wed, Jun 04, 2008 at 01:32:48AM +0300, Timo Aaltonen wrote:
> On Fri, 30 May 2008, Bryce Harrington wrote:
> >I've written up a first cut at a spec for input-hotplug work to be done
> >for Intrepid.  Comments/edits welcomed!
> >
> > https://wiki.ubuntu.com/X/InputHotplug
> 
> Ok, here are my comments on the spec (could've edited it directly, but 
> wanted to point these out separately so they could be discussed):
> 
> Rationale:
> 
> -TTBOMK runtime device reconfiguration is not possible yet, needs
>  XInput properties (didn't get a confirmation yet)
> 
> Design/Implementation:
> 
> -if we end up hotplugging the keyboards, then we could drop the conffile
>  completely?
> -should console-setup generate & update the fdi-file? (configuring HAL on
>  the fly from the console-setup config didn't seem to work, unfortunately)

I really think the default should be generated on the fly by HAL if at
all possible rather than by using a separately-written FDI file, and
indeed this was my main comment upon reading the spec independently. Can
you remind me what the specific problem with doing this was? If it just
needs further debugging, we should bring in expert help if necessary.

The obvious problem with dynamically writing out an FDI file is that FDI
files are really not human-friendly. I'm concerned about even a stopgap
solution of doing that, because it's a configuration file and thus we're
going to end up lumbered with having to support upgrades from it to
something else.

The test plan should explicitly mention changing the keyboard layout,
since this is a rather common action that must work.

-- 
Colin Watson                                       [cjwatson at ubuntu.com]



More information about the Ubuntu-x mailing list