From nobody@FreeBSD.org  Mon Oct  1 20:07:10 2001
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id E95E337B407
	for <freebsd-gnats-submit@FreeBSD.org>; Mon,  1 Oct 2001 20:07:09 -0700 (PDT)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.4/8.11.4) id f92379T95403;
	Mon, 1 Oct 2001 20:07:09 -0700 (PDT)
	(envelope-from nobody)
Message-Id: <200110020307.f92379T95403@freefall.freebsd.org>
Date: Mon, 1 Oct 2001 20:07:09 -0700 (PDT)
From: Michael Hoisie <async@winprog.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Nikon Coolpic 995 is supported incorrectly
X-Send-Pr-Version: www-1.0

>Number:         30980
>Category:       kern
>Synopsis:       Nikon Coolpic 995 is supported incorrectly
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Oct 01 20:10:01 PDT 2001
>Closed-Date:    Sun Dec 2 17:09:19 PST 2001
>Last-Modified:  Sun Dec 02 17:10:18 PST 2001
>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:
State-Changed-From-To: open->closed 
State-Changed-By: iedowse 
State-Changed-When: Sun Dec 2 17:09:19 PST 2001 
State-Changed-Why:  

This has already been fixed in -current and -stable. Thanks anyway! 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=30980 
>Unformatted:
