On Sun, Sep 19, 2004 at 09:51:04PM -0700, sunil saggar wrote:
> i am trying to write a driver for usb pen drive....a 
> storage  device.....n novice in this field...but
> working really hard ...

What is wrong with the current support for usb pen drives in Linux?  Why
do you want to write another one?

> What changes i do to make usb-skeleton.c to make it a
> full driver?

It is a full driver :)

What you need to do is make it a driver that will control your device.
I suggest you read up on the USB specs (both for your device, and the
main USB one.)  Controlling a USB pen drive is not a simple task by any
means.

> Kernel 2.4 already supports that device.....n it works
> fine with that.....

Great, why reinvent the wheel?

> What should i do to remove that already build in 
> driver.....?

Don't build it into your kernel?

> What proper sequence i should follow to load my new
> driver....meaning various entries in the kernel...n
> all that?

Use the MODULE_DEVICE_TABLE stuff and your driver will automatically be
loaded if it is properly installed and a device is then plugged in.

Good luck,

greg k-h


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to