Re: Custom MSC Driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks for all your suggestion.

I think writing a patch to existing MSC driver is an ideal solution.
But i would also like to try by adding an entry in unusual_devs.h. I
would like to know if the entry needs to be added in unusual_devs.h
located in drivers/usb/storage folder. This should make the default
MSC driver to ignore my device.

Please correct if i'm wrong.

Regards,
Madhukar

On Wed, Feb 4, 2009 at 8:45 PM, Greg KH <greg@xxxxxxxxx> wrote:
> On Wed, Feb 04, 2009 at 05:44:03PM +0530, Madhukar G wrote:
>> Hi All,
>>
>> I'm developing a USB class driver for a custom device which is
>> something similiar to Mass Storage Device (USB Stick). I can modify
>> the exisiting storage class driver provided in /drivers/usb/storage.
>> But i thought of keeping the original driver in the directory. I had
>> taken a copy of storage and renamed to USBCustom and did the required
>> modifications in code. But still lot of modifications left.
>
> Why not just send a patch with your modifications to the usb-storage
> driver, that way we only have one driver in the kernel and you don't
> have to worry about any wierd module loading issues?
>
> thanks,
>
> greg k-h
>
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux