Yet another Seagate quirk for unusual_uas.h

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

 



I recently purchased a "Seagate 2TB Expansion Desktop Drive" from a UK store.  
The unix command 'lsusb -v' shows:
  idVendor           0x0bc2 Seagate RSS LLC
  idProduct          0x331a 
When plugged in this failed to install correctly.  The first few lines of the 
error messages (journalctl -f ) contained:

kernel: usb 2-7: new SuperSpeed USB device number 6 using xhci_hcd
kernel: usb 2-7: New USB device found, idVendor=0bc2, idProduct=331a
kernel: usb 2-7: New USB device strings: Mfr=1, Product=2, SerialNumber=3
kernel: usb 2-7: Product: Expansion Desk
kernel: usb 2-7: Manufacturer: Seagate
kernel: usb 2-7: SerialNumber: NA8EFXP3
mtp-probe[25968]: checking bus 2, device 6: 
"/sys/devices/pci0000:00/0000:00:14.0/usb2/2-7"
mtp-probe[25968]: bus: 2, device: 6 was not an MTP device

Following advice on the web I created file '/etc/modprobe.d/ignore_uas.conf' 
containing the line "options usb-storage quirks=0bc2:331a:u".

The disk could then be mounted and used without any problems.

Having checked the 'unusual_uas.h' code, both for my distribution (openSUSE 
42.1 using linux 4.1.15-8) and the latest version of linux on github, I tried 
replacing the 'u' flag in the ignore file with a 't' flag and found that the 
device still worked correctly.  As the 't' flag corresponds to US_FL_NO_ATA_1X 
and assuming that using uas, with a shorter message length, is better than 
bypassing it,  I suggest that the following lines be inserted in the file 
'unusual_uas.h':

/* Reported-by: David Webb <djw@xxxxxxxxx> */
UNUSUAL_DEV(0x0bc2, 0x331a, 0x0000, 0x9999,
		"Seagate",
		"Expansion Desk",
		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
		US_FL_NO_ATA_1X),

I presume that the "0x0000, 0x9999" and "USB_SC_DEVICE, USB_PR_DEVICE, NULL," 
bits are correct (I copied them from the other Seagate entries) but someone 
more knowledgeable should check.  If you need any further information or 
listing, just let me know.

Regards,

David Webb.






  
--
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