Tugger the SLUGger!SLUG Mailing List Archives

USB mass-storage support (Was: Re: [SLUG] USB CD Burner)


On Mon, Dec 04, 2000 at 06:33:09PM +1100, Jeff Waugh wrote:
> <quote who="John Ryland">
> 
> > On Monday 04 December 2000 16:23, Jason Rennie wrote:
> >
> > > Can USB be made to emulate scsi ?
> > 
> > I'm not sure I quite get the question. You can get USB devices that use a 
> > SCSI like protocol over the USB cable.
*snip!*
> I think Jason's asking for something closer to the ide-scsi module, though
> for USB devices.

Yup.  Called, funnily enough, usb-storage, it handles all of the
mass-storage type devices.  I'm using it quite happily with a 250MB USB Zip
drive.  You can get full details from the Linux USB Guide
(http://www.linux-usb.org/USB-guide/book1.html), but basically:

You *must* have a 2.4-pre* kernel.  usb-storage isn't supported in the 2.2
USB backports, because of changes to the SCSI subsystem in 2.4.

In your kernel config, you need SCSI support, as well as support for the
type of device you're using.  For a burner, I think it's SCSI CD-ROM and
SCSI generic support.
Then in the USB section, you should be able to turn on USB Mass Storage
support.  There's also an option for verbose debug, which dumps a lot of
stuff in your syslog, and is great for getting things set up.

On my system, I have the Mass Storage driver compiled as a module.  When
it's loaded and the Zip drive is connected, it's available as /dev/sda (I
don't have any other SCSI devices).  You should be able to mount/unmount
normally, and your burning utils won't know the difference.

Cheers,
Peter