Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Jun 2003 17:49:13 -0400 (EDT)
From:      Colin Perkins <csp@csperkins.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   kern/53601: Quirk entry for Casio Exilim EX-S3 digital camera
Message-ID:  <200306212149.h5LLnDZ7000821@purple.nge.isi.edu>
Resent-Message-ID: <200306212150.h5LLoFBe002547@freefall.freebsd.org>

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

>Number:         53601
>Category:       kern
>Synopsis:       Quirk entry for Casio Exilim EX-S3 digital camera
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jun 21 14:50:14 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Colin Perkins
>Release:        FreeBSD 4.8-STABLE i386
>Organization:
>Environment:
System: FreeBSD purple.nge.isi.edu 4.8-STABLE FreeBSD 4.8-STABLE #1: Sat Jun 21 17:20:45 EDT 2003 root@purple.nge.isi.edu:/usr/obj/usr/src/sys/PURPLE i386


>Description:

Quirk entry for Casio Exilim EX-S3 digital camera, to enable it to function
as a umass device.

>How-To-Repeat:

Attach camera to USB port.  Will be detected as:

/kernel: umass0: CASIO COMPUTER CASIO QV DIGITAL, rev 1.00/50.10, addr 2, 8070i (ATAPI) over CBI
/kernel: umass0:0:0:-1: Attached to scbus0 as device 0
/kernel: da0 at umass-sim0 bus 0 target 0 lun 0
/kernel: da0: <CASIO DIGITAL_CAMERA 1.00> Removable Direct Access SCSI-0 device 
/kernel: da0: 150KB/s transfers
/kernel: da0: 29MB (60800 512 byte sectors: 64H 32S/T 29C)

Any attempt to use the device fails and logs the following:

/kernel: umass0: Unsupported ATAPI command 0x35
/kernel: (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x6, scsi status == 0x0

>Fix:

*** scsi_da.c.orig      Sat Jun 21 17:13:30 2003
--- scsi_da.c   Sat Jun 21 17:16:25 2003
***************
*** 448,454 ****
                 */
                {T_DIRECT, SIP_MEDIA_REMOVABLE,
                 "CASIO", "DIGITAL_CAMERA", "*"},
!               /*quirks*/ DA_Q_NO_6_BYTE
        },
        {
                /*
--- 448,454 ----
                 */
                {T_DIRECT, SIP_MEDIA_REMOVABLE,
                 "CASIO", "DIGITAL_CAMERA", "*"},
!               /*quirks*/ DA_Q_NO_6_BYTE|DA_Q_NO_SYNC_CACHE
        },
        {
                /*

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



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