Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Jul 2001 10:44:31 +0200
From:      "Roman Pavlik" <roman.pavlik@gnupg.cz>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Nikon coolpix 995 & FBSD 4.3
Message-ID:  <20010723104431.A405@tosha.in.skynet.cz>
In-Reply-To: <20010716104245.B404@tosha.in.skynet.cz>; from rpav on Mon, Jul 16, 2001 at 10:42:45AM %2B0200
References:  <20010716104245.B404@tosha.in.skynet.cz>

next in thread | previous in thread | raw e-mail | index | archive | help
I can answer my question myself :-))

Nikon Coolpix 995 is yet another digital camera that do not like READ 6,
only READ 10 is supported. 

The problem is solved by the following patch:

*** /usr/src/sys/cam/scsi/scsi_da.c.orig        Wed Apr 18 05:48:53 2001
--- /usr/src/sys/cam/scsi/scsi_da.c     Mon Jul 23 10:24:00 2001
***************
*** 244,249 ****
--- 244,257 ----
                {T_DIRECT, SIP_MEDIA_REMOVABLE, "Sony", "Sony DSC", "*"},
                /*quirks*/ DA_Q_NO_6_BYTE|DA_Q_NO_SYNC_CACHE
        },
+         {
+                      /*
+                      * Nikon digital camera Coolpix 995 
+                      * do not support READ_6 commands, only READ_10. 
+                      * Reported by <rp@gnupg.cz>
+                      */
+                      {T_DIRECT, SIP_MEDIA_REMOVABLE, "NIKON", "NIKON DSC E995"
, "*"},
+                      /*quirks*/ DA_Q_NO_6_BYTE|DA_Q_NO_SYNC_CACHE
+         },
        {
                {T_OPTICAL, SIP_MEDIA_REMOVABLE, "FUJITSU", "MCF3064AP", "*"},
                /*quirks*/ DA_Q_NO_6_BYTE



Regards,
--
Roman 








On Mon, Jul 16, 2001 at 10:42:45AM +0200, rpav wrote:
> Hi,
> 
> I try to connect Nikon Coolpix 995 to FBSD 4.3 using USB, but there is problem
> to mount it.
> 
> Jul 16 10:09:37 tosha /kernel: uhci0: <Intel 82371AB/EB (PIIX4) USB controller>
> port 0xffe0-0xffff irq 11 at device 5.2 on pci0
> Jul 16 10:09:37 tosha /kernel: usb0: <Intel 82371AB/EB (PIIX4) USB controller> o
> n uhci0
> Jul 16 10:09:37 tosha /kernel: usb0: USB revision 1.0
> Jul 16 10:09:37 tosha /kernel: uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1
> .00, addr 1
> Jul 16 10:09:37 tosha /kernel: uhub0: 2 ports with 2 removable, self powered
> Jul 16 10:09:37 tosha /kernel: umass0: NIKON NIKON DSC E995, rev 1.10/1.00, addr
>  2
> Jul 16 10:21:06 tosha /kernel: da0 at umass-sim0 bus 0 target 0 lun 0
> Jul 16 10:21:06 tosha /kernel: da0: <NIKON NIKON DSC E995 1.00> Removable Direct
>  Access SCSI-2 device
> Jul 16 10:21:06 tosha /kernel: da0: 650KB/s transfers
> Jul 16 10:21:06 tosha /kernel: da0: 15MB (31360 512 byte sectors: 64H 32S/T 15C)
> 
> that looks good, but when I try to mount da0 by:
> 
> mount_msdos /dev/da0 /mnt
> 
> the following problem appears:
> Jul 16 10:21:36 tosha /kernel: (da0:umass-sim0:0:0:0): READ(06). CDB: 8 0 0 0 1
> 0
> Jul 16 10:21:36 tosha /kernel: (da0:umass-sim0:0:0:0): ILLEGAL REQUEST asc:20,0
> Jul 16 10:21:36 tosha /kernel: (da0:umass-sim0:0:0:0): Invalid command operation
>  code
> Jul 16 10:21:36 tosha /kernel: da0: reading primary partition table: error readi
> ng fsbn 0
> 
> 
> Your help will be very appreciated.
> 
> Regards,
> --
> Roman

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




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