Skip to contentSkip to conversation

How to start with USB device driver.

DISCUSSION jeshwanth Kumar N K 3 participants 3 messages Jun 24, 2012 – Jun 25, 2012

lore
Share & tools
lore
#0 lore raw

Hello all

I have basic knowledge of character device driver, I would like to learn writing a simple character driver for USB because on my laptop only I can communicate with usb I don't have any Boards. Can anyone suggest some tutorials or simple project to learn USB device driver ? And suggest me any hardware for other side also. Now I am planning to use my PIC board (it has usb) to communicate with linux.

Thanks in advance.

Sent from my HTC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20120624/5dc41716/attachment.html

#1 lore raw

Hi Jeshwanth,

http://www.linuxforu.com/tag/linux-device-drivers-series/

Visit this link,its a long series. For USB thing , you can see Parts 11, 12, 13 .

Quoted 11 lines · jeshwanth Kumar N K

Hello all

I have basic knowledge of character device driver, I would like to learn writing a simple character driver for USB because on my laptop only I can communicate with usb I don't have any Boards. Can anyone suggest some tutorials or simple project to learn USB device driver ? And suggest me any hardware for other side also. Now I am planning to use my PIC board (it has usb) to communicate with linux.

Thanks in advance.

Quoted 9 lines

Sent from my HTC

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies at kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20120624/0eb11428/attachment.html

#2 lore raw
In reply to jeshwanth Kumar N K
Quoted 9 lines · jeshwanth Kumar N K

Hello all

I have basic knowledge of character device driver, I would like to learn writing a simple character driver for USB because on my laptop only I can communicate with usb I don't have any Boards. Can anyone suggest some tutorials or simple project to learn USB device driver ? And suggest me any hardware for other side also. Now I am planning to use my PIC board (it has usb) to communicate with linux.

Hi Jeshwanth,

You can go through the following link.
http://lwn.net/images/pdf/LDD3/ch13.pdf

I think, you need a device for testing your written source code. Could you please tell me details about your PIC board as I do not understand it clearly?

Regards,
Srinidhi.