Comment 33 for bug 488274

Revision history for this message
Scott James Remnant (Canonical) (canonical-scott) wrote : Re: [javax-usb-devel] Where is Java USB going?

On Tue, 2010-07-27 at 23:15 -0300, Marcus Veloso wrote:

> Since usbfs is marked
> deprecated (bugs.launchpad.net/ubuntu/+source/linux/+bug/488274).
> And "The Linux implementation uses the usbfs filesystem to
> access USB devices directly... you must have Linux kernel support for
> the usbfs filesystem, and it must be mounted
> (at /proc/bus/usb)." (javax-usb.org/faq.html)
>
> What would we do?
>
Fix javax.

The correct path for USB raw device nodes (for the past few years)
is /dev/bus/usb

For details about connected USB devices, you can either use the
sub-directories of /sys/bus/usb/devices (each is a device), use libudev
(which also provides notification of new devices) or for minimum effort
read from /sys/kernel/debug/usb/devices which is the same format as the
old file.

Scott
--
Scott James Remnant
<email address hidden>