javax.usb uses the usbfs filesystem to access USB devices, and the usbfs
filesystem's read-write permissions by default are root-only.  So only
root can access any USB devices at a raw read-write level.  You can change
the permissions of the usbfs filesystem to allow non-root access.



On Wed, 21 Sep 2005, Elliotte Harold wrote:

>So far I've only been able to see the USB devices attached to my Linux 
>box from javax.usb if I'm running as root, in which case everything 
>works pretty much as expected. However, that's certainly a limitation I 
>wouldn't expect. I'm using a USB mouse and I can hotplug my digital 
>camera on this system while not running as root, and all the usual Linux 
>utilities work fine. e.g. I can import pictures into my photo album.
>
>Is there any way around this so that i do not need to run the programs 
>as root?
>
>
>

-- 
Dan Streetman
[EMAIL PROTECTED]
---------------------
186,272 miles per second:
It isn't just a good idea, it's the law!


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
javax-usb-devel mailing list
javax-usb-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/javax-usb-devel

Reply via email to