linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Greg KH <greg@kroah.com>
To: linux-hotplug@vger.kernel.org
Subject: Re: default udev rules
Date: Tue, 12 Aug 2008 00:00:27 +0000	[thread overview]
Message-ID: <20080812000027.GA21566@kroah.com> (raw)
In-Reply-To: <1218277281.31266.32.camel@lgn.site>

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@kroah.com> 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

  parent reply	other threads:[~2008-08-12  0:00 UTC|newest]

Thread overview: 62+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-09 10:21 default udev rules Kay Sievers
2008-08-09 15:23 ` Marco d'Itri
2008-08-09 18:55 ` Greg KH
2008-08-09 19:30 ` Marco d'Itri
2008-08-09 19:44 ` Greg KH
2008-08-09 20:03 ` Kay Sievers
2008-08-10 18:07 ` Scott James Remnant
2008-08-10 19:18 ` Marco d'Itri
2008-08-10 19:25 ` Greg KH
2008-08-10 19:47 ` Kay Sievers
2008-08-10 20:35 ` Kay Sievers
2008-08-11  8:45 ` Kay Sievers
2008-08-11  8:58 ` Marco d'Itri
2008-08-11  9:01 ` Marco d'Itri
2008-08-11 13:03 ` Scott James Remnant
2008-08-11 14:54 ` Kay Sievers
2008-08-11 15:18 ` David Zeuthen
2008-08-11 15:20 ` Scott James Remnant
2008-08-11 15:21 ` Scott James Remnant
2008-08-11 15:27 ` Kay Sievers
2008-08-11 15:28 ` Kay Sievers
2008-08-11 15:35 ` Scott James Remnant
2008-08-11 15:36 ` Scott James Remnant
2008-08-11 15:42 ` Scott James Remnant
2008-08-11 15:50 ` Kay Sievers
2008-08-11 16:00 ` Scott James Remnant
2008-08-11 16:06 ` piterpk
2008-08-11 16:14 ` Marco d'Itri
2008-08-11 16:19 ` Kay Sievers
2008-08-11 16:26 ` Marco d'Itri
2008-08-11 16:34 ` Kay Sievers
2008-08-11 16:37 ` Greg KH
2008-08-11 16:41 ` Kay Sievers
2008-08-11 16:45 ` Marco d'Itri
2008-08-11 16:48 ` Marco d'Itri
2008-08-11 16:48 ` Kay Sievers
2008-08-11 16:53 ` Scott James Remnant
2008-08-11 16:54 ` Marco d'Itri
2008-08-11 16:58 ` Greg KH
2008-08-11 17:00 ` Kay Sievers
2008-08-11 17:01 ` Kay Sievers
2008-08-11 17:06 ` Scott James Remnant
2008-08-11 17:08 ` Scott James Remnant
2008-08-11 17:10 ` Scott James Remnant
2008-08-11 17:24 ` Kay Sievers
2008-08-11 17:37 ` David Zeuthen
2008-08-11 17:40 ` Scott James Remnant
2008-08-11 18:00 ` Scott James Remnant
2008-08-11 18:01 ` Kay Sievers
2008-08-11 18:06 ` Scott James Remnant
2008-08-11 22:26 ` Greg KH
2008-08-11 22:28 ` Greg KH
2008-08-11 22:29 ` Greg KH
2008-08-11 23:40 ` Scott James Remnant
2008-08-11 23:41 ` Scott James Remnant
2008-08-12  0:00 ` Greg KH [this message]
2008-08-12 20:32 ` Kay Sievers
2008-08-13  1:53 ` H. Peter Anvin
2008-08-13  1:55 ` H. Peter Anvin
2008-11-18 17:39 ` Harald Hoyer
2008-11-18 17:52 ` Kay Sievers
2008-11-19  2:09 ` Piter PUNK

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080812000027.GA21566@kroah.com \
    --to=greg@kroah.com \
    --cc=linux-hotplug@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).