-   Slackware (
-   -   libusb: how do I mount usbfs? (

stf92 09-17-2013 10:47 AM

libusb: how do I mount usbfs?
Slackware 14.0 (x86_64).

Hi: Regarding package libusb-1.0.9-x86_64-1, it has been installed when installing slackware 14.0. However, usbfs is not mounted at boot time. I would like to know how I could mount it. See

ml4711 09-17-2013 11:36 AM


"In many modern systems the usbfs filesystem isn't used at all. Instead
USB device nodes are created under /dev/usb/ or someplace similar. The
"devices" file is available in debugfs, typically as

mount debugfs by this line in /etc/fstab:

debugfs          /sys/kernel/debug debugfs    defaults        0  0

stf92 09-17-2013 11:46 AM

OK. But I need to do it the old way, that is with usbfs, because I'm trying to develop a USB driver. Is there a way to mount it, in spite of udev?

ml4711 09-17-2013 12:32 PM

Then you need to recompile the kernel with usbfs support.

In the kernel source tree call:

make menuconfig
you find the option here:
Device Drivers ---> USB support ---> USB device filesystem (DEPRECATED)

then compile and install kernel and modules, (read the README file for kernel-source)

setup lilo.conf and then run lilo

in fstab:

none  /proc/bus/usb  usbfs  defaults  0  0

stf92 09-17-2013 12:35 PM

I'll do that, or perhaps I'll use slackware 12.0. Thank you very much.

All times are GMT -5. The time now is 05:18 PM.