Re: Replacement for hal-setup-keymap

2009-05-07 Thread Kay Sievers
On Thu, May 7, 2009 at 15:58, Martin Pitt wrote: > Kay Sievers [2009-05-07 13:50 +0200]: >> Only if you do ="[Cc][Aa][Ss][Ee]". :) > > Oh, *headdesk*, indeed. Since I'm generating them mostly > automatically, that shouldn't be a problem. Looks weird, but works. Hehe, good. > Would it be too evi

Re: Replacement for hal-setup-keymap

2009-05-07 Thread Martin Pitt
Hello Kay, Kay Sievers [2009-05-07 13:50 +0200]: > > Ah, another thing is "contains_ncase". I don't think udev rules can do > > case insensitive string matching, can they? > > Only if you do ="[Cc][Aa][Ss][Ee]". :) Oh, *headdesk*, indeed. Since I'm generating them mostly automatically, that shou

Re: Replacement for hal-setup-keymap

2009-05-07 Thread Kay Sievers
On Thu, May 7, 2009 at 09:08, Martin Pitt wrote: > Kay Sievers [2009-05-06  1:16 +0200]: >> > Originally I intended this to become a script which we can run >> > permanently to maintain keymaps in hal-info side by side with the new >> > udev-extras rules. However, udev rules are not expressive eno

Re: path for keymap files [was: Re: Replacement for hal-setup-keymap]

2009-05-07 Thread Kay Sievers
On Thu, May 7, 2009 at 13:00, Martin Pitt wrote: > Kay Sievers [2009-05-07 12:29 +0200]: >> > Done. I put the keymaps themselves into /lib/udev/keymaps/ for now >> > (instead of /usr/share/udev/keymaps/, as in my first sketch). >> >> Ah, i see. What's the reason for that? Not that I have objection

path for keymap files [was: Re: Replacement for hal-setup-keymap]

2009-05-07 Thread Martin Pitt
Kay Sievers [2009-05-07 12:29 +0200]: > > Done. I put the keymaps themselves into /lib/udev/keymaps/ for now > > (instead of /usr/share/udev/keymaps/, as in my first sketch). > > Ah, i see. What's the reason for that? Not that I have objections to > do that. The keyboard should usually be detecte

Re: Replacement for hal-setup-keymap

2009-05-07 Thread Kay Sievers
On Thu, May 7, 2009 at 11:58, Martin Pitt wrote: > Kay Sievers [2009-05-06  1:16 +0200]: >> >  - Would you prefer using input-utils or a copy of the input-kbd >> >   script in udev-extras? >> >> I think, we should put all of that, including the binary, in a subdir >> in udev-extras, and install th

Re: Replacement for hal-setup-keymap

2009-05-07 Thread Martin Pitt
Kay Sievers [2009-05-06 1:16 +0200]: > >  - Would you prefer using input-utils or a copy of the input-kbd > >   script in udev-extras? > > I think, we should put all of that, including the binary, in a subdir > in udev-extras, and install the binary in /lib/udev/. Then we are free > to change stu

Re: Replacement for hal-setup-keymap

2009-05-07 Thread Martin Pitt
Kay Sievers [2009-05-06 1:16 +0200]: > > Originally I intended this to become a script which we can run > > permanently to maintain keymaps in hal-info side by side with the new > > udev-extras rules. However, udev rules are not expressive enough for > > some of the weirder constructs we currently