Update on my workaround:
- unit applied successfully, resetting the port
- unfortunately Storage is still “disappearing” after some time. I have suspicion its related to how standby is handled.
Considering that full port reset does not brings back the device, there is something going on in Storage controller also.
Event logs
With device not detected:
lsusb|grep -i frame
Bus 003 Device 003: ID 32ac:001c Framework Laptop Webcam Module (2nd Gen)
After physically re-plugging the device:
[ 123.695026] usb 6-1: new SuperSpeed Plus Gen 2x1 USB device number 2 using xhci_hcd
[ 123.707013] usb 6-1: New USB device found, idVendor=32ac, idProduct=0005, bcdDevice= 1.10
[ 123.707025] usb 6-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 123.707026] usb 6-1: Product: 1TB Expansion Card
[ 123.707028] usb 6-1: Manufacturer: Framework
[ 123.707028] usb 6-1: SerialNumber: xxx
[ 123.731558] usbcore: registered new interface driver usb-storage
[ 123.738353] scsi host0: uas
[ 123.738512] usbcore: registered new interface driver uas
[ 123.742193] scsi 0:0:0:0: Direct-Access FRMW 1TB Card PMAP PQ: 0 ANSI: 6
[ 123.776932] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 123.779382] sd 0:0:0:0: [sda] 1953525168 512-byte logical blocks: (1.00 TB/932 GiB)
[ 123.781479] sd 0:0:0:0: [sda] Write Protect is off
[ 123.781483] sd 0:0:0:0: [sda] Mode Sense: 5f 00 00 08
[ 123.785611] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 123.813692] sd 0:0:0:0: [sda] Preferred minimum I/O size 4096 bytes
[ 123.813701] sd 0:0:0:0: [sda] Optimal transfer size 33553920 bytes not a multiple of preferred minimum block size (4096 bytes)
[ 123.859867] sda: sda1
[ 123.860012] sd 0:0:0:0: [sda] Attached SCSI disk
[ 124.013009] ucsi_acpi USBC000:00: unknown error 256