Re: scsi-sd fails with error "Invalid field in cdb" for SATA-to-USB adapter JMicron

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 12 Nov 2015, Dmitry Katsubo wrote:

> On 2015-11-11 16:16, Alan Stern wrote:
> >> Bus 001 Device 007: ID 152d:0567 JMicron Technology Corp. / JMicron USA 
> >> Technology Corp.
> >> Device Descriptor:
> >>    bLength                18
> >>    bDescriptorType         1
> >>    bcdUSB               2.10
> >>    bDeviceClass            0 (Defined at Interface level)
> >>    bDeviceSubClass         0
> >>    bDeviceProtocol         0
> >>    bMaxPacketSize0        64
> >>    idVendor           0x152d JMicron Technology Corp. / JMicron USA 
> >> Technology Corp.
> >>    idProduct          0x0567
> >>    bcdDevice            1.16
> > 
> > Yes, that's the problem.  The blacklist entry only covers bcdDevice = 
> > 1.14.  The line in unusual_devs.h should be changed from
> > 
> > UNUSUAL_DEV(  0x152d, 0x0567, 0x0114, 0x0114,
> > 
> > to
> > 
> > UNUSUAL_DEV(  0x152d, 0x0567, 0x0114, 0x0116,
> > 
> > Would you like to write a patch to do this?
> 
> Thanks for pointing that: after you have mentioned bcdDevice writing a
> patch becomes trivial, however I also would like to test it. I will post
> a patch once I confirm the fix is working. I think the whole cycle will
> take me a week.
> 
> Should I create a patch against master
> (git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git)?
> (unlikely there will be conflicts in unusual_devs.h).

That will be fine.

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux