Unable to access USB Nugget as USB Driver
Closed this issue · 2 comments
gauntface commented
I've just been trying to use the USB Nugget running v1.1 on my laptop running Fedora, but the devices turns on / off and eventually my machine is disconnect.
DMESG has the following output:
[ 1906.016371] usb 3-1: new full-speed USB device number 12 using xhci_hcd
[ 1906.400484] usb 3-1: device descriptor read/64, error -32
[ 1906.699001] usb 3-1: New USB device found, idVendor=05ac, idProduct=020b, bcdDevice= 1.00
[ 1906.699012] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1906.699015] usb 3-1: Product: ESP32 Arduino Device
[ 1906.699018] usb 3-1: Manufacturer: Espressif
[ 1906.699020] usb 3-1: SerialNumber: 1234-5678
[ 1906.703776] usb-storage 3-1:1.0: USB Mass Storage device detected
[ 1906.704410] scsi host0: usb-storage 3-1:1.0
[ 1906.705241] cdc_acm 3-1:1.1: ttyACM0: USB ACM device
[ 1906.706501] input: Espressif ESP32 Arduino Device as /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.3/0003:05AC:020B.000D/input/input34
[ 1906.759053] hid-generic 0003:05AC:020B.000D: input,hidraw0: USB HID v1.11 Keyboard [Espressif ESP32 Arduino Device] on usb-0000:00:14.0-1/input3
[ 1907.709174] scsi 0:0:0:0: Direct-Access ESP32-S2 FLASH 1.0 PQ: 0 ANSI: 2
[ 1907.709690] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 1907.710016] sd 0:0:0:0: [sda] 744 4096-byte logical blocks: (3.05 MB/2.91 MiB)
[ 1907.710747] sd 0:0:0:0: [sda] Write Protect is off
[ 1907.710751] sd 0:0:0:0: [sda] Mode Sense: 03 00 00 00
[ 1907.711313] sd 0:0:0:0: [sda] No Caching mode page found
[ 1907.711320] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 1907.719873] sda:
[ 1907.722952] sd 0:0:0:0: [sda] Attached SCSI removable disk
[ 1907.757417] usb 3-1: USB disconnect, device number 12
[ 1907.757631] sd 0:0:0:0: [sda] tag#0 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK cmd_age=0s
[ 1907.757635] sd 0:0:0:0: [sda] tag#0 CDB: Read(10) 28 00 00 00 02 d0 00 00 01 00
[ 1907.757636] I/O error, dev sda, sector 5760 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0
[ 1907.757669] device offline error, dev sda, sector 5760 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[ 1907.757678] Buffer I/O error on dev sda, logical block 720, async page read
[ 1908.427439] usb 3-1: new full-speed USB device number 13 using xhci_hcd
[ 1908.808481] usb 3-1: device descriptor read/64, error -32
[ 1909.312567] usb 3-1: New USB device found, idVendor=05ac, idProduct=020b, bcdDevice= 1.00
[ 1909.312570] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1909.312571] usb 3-1: Product: ESP32 Arduino Device
[ 1909.312571] usb 3-1: Manufacturer: Espressif
[ 1909.312572] usb 3-1: SerialNumber: 1234-5678
[ 1909.315351] usb-storage 3-1:1.0: USB Mass Storage device detected
[ 1909.315979] scsi host0: usb-storage 3-1:1.0
[ 1909.316397] cdc_acm 3-1:1.1: ttyACM0: USB ACM device
[ 1909.317347] input: Espressif ESP32 Arduino Device as /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.3/0003:05AC:020B.000E/input/input35
[ 1909.368613] hid-generic 0003:05AC:020B.000E: input,hidraw0: USB HID v1.11 Keyboard [Espressif ESP32 Arduino Device] on usb-0000:00:14.0-1/input3
[ 1910.333289] scsi 0:0:0:0: Direct-Access ESP32-S2 FLASH 1.0 PQ: 0 ANSI: 2
[ 1910.333490] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 1910.333791] sd 0:0:0:0: [sda] 744 4096-byte logical blocks: (3.05 MB/2.91 MiB)
[ 1910.334380] sd 0:0:0:0: [sda] Write Protect is off
[ 1910.334387] sd 0:0:0:0: [sda] Mode Sense: 03 00 00 00
[ 1910.334927] sd 0:0:0:0: [sda] No Caching mode page found
[ 1910.334929] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 1910.341286] sda:
[ 1910.343305] sd 0:0:0:0: [sda] Attached SCSI removable disk
[ 1910.371247] usb 3-1: USB disconnect, device number 13
[ 1910.371413] sd 0:0:0:0: [sda] tag#0 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK cmd_age=0s
[ 1910.371415] sd 0:0:0:0: [sda] tag#0 CDB: Read(10) 28 00 00 00 00 00 00 00 01 00
[ 1910.371416] I/O error, dev sda, sector 0 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0
[ 1910.371435] device offline error, dev sda, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[ 1910.371439] Buffer I/O error on dev sda, logical block 0, async page read
[ 1911.040584] usb 3-1: new full-speed USB device number 14 using xhci_hcd
[ 1911.424567] usb 3-1: device descriptor read/64, error -32
[ 1911.926872] usb 3-1: New USB device found, idVendor=05ac, idProduct=020b, bcdDevice= 1.00
[ 1911.926880] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1911.926883] usb 3-1: Product: ESP32 Arduino Device
[ 1911.926886] usb 3-1: Manufacturer: Espressif
[ 1911.926887] usb 3-1: SerialNumber: 1234-5678
[ 1911.930248] usb-storage 3-1:1.0: USB Mass Storage device detected
[ 1911.930544] scsi host0: usb-storage 3-1:1.0
[ 1911.931400] cdc_acm 3-1:1.1: ttyACM0: USB ACM device
[ 1911.932939] input: Espressif ESP32 Arduino Device as /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.3/0003:05AC:020B.000F/input/input36
[ 1911.985055] hid-generic 0003:05AC:020B.000F: input,hidraw0: USB HID v1.11 Keyboard [Espressif ESP32 Arduino Device] on usb-0000:00:14.0-1/input3
[ 1912.957201] scsi 0:0:0:0: Direct-Access ESP32-S2 FLASH 1.0 PQ: 0 ANSI: 2
[ 1912.957583] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 1912.958165] sd 0:0:0:0: [sda] 744 4096-byte logical blocks: (3.05 MB/2.91 MiB)
[ 1912.958723] sd 0:0:0:0: [sda] Write Protect is off
[ 1912.958726] sd 0:0:0:0: [sda] Mode Sense: 03 00 00 00
[ 1912.959321] sd 0:0:0:0: [sda] No Caching mode page found
[ 1912.959329] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 1912.966362] sda:
[ 1912.968729] sd 0:0:0:0: [sda] Attached SCSI removable disk
[ 1912.995308] usb 3-1: USB disconnect, device number 14
[ 1912.995410] sd 0:0:0:0: [sda] tag#0 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK cmd_age=0s
[ 1912.995412] sd 0:0:0:0: [sda] tag#0 CDB: Read(10) 28 00 00 00 02 d0 00 00 01 00
[ 1912.995413] I/O error, dev sda, sector 5760 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0
[ 1912.995455] device offline error, dev sda, sector 5760 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[ 1912.995458] Buffer I/O error on dev sda, logical block 720, async page read
I've not been able to find anything for this error beyond folks suggesting this is a memory issue.
Have you encountered this before? If I plug the device into a power supply (i.e. a USB outlet) the device runs fine and I can navigate the UI and run payloads).
gauntface commented
This may be an issue with my laptop as the device is fine on a different computer.
gauntface commented
Ended up being a bad USB cable.