Date: Wed, 07 Jan 2015 20:32:20 +0100 From: Miroslav Lachman <000.fbsd@quip.cz> To: Hans Petter Selasky <hps@selasky.org>, freebsd-usb@FreeBSD.org Subject: Re: Action Cam SJ4000 (SJCAM) unrecognized as mass storage Message-ID: <54AD89C4.5000505@quip.cz> In-Reply-To: <54ACE8A1.6060307@selasky.org> References: <54AC7728.1020306@quip.cz> <54ACE8A1.6060307@selasky.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Hans Petter Selasky wrote on 01/07/2015 09:04: > On 01/07/15 01:00, Miroslav Lachman wrote: >> I have action camera SJ4000 based on Novatek NTK96650+AR0330 solution. >> It has a USB cable and can be connected as USB mass storage, but FreeBSD >> 10.1 does not properly recognize it. >> >> ugen1.4: <NOVATEK> at usbus1 >> umass0: <NOVATEK J1455, class 0/0, rev 2.00/1.00, addr 4> on usbus1 [...] > Hi, > > Can you build a kernel with the attached patch? > > cat scsi_da.c.diff | patch -d /usr/src/sys > > Does it help? Confirmed, it helps. The device is now recognized as da0: <NOVATEKN vt-DSC\0001.00 > Removable Direct Access SCSI-5 device Thank you very much for your quick help! ugen1.4: <NOVATEK> at usbus1 umass0: <NOVATEK J1455, class 0/0, rev 2.00/1.00, addr 4> on usbus1 umass0: SCSI over Bulk-Only; quirks = 0x4100 umass0:2:0:-1: Attached to scbus2 (probe0:umass-sim0:0:0:0): REPORT LUNS. CDB: a0 00 00 00 00 00 00 00 00 10 00 00 (probe0:umass-sim0:0:0:0): CAM status: SCSI Status Error (probe0:umass-sim0:0:0:0): SCSI status: Check Condition (probe0:umass-sim0:0:0:0): SCSI sense: ILLEGAL REQUEST asc:20,0 (Invalid command operation code) (probe0:umass-sim0:0:0:0): Error 22, Unretryable error da0 at umass-sim0 bus 0 scbus2 target 0 lun 0 da0: <NOVATEKN vt-DSC\0001.00 > Removable Direct Access SCSI-5 device da0: Serial Number 966110000000100 da0: 40.000MB/s transfers da0: 29984MB (61407232 512 byte sectors: 255H 63S/T 3822C) da0: quirks=0x2<NO_6_BYTE> > uname -srmi FreeBSD 10.1-RELEASE-p13 amd64 GENERIC (PC-BSD 10.1) Miroslav Lachman
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54AD89C4.5000505>