Re: default udev rules

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

 



On Tue, Aug 12, 2008 at 12:40:09AM +0100, Scott James Remnant wrote:
> On Mon, 2008-08-11 at 15:29 -0700, Greg KH wrote:
> 
> > On Mon, Aug 11, 2008 at 06:06:46PM +0100, Scott James Remnant wrote:
> > > On Mon, 2008-08-11 at 09:58 -0700, Greg KH wrote:
> > > 
> > > > On Mon, Aug 11, 2008 at 06:48:19PM +0200, Marco d'Itri wrote:
> > > > > On Aug 11, Greg KH <greg@xxxxxxxxx> wrote:
> > > > > 
> > > > > > Where does the kernel not give the "right" name today?
> > > > > 
> > > > > For a start:
> > > > 
> > > > The large majority of those are because you want a subdirectory to make
> > > > things pretty.  The kernel can't do anything about that.
> > > > 
> > > Why not?
> > > 
> > > We have the source code to the kernel.
> > > 
> > > The patch to allow "/" in device names, as exported to user space, must
> > > be trivial?
> > > 
> > > udev already converts "!" to "/", so we could just use that?
> > 
> > Because that would break the LSB naming standard of these devices,
> > making things backwardly incompatible.  Is that something you want to
> > push through lkml on your own just to alleviate a single line in a udev
> > file?
> > 
> What LSB naming standard?
> 
> Do you mean the LANANA Linux Allocated Devices list?

Yes, LSB specifies that LANANA is the standard.

> In which case, I humbly submit the following quote:
> 
>  13 char        Input core
>                   0 = /dev/input/js0    First joystick
>                   1 = /dev/input/js1    Second joystick
>                     ...
>                  32 = /dev/input/mouse0 First mouse
>                  33 = /dev/input/mouse1 Second mouse
>                     ...
>                  63 = /dev/input/mice   Unified mouse
>                  64 = /dev/input/event0 First event queue
>                  65 = /dev/input/event1 Second event queue
> 
> Right now, Linux names these wrongly in the kernel.

Great, patches accepted :)

good luck,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux