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 http://www.libusb.org/. |
See: https://www.kernel.org/doc/Documenta...c_usb_info.txt
"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 /sys/kernel/debug/usb/devices." mount debugfs by this line in /etc/fstab: Code:
debugfs /sys/kernel/debug debugfs defaults 0 0 |
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?
|
Then you need to recompile the kernel with usbfs support.
In the kernel source tree call: Code:
make menuconfig 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: Code:
none /proc/bus/usb usbfs defaults 0 0 |
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 09:44 AM. |