Subject: Support for ScanLogic SL11R-IDE umass (USB-IDE/ATAPI) chip?
To: None <port-i386@netbsd.org>
From: Alicia da Conceicao <alicia@cyberstation.ca>
List: port-i386
Date: 08/08/2001 22:06:14
I have a USB 2.5" IDE drive enclosure.  It has a single chip which is
the ScanLogic SL11RIDE, and that chip has the following text on it:

        ScanLogic
        SL11R-IDE
        0047SQFP-1.2
        A006

Technical information on this chip is available here:

        http://www.scanlogic.com/product_info/sl11ride/default.html

And one can contact the ScanLogic support team for additional info here:

        support@scanlogic.com

A quote from the instruction papers that came with the USB IDE enclosure
it:
        Because the interface card is designed for mass-storage
        device, so this HDD can be automatically found in Windows
        ME and Win 2000.  It doesn't need to install driver.

So it would appear that it appear to be a umass device.  This is somewhat
indicated with the following boot messages using a NetBSD-current kernel:
 
        umass0 at uhub0 port 1 configuration 1 interface 0
        umass0: ScanLogic USBIDE ScanLogic USBIDE, rev 1.10/2.60, addr 3
        umass0: using SCSI over BBB-P
        scsibus0 at umass0: 2 targets, 1 luns per target
        scsibus0: waiting 2 seconds for devices to settle...
        umass0: Invalid CSW: tag 336 should be 42
        umass0: Invalid CSW: tag 336 should be 43
        umass0: Invalid CSW: tag 336 should be 44
        umass0: Invalid CSW: tag 336 should be 45
        umass0: Invalid CSW: tag 336 should be 46
        umass0: Invalid CSW: tag 4850008 should be 47
        umass0: Invalid CSW: tag 4850008 should be 48
        umass0: Invalid CSW: tag 4850008 should be 49
        umass0: Invalid CSW: tag 4850008 should be 50
        umass0: Invalid CSW: tag 4850008 should be 51

so NetBSD properly detects it as a umass device.  However, as you can
see, it fails to work properly.  Should it not be using the "atapibus0"
device instead of "scsibus0", since it is an IDE/ATAPI device?

Anyways, from "usbdevs -v", I get:
        Controller /dev/usb0:
        addr 1: self powered, config 1, UHCI root hub(0x0000),
                        Intel(0x8086), rev 1.00
        port 1 addr 3: self powered, config 1, ScanLogic USBIDE(0x0002),
                        ScanLogic USBIDE(0x04ce), rev 2.60

Since NetBSD supports umass devices, prehaps very work is needed to get
work is needed to get it working with current.  I have the device, and
would greatly appreciate any assistance from anyone familar with the
NetBSD drivers to work together and get it working.

BTW, this umass device works great under Win98 and Win2000, so it is
physically okay.

Thanks in advance.
Alicia.