Re: [systemd-devel] update: udev keymaps are moving to hwdb

2013-07-16 Thread Lennart Poettering
On Tue, 16.07.13 17:24, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote:

> 
> On Tue, Jul 16, 2013 at 05:01:17PM +0200, Martin Pitt wrote:
> > Kay Sievers [2013-07-16 16:25 +0200]:
> > > Committed it now. All the old udev keymap files are gone and only the 
> > > hwdb file:
> > >   http://cgit.freedesktop.org/systemd/systemd/tree/hwdb/60-keyboard.hwdb
> > > is carrying all the data.
> > 
> > \o/
> Can we have some easy documentation what commands have to be invoked
> to extract the information to write the rules? The format is nice
> and simple, but which field goes where to get the values for the
> fields is nonobvious.

Indeed, some short introduction in the wiki would be grand...

Lennart

-- 
Lennart Poettering - Red Hat, Inc.
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel


Re: [systemd-devel] update: udev keymaps are moving to hwdb

2013-07-16 Thread Zbigniew Jędrzejewski-Szmek
On Tue, Jul 16, 2013 at 05:01:17PM +0200, Martin Pitt wrote:
> Kay Sievers [2013-07-16 16:25 +0200]:
> > Committed it now. All the old udev keymap files are gone and only the hwdb 
> > file:
> >   http://cgit.freedesktop.org/systemd/systemd/tree/hwdb/60-keyboard.hwdb
> > is carrying all the data.
> 
> \o/
Can we have some easy documentation what commands have to be invoked
to extract the information to write the rules? The format is nice
and simple, but which field goes where to get the values for the
fields is nonobvious.

Zbyszek
-- 
they are not broken. they are refucktored
   -- alxchk
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel


Re: [systemd-devel] update: udev keymaps are moving to hwdb

2013-07-16 Thread Martin Pitt
Kay Sievers [2013-07-16 16:25 +0200]:
> Committed it now. All the old udev keymap files are gone and only the hwdb 
> file:
>   http://cgit.freedesktop.org/systemd/systemd/tree/hwdb/60-keyboard.hwdb
> is carrying all the data.

\o/

> Martin is looking into the missing USB Logitech maps at the moment.

I went through the original bug reports and usb.ids to salvage the
real product IDs, committed to
  http://cgit.freedesktop.org/systemd/systemd/commit/?id=1b6bce89

That should cover most bits, other models need new bug reports now
(Logitech USB keyboards are a catastrophe..)

Thanks,

Martin
-- 
Martin Pitt| http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel


Re: [systemd-devel] update: udev keymaps are moving to hwdb

2013-07-16 Thread Kay Sievers
On Fri, Jul 12, 2013 at 12:39 PM, Kay Sievers  wrote:
> On Wed, Jul 10, 2013 at 11:38 PM, Kay Sievers  wrote:
>
>> The systemd git source tree has now all the pieces to prepare the move
>> from the current keymap handling to the hardware database. None of it
>> will take any action at the moment, the hwdb file is not committed.
>
> The hand-edited:
>   /usr/lib/udev/hwdb.d/60-keyboard.hwdb
>
> is in the systemd source tree now:
>   http://cgit.freedesktop.org/systemd/systemd/tree/hwdb/60-keyboard.hwdb?
>
> It should contain almost all data from the keymaps. The Logitech too
> broad matches for USB devices, which use the textual string instead of
> the usual USB IDs have been dropped, they need to be resurrected when
> someone can supply the USB IDs.

Committed it now. All the old udev keymap files are gone and only the hwdb file:
  http://cgit.freedesktop.org/systemd/systemd/tree/hwdb/60-keyboard.hwdb
is carrying all the data.

Martin is looking into the missing USB Logitech maps at the moment.

Thanks,
Kay
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel


Re: [systemd-devel] update: udev keymaps are moving to hwdb

2013-07-12 Thread Kay Sievers
On Wed, Jul 10, 2013 at 11:38 PM, Kay Sievers  wrote:

> The systemd git source tree has now all the pieces to prepare the move
> from the current keymap handling to the hardware database. None of it
> will take any action at the moment, the hwdb file is not committed.

The hand-edited:
  /usr/lib/udev/hwdb.d/60-keyboard.hwdb

is in the systemd source tree now:
  http://cgit.freedesktop.org/systemd/systemd/tree/hwdb/60-keyboard.hwdb?

It should contain almost all data from the keymaps. The Logitech too
broad matches for USB devices, which use the textual string instead of
the usual USB IDs have been dropped, they need to be resurrected when
someone can supply the USB IDs.

Again, any help or testing would be very welcome.

Thanks,
Kay
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel