2005-05-12 08:31:51

by Sumit Narayan

[permalink] [raw]
Subject: USB Mass Storage

If I use a USB connected hard-disk (IDE), which device driver would I
be using? I understand it is recognized as a SCSI disk. So, is it the
SCSI driver? Or would the IDE driver be used?

Thanks!


2005-05-12 12:14:10

by Carlos Martín

[permalink] [raw]
Subject: Re: USB Mass Storage

On 5/12/05, SN <[email protected]> wrote:
> If I use a USB connected hard-disk (IDE), which device driver would I
> be using? I understand it is recognized as a SCSI disk. So, is it the
> SCSI driver? Or would the IDE driver be used?

You would use the usb-storage driver which in turn uses the scsi driver.

cmn
--
Carlos Mart?n http://www.cmartin.tk http://rpgscript.berlios.de

"I'll wager it's the most extraordinary thing to happen round here
since Queen Elizabeth's handmaid got hit by lightning and sprouted a
beard"
-- T. C. Boyle, "Water Music"

2005-05-12 12:23:18

by Sumit Narayan

[permalink] [raw]
Subject: Re: USB Mass Storage

Thanks for the reply Carlos and Eshwar.

So is it that IDE (ide-disk.c) doesn't even come into the picture?
>From where exactly is the data sent to the disk? I mean, where in
kernel would I find code for read/write on disk?

Thanks in advance.

Regards..

On 5/12/05, Carlos Martin <[email protected]> wrote:
> On 5/12/05, SN <[email protected]> wrote:
> > If I use a USB connected hard-disk (IDE), which device driver would I
> > be using? I understand it is recognized as a SCSI disk. So, is it the
> > SCSI driver? Or would the IDE driver be used?
>
> You would use the usb-storage driver which in turn uses the scsi driver.
>
> cmn
> --
> Carlos Mart?n http://www.cmartin.tk http://rpgscript.berlios.de
>
> "I'll wager it's the most extraordinary thing to happen round here
> since Queen Elizabeth's handmaid got hit by lightning and sprouted a
> beard"
> -- T. C. Boyle, "Water Music"
>

2005-05-12 12:48:30

by Douglas McNaught

[permalink] [raw]
Subject: Re: USB Mass Storage

SN <[email protected]> writes:

> If I use a USB connected hard-disk (IDE), which device driver would I
> be using? I understand it is recognized as a SCSI disk. So, is it the
> SCSI driver? Or would the IDE driver be used?

It would be the SCSI layer running on top of the USB drivers. No IDE
involved on the PC side (obviously the USB enclosure has an IDE
controller, but it's driven by the enclsure firmware, not Linux).

-Doug