Hello,

I'm trying to understand how USB works on Linux and I'm getting
confused about special devices:
- Documentation/devices.txt says that major 189 is for "USB serial
converters - alternate devices" but any usb device seems to have this
major (as I figure out from /dev/usb/00x/00x kind of special file). Am
I right in assuming that devices.txt lags?
- looking in the source I can see that 2 majors are defined for USB
#define USB_MAJOR                       180
#define USB_DEVICE_MAJOR                189
Could someone tell me which one is used when?
- if I want to write a user side driver, do I have to use
/proc/bus/usb/00x/00x or /dev/usb/00x/00x? What are the differences?

Thank you

Gildas

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to