Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 May 2009 15:11:20 +0200
From:      Lucius Windschuh <lwindschuh@googlemail.com>
To:        Hans Petter Selasky <hselasky@c2i.net>
Cc:        freebsd-gnats-submit@freebsd.org, freebsd-usb@freebsd.org
Subject:   Re: usb/134476: [usb2] [umass] [quirk] Add quirk for Cypress xx6830xx
Message-ID:  <90a5caac0905120611h75599548y28759cce1fda712a@mail.gmail.com>
In-Reply-To: <200905120923.57886.hselasky@c2i.net>
References:  <200905120040.n4C0eZdL003284@www.freebsd.org> <200905120923.57886.hselasky@c2i.net>

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

[-- Attachment #1 --]
2009/5/12 Hans Petter Selasky <hselasky@c2i.net>:
>
> If the descriptors are correct then use UMASS_PROTO_DEFAULT . Can you
check
> this and I will import this patch.

It works with UMASS_PROTO_DEFAULT. After pulling in p4 change 161533... ;-)
And I found another enclosure with a different chipset that needs special
treatment, too (combined patch attached).

Thanks

Lucius

[-- Attachment #2 --]
Index: sys/dev/usb/storage/umass.c
===================================================================
--- sys/dev/usb/storage/umass.c	(Revision 191999)
+++ sys/dev/usb/storage/umass.c	(Arbeitskopie)
@@ -395,6 +395,10 @@
 		UMASS_PROTO_SCSI | UMASS_PROTO_BBB,
 		NO_QUIRKS
 	},
+	{USB_VENDOR_ALCOR, USB_PRODUCT_ALCOR_AU6390, RID_WILDCARD,
+		UMASS_PROTO_DEFAULT,
+		NO_SYNCHRONIZE_CACHE
+	},
 	{USB_VENDOR_ALCOR, USB_PRODUCT_ALCOR_UMCR_9361, RID_WILDCARD,
 		UMASS_PROTO_SCSI | UMASS_PROTO_BBB,
 		NO_GETMAXLUN
@@ -427,6 +431,10 @@
 		UMASS_PROTO_SCSI | UMASS_PROTO_BBB,
 		FORCE_SHORT_INQUIRY | NO_START_STOP | IGNORE_RESIDUE
 	},
+	{USB_VENDOR_CYPRESS, USB_PRODUCT_CYPRESS_XX6830XX, RID_WILDCARD,
+		UMASS_PROTO_DEFAULT,
+		NO_GETMAXLUN | NO_SYNCHRONIZE_CACHE
+	},
 	{USB_VENDOR_DESKNOTE, USB_PRODUCT_DESKNOTE_UCR_61S2B, RID_WILDCARD,
 		UMASS_PROTO_SCSI | UMASS_PROTO_BBB,
 		NO_QUIRKS
Index: sys/dev/usb/usbdevs
===================================================================
--- sys/dev/usb/usbdevs	(Revision 191999)
+++ sys/dev/usb/usbdevs	(Arbeitskopie)
@@ -817,6 +817,7 @@
 product ALCOR UMCR_9361		0x9361	USB Multimedia Card Reader
 product ALCOR SM_KBD		0x9410	MicroConnectors/StrongMan Keyboard
 product ALCOR NEC_KBD_HUB	0x9472	NEC Kbd Hub
+product ALCOR AU6390	0x6390	AU6390 USB-IDE converter
 
 /* Altec Lansing products */
 product ALTEC ADA70		0x0070	ADA70 Speakers
@@ -1106,6 +1107,7 @@
 product CYPRESS FMRADIO		0x1002	FM Radio
 product CYPRESS USBRS232	0x5500	USB-RS232 Interface
 product CYPRESS SLIM_HUB	0x6560	Slim Hub
+product CYPRESS XX6830XX	0x6830	PATA Storage Device
 
 /* Daisy Technology products */
 product DAISY DMC		0x6901	USB MultiMedia Reader

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