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>
On Tue, 2010-07-27 at 23:15 -0300, Marcus Veloso wrote:
> Since usbfs is marked .net/ubuntu/ +source/ linux/+ bug/488274) . usb.org/ faq.html)
> deprecated (bugs.launchpad
> 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-
>
> 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 usb/devices (each is a device), use libudev debug/usb/ devices which is the same format as the
sub-directories of /sys/bus/
(which also provides notification of new devices) or for minimum effort
read from /sys/kernel/
old file.
Scott
--
Scott James Remnant
<email address hidden>