Parents :

Date and time note was created$= dv.current().file.ctime
Date and time note was modified$= dv.current().file.mtime
You said:

device descriptor read/64, error -71

ChatGPT said:

The error message device descriptor read/64, error -71 typically occurs in Linux systems and is related to USB device enumeration failure. Here’s what it means and how to troubleshoot it:


🔍 What the Error Means

  • “device descriptor read/64”: The system attempted to read 64 bytes from the USB device descriptor during enumeration (when the OS tries to identify the USB device).

  • “error -71”: This corresponds to -EPROTO (protocol error), meaning there’s a low-level USB communication issue.


🛠️ Common Causes and Fixes

  1. Faulty USB Device or Port

    • Try a different USB port, preferably on another USB controller (e.g., switch between USB 2.0 and 3.0 ports).

    • Try another USB cable or device, especially if you’re using a USB hub or extension cable.

    • Test on a different computer to rule out device issues.

  2. Power Issues

    • High-power devices (e.g., external drives) may fail if not enough power is supplied.

    • Try using a powered USB hub.

  3. Kernel Bug or Driver Problem

    • Update your Linux kernel and USB drivers:
    • sudo apt update && sudo apt upgrade

      • If the issue began after a kernel update, try booting into an older kernel from the GRUB menu.
  • BIOS/UEFI Settings

    • Disable Legacy USB Support, XHCI Hand-off, or similar USB-related settings and test.

    • Update your BIOS/UEFI firmware if available.

  • Software Fix: Reset USB Bus
    You can try resetting the USB bus:

  • echo -n "0000:00:1d.0" | sudo tee /sys/bus/pci/drivers/uhci_hcd/unbind echo -n "0000:00:1d.0" | sudo tee /sys/bus/pci/drivers/uhci_hcd/bind

    Replace the PCI ID with the actual one for your USB controller (lspci | grep USB).

  • Check Dmesg Logs
    Run:

  1. dmesg | grep usb

    This can provide more detailed insight about the specific error and device.


✅ Next Steps

If none of the above work:

  • Tell me the USB device you’re using.

  • Share relevant output from dmesg or lsusb.

  • Let me know your Linux distribution and kernel version (uname -a).

I can guide you further based on that.

You said:

[ 0.193490] usbcore: registered new interface driver usbfs [ 0.193490] usbcore: registered new interface driver hub [ 0.193490] usbcore: registered new device driver usb [ 0.932724] pci 0000:04:00.4: quirk_usb_early_handoff+0x0/0x770 took 10956 usecs [ 1.046285] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.12 [ 1.046286] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.046288] usb usb1: Product: xHCI Host Controller [ 1.046289] usb usb1: Manufacturer: Linux 6.12.31-1-lts xhci-hcd [ 1.046289] usb usb1: SerialNumber: 0000:04:00.3 [ 1.046510] usb usb2: We don’t know the algorithms for LPM for this host, disabling LPM. [ 1.046523] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.12 [ 1.046524] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.046525] usb usb2: Product: xHCI Host Controller [ 1.046526] usb usb2: Manufacturer: Linux 6.12.31-1-lts xhci-hcd [ 1.046527] usb usb2: SerialNumber: 0000:04:00.3 [ 1.046983] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.12 [ 1.046985] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.046986] usb usb3: Product: xHCI Host Controller [ 1.046987] usb usb3: Manufacturer: Linux 6.12.31-1-lts xhci-hcd [ 1.046987] usb usb3: SerialNumber: 0000:04:00.4 [ 1.047308] usb usb4: We don’t know the algorithms for LPM for this host, disabling LPM. [ 1.047321] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.12 [ 1.047322] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.047323] usb usb4: Product: xHCI Host Controller [ 1.047324] usb usb4: Manufacturer: Linux 6.12.31-1-lts xhci-hcd [ 1.047325] usb usb4: SerialNumber: 0000:04:00.4 [ 1.047557] usbcore: registered new interface driver usbserial_generic [ 1.047561] usbserial: USB Serial support registered for generic [ 1.289560] usb 3-3: new full-speed USB device number 2 using xhci_hcd [ 1.289601] usb 1-3: new high-speed USB device number 2 using xhci_hcd [ 1.416292] usb 3-3: device descriptor read/64, error -71 [ 1.452031] usb 1-3: New USB device found, idVendor=04f2, idProduct=b6ee, bcdDevice=27.21 [ 1.452040] usb 1-3: New USB device strings: Mfr=3, Product=1, SerialNumber=2 [ 1.452043] usb 1-3: Product: Integrated Camera [ 1.452046] usb 1-3: Manufacturer: Chicony Electronics Co.,Ltd. [ 1.452048] usb 1-3: SerialNumber: 0001 [ 1.642981] usb 3-3: device descriptor read/64, error -71 [ 1.786958] usb 3-3: new full-speed USB device number 3 using xhci_hcd [ 1.910353] usb 3-3: device descriptor read/64, error -71 [ 2.137020] usb 3-3: device descriptor read/64, error -71 [ 2.240452] usb usb3-port3: attempt power cycle [ 2.626943] usb 3-3: new full-speed USB device number 4 using xhci_hcd [ 2.627123] usb 3-3: Device not responding to setup address. [ 2.830394] usb 3-3: Device not responding to setup address. [ 3.033613] usb 3-3: device not accepting address 4, error -71 [ 3.033738] usb 3-3: WARN: invalid context state for evaluate context command. [ 3.150367] usb 3-3: new full-speed USB device number 5 using xhci_hcd [ 3.150517] usb 3-3: Device not responding to setup address. [ 3.353918] usb 3-3: Device not responding to setup address. [ 3.556913] usb 3-3: device not accepting address 5, error -71 [ 3.557027] usb 3-3: WARN: invalid context state for evaluate context command. [ 3.557117] usb usb3-port3: unable to enumerate USB device [ 3.673626] usb 3-4: new full-speed USB device number 6 using xhci_hcd [ 3.831305] usb 3-4: New USB device found, idVendor=8087, idProduct=0029, bcdDevice= 0.01 [ 3.831319] usb 3-4: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 5.865288] usbcore: registered new interface driver btusb [ 6.011297] usb 1-3: Found UVC 1.10 device Integrated Camera (04f2:b6ee) [ 6.021569] usbcore: registered new interface driver uvcvideo [ 13.043405] usb 3-3: new full-speed USB device number 7 using xhci_hcd [ 13.160108] usb 3-3: device descriptor read/64, error -71 [ 13.380252] usb 3-3: device descriptor read/64, error -71 [ 13.600337] usb 3-3: new full-speed USB device number 8 using xhci_hcd [ 13.720316] usb 3-3: device descriptor read/64, error -71 [ 13.943689] usb 3-3: device descriptor read/64, error -71 [ 14.047046] usb usb3-port3: attempt power cycle [ 14.433628] usb 3-3: new full-speed USB device number 9 using xhci_hcd [ 14.433804] usb 3-3: Device not responding to setup address. [ 14.637424] usb 3-3: Device not responding to setup address. [ 14.840331] usb 3-3: device not accepting address 9, error -71 [ 14.840457] usb 3-3: WARN: invalid context state for evaluate context command. [ 14.957079] usb 3-3: new full-speed USB device number 10 using xhci_hcd [ 14.958361] usb 3-3: Device not responding to setup address. [ 15.160594] usb 3-3: Device not responding to setup address. [ 15.363636] usb 3-3: device not accepting address 10, error -71 [ 15.363764] usb 3-3: WARN: invalid context state for evaluate context command. [ 15.363856] usb usb3-port3: unable to enumerate USB device [ 23.273408] usb 1-2: new full-speed USB device number 3 using xhci_hcd [ 23.420777] usb 1-2: New USB device found, idVendor=30fa, idProduct=1440, bcdDevice= 1.00 [ 23.420792] usb 1-2: New USB device strings: Mfr=2, Product=1, SerialNumber=0 [ 23.420796] usb 1-2: Product: USB GAMING MOUSE [ 23.420800] usb 1-2: Manufacturer: INSTANT [ 23.635731] input: INSTANT USB GAMING MOUSE as /devices/pci0000:00/0000:00:08.1/0000:04:00.3/usb1/1-2/1-2:1.0/0003:30FA:1440.0002/input/input16 [ 23.635970] hid-generic 0003:30FA:1440.0002: input,hidraw1: USB HID v1.10 Mouse [INSTANT USB GAMING MOUSE ] on usb-0000:04:00.3-2/input0 [ 23.641004] input: INSTANT USB GAMING MOUSE Keyboard as /devices/pci0000:00/0000:00:08.1/0000:04:00.3/usb1/1-2/1-2:1.1/0003:30FA:1440.0003/input/input17 [ 23.694233] hid-generic 0003:30FA:1440.0003: input,hiddev96,hidraw2: USB HID v1.10 Keyboard [INSTANT USB GAMING MOUSE ] on usb-0000:04:00.3-2/input1 [ 23.694323] usbcore: registered new interface driver usbhid [ 23.694326] usbhid: USB HID core driver [ 33.286972] usb usb3-port3: Cannot enable. Maybe the USB cable is bad? [ 34.171189] usb usb3-port3: Cannot enable. Maybe the USB cable is bad? [ 34.171245] usb usb3-port3: attempt power cycle [ 35.116734] usb usb3-port3: Cannot enable. Maybe the USB cable is bad? [ 35.996941] usb usb3-port3: Cannot enable. Maybe the USB cable is bad? [ 35.997035] usb usb3-port3: unable to enumerate USB device [ 357.129405] usb 1-3: reset high-speed USB device number 2 using xhci_hcd [ 467.254775] usb 1-3: USB disconnect, device number 2 [ 477.292299] usb 1-3: new high-speed USB device number 4 using xhci_hcd [ 477.456739] usb 1-3: New USB device found, idVendor=04f2, idProduct=b6ee, bcdDevice=27.21 [ 477.456754] usb 1-3: New USB device strings: Mfr=3, Product=1, SerialNumber=2 [ 477.456758] usb 1-3: Product: Integrated Camera [ 477.456761] usb 1-3: Manufacturer: Chicony Electronics Co.,Ltd. [ 477.456764] usb 1-3: SerialNumber: 0001 [ 477.467679] usb 1-3: Found UVC 1.10 device Integrated Camera (04f2:b6ee) [ 485.199203] usb 1-3: reset high-speed USB device number 4 using xhci_hcd [ 492.632473] usb 1-3: reset high-speed USB device number 4 using xhci_hcd [ 495.132359] usb 1-3: USB disconnect, device number 4 [ 499.495938] usb 1-3: new high-speed USB device number 5 using xhci_hcd [ 499.658163] usb 1-3: New USB device found, idVendor=04f2, idProduct=b6ee, bcdDevice=27.21 [ 499.658172] usb 1-3: New USB device strings: Mfr=3, Product=1, SerialNumber=2 [ 499.658175] usb 1-3: Product: Integrated Camera [ 499.658178] usb 1-3: Manufacturer: Chicony Electronics Co.,Ltd. [ 499.658180] usb 1-3: SerialNumber: 0001 [ 499.667299] usb 1-3: Found UVC 1.10 device Integrated Camera (04f2:b6ee) [ 503.531916] usb 1-3: reset high-speed USB device number 5 using xhci_hcd [ 506.018730] usb 1-3: reset high-speed USB device number 5 using xhci_hcd [ 508.528699] usb 1-3: reset high-speed USB device number 5 using xhci_hcd [ 511.142215] usb 1-3: USB disconnect, device number 5 [ 514.624859] usb 1-3: new high-speed USB device number 6 using xhci_hcd [ 514.787562] usb 1-3: New USB device found, idVendor=04f2, idProduct=b6ee, bcdDevice=27.21 [ 514.787572] usb 1-3: New USB device strings: Mfr=3, Product=1, SerialNumber=2 [ 514.787575] usb 1-3: Product: Integrated Camera [ 514.787577] usb 1-3: Manufacturer: Chicony Electronics Co.,Ltd. [ 514.787580] usb 1-3: SerialNumber: 0001 [ 514.799103] usb 1-3: Found UVC 1.10 device Integrated Camera (04f2:b6ee) [ 518.415107] usb 1-3: USB disconnect, device number 6 [ 537.254471] usb 1-3: new high-speed USB device number 7 using xhci_hcd [ 537.427431] usb 1-3: New USB device found, idVendor=04f2, idProduct=b6ee, bcdDevice=27.21 [ 537.427442] usb 1-3: New USB device strings: Mfr=3, Product=1, SerialNumber=2 [ 537.427446] usb 1-3: Product: Integrated Camera [ 537.427450] usb 1-3: Manufacturer: Chicony Electronics Co.,Ltd. [ 537.427452] usb 1-3: SerialNumber: 0001 [ 537.435057] usb 1-3: Found UVC 1.10 device Integrated Camera (04f2:b6ee) [ 540.884449] usb 1-3: USB disconnect, device number 7 [ 574.383376] usb 1-3: new high-speed USB device number 8 using xhci_hcd [ 574.550556] usb 1-3: New USB device found, idVendor=04f2, idProduct=b6ee, bcdDevice=27.21 [ 574.550571] usb 1-3: New USB device strings: Mfr=3, Product=1, SerialNumber=2 [ 574.550575] usb 1-3: Product: Integrated Camera [ 574.550579] usb 1-3: Manufacturer: Chicony Electronics Co.,Ltd. [ 574.550582] usb 1-3: SerialNumber: 0001 [ 574.559185] usb 1-3: Found UVC 1.10 device Integrated Camera (04f2:b6ee) [ 592.443333] usb 1-3: USB disconnect, device number 8 [ 593.226579] usb 1-3: new high-speed USB device number 9 using xhci_hcd [ 593.389756] usb 1-3: New USB device found, idVendor=04f2, idProduct=b6ee, bcdDevice=27.21 [ 593.389775] usb 1-3: New USB device strings: Mfr=3, Product=1, SerialNumber=2 [ 593.389778] usb 1-3: Product: Integrated Camera [ 593.389781] usb 1-3: Manufacturer: Chicony Electronics Co.,Ltd. [ 593.389783] usb 1-3: SerialNumber: 0001 [ 593.400020] usb 1-3: Found UVC 1.10 device Integrated Camera (04f2:b6ee) [ 597.589906] usb 1-3: reset high-speed USB device number 9 using xhci_hcd [ 601.236463] usb 1-3: USB disconnect, device number 9 [ 621.975784] usb 1-3: new high-speed USB device number 11 using xhci_hcd [ 622.139210] usb 1-3: New USB device found, idVendor=04f2, idProduct=b6ee, bcdDevice=27.21 [ 622.139220] usb 1-3: New USB device strings: Mfr=3, Product=1, SerialNumber=2 [ 622.139223] usb 1-3: Product: Integrated Camera [ 622.139226] usb 1-3: Manufacturer: Chicony Electronics Co.,Ltd. [ 622.139228] usb 1-3: SerialNumber: 0001 [ 622.147352] usb 1-3: Found UVC 1.10 device Integrated Camera (04f2:b6ee) [ 740.884159] usb 1-2: USB disconnect, device number 3 [ 742.900458] usb 3-2: new full-speed USB device number 15 using xhci_hcd [ 743.050716] usb 3-2: New USB device found, idVendor=30fa, idProduct=1440, bcdDevice= 1.00 [ 743.050730] usb 3-2: New USB device strings: Mfr=2, Product=1, SerialNumber=0 [ 743.050734] usb 3-2: Product: USB GAMING MOUSE [ 743.050737] usb 3-2: Manufacturer: INSTANT [ 743.138222] input: INSTANT USB GAMING MOUSE as /devices/pci0000:00/0000:00:08.1/0000:04:00.4/usb3/3-2/3-2:1.0/0003:30FA:1440.0004/input/input19 [ 743.138695] hid-generic 0003:30FA:1440.0004: input,hidraw1: USB HID v1.10 Mouse [INSTANT USB GAMING MOUSE ] on usb-0000:04:00.4-2/input0 [ 743.143982] input: INSTANT USB GAMING MOUSE Keyboard as /devices/pci0000:00/0000:00:08.1/0000:04:00.4/usb3/3-2/3-2:1.1/0003:30FA:1440.0005/input/input20 [ 743.197509] hid-generic 0003:30FA:1440.0005: input,hiddev96,hidraw2: USB HID v1.10 Keyboard [INSTANT USB GAMING MOUSE ] on usb-0000:04:00.4-2/input1 [ 743.313808] usb 3-3: new full-speed USB device number 16 using xhci_hcd [ 743.440899] usb 3-3: device descriptor read/64, error -71 [ 743.663780] usb 3-3: device descriptor read/64, error -71 [ 743.884014] usb 3-3: new full-speed USB device number 17 using xhci_hcd [ 744.007458] usb 3-3: device descriptor read/64, error -71 [ 744.230465] usb 3-3: device descriptor read/64, error -71 [ 744.334102] usb usb3-port3: attempt power cycle [ 744.733718] usb 3-3: new full-speed USB device number 18 using xhci_hcd [ 744.733805] usb 3-3: Device not responding to setup address. [ 744.937552] usb 3-3: Device not responding to setup address. [ 745.140381] usb 3-3: device not accepting address 18, error -71 [ 745.140419] usb 3-3: WARN: invalid context state for evaluate context command. [ 745.257083] usb 3-3: new full-speed USB device number 19 using xhci_hcd [ 745.257172] usb 3-3: Device not responding to setup address. [ 745.460928] usb 3-3: Device not responding to setup address. [ 745.663960] usb 3-3: device not accepting address 19, error -71 [ 745.664047] usb 3-3: WARN: invalid context state for evaluate context command. [ 745.664106] usb usb3-port3: unable to enumerate USB device [ 751.560419] usb 1-3: reset high-speed USB device number 11 using xhci_hcd [ 754.877024] usb 1-3: USB disconnect, device number 11 [ 755.150311] usb 1-3: new high-speed USB device number 12 using xhci_hcd [ 755.312929] usb 1-3: New USB device found, idVendor=04f2, idProduct=b6ee, bcdDevice=27.21 [ 755.312939] usb 1-3: New USB device strings: Mfr=3, Product=1, SerialNumber=2 [ 755.312943] usb 1-3: Product: Integrated Camera [ 755.312945] usb 1-3: Manufacturer: Chicony Electronics Co.,Ltd. [ 755.312947] usb 1-3: SerialNumber: 0001 [ 755.324559] usb 1-3: Found UVC 1.10 device Integrated Camera (04f2:b6ee) [ 758.936841] usb 1-3: USB disconnect, device number 12 [ 759.960212] usb 1-3: new high-speed USB device number 13 using xhci_hcd [ 760.126194] usb 1-3: New USB device found, idVendor=04f2, idProduct=b6ee, bcdDevice=27.21 [ 760.126204] usb 1-3: New USB device strings: Mfr=3, Product=1, SerialNumber=2 [ 760.126208] usb 1-3: Product: Integrated Camera [ 760.126210] usb 1-3: Manufacturer: Chicony Electronics Co.,Ltd. [ 760.126212] usb 1-3: SerialNumber: 0001 [ 760.136373] usb 1-3: Found UVC 1.10 device Integrated Camera (04f2:b6ee) [ 763.687117] usb 1-3: USB disconnect, device number 13 [ 763.953473] usb 1-3: new high-speed USB device number 14 using xhci_hcd [ 764.117475] usb 1-3: New USB device found, idVendor=04f2, idProduct=b6ee, bcdDevice=27.21 [ 764.117489] usb 1-3: New USB device strings: Mfr=3, Product=1, SerialNumber=2 [ 764.117493] usb 1-3: Product: Integrated Camera [ 764.117497] usb 1-3: Manufacturer: Chicony Electronics Co.,Ltd. [ 764.117500] usb 1-3: SerialNumber: 0001 [ 764.128728] usb 1-3: Found UVC 1.10 device Integrated Camera (04f2:b6ee) [ 767.697159] usb 1-3: reset high-speed USB device number 14 using xhci_hcd [ 770.186983] usb 1-3: reset high-speed USB device number 14 using xhci_hcd [ 773.350400] usb 1-3: reset high-speed USB device number 14 using xhci_hcd [ 775.987208] usb 1-3: reset high-speed USB device number 14 using xhci_hcd [ 783.223558] usb 1-3: reset high-speed USB device number 14 using xhci_hcd [ 792.017088] usb 1-3: reset high-speed USB device number 14 using xhci_hcd [ 798.536628] usb 1-3: reset high-speed USB device number 14 using xhci_hcd [ 802.423273] usb 1-3: reset high-speed USB device number 14 using xhci_hcd [ 815.619453] usb 1-3: USB disconnect, device number 14 [ 815.902700] usb 1-3: new high-speed USB device number 15 using xhci_hcd [ 816.065285] usb 1-3: New USB device found, idVendor=04f2, idProduct=b6ee, bcdDevice=27.21 [ 816.065297] usb 1-3: New USB device strings: Mfr=3, Product=1, SerialNumber=2 [ 816.065301] usb 1-3: Product: Integrated Camera [ 816.065304] usb 1-3: Manufacturer: Chicony Electronics Co.,Ltd. [ 816.065307] usb 1-3: SerialNumber: 0001 [ 816.076041] usb 1-3: Found UVC 1.10 device Integrated Camera (04f2:b6ee) [ 819.519628] usb 1-3: USB disconnect, device number 15 [ 820.759343] usb 1-3: new high-speed USB device number 16 using xhci_hcd [ 820.925298] usb 1-3: New USB device found, idVendor=04f2, idProduct=b6ee, bcdDevice=27.21 [ 820.925310] usb 1-3: New USB device strings: Mfr=3, Product=1, SerialNumber=2 [ 820.925314] usb 1-3: Product: Integrated Camera [ 820.925317] usb 1-3: Manufacturer: Chicony Electronics Co.,Ltd. [ 820.925320] usb 1-3: SerialNumber: 0001 [ 820.956422] usb 1-3: Found UVC 1.10 device Integrated Camera (04f2:b6ee) [ 825.379304] usb 1-3: USB disconnect, device number 16 [ 825.749284] usb 1-3: new high-speed USB device number 17 using xhci_hcd [ 825.911907] usb 1-3: New USB device found, idVendor=04f2, idProduct=b6ee, bcdDevice=27.21 [ 825.911914] usb 1-3: New USB device strings: Mfr=3, Product=1, SerialNumber=2 [ 825.911916] usb 1-3: Product: Integrated Camera [ 825.911917] usb 1-3: Manufacturer: Chicony Electronics Co.,Ltd. [ 825.911918] usb 1-3: SerialNumber: 0001 [ 825.920442] usb 1-3: Found UVC 1.10 device Integrated Camera (04f2:b6ee) [ 830.099655] usb 1-3: USB disconnect, device number 17 [ 831.089445] usb 1-3: new high-speed USB device number 18 using xhci_hcd [ 831.255587] usb 1-3: New USB device found, idVendor=04f2, idProduct=b6ee, bcdDevice=27.21 [ 831.255599] usb 1-3: New USB device strings: Mfr=3, Product=1, SerialNumber=2 [ 831.255603] usb 1-3: Product: Integrated Camera [ 831.255606] usb 1-3: Manufacturer: Chicony Electronics Co.,Ltd. [ 831.255609] usb 1-3: SerialNumber: 0001 [ 831.264091] usb 1-3: Found UVC 1.10 device Integrated Camera (04f2:b6ee) [ 835.772703] usb 1-3: reset high-speed USB device number 18 using xhci_hcd [ 840.282775] usb 1-3: USB disconnect, device number 18 [ 854.828883] usb 1-3: new high-speed USB device number 19 using xhci_hcd [ 854.992660] usb 1-3: New USB device found, idVendor=04f2, idProduct=b6ee, bcdDevice=27.21 [ 854.992675] usb 1-3: New USB device strings: Mfr=3, Product=1, SerialNumber=2 [ 854.992679] usb 1-3: Product: Integrated Camera [ 854.992682] usb 1-3: Manufacturer: Chicony Electronics Co.,Ltd. [ 854.992686] usb 1-3: SerialNumber: 0001 [ 855.004296] usb 1-3: Found UVC 1.10 device Integrated Camera (04f2:b6ee) [ 860.012463] usb 1-3: reset high-speed USB device number 19 using xhci_hcd [ 862.549183] usb 1-3: USB disconnect, device number 19 [ 862.665692] usb 1-3: new high-speed USB device number 20 using xhci_hcd [ 862.829535] usb 1-3: New USB device found, idVendor=04f2, idProduct=b6ee, bcdDevice=27.21 [ 862.829548] usb 1-3: New USB device strings: Mfr=3, Product=1, SerialNumber=2 [ 862.829552] usb 1-3: Product: Integrated Camera [ 862.829556] usb 1-3: Manufacturer: Chicony Electronics Co.,Ltd. [ 862.829559] usb 1-3: SerialNumber: 0001 [ 862.841252] usb 1-3: Found UVC 1.10 device Integrated Camera (04f2:b6ee) [ 873.168960] usb 1-3: USB disconnect, device number 20 [ 874.135300] usb 1-3: new high-speed USB device number 21 using xhci_hcd [ 874.301474] usb 1-3: New USB device found, idVendor=04f2, idProduct=b6ee, bcdDevice=27.21 [ 874.301482] usb 1-3: New USB device strings: Mfr=3, Product=1, SerialNumber=2 [ 874.301486] usb 1-3: Product: Integrated Camera [ 874.301488] usb 1-3: Manufacturer: Chicony Electronics Co.,Ltd. [ 874.301490] usb 1-3: SerialNumber: 0001 [ 874.340238] usb 1-3: Found UVC 1.10 device Integrated Camera (04f2:b6ee) [ 878.312430] usb 1-3: reset high-speed USB device number 21 using xhci_hcd [ 881.052162] usb 1-3: reset high-speed USB device number 21 using xhci_hcd

ChatGPT said:

The error you’re seeing — usb 3-3: device descriptor read/64, error -71 — is a fairly common USB issue in Linux systems. Let’s break it down and then look at how to troubleshoot it effectively.


🔍 What does error-71 mean?

This is a -EPROTO error, meaning a protocol error occurred during the USB enumeration process. Essentially, the device either failed to respond properly or responded with invalid data during setup.


⚠️ What the logs suggest:

From your logs:

  • You have persistent failures on USB port 3-3 (i.e., Bus 3, Port 3).

  • Devices are failing with device descriptor read/64, error -71 or device not accepting address, followed by power cycle attempts.

  • The kernel eventually gives up: unable to enumerate USB device.

  • The rest of your USB devices (camera, mouse) on other ports (like 1-3, 3-2) are working properly.


Potential Causes & Solutions

1. Faulty USB device

  • The most likely cause is a faulty or incompatible USB device plugged into port 3-3.

  • Try removing the device from that port and plugging it into a different port.

  • Or try it on another computer to confirm whether it’s defective.

2. Bad USB cable or connector

  • The kernel message:
    usb usb3-port3: Cannot enable. Maybe the USB cable is bad?
    strongly suggests a bad cable or damaged USB connector.

  • If it’s a USB extension cable, replace it.

  • If it’s a directly connected device, inspect the port physically or try another cable.

3. Power issues

  • Some USB ports may not supply enough power, especially for older or unpowered hubs/devices.

  • Try plugging the device into a powered USB hub to rule out power limitations.

4. Kernel driver bug or incompatibility

  • Some xHCI (USB 3) controllers have firmware or driver issues.

  • You can try adding a kernel parameter to disable USB 3 on boot:

pci=nomsi

or:

  • usbcore.autosuspend=-1

    Edit your GRUB config and reboot to test.

5. BIOS/UEFI Settings

  • Disable USB legacy support or xHCI hand-off in BIOS, then retest.

  • Try toggling Secure Boot, which can affect hardware initialization.

6. Firmware/BIOS Update

  • If the issue persists across OS reinstalls or live systems, check your motherboard/BIOS for updates. Hardware vendors often fix USB-related quirks via firmware updates.

🧪 How to Test the Issue

  • Boot into a Linux live USB (e.g., Ubuntu) and see if the same port/device fails.

  • Boot into Windows (if dual-booted or on another machine) and test the same device/port.

  • Swap devices between USB ports to isolate the failure to a port, device, or driver.


📌 Conclusion

You’re dealing with an issue most likely caused by:

  • A faulty USB device/cable (primary suspect).

  • A bad port on the motherboard.

  • Less likely: driver/kernel or power issues.

Try the device on another port or system. If the issue disappears, it’s likely hardware-related. Let me know what the USB device on port 3-3 is — I can help more precisely from there.

You said:

Let me know what the USB device on port 3-3 is — I can help more precisely from there.

how

ChatGPT said:

To find out which USB device is connected to port 3-3, or at least what device is causing the problem, here are a few ways to identify it:


🔍 Method 1: Use lsusb to List Devices

This will list all USB devices the system recognizes.

lsusb

Then run this to get more detailed info (including port numbers):

lsusb -t

Look for something like:

/: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p |__ Port 3: Dev 4, If 0, Class=Mass Storage, Driver=usb-storage, 480M

If nothing appears under Port 3, that supports the idea the device failed to enumerate.


🧪 Method 2: Unplug and Replug Devices

Do this to isolate the problematic one:

  1. Unplug all USB devices.

  2. Plug in one at a time while monitoring logs:

dmesg -w

This will live-print USB events to your terminal. When you plug the device into port 3-3, you’ll likely see the same error -71.

That tells you exactly which device is failing.


⚠️ Note

Some USB port numbers (like 3-3) refer to logical topology (Bus 3, Port 3), which may not map directly to a physical port label on your computer. Still, unplugging devices one at a time is the most effective way to narrow it down.


Want to continue debugging?

Let me know:

  • What kind of device you’re connecting (USB stick, keyboard, phone, etc.).

  • Whether it works on other ports or another computer.

  • Output of:

  • lsusb -t dmesg | grep -i usb

I’ll help interpret it.

You said:

if I want to live print for charger working correctly or not ?

ChatGPT said:

If you want to live monitor whether a USB charger (or a phone connected for charging) is working properly, you can watch the system logs for power or charging events using tools like dmesg, upower, or udevadm.


🔌 1. Using dmesg -w to Monitor USB Events Live

This is the easiest way to see connection, power, and enumeration issues:

dmesg -w

Then plug in your charger or phone. You’ll see messages like:

[ 1234.567890] usb 3-3: new high-speed USB device number 5 using xhci_hcd [ 1234.678901] usb 3-3: New USB device found, idVendor=XXXX, idProduct=YYYY

Or if there’s a problem:

[ 1234.678901] usb 3-3: device descriptor read/64, error -71

These messages can tell you if the device is powering, charging, or failing.


🔋 2. Check Power Status with upower (for batteries/phones)

If your USB charger is connected to something like a phone or a laptop battery, use:

upower -d

or watch for live changes:

watch -n 1 upower -i /org/freedesktop/UPower/devices/line_power_AC

This shows whether charging is happening and the battery state.


⚙️ 3. Use udevadm monitor for All USB Events

To get low-level USB device events:

udevadm monitor --udev --subsystem-match=usb

This prints real-time messages when a device is added or removed — useful for debugging charging events.


✅ Want to Test a Charger?

Here’s a simple test process:

  1. Run dmesg -w in terminal.

  2. Plug in the device.

  3. Look for messages indicating:

    • New device found

    • Charging or USB power draw

    • Any errors (like error -71, enumeration failed, etc.)

Let me know what you see in the output — I can help interpret it.

You said:

not usb charger but a pin charger

ChatGPT said:

Ah, thanks for the clarification! You’re referring to a DC barrel jack/pin charger (not USB) — like the round connector used for charging laptops or other electronics. Monitoring that kind of charger is a bit different since it doesn’t go through USB. Here’s how you can live check if the charger is working correctly:


✅ How to Check If a Pin Charger is Working on Linux (Live)

🔋 1. Use upower (for laptops)

For laptops with a pin charger (e.g., Dell, Lenovo, HP), run:

upower -i $(upower -e | grep 'line_power')

Example output:

line-power online: yes

  • If online: yes, the charger is working.

  • If online: no, it’s not supplying power.

To live monitor it:

watch -n 1 upower -i $(upower -e | grep 'line_power')


⚙️ 2. Check via /sys/class/power_supply

You can also manually inspect files:

cat /sys/class/power_supply/AC/online

  • It will return 1 if the charger is connected and providing power.

  • It will return 0 if not.

To live print:

watch -n 1 cat /sys/class/power_supply/AC/online


🧰 3. Monitor Battery Charging State

This confirms if the charger is actually charging the battery:

cat /sys/class/power_supply/BAT0/status

Output:

  • Charging → Charger is working.

  • Discharging → Not charging.

  • Full → Battery is full, but charger may still be connected.

You can also live-monitor that:

watch -n 1 cat /sys/class/power_supply/BAT0/status


🔧 Final Notes

If you’re using something like a Raspberry Pi, Arduino, or another embedded board with pin charging, the methods are different — let me know what exact device you are testing so I can give precise steps for it.

Would you like a small script that prints a message when the charger is plugged/unplugged?

You said:

t /sys/class/power_supply/BAT0/status

No such file or directory

ChatGPT said:

Thanks for pointing that out — the message No such file or directory means your system doesn’t have a file like /sys/class/power_supply/BAT0/status. That usually happens when:

  1. You’re on a desktop PC with no battery.

  2. You’re on a device (like a mini-PC or industrial board) that doesn’t expose battery/charger info via ACPI or power management.

  3. The system uses different naming (e.g., no BAT0, or AC device is called something else).


✅ How to Find the Correct Power Supply Path

Let’s discover what your system does have:

🔍 Step 1: List all power supply entries

Run:

ls /sys/class/power_supply/

Typical output might be something like:

AC BAT0

Or maybe:

ACAD BAT1

If you see nothing or just one strange entry, your system may not expose power supply data.


🔍 Step 2: Check what’s inside

Once you know what’s there, say you see ACAD, try:

cat /sys/class/power_supply/ACAD/online

Or if you only see a battery (e.g., BAT1):

cat /sys/class/power_supply/BAT1/status


🔁 Still Nothing?

If /sys/class/power_supply/ is empty or missing entirely, you can try using upower if installed:

upower -e

This lists all power-related devices. Then:

upower -i /org/freedesktop/UPower/devices/line_power_AC

Or similar path.


Related

References