On Mon, Jun 18, 2007 at 05:24:12PM -0400, Alan Stern wrote:
> On Mon, 18 Jun 2007, Greg KH wrote:
> 
> > > Greg, what do you think?  Is it reasonable to add a binary sysfs
> > > attribute file containing the device descriptor?  (And perhaps also one 
> > > containing the current configuration descriptor, and the interface 
> > > descriptors in their individual subdirectories.  Maybe even the 
> > > endpoint descriptors too.)
> > 
> > No, we DO NOT PUT DEVICE NODES IN SYSFS!
> > 
> > Sorry for yelling, but this comes up every 3-4 months or so for the past
> > 4-5 years and it's getting a bit annoying :)
> > 
> > Device nodes go in /dev/  That's what the LSB specifies and to do
> > something else will just wreck havoc with the system (permissions, acls,
> > security, etc.)
> 
> You misunderstood.  We're not talking about device nodes.  The question 
> is whether there should be a binary read-only attribute file in the 
> device's sysfs directory containing the device descriptor.

What do you mean by, "device descriptor"?

The binary configuration data from the device itself?  Kind of like the
pci "config" file is in sysfs?  If so, then no, I have no objection to
including that in sysfs, but call it the "configuration", not a "device
descriptor", which is usually read as a "device node" by people like me
:)

> It would duplicate information that is already available in sysfs in
> text form, spread out among several attribute files -- but in a
> more-convenient, easier-to-parse package.

You mean "binary" package, right?

thanks,

greg k-h

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Linux-usb-users@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to