[Bug 488274] Re: [javax-usb-devel] Where is Java USB going?
Scott James Remnant
scott at canonical.com
Wed Jul 28 14:03:42 UTC 2010
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
scott at ubuntu.com
--
disable deprecated config option CONFIG_USB_DEVICEFS
https://bugs.launchpad.net/bugs/488274
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to linux in ubuntu.
More information about the kernel-bugs
mailing list