Changes between Version 4 and Version 5 of SAT-with-UAS-Linux


Ignore:
Timestamp:
Aug 7, 2019, 11:53:34 PM (5 years ago)
Author:
Nathan Stratton Treadway
Comment:

highlight the key lines in the kern.log listings

Legend:

Unmodified
Added
Removed
Modified
  • SAT-with-UAS-Linux

    v4 v5  
    4242
    4343Alternatively you can check the messages that appear in kern.log when the device is first connected and look for the driver name mentioned at the end of the "scsi hostN" line:
    44 {{{
     44{{{#!text/plain lineno marks=5
    4545usb 2-1: new SuperSpeed USB device number 8 using xhci_hcd
    4646usb 2-1: New USB device found, idVendor=NNNN, idProduct=NNN
     
    6161or
    6262
    63 {{{
     63{{{#!text/plain lineno marks=6
    6464usb 2-1: new SuperSpeed USB device number 9 using xhci_hcd
    6565usb 2-1: New USB device found, idVendor=NNNN, idProduct=NNNN
     
    7070scsi 4:0:0:0: Direct-Access     VENDOR-NAME                   0204 PQ: 0 ANSI: 6
    7171sd 4:0:0:0: Attached scsi generic sg2 type 0
    72 1953525168 512-byte logical blocks: (1.00 TB/932 GiB)
     72sd 4:0:0:0: 1953525168 512-byte logical blocks: (1.00 TB/932 GiB)
    7373sd 4:0:0:0: [sdc] Write Protect is off
    7474sd 4:0:0:0: [sdc] Mode Sense: 47 00 00 08
     
    177177
    178178In either case, you can then try plugging your USB device in again, and confirm using one of the methods above that the change had taken effect.  (Note that if you use the `:u` flag, the kern.log messages generated when the device is detected should now include
    179 {{{
     179{{{#!text/plain lineno marks=1,3-4
    180180usb 2-1: UAS is blacklisted for this device, using usb-storage instead
    181181usb-storage 2-1:1.0: USB Mass Storage device detected
     
    223223* [https://unix.stackexchange.com/questions/418326/how-do-i-make-my-seagate-2tb-usb-hdd-work-in-linux StackExchange: How do I make my Seagate 2Tb usb hdd work in Linux?]
    224224
     225When using usb-storage quirks to override