I'm still exploring this device, and there is no mention of USB in the user manual, so I'm not entirely sure if it's supposed to be working, but it's not for me. When I go to the Settings->Storage and enable the only option in that menu (that helpfully says "Enable"), suddenly I no longer can leave that menu, and when I connect the device to my computer, I can see this in dmesg:
Code: [376139.083432] usb 5-4.4: new full-speed USB device number 15 using xhci_hcd
[376139.306940] usb 5-4.4: New USB device found, idVendor=1209, idProduct=2014, bcdDevice= 1.00
[376139.306959] usb 5-4.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[376139.306968] usb 5-4.4: Product: Tangara
[376139.306974] usb 5-4.4: Manufacturer: cool tech zone
[376139.306980] usb 5-4.4: SerialNumber: b5c1593831202337
[376139.323305] cdc_acm 5-4.4:1.0: ttyACM0: USB ACM device
[376139.324371] usb-storage 5-4.4:1.2: USB Mass Storage device detected
[376139.325064] scsi host2: usb-storage 5-4.4:1.2
[376140.340120] scsi 2:0:0:0: Direct-Access TinyUSB Mass Storage 1.0 PQ: 0 ANSI: 2
[376140.341886] sd 2:0:0:0: Attached scsi generic sg3 type 0
[376140.342744] sd 2:0:0:0: [sdc] 61863936 512-byte logical blocks: (31.7 GB/29.5 GiB)
[376140.343361] sd 2:0:0:0: [sdc] Write Protect is off
[376140.343370] sd 2:0:0:0: [sdc] Mode Sense: 03 00 00 00
[376140.344134] sd 2:0:0:0: [sdc] No Caching mode page found
[376140.344146] sd 2:0:0:0: [sdc] Assuming drive cache: write through
[376140.359399] sdc: sdc1
[376140.362319] sd 2:0:0:0: [sdc] Attached SCSI removable disk
[376140.509951] sd 2:0:0:0: [sdc] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_OK cmd_age=0s
[376140.509956] sd 2:0:0:0: [sdc] tag#0 Sense Key : Not Ready [current]
[376140.509960] sd 2:0:0:0: [sdc] tag#0 Add. Sense: Medium not present
[376140.509962] sd 2:0:0:0: [sdc] tag#0 CDB: Read(10) 28 00 03 af f7 ff 00 00 01 00
[376140.509964] blk_update_request: I/O error, dev sdc, sector 61863935 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0
[376140.530427] sd 2:0:0:0: [sdc] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_OK cmd_age=0s
[376140.530430] sd 2:0:0:0: [sdc] tag#0 Sense Key : Not Ready [current]
[376140.530432] sd 2:0:0:0: [sdc] tag#0 Add. Sense: Medium not present
[376140.530433] sd 2:0:0:0: [sdc] tag#0 CDB: Read(10) 28 00 03 af f7 ff 00 00 01 00
[376140.530434] blk_update_request: I/O error, dev sdc, sector 61863935 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[376140.530439] Buffer I/O error on dev sdc, logical block 7732991, async page read
[376140.681033] sd 2:0:0:0: [sdc] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_OK cmd_age=0s
[376140.681042] sd 2:0:0:0: [sdc] tag#0 Sense Key : Not Ready [current]
[376140.681048] sd 2:0:0:0: [sdc] tag#0 Add. Sense: Medium not present
[376140.681053] sd 2:0:0:0: [sdc] tag#0 CDB: Read(10) 28 00 03 af f7 ff 00 00 01 00
[376140.681056] blk_update_request: I/O error, dev sdc, sector 61863935 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0
[376140.702454] sd 2:0:0:0: [sdc] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_OK cmd_age=0s
[376140.702460] sd 2:0:0:0: [sdc] tag#0 Sense Key : Not Ready [current]
[376140.702464] sd 2:0:0:0: [sdc] tag#0 Add. Sense: Medium not present
[376140.702467] sd 2:0:0:0: [sdc] tag#0 CDB: Read(10) 28 00 03 af f7 ff 00 00 01 00
[376140.702469] blk_update_request: I/O error, dev sdc, sector 61863935 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[376140.702477] Buffer I/O error on dev sdc1, logical block 7732735, async page read
Hi! That's odd, USB storage should indeed be working. The UI preventing going back whilst it's enabled is normal, as we need exclusive access to the SD card whilst USB storage is enabled, so many device features wouldn't work anyway. It seems that your computer does see the device but there's some issue with establishing the connection. We'll look into it!
I'm having trouble with this as well, but `journalctl` doesn't even show log messages when I attach the device in USB Storage mode?
I'm on Linux (ElementaryOS 7.1)
I'll test on a few other devices and see if I can gather more info. Let me know if I can do anything to provide more helpful debugging info!
// jjg
`dmesg` output is most helpful! If you could let me know what kind of SD card you're working with then that would be very helpful too (e.g. 'a 256gb sandisk sdxc card')
I will look into this when I can. USB mass storage implementations are very complicated it turns out 😵💫
Interestingly @deshipu it looks like we were able to successfully bring up your SD card and read its capacity. But subsequent block reads then failed? This could be compatibility issue with the card you're using; we have a few edge cases in the SAMD's SD driver we haven't implemented yet.
(2024-12-15, 09:28 PM)jacqueline Wrote: `dmesg` output is most helpful! If you could let me know what kind of SD card you're working with then that would be very helpful too (e.g. 'a 256gb sandisk sdxc card')
I will look into this when I can. USB mass storage implementations are very complicated it turns out 😵💫
Interestingly @deshipu it looks like we were able to successfully bring up your SD card and read its capacity. But subsequent block reads then failed? This could be compatibility issue with the card you're using; we have a few edge cases in the SAMD's SD driver we haven't implemented yet.
Good news! I tried it again today to grab the `dmesg` output and... it worked!
Wish I could say something changed, but I don't think I even rebooted in-between. I tried a few different cables, but some of the ones that didn't work check-out with other devices so I don't think it's just the cable but...?
Anyway, this is awesome, thanks!
Well, not quite all good news.
While the Tangara now shows up, mounts and the files can be browsed, attempting to copy any music to it results in the attached error.
Grabbed some logs while this error is occurring if this helps shed some light:
Code: Dec 19 13:22:33 jjg-pango kernel: I/O error, dev sda, sector 8193 op 0x1:(WRITE) flags 0x100000 phys_seg 1 prio class 0
Dec 19 13:22:33 jjg-pango kernel: Buffer I/O error on dev sda1, logical block 1, lost async page write
Dec 19 13:22:49 jjg-pango io.elementary.f[12827]: Directory.vala:1102: Unexpected parent of newly created file
Dec 19 13:22:49 jjg-pango kernel: sd 0:0:0:0: [sda] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_OK cmd_age=0s
Dec 19 13:22:49 jjg-pango kernel: sd 0:0:0:0: [sda] tag#0 Sense Key : Not Ready [current]
Dec 19 13:22:49 jjg-pango kernel: sd 0:0:0:0: [sda] tag#0 Add. Sense: Medium not present
Dec 19 13:22:49 jjg-pango kernel: sd 0:0:0:0: [sda] tag#0 CDB: Write(10) 2a 00 01 19 3e 40 00 00 f0 00
Dec 19 13:22:49 jjg-pango kernel: I/O error, dev sda, sector 18431552 op 0x1:(WRITE) flags 0x4800 phys_seg 27 prio class 0
Dec 19 13:22:49 jjg-pango kernel: sd 0:0:0:0: [sda] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_OK cmd_age=0s
Dec 19 13:22:49 jjg-pango kernel: sd 0:0:0:0: [sda] tag#0 Sense Key : Not Ready [current]
Dec 19 13:22:49 jjg-pango kernel: sd 0:0:0:0: [sda] tag#0 Add. Sense: Medium not present
Dec 19 13:22:49 jjg-pango kernel: sd 0:0:0:0: [sda] tag#0 CDB: Write(10) 2a 00 01 19 3f 30 00 00 f0 00
Dec 19 13:22:49 jjg-pango kernel: I/O error, dev sda, sector 18431792 op 0x1:(WRITE) flags 0x4800 phys_seg 20 prio class 0
Dec 19 13:22:49 jjg-pango kernel: sd 0:0:0:0: [sda] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_OK cmd_age=0s
Dec 19 13:22:49 jjg-pango kernel: sd 0:0:0:0: [sda] tag#0 Sense Key : Not Ready [current]
Dec 19 13:22:49 jjg-pango kernel: sd 0:0:0:0: [sda] tag#0 Add. Sense: Medium not present
Dec 19 13:22:49 jjg-pango kernel: sd 0:0:0:0: [sda] tag#0 CDB: Write(10) 2a 00 01 19 40 20 00 00 f0 00
Dec 19 13:22:49 jjg-pango kernel: I/O error, dev sda, sector 18432032 op 0x1:(WRITE) flags 0x4800 phys_seg 17 prio class 0
Dec 19 13:22:49 jjg-pango kernel: sd 0:0:0:0: [sda] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_OK cmd_age=0s
Dec 19 13:22:49 jjg-pango kernel: sd 0:0:0:0: [sda] tag#0 Sense Key : Not Ready [current]
Dec 19 13:22:49 jjg-pango kernel: sd 0:0:0:0: [sda] tag#0 Add. Sense: Medium not present
Dec 19 13:22:49 jjg-pango kernel: sd 0:0:0:0: [sda] tag#0 CDB: Write(10) 2a 00 01 19 41 10 00 00 f0 00
Dec 19 13:22:49 jjg-pango kernel: I/O error, dev sda, sector 18432272 op 0x1:(WRITE) flags 0x4800 phys_seg 22 prio class 0
Dec 19 13:22:49 jjg-pango kernel: sd 0:0:0:0: [sda] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_OK cmd_age=0s
Dec 19 13:22:49 jjg-pango kernel: sd 0:0:0:0: [sda] tag#0 Sense Key : Not Ready [current]
Dec 19 13:22:49 jjg-pango kernel: sd 0:0:0:0: [sda] tag#0 Add. Sense: Medium not present
Dec 19 13:22:49 jjg-pango kernel: sd 0:0:0:0: [sda] tag#0 CDB: Write(10) 2a 00 01 19 42 00 00 00 f0 00
Dec 19 13:22:49 jjg-pango kernel: I/O error, dev sda, sector 18432512 op 0x1:(WRITE) flags 0x4800 phys_seg 30 prio class 0
Dec 19 13:22:49 jjg-pango kernel: sd 0:0:0:0: [sda] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_OK cmd_age=0s
Dec 19 13:22:49 jjg-pango kernel: sd 0:0:0:0: [sda] tag#0 Sense Key : Not Ready [current]
Dec 19 13:22:49 jjg-pango kernel: sd 0:0:0:0: [sda] tag#0 Add. Sense: Medium not present
Dec 19 13:22:49 jjg-pango kernel: sd 0:0:0:0: [sda] tag#0 CDB: Write(10) 2a 00 01 19 42 f0 00 00 f0 00
Dec 19 13:22:49 jjg-pango kernel: I/O error, dev sda, sector 18432752 op 0x1:(WRITE) flags 0x4800 phys_seg 29 prio class 0
Dec 19 13:22:49 jjg-pango kernel: sd 0:0:0:0: [sda] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_OK cmd_age=0s
Dec 19 13:22:49 jjg-pango kernel: sd 0:0:0:0: [sda] tag#0 Sense Key : Not Ready [current]
Dec 19 13:22:49 jjg-pango kernel: sd 0:0:0:0: [sda] tag#0 Add. Sense: Medium not present
Dec 19 13:22:49 jjg-pango kernel: sd 0:0:0:0: [sda] tag#0 CDB: Write(10) 2a 00 01 19 43 e0 00 00 f0 00
Dec 19 13:22:49 jjg-pango kernel: I/O error, dev sda, sector 18432992 op 0x1:(WRITE) flags 0x4800 phys_seg 30 prio class 0
Dec 19 13:22:49 jjg-pango kernel: sd 0:0:0:0: [sda] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_OK cmd_age=0s
Dec 19 13:22:49 jjg-pango kernel: sd 0:0:0:0: [sda] tag#0 Sense Key : Not Ready [current]
Dec 19 13:22:49 jjg-pango kernel: sd 0:0:0:0: [sda] tag#0 Add. Sense: Medium not present
Dec 19 13:22:49 jjg-pango kernel: sd 0:0:0:0: [sda] tag#0 CDB: Write(10) 2a 00 01 19 44 d0 00 00 f0 00
Dec 19 13:22:49 jjg-pango kernel: I/O error, dev sda, sector 18433232 op 0x1:(WRITE) flags 0x4800 phys_seg 30 prio class 0
Dec 19 13:22:49 jjg-pango kernel: sd 0:0:0:0: [sda] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_OK cmd_age=0s
Dec 19 13:22:49 jjg-pango kernel: sd 0:0:0:0: [sda] tag#0 Sense Key : Not Ready [current]
Dec 19 13:22:49 jjg-pango kernel: sd 0:0:0:0: [sda] tag#0 Add. Sense: Medium not present
Dec 19 13:22:49 jjg-pango kernel: sd 0:0:0:0: [sda] tag#0 CDB: Write(10) 2a 00 01 19 45 c0 00 00 f0 00
Dec 19 13:22:49 jjg-pango kernel: I/O error, dev sda, sector 18433472 op 0x1:(WRITE) flags 0x4800 phys_seg 30 prio class 0
Dec 19 13:22:49 jjg-pango kernel: sd 0:0:0:0: [sda] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_OK cmd_age=0s
Dec 19 13:22:49 jjg-pango kernel: sd 0:0:0:0: [sda] tag#0 Sense Key : Not Ready [current]
Dec 19 13:22:49 jjg-pango kernel: sd 0:0:0:0: [sda] tag#0 Add. Sense: Medium not present
Dec 19 13:22:49 jjg-pango kernel: sd 0:0:0:0: [sda] tag#0 CDB: Write(10) 2a 00 01 19 46 b0 00 00 b0 00
Dec 19 13:22:49 jjg-pango kernel: I/O error, dev sda, sector 18433712 op 0x1:(WRITE) flags 0x800 phys_seg 22 prio class 0
Dec 19 13:22:50 jjg-pango kernel: Buffer I/O error on dev sda1, logical block 4522, lost async page write
Dec 19 13:22:50 jjg-pango kernel: Buffer I/O error on dev sda1, logical block 4523, lost async page write
Dec 19 13:22:50 jjg-pango kernel: Buffer I/O error on dev sda1, logical block 4524, lost async page write
Dec 19 13:22:50 jjg-pango kernel: Buffer I/O error on dev sda1, logical block 4525, lost async page write
Dec 19 13:22:50 jjg-pango kernel: Buffer I/O error on dev sda1, logical block 4526, lost async page write
Dec 19 13:22:50 jjg-pango kernel: Buffer I/O error on dev sda1, logical block 4527, lost async page write
Dec 19 13:22:50 jjg-pango kernel: Buffer I/O error on dev sda1, logical block 4528, lost async page write
Dec 19 13:22:50 jjg-pango kernel: Buffer I/O error on dev sda1, logical block 4529, lost async page write
Dec 19 13:22:50 jjg-pango kernel: Buffer I/O error on dev sda1, logical block 4530, lost async page write
Dec 19 13:22:50 jjg-pango kernel: Buffer I/O error on dev sda1, logical block 4531, lost async page write
Dec 19 13:22:50 jjg-pango kernel: FAT-fs (sda1): error, fat_get_cluster: invalid cluster chain (i_pos 294772739)
Dec 19 13:22:50 jjg-pango kernel: FAT-fs (sda1): Filesystem has been set read-only
Dec 19 13:22:54 jjg-pango kernel: scsi_io_completion_action: 163 callbacks suppressed
Dec 19 13:22:54 jjg-pango kernel: sd 0:0:0:0: [sda] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_OK cmd_age=0s
Dec 19 13:22:54 jjg-pango kernel: sd 0:0:0:0: [sda] tag#0 Sense Key : Not Ready [current]
Dec 19 13:22:54 jjg-pango kernel: sd 0:0:0:0: [sda] tag#0 Add. Sense: Medium not present
Dec 19 13:22:54 jjg-pango kernel: sd 0:0:0:0: [sda] tag#0 CDB: Write(10) 2a 00 01 19 d6 20 00 00 20 00
Dec 19 13:22:54 jjg-pango kernel: blk_print_req_error: 163 callbacks suppressed
Dec 19 13:22:54 jjg-pango kernel: I/O error, dev sda, sector 18470432 op 0x1:(WRITE) flags 0x100000 phys_seg 32 prio class 0
Dec 19 13:22:54 jjg-pango kernel: sd 0:0:0:0: [sda] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_OK cmd_age=0s
Dec 19 13:22:54 jjg-pango kernel: sd 0:0:0:0: [sda] tag#0 Sense Key : Not Ready [current]
Dec 19 13:22:54 jjg-pango kernel: sd 0:0:0:0: [sda] tag#0 Add. Sense: Medium not present
Dec 19 13:22:54 jjg-pango kernel: sd 0:0:0:0: [sda] tag#0 CDB: Write(10) 2a 00 00 00 31 b4 00 00 01 00
Dec 19 13:22:54 jjg-pango kernel: I/O error, dev sda, sector 12724 op 0x1:(WRITE) flags 0x100000 phys_seg 1 prio class 0
Dec 19 13:22:54 jjg-pango kernel: sd 0:0:0:0: [sda] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_OK cmd_age=0s
Dec 19 13:22:54 jjg-pango kernel: sd 0:0:0:0: [sda] tag#0 Sense Key : Not Ready [current]
Dec 19 13:22:54 jjg-pango kernel: sd 0:0:0:0: [sda] tag#0 Add. Sense: Medium not present
Dec 19 13:22:54 jjg-pango kernel: sd 0:0:0:0: [sda] tag#0 CDB: Write(10) 2a 00 00 00 6c 94 00 00 01 00
Dec 19 13:22:54 jjg-pango kernel: I/O error, dev sda, sector 27796 op 0x1:(WRITE) flags 0x100000 phys_seg 1 prio class 0
Dec 19 13:23:25 jjg-pango kernel: sd 0:0:0:0: [sda] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_OK cmd_age=0s
Dec 19 13:23:25 jjg-pango kernel: sd 0:0:0:0: [sda] tag#0 Sense Key : Not Ready [current]
Dec 19 13:23:25 jjg-pango kernel: sd 0:0:0:0: [sda] tag#0 Add. Sense: Medium not present
Dec 19 13:23:25 jjg-pango kernel: sd 0:0:0:0: [sda] tag#0 CDB: Write(10) 2a 00 00 00 20 01 00 00 01 00
Dec 19 13:23:25 jjg-pango kernel: I/O error, dev sda, sector 8193 op 0x1:(WRITE) flags 0x100000 phys_seg 1 prio class 0
Dec 19 13:23:25 jjg-pango kernel: buffer_io_error: 111 callbacks suppressed
Dec 19 13:23:25 jjg-pango kernel: Buffer I/O error on dev sda1, logical block 1, lost async page write
Dec 19 13:23:25 jjg-pango kernel: sd 0:0:0:0: [sda] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_OK cmd_age=0s
Dec 19 13:23:25 jjg-pango kernel: sd 0:0:0:0: [sda] tag#0 Sense Key : Not Ready [current]
Dec 19 13:23:25 jjg-pango kernel: sd 0:0:0:0: [sda] tag#0 Add. Sense: Medium not present
Dec 19 13:23:25 jjg-pango kernel: sd 0:0:0:0: [sda] tag#0 CDB: Write(10) 2a 00 00 00 95 e0 00 00 01 00
Dec 19 13:23:25 jjg-pango kernel: I/O error, dev sda, sector 38368 op 0x1:(WRITE) flags 0x100000 phys_seg 1 prio class 0
Dec 19 13:23:25 jjg-pango kernel: Buffer I/O error on dev sda1, logical block 30176, lost async page write
Dec 19 13:23:25 jjg-pango kernel: sd 0:0:0:0: [sda] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_OK cmd_age=0s
Dec 19 13:23:25 jjg-pango kernel: sd 0:0:0:0: [sda] tag#0 Sense Key : Not Ready [current]
Dec 19 13:23:25 jjg-pango kernel: sd 0:0:0:0: [sda] tag#0 Add. Sense: Medium not present
Dec 19 13:23:25 jjg-pango kernel: sd 0:0:0:0: [sda] tag#0 CDB: Write(10) 2a 00 00 08 5c 82 00 00 01 00
Dec 19 13:23:25 jjg-pango kernel: I/O error, dev sda, sector 547970 op 0x1:(WRITE) flags 0x100000 phys_seg 1 prio class 0
Dec 19 13:23:25 jjg-pango kernel: Buffer I/O error on dev sda1, logical block 539778, lost async page write
Dec 19 13:23:25 jjg-pango kernel: sd 0:0:0:0: [sda] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_OK cmd_age=0s
Dec 19 13:23:25 jjg-pango kernel: sd 0:0:0:0: [sda] tag#0 Sense Key : Not Ready [current]
Dec 19 13:23:25 jjg-pango kernel: sd 0:0:0:0: [sda] tag#0 Add. Sense: Medium not present
Dec 19 13:23:25 jjg-pango kernel: sd 0:0:0:0: [sda] tag#0 CDB: Write(10) 2a 00 01 19 3e 00 00 00 01 00
Dec 19 13:23:25 jjg-pango kernel: I/O error, dev sda, sector 18431488 op 0x1:(WRITE) flags 0x100000 phys_seg 1 prio class 0
Dec 19 13:23:25 jjg-pango kernel: Buffer I/O error on dev sda1, logical block 18423296, lost async page write
Dec 19 13:23:25 jjg-pango kernel: sd 0:0:0:0: [sda] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_OK cmd_age=0s
Dec 19 13:23:25 jjg-pango kernel: sd 0:0:0:0: [sda] tag#0 Sense Key : Not Ready [current]
Dec 19 13:23:25 jjg-pango kernel: sd 0:0:0:0: [sda] tag#0 Add. Sense: Medium not present
Dec 19 13:23:25 jjg-pango kernel: sd 0:0:0:0: [sda] tag#0 CDB: Write(10) 2a 00 01 19 3e 20 00 00 01 00
Dec 19 13:23:25 jjg-pango kernel: I/O error, dev sda, sector 18431520 op 0x1:(WRITE) flags 0x100000 phys_seg 1 prio class 0
Dec 19 13:23:25 jjg-pango kernel: Buffer I/O error on dev sda1, logical block 18423328, lost async page write
Update from me is that I've ordered a bunch of different SD cards that people have reported issues with. Hopefully I will be able to reproduce this failure locally!
|