On Sat, Jun 09, 2007 at 04:47:03PM -0400, Bill Cunningham wrote:
>     Before I get started writing a driver for my flashdrive and no as far as 
> I can see no one has written one

Are you positive about this?  I see two different drivers in the kernel
tree that probably work with your device.

And remember, that flashdrive is one of the most complex USB devices out
there, go read the spec to find out more :)

> I want to familiarize myself with modules. 
> Just the simple infamous 'hello world' thing in a module would show that I 
> atleast know where in the 2.6 source I can locate the proper files. I 
> believe this involves init_module() and cleanup_module(). I've read so much 
> conflicting stuff.

Try looking at the book, "Linux Device Drivers, third edition", free
online for a start into how to do this.

> I think a char device made with mknod and mounted might be best for a
> usb flash drive though.

Hm, no, you want to be a block device, like the current drivers do it.

good luck,

greg k-h

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
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