kern/127943: Hotfind-D camera umass quirks
Poul-Henning Kamp
phk at critter.freebsd.dk
Wed Oct 8 13:40:02 UTC 2008
>Number: 127943
>Category: kern
>Synopsis: Hotfind-D camera umass quirks
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Wed Oct 08 13:40:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Poul-Henning Kamp
>Release: FreeBSD 8.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD critter.freebsd.dk 8.0-CURRENT FreeBSD 8.0-CURRENT #0 r183459M: Thu Oct 2 21:45:41 UTC 2008 root@:/freebsd/head/sys/i386/compile/CRITTER i386
>Description:
www.SDS-infrared.com's Hotfind-D camera offers imagedownload
via a USB mass storage interface.
The following patch is the only combination I found that would
make it A) work, and B) not panic FreeBSD-current.
>How-To-Repeat:
Plug camera in.
>Fix:
Index: dev/usb/usbdevs
===================================================================
--- dev/usb/usbdevs (revision 183674)
+++ dev/usb/usbdevs (working copy)
@@ -1855,6 +1855,7 @@
product OMNIVISION OV511PLUS 0xa511 OV511+ Camera
/* OnSpec Electronic, Inc. */
+product ONSPEC SDS_HOTFIND_D 0x0400 SDS-infrared.com Hotfind-D Infrared Camera
product ONSPEC MDCFE_B_CF_READER 0xa000 MDCFE-B USB CF Reader
product ONSPEC CFMS_RW 0xa001 SIIG/Datafab Memory Stick+CF Reader/Writer
product ONSPEC READER 0xa003 Datafab-based Reader
Index: dev/usb/umass.c
===================================================================
--- dev/usb/umass.c (revision 183674)
+++ dev/usb/umass.c (working copy)
@@ -610,6 +610,10 @@
UMASS_PROTO_SCSI,
NO_QUIRKS
},
+ { USB_VENDOR_ONSPEC, USB_PRODUCT_ONSPEC_SDS_HOTFIND_D, RID_WILDCARD,
+ UMASS_PROTO_SCSI | UMASS_PROTO_BBB,
+ NO_GETMAXLUN | NO_SYNCHRONIZE_CACHE
+ },
{ USB_VENDOR_ONSPEC, USB_PRODUCT_ONSPEC_MDCFE_B_CF_READER, RID_WILDCARD,
UMASS_PROTO_SCSI,
NO_QUIRKS
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list