All about programming in GNU/LINUX

Alternalte for /proc/devices/bus/usb in ubuntu

Many Devices programmers who use Ubuntu face a problem while writing USB device drivers ,that is the proc window /proc/devices/bus/usb/devices which is part of usbfs doesnt exist in ubuntu.But there exists a alternate window file to know the list of detected USB devices .The file /sys/kernel/debug/usb/devices gives the same information as one would get from the /proc window .

 

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s