Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Oct 2001 20:07:09 -0700 (PDT)
From:      Michael Hoisie <async@winprog.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/30980: Nikon Coolpic 995 is supported incorrectly
Message-ID:  <200110020307.f92379T95403@freefall.freebsd.org>

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

>Number:         30980
>Category:       kern
>Synopsis:       Nikon Coolpic 995 is supported incorrectly
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Oct 01 20:10:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Michael Hoisie
>Release:        4.4-release
>Organization:
Los Alamos High School
>Environment:
FreeBSD localhost.localdomain 4.4-STABLE FreeBSD 4.4-STABLE #8: Sun Sep 30 20:26:07 MDT 2001     async@localhost.localdomain:/usr/obj/usr/src/sys/PHIRELORD_D  i386

>Description:
Without patching /usr/src/sys/cam/scsi/scsi_da.c, trying to mount the camera (mount_msdos /dev/da0s1 /cam) gives errors. This is because the kernel sends incorrect read commands to the camera. Adding two lines of code to /usr/src/sys/cam/scsi/scsi_da.c fixes the problem.
>How-To-Repeat:
plug in a nikon coolpix 995 to the usb port and try to mount it.
>Fix:
add the following to /usr/src/sys/cam/scsi/scsi_da.c (line 240):             
{
{T_DIRECT, SIP_MEDIA_REMOVABLE, "NIKON", "NIKON DSC E995", "*"},
/*quirks*/ DA_Q_NO_6_BYTE|DA_Q_NO_SYNC_CACHE
},
>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?200110020307.f92379T95403>