Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: Re: USB driver in NetBSD-current fixed for Archos :-)

Re: USB driver in NetBSD-current fixed for Archos :-)

From: George Michaelson <ggm_at_apnic.net>
Date: Wed, 27 Nov 2002 10:02:44 +1000

I checked the Linux drivers and saw enough differences to make me dive into
the BSD 'quirks' mechanism for usb devices. This change, which makes NetBSD
recognize ISD-200 driven USB2.0 filestore as ATA disk, instead of using the
SCSI over ATAPI drivers, appears to work well.

It required the wd on umass entry in the kernel config.

Many thanks for a variety of pointers from different people.

-George

*** sys/dev/usb/umass_quirks.c.dist Tue Nov 26 15:46:03 2002
--- sys/dev/usb/umass_quirks.c Wed Nov 27 09:58:30 2002
***************
*** 107,113 ****
          },
  
          { { USB_VENDOR_INSYSTEM, USB_PRODUCT_INSYSTEM_IDEUSB2 },
! UMASS_WPROTO_UNSPEC, UMASS_CPROTO_UNSPEC,
            0,
            PQUIRK_NOMODESENSE,
            UMATCH_VENDOR_PRODUCT,
--- 107,113 ----
          },
  
          { { USB_VENDOR_INSYSTEM, USB_PRODUCT_INSYSTEM_IDEUSB2 },
! UMASS_WPROTO_BBB, UMASS_CPROTO_ISD_ATA,
            0,
            PQUIRK_NOMODESENSE,
            UMATCH_VENDOR_PRODUCT,
Received on 2002-11-27

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy