Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Nov 2005 17:52:53 GMT
From:      "Arno J. Klaassen" <arno@heho.snv.jussieu.fr>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   usb/88939: Fix cheapy Myson USB-IDE adapter
Message-ID:  <200511131752.jADHqr3P095118@www.freebsd.org>
Resent-Message-ID: <200511131800.jADI0QtM013884@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         88939
>Category:       usb
>Synopsis:       Fix cheapy Myson USB-IDE adapter
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-usb
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Nov 13 18:00:25 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Arno J. Klaassen
>Release:        RELENG_6
>Organization:
INSERM U472
>Environment:
FreeBSD demo 6.0-STABLE FreeBSD 6.0-STABLE #4: Sun Nov 13 18:03:14 CET 2005     toor@demo:/files/amd64/obj/files/bsd/src6/sys/D470K  amd64
>Description:
Myson USB-IDE adapter does not work with umass driver; disk is recognised, but accessing it fails with various errors.
>How-To-Repeat:
Try to find one; it's sold as "Heden" in France         
>Fix:
The following patch makes this device work for me with reasonable performance :

Index: umass.c
===================================================================
RCS file: /home/ncvs/src/sys/dev/usb/umass.c,v
retrieving revision 1.122.2.1
diff -u -r1.122.2.1 umass.c
--- umass.c     29 Jul 2005 15:39:26 -0000      1.122.2.1
+++ umass.c     13 Nov 2005 16:57:26 -0000
@@ -387,6 +387,10 @@
          UMASS_PROTO_ATAPI | UMASS_PROTO_BBB,
          NO_QUIRKS
        },
+       { USB_VENDOR_MYSON,  USB_PRODUCT_MYSON_HEDEN, RID_WILDCARD,
+         UMASS_PROTO_SCSI | UMASS_PROTO_BBB,
+         NO_INQUIRY | NO_QUIRKS | IGNORE_RESIDUE
+       },
        { USB_VENDOR_NEODIO, USB_PRODUCT_NEODIO_ND3260, RID_WILDCARD,
          UMASS_PROTO_SCSI | UMASS_PROTO_BBB,
          FORCE_SHORT_INQUIRY
Index: usbdevs
===================================================================
RCS file: /home/ncvs/src/sys/dev/usb/usbdevs,v
retrieving revision 1.232.2.1
diff -u -r1.232.2.1 usbdevs
--- usbdevs     1 Oct 2005 16:26:25 -0000       1.232.2.1
+++ usbdevs     13 Nov 2005 16:09:09 -0000
@@ -1218,6 +1218,9 @@
 product MUSTEK 600USB          0x0873  600 USB scanner
 product MUSTEK MDC800          0xa800  MDC-800 digital camera
 
+/* Myson products */
+product MYSON HEDEN            0x8818  USB-IDE
+
 /* M-Systems products */
 product MSYSTEMS DISKONKEY     0x0010  DiskOnKey
 product MSYSTEMS DISKONKEY2    0x0011  DiskOnKey

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200511131752.jADHqr3P095118>