RE: [linux-usb-devel] Re: Add UFI command to Mass storage device driver

2005-01-06 Thread Alan Stern
On Thu, 6 Jan 2005, Hou Xiang ZHU wrote: > I think for just unlock the stick using a few extra command, this approach > is ok, but > what if I also want to encrypt every single byte of data on this stick(using > some encrypt algorithm)? > I think I have to write a special driver for it . Even if I

RE: [linux-usb-devel] Re: Add UFI command to Mass storage device driver

2005-01-05 Thread Hou Xiang ZHU
> -Original Message- > From: Alan Stern [mailto:[EMAIL PROTECTED] > Sent: Tuesday, January 04, 2005 10:53 PM > To: Hou Xiang ZHU > Cc: USB development list > Subject: Re: [linux-usb-devel] Re: Add UFI command to Mass > storage device driver > > > On

Re: [linux-usb-devel] Re: Add UFI command to Mass storage device driver

2005-01-04 Thread Alan Stern
On Tue, 4 Jan 2005, Matthew Dharm wrote: > > Another possibility is to write a userspace program. Use libusb to send > > the commands you need, and then use the USBDEVFS_CONNECT ioctl to cause > > the usb-storage driver to rebind to the stick. > > > > The advantage of this approach is that it'

Re: [linux-usb-devel] Re: Add UFI command to Mass storage device driver

2005-01-04 Thread Matthew Dharm
On Tue, Jan 04, 2005 at 09:52:49AM -0500, Alan Stern wrote: > On Tue, 4 Jan 2005, Matthew Dharm wrote: > > > 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 > > > > O

Re: [linux-usb-devel] Re: Add UFI command to Mass storage device driver

2005-01-04 Thread Alan Stern
On Tue, 4 Jan 2005, Matthew Dharm wrote: > 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, > > > >

[linux-usb-devel] Re: Add UFI command to Mass storage device driver

2005-01-04 Thread Matthew Dharm
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