On Sun, Aug 05, 2007 at 07:34:35PM +0200, David Leipold wrote:
> Hi there,
> 
> The mode field in struct usb_class_driver was patched away in 2005.
> I'd be very happy if i could get every user to read from my device
> driver. How am i supposed to make that possible without just
> setting .mode = S_IRUSR ?

The kernel does not set this on its own (that mode value was only for
devfs on 2.4, which is not even present in 2.6 anymore.)

Just create a udev rule to set the proper mode for your device.  Take a
look at the udev documentation for details on how to do that.

hope this helps,

greg k-h

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to