Skip to content

Commit 5b67b31

Browse files
AlanSterngregkh
authored andcommitted
usb-storage: Add unusual-devs entry for VL817 USB-SATA bridge
Two people have reported (and mentioned numerous other reports on the web) that VIA's VL817 USB-SATA bridge does not work with the uas driver. Typical log messages are: [ 3606.232149] sd 14:0:0:0: [sdg] tag#2 uas_zap_pending 0 uas-tag 1 inflight: CMD [ 3606.232154] sd 14:0:0:0: [sdg] tag#2 CDB: Write(16) 8a 00 00 00 00 00 18 0c c9 80 00 00 00 80 00 00 [ 3606.306257] usb 4-4.4: reset SuperSpeed Plus Gen 2x1 USB device number 11 using xhci_hcd [ 3606.328584] scsi host14: uas_eh_device_reset_handler success Surprisingly, the devices do seem to work okay for some other people. The cause of the differing behaviors is not known. In the hope of getting the devices to work for the most users, even at the possible cost of degraded performance for some, this patch adds an unusual_devs entry for the VL817 to block it from binding to the uas driver by default. Users will be able to override this entry by means of a module parameter, if they want. CC: <[email protected]> Reported-by: DocMAX <[email protected]> Reported-and-tested-by: Thomas Weißschuh <[email protected]> Signed-off-by: Alan Stern <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 746f96e commit 5b67b31

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

drivers/usb/storage/unusual_devs.h

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2301,6 +2301,16 @@ UNUSUAL_DEV( 0x2027, 0xa001, 0x0000, 0x9999,
23012301
USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
23022302
US_FL_SCM_MULT_TARG ),
23032303

2304+
/*
2305+
* Reported by DocMAX <[email protected]>
2306+
* and Thomas Weißschuh <[email protected]>
2307+
*/
2308+
UNUSUAL_DEV( 0x2109, 0x0715, 0x9999, 0x9999,
2309+
"VIA Labs, Inc.",
2310+
"VL817 SATA Bridge",
2311+
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2312+
US_FL_IGNORE_UAS),
2313+
23042314
UNUSUAL_DEV( 0x2116, 0x0320, 0x0001, 0x0001,
23052315
"ST",
23062316
"2A",

0 commit comments

Comments
 (0)