Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Jul 2002 07:57:38 -0700 (PDT)
From:      Keith White <kwhite@uottawa.ca>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/41010: HP 315 Digital camera, SCSI quirks
Message-ID:  <200207261457.g6QEvcV2093508@www.freebsd.org>

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

>Number:         41010
>Category:       kern
>Synopsis:       HP 315 Digital camera, SCSI quirks
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 26 08:00:05 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Keith White
>Release:        4.6
>Organization:
SITE, University of Ottawa
>Environment:
FreeBSD admin16.site.uottawa.ca 4.6-RELEASE FreeBSD 4.6-RELEASE #6: Thu Jul 25 10:23:32 EDT 2002     root@admin16.site.uottawa.ca:/usr/src/sys/compile/XBAT  i386

>Description:
Unable to access the HP 315 camera via the USB port.  The
camera is recognized but all accesses to "da0" fail with
IO errors.  Log errors:

Jul 25 09:00:45 foobar /kernel: umass0: HP USB DIGITAL CAMERA, rev 1.10/1.00, addr 2
Jul 25 09:00:45 foobar /kernel: da0 at umass-sim0 bus 0 target 0 lun 0
Jul 25 09:00:45 foobar /kernel: da0: <HP USB CAMERA 1.00> Removable Direct Access SCSI-0 device
Jul 25 09:00:45 foobar /kernel: da0: 650KB/s transfers
Jul 25 09:00:45 foobar /kernel: da0: 7MB (15537 512 byte sectors: 64H 32S/T 7C)
Jul 25 09:01:43 foobar /kernel: umass0: BBB reset failed, IOERROR
Jul 25 09:01:43 foobar /kernel: umass0: BBB bulk-in clear stall failed, IOERROR
Jul 25 09:01:43 foobar /kernel: umass0: BBB bulk-out clear stall failed, IOERROR
Jul 25 09:01:43 foobar /kernel: umass0: BBB reset failed, IOERROR

>How-To-Repeat:
Plug in an HP 315 to a USB port.
Type "dd if=/dev/da0s1"
Wait...

>Fix:
Add the following quirk definition to /sys/cam/scsi/scsi_da.c

        {
                /*
                 * HP 315 USB DIGITAL CAMERA
                 */
                {T_DIRECT, SIP_MEDIA_REMOVABLE, "HP", "USB CAMERA*", "*"},   
                /*quirks*/ DA_Q_NO_6_BYTE
        },

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

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




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