linux - /dev/bus/usb not created/found -


we moving 3.4 kernel 3.14 kernel in 3.4, using usbfs (config_usb_devicefs=y) , using following command mount it.

mount -t usbfs none /proc/bus/usb 

obviously mounting fails because usbfs no longer supported in 3.14 kernel. so, started googling , found available in /dev/bus/usb or /sys/bus/usb. using libusb.so looks /dev/bus/usb devices.

unfortunately, dont see devices under /dev/bus/usb. how devices under /dev/bus/usb?

solution

udev not running on box, hence needed find alternative usb devices under /dev/bus/usb

i enabled devtmpfs in kernel via config_devtmpfs=y , mounted devtmpfs via

mount -t devtmpfs none /dev 

this brought in usb devices under /dev/bus/usb

hope helps!


Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -