#41 device-location

closed-fixed
8
2007-08-01
2006-09-11
Anonymous
No

Hello!

I use Linux, Suse 10.1.
In JavaxUsb.h the USBDEVFS_PATH is set to /proc/bus/
usb. But the path to my usb-device-files is in /dev/
bus/usb!

Then I have the problem, that i can only access to usb-
devices, when I start my program as root, otherwise i
have no permissions to the devices. Are there any
solutions for that problem. Setting permission each
time when I attach an usb-device is very annoying.

Sorry for my rusty english

Greetz
Christian

Discussion

  • Dan Streetman

    Dan Streetman - 2006-09-11

    Logged In: YES
    user_id=23654

    This is a bug, for newer kernels the usbfs filesystem has
    been moved to /dev/bus/usb (via udev). Patch to
    javax-usb-ri-linux will be applied soon.

    For information regarding permissions you need to look at
    the udev documentation, as that is what controls
    creation/configuration of the /dev/bus/usb/ nodes.

     
  • Dan Streetman

    Dan Streetman - 2006-09-11
    • priority: 5 --> 8
    • assigned_to: nobody --> ddstreet
     
  • Dan Streetman

    Dan Streetman - 2007-07-17

    Logged In: YES
    user_id=23654
    Originator: NO

    This should be fixed in CVS, please try the code and see if it works for you.

     
  • Dan Streetman

    Dan Streetman - 2007-07-17
    • status: open --> pending-fixed
     
  • SourceForge Robot

    • status: pending-fixed --> closed-fixed
     
  • SourceForge Robot

    Logged In: YES
    user_id=1312539
    Originator: NO

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks