[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#442316: [Pkg-utopia-maintainers] Bug#442316: Xorg hotplugging problems [WAS: Re: Bug#442316: xserver-xorg-input-evdev: evdev from experimental messes up my keyboard layout]



David Nusinow schrieb:
> On Wed, Oct 24, 2007 at 01:53:40PM +0300, Daniel Stone wrote:
>> On Tue, Oct 23, 2007 at 08:17:10PM -0400, ext David Nusinow wrote:
>>> On Tue, Oct 23, 2007 at 10:02:35PM +0300, Daniel Stone wrote:
>>>> On Tue, Oct 23, 2007 at 08:02:31PM +0200, ext Michael Biebl wrote:
>>>>> Whenever xorg input hotplugging kicks in, the evdev driver is used. The
>>>>> kbd keyboard settings from xorg.conf are ignored and the en_US keyboard
>>>>> layout is used.
>>>> Yes, this should probably be fixed up, I guess.  But the long-term fix
>>>> is to provide an FDI file in /etc that specifies the keyboard layout.
>>> My feeling is the other way around, provided that the X server is the only
>>> user of this field. People already know how to edit xorg.conf, and they
>>> expect it. Telling them to edit a relatively obscure file among many other
>>> fdi's is more painful. There's also userspace tools that exist to help with
>>> generating a xorg.conf, but nothing friendly to deal with fdi's.
>> As I've said before, the X server isn't the only user of the field. :)
>> Ubuntu were trying to move to cxkb a year or so ago, and the only thing
>> that stopped them in the end was how huge the XKB codebase was, which
>> I'm fixing (very slowly) upstream.  So yeah, if having this in HAL lets
>> us finaly unify console and X keymaps ...
> 
> Ok, I missed that somehow. So it should probably be hal that generates this
> and not the xserver?

The problem with hal generating the fdi file, would be that it could get
out of sync, whenever you run dpkg-reconfigure xserver-xorg.
We would also have to duplicate a lot of logic from xserver-xorgs
postinst in hal. Generating the fdi file from within xserver-xorg seems
to be more straightforward to me.

If you are going to remove the input device section (generation)
completely from xserver-xorgs postinst and rely completely on hal for
that, then I agree hal should be the one and only place where to
configure the keyboard/input.
Doing the configuration at two places (xserver-xorg->xorg.conf and hal->
fdi) will really cause headaches imho.

Cheers,
Michael
-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: