I am trying to implement USB drivers in Linux. Before that, I want to know whether USB drivers are character drivers or block drivers? or is it a separate category?
Asked
Active
Viewed 1,613 times
-1
-
1Your question is poorly phrased and/or reflects weak understanding of USB. USB is a bus. By *"USB drivers"* are you referring to the (platform) drivers for USB host or gadget controllers? Or are you referring drivers for the devices that can be attached to a host through USB, e.g. a USB flash drive (a block device) or serial port adapter (a char device) or a WiFi adapter (a network device)? – sawdust Jul 28 '15 at 20:06
-
Well, this might help: http://free-electrons.com/doc/linux-usb.pdf – David Grayson Jul 29 '15 at 01:13
1 Answers
0
There are both character and block USB drivers:
cdc-acm
is a character driver (for USB CDC serial ports).usb-storage
is a block device driver (USB mass storage).
You could omit developing a kernel level USB driver by using LibUSB in your application.

Turbo J
- 7,563
- 1
- 23
- 43
-
The answer is misleading and/or incomplete. What about a network adapter? – sawdust Aug 01 '15 at 01:38