On Sat, 16 Feb 2002 23:18, Neil Hodge wrote: > 1. Creative Labs Nomad IIMG mp3 player. It's entry in the devices files > is as follows: <snip>
> NOTE: This player has built in memory as well as a smartmedia slot. > > 2. I am using a user space driver, available at > > http://sourceforge.net/projects/nomadii/ > > My setup is as follows: > > RH72 > kernel 2.4.9-21 > > 3. I'm not quite sure what you you mean by the "device node". The device node is the interface between user space and kernel space. For example, the mouse is: crw------- 1 root root 13, 63 Aug 31 06:30 /dev/input/mice and the permissions on the /proc/bus/usb/001/002 node are: -rw-r--r-- 1 root root 18 Feb 15 13:18 /proc/bus/usb/001/002 This is a sensible default. However it does mean that you need to be root to write anything to the device (which is a lot of USB transactions, because of the way USB works). Some suggestions: 1. Change the rights on the particular node (whichever /proc/bus/usb/X/Y entry corresponds) to +w. See the manual entry for chmod. You can probably do this automagically with an entry in /sbin/hotplug. THIS IS INSECURE UNLESS YOU ARE THE ONLY PERSON WITH ACCESS TO THE SYSTEM. 2. Change the mount options for usbdevfs, using the devmode option: mount /proc/bus/usb -o remount,devmode=0666 (see the manual entry for mount for more information). THIS IS EVEN MORE INSECURE THAN THE FIRST OPTION. 3. Run the nomad utility suid root. THIS IS VERY DANGEROUS IF THERE IS A BUG IN THE NOMAD UTILITY. (man chmod, s option) 4. Modify pam configuration (read the manual entry and probably the system admin's guide) to configure the particular device node to belong to you when you log in, if the device is connected. IF YOU MISCONFIGURE PAM, YOU MAY NOT BE ABLE TO LOG IN. I'd probably do 2, because I control my laptop, and it is easy. Your situation may vary, and you need to assess the risks. Brad > On Sat, 2002-02-16 at 02:13, Brad Hards wrote: > > On Sat, 16 Feb 2002 00:10, Neil Hodge wrote: > > > All: > > > > > > Whenever I try to a USB device as anyone but root, it fails. How do I > > > set up the proper permissions so that all users can use USB. Thanks. > > > > It should be setup in a "usably secure" state in your distro, and you > > probably shouldn't stuff around with it. For example, not being able to > > change the configuration on a USB network interface as anyone except root > > is definately a good idea. > > > > If you have a particular problem with a particular device, and you want > > help, try posting: > > 1. The name of the device, and its type, and the entry it produces in > > /proc/bus/usb/devices > > 2. The driver you are using, and the kernel version. > > 3. The properties on the device node (if applicable) that you are trying > > to use. > > 4. The operation that you are trying to perform, and the errors that you > > get. > > > > Brad > > > > > > _______________________________________________ > > [EMAIL PROTECTED] > > To unsubscribe, use the last form field at: > > https://lists.sourceforge.net/lists/listinfo/linux-usb-users > > _______________________________________________ > [EMAIL PROTECTED] > To unsubscribe, use the last form field at: > https://lists.sourceforge.net/lists/listinfo/linux-usb-users _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users
