You can either add them to the SCSI core (which does the bus scanning), or to a device-specific initializer (the last parameter in an unusual_devs.h entry).
Matt On Tue, Jan 04, 2005 at 01:53:03PM +0800, Hou Xiang ZHU wrote: > Hi, > > I use FC2 and kernel is 2.6.8.1. > > I want to send 3 extra self-defined UFI command to USB memory stick before it > send the normal command such as INQUIRY, etc.(these extra command used to > unlock the secure USB stick!) > > I read the Mass storage device driver code and found that such command are > processed in usb_stor_control_thread() of storage/usb.c, > I guess these UFI command are comming from upper layer. But where do they > exactly coming from? how can I send my own command to USB stick? > > I guess eventually I have to write a special driver for it, but currently I > only want to modify the standard Mass storage driver to unlock it. > > thank you for your attention! > > Houxiang zhu > -- Matthew Dharm Home: [EMAIL PROTECTED] Maintainer, Linux USB Mass Storage Driver But where are the THEMES?! How do you expect me to use an OS without themes?! -- Stef User Friendly, 10/9/1998
pgp21Fj8Pq8LA.pgp
Description: PGP signature