Hi, I am using linux 2.6.32. I created the system with buildroot and use udev. When I plug the USB device into system, it show up in the /sys/bus/usb folder: # ls /sys/bus/usb/devices/ 1-0:1.0 1-1 1-1.2 1-1.2:1.0 1-1:1.0 usb1 # But the /proc/bus/usb folder is empty. And I do not have the /dev/bus folder # ls /proc/bus/usb/ # # ls /dev/bu* /dev/buttons # How can I make my USB device appear in the /proc/bus/usb and /dev/bus folder? Thanks
/proc/bus/usb empty
mount usbfs -t usbfs /proc/bus/usb for /proc/bus/usb for /dev/usb, I don't know, mayne your hotplug helpscript has not same config that other linux ? ( check mdev / udev / ... )
Thank Michael, I made it by adding the following 2 lines to udev rule: SUBSYSTEM=="usb", ACTION=="add", ENV{DEVTYPE}=="usb_device", NAME="bus/usb/$env{BUSNUM}/$env{DEVNUM}", MODE="0660" SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ID_USB_INTERFACES==":0701*:", GROUP="lp", MODE="660"