Custom MSC Driver

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

 



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.

Now, i want to load my driver when device is plugged in. But core
always probes default storage driver. By the way, the device class of
my device is USB_CLASS_MASS_STORAGE. So, storage driver is loaded by
default. Also, i dont want to depend of VendorId and DeviceId for
probing.

How can i tell USB core to load my custom driver instead of default
storage driver.

Any help is much appreciated.

Thank you.

Regards,
Madhukar
--
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