usb/96599: [patch] [usb] Sony Handycam DCR-HC32E memory stick slot

Eugene Grosbein eu at grosbein.pp.ru
Mon May 1 15:40:25 UTC 2006


>Number:         96599
>Category:       usb
>Synopsis:       [patch] [usb] Sony Handycam DCR-HC32E memory stick slot
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-usb
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 01 15:40:24 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Eugene Grosbein
>Release:        FreeBSD 6.1-RC i386
>Organization:
Svyaz-Service JSC
>Environment:
System: FreeBSD grosbein.pp.ru 6.1-RC FreeBSD 6.1-RC #25: Mon May 1 22:43:58 KRAST 2006 root at grosbein.pp.ru:/mnt/usr/local/obj6/usr/src/sys/DADV i386

>Description:
	My Sony DCR-HC32E requires the same quirk as DSC
	(http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/usb/umass.c#rev1.124)

	But umass(4) matches it with wrong wildcarded quirk.

>How-To-Repeat:
	6.1-RC does not recognize attached DCR-HC32E

>Fix:

	The solution is to supply more specific quirk just before wrong one.

--- sys/dev/usb/umass.c.orig	Mon May  1 21:30:56 2006
+++ sys/dev/usb/umass.c	Mon May  1 23:13:50 2006
@@ -478,6 +478,10 @@
 	  UMASS_PROTO_RBC | UMASS_PROTO_CBI,
 	  NO_QUIRKS
 	},
+	{ USB_VENDOR_SONY, USB_PRODUCT_SONY_HANDYCAM, 0x0500,
+	  UMASS_PROTO_RBC | UMASS_PROTO_CBI,
+	  RBC_PAD_TO_12
+	},
 	{ USB_VENDOR_SONY, USB_PRODUCT_SONY_HANDYCAM, RID_WILDCARD,
 	  UMASS_PROTO_RBC | UMASS_PROTO_CBI,
 	  NO_QUIRKS



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


More information about the freebsd-usb mailing list