On Wed, 15 Sep 2004, sunil saggar wrote:

> We (a group of three) are developing device driver for
> usb pen drive in linux environment as my minor project
> in B.tech ....n facing lot of probs.....can u give us
> the source code of device driver for pen drive.....i
> have tried looking for that in linux kernel source as
> well but that was not easy to study.....
> 
> I have studied the kernel programming guide ....but
> problem is that we are finding how to go for that or
> how to start that ...?
> 
> 
> Desparately looking for sample source code to
> study...(if not pen drive ....any usb device device
> willl do)
> 
> thanks

A pen drive is a Mass Storage device, right?

Linux has two USB Mass Storage device drivers.  The older, more functional 
driver can be found in the drivers/usb/storage subdirectory of the kernel 
source.  The newer driver is drivers/block/ub.c.

If those are too advanced, you could start by studying the usb-skeleton.c
file in drivers/usb.

Alan Stern



-------------------------------------------------------
This SF.Net email is sponsored by: thawte's Crypto Challenge Vl
Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam
Camcorder. More prizes in the weekly Lunch Hour Challenge.
Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to