Action Cam SJ4000 (SJCAM) unrecognized as mass storage

Hans Petter Selasky hps at selasky.org
Wed Jan 7 08:04:04 UTC 2015


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
> 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:umass-sim0:0:0:0): unsupportable block size 0
>
> Are there any quirks that I can try to attach this cam as mass storage?
>
> # usbconfig -d 1.4 dump_device_desc
> ugen1.4: <J1455 NOVATEK> at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps)
> pwr=ON (500mA)
>
>    bLength = 0x0012
>    bDescriptorType = 0x0001
>    bcdUSB = 0x0200
>    bDeviceClass = 0x0000
>    bDeviceSubClass = 0x0000
>    bDeviceProtocol = 0x0000
>    bMaxPacketSize0 = 0x0040
>    idVendor = 0x0603
>    idProduct = 0x8611
>    bcdDevice = 0x0100
>    iManufacturer = 0x0001  <NOVATEK >
>    iProduct = 0x0002  <J1455 >
>    iSerialNumber = 0x0003  <966110000000100>
>    bNumConfigurations = 0x0001
>
> What more details should I provide?
>
> Miroslav Lachman

Hi,

Can you build a kernel with the attached patch?

cat scsi_da.c.diff | patch -d /usr/src/sys

Does it help?

--HPS

-------------- next part --------------
A non-text attachment was scrubbed...
Name: scsi_da.c.diff
Type: text/x-patch
Size: 539 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-usb/attachments/20150107/1c93140e/attachment.bin>


More information about the freebsd-usb mailing list