Re: [BUG] Regression in Linux 5.4.17 for JMicron JMS566 enclosure

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

 



Hello,

On 2020-08-23 10:47, Alan Stern wrote:
> Yes; it looks like the problem is that there are entries for this device 
> in both unusual_devs.h and unusual_uas.h -- and it doesn't help that the 
> two entries aren't identical.
> 
> The unusual_devs.h entry tells usb-storage not to use FUA, but it 
> doesn't rule out the uas driver.  And since the device claims to support 
> UAS, usb-storage bows out.  But then the unusual_uas.h entry tells uas 
> not to handle the drive, so the end result is that it doesn't get 
> handled at all.
> 
> To fix the immediate problem you should add the US_FL_IGNORE_UAS flag to 
> the entry in unusual_devs.h.

That did the trick[1]. Do you think this patch could be suitable for a
future version of the kernel?


Cyril

[1] https://framagit.org/Steap/linux/-/commit/c6b6f436f9c96a01101e9407ed481684c37fa87d



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

  Powered by Linux