John Porubek writes:
> However, I ran into a problem that may affect other users as well. As
> of kernel version 2.6.31-20, support for usbfs has been removed. Thus
> the instructions you give on your download page will no longer work. I
> discovered this the hard way when I went to perform the mount and was
> met with the following message: "mount: unknown filesystem type
> 'usbfs'". My workaround for now is to boot into version 2.6.31-19. Do
> you have a better solution that will work going forward with newer
> kernels?

If you reconfigure your kernel with CONFIG_USB_DEVICEFS=y, you can bring
back usbfs and remount it with:

    umount /proc/bus/usb
    mount -t usbfs none /proc/bus/usb devuid=1000,devmode=0644

However, usbfs has been marked as deprecated. From the documentation
from the kernel configuration option:

     Modern Linux systems do not use this.

     Usbfs entries are files and not character devices; usbfs can't
     handle Access Control Lists (ACL) which are the default way to
     grant access to USB devices for untrusted users of a desktop
     system.

     The usbfs functionality is replaced by real device-nodes managed by
     udev.  These nodes lived in /dev/bus/usb and are used by libusb.

Presumably you could alter a udev rule to give normal users access to
the files in /dev/bus/usb... unfortunately I don't know enough about
udev to suggest anything at this point.

- Daniel

Reply via email to