Date: Wed, 8 Oct 2008 13:17:56 GMT From: Poul-Henning Kamp <phk@critter.freebsd.dk> To: FreeBSD-gnats-submit@FreeBSD.org Subject: kern/127943: Hotfind-D camera umass quirks Message-ID: <200810081317.m98DHu1c057497@critter.freebsd.dk> Resent-Message-ID: <200810081340.m98De2rn055619@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200810081317.m98DHu1c057497>