FlightAware Discussions

USB problem ... stick not connected, different behaviour with different sticks

Howdy friends …

When I got up this morning I noticed that Piaware had stopped working. Feeder stats showed that I was connected, but no data was sent. After some checks I found out, that the Pi wasn’t connected to the Flightaware stick and whatever I tried I couldn’t get it to work again. I checked for power problems, but found none.
A “dmesg | grep usb” gave me this

Sa Mär 06, 09:30:46 UTC pi @ komarow ~

dmesg | grep usb
[ 0.151500] usbcore: registered new interface driver usbfs
[ 0.151574] usbcore: registered new interface driver hub
[ 0.151649] usbcore: registered new device driver usb
[ 0.152003] usb_phy_generic phy: supply vcc not found, using dummy regulator
[ 1.445334] usbcore: registered new interface driver r8152
[ 1.445419] usbcore: registered new interface driver lan78xx
[ 1.445481] usbcore: registered new interface driver smsc95xx
[ 1.452033] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
[ 1.452055] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.452072] usb usb1: Product: xHCI Host Controller
[ 1.452089] usb usb1: Manufacturer: Linux 5.10.11-v7l+ xhci-hcd
[ 1.452106] usb usb1: SerialNumber: 0000:01:00.0
[ 1.454228] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.10
[ 1.454247] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.454264] usb usb2: Product: xHCI Host Controller
[ 1.454281] usb usb2: Manufacturer: Linux 5.10.11-v7l+ xhci-hcd
[ 1.454297] usb usb2: SerialNumber: 0000:01:00.0
[ 1.457690] usbcore: registered new interface driver uas
[ 1.457798] usbcore: registered new interface driver usb-storage
[ 1.469427] usbcore: registered new interface driver usbhid
[ 1.469442] usbhid: USB HID core driver
[ 1.814085] usb 1-1: new high-speed USB device number 2 using xhci_hcd
[ 1.996822] usb 1-1: New USB device found, idVendor=2109, idProduct=3431, bcdDevice= 4.21
[ 1.996847] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 1.996864] usb 1-1: Product: USB2.0 Hub
[ 2.334088] usb 1-1.2: new full-speed USB device number 3 using xhci_hcd
[ 2.472270] usb 1-1.2: New USB device found, idVendor=24ae, idProduct=1006, bcdDevice= 1.10
[ 2.472292] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 2.472310] usb 1-1.2: Product: Rapoo 2.4G Wireless Touchpad Keyboard
[ 2.472327] usb 1-1.2: Manufacturer: RAPOO
[ 2.483361] input: RAPOO Rapoo 2.4G Wireless Touchpad Keyboard as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.2/1-1.2:1.0/0003:24AE:1006.0001/input/input0
[ 2.483827] hid-generic 0003:24AE:1006.0001: input,hidraw0: USB HID v1.10 Mouse [RAPOO Rapoo 2.4G Wireless Touchpad Keyboard] on usb-0000:01:00.0-1.2/input0
[ 2.490033] input: RAPOO Rapoo 2.4G Wireless Touchpad Keyboard System Control as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.2/1-1.2:1.1/0003:24AE:1006.0002/input/input2
[ 2.554532] input: RAPOO Rapoo 2.4G Wireless Touchpad Keyboard Consumer Control as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.2/1-1.2:1.1/0003:24AE:1006.0002/input/input3
[ 2.555009] hid-generic 0003:24AE:1006.0002: input,hiddev96,hidraw1: USB HID v1.10 Device [RAPOO Rapoo 2.4G Wireless Touchpad Keyboard] on usb-0000:01:00.0-1.2/input1
[ 2.560955] input: RAPOO Rapoo 2.4G Wireless Touchpad Keyboard as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.2/1-1.2:1.2/0003:24AE:1006.0003/input/input4
[ 2.635065] hid-generic 0003:24AE:1006.0003: input,hidraw2: USB HID v1.10 Keyboard [RAPOO Rapoo 2.4G Wireless Touchpad Keyboard] on usb-0000:01:00.0-1.2/input2
[ 2.754076] usb 1-1.3: new high-speed USB device number 4 using xhci_hcd
[ 2.896576] usb 1-1.3: New USB device found, idVendor=0bda, idProduct=2832, bcdDevice= 1.00
[ 2.896603] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 2.896621] usb 1-1.3: Product: RTL2832U
[ 2.896639] usb 1-1.3: Manufacturer: Realtek
[ 2.896660] usb 1-1.3: SerialNumber: 00001000
[ 3.004122] usb 1-1.4: new high-speed USB device number 5 using xhci_hcd
[ 3.214046] usb 1-1.4: New USB device found, idVendor=0424, idProduct=223a, bcdDevice= 1.95
[ 3.214070] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 3.214088] usb 1-1.4: Product: USB 2 Flash Media Device
[ 3.214105] usb 1-1.4: Manufacturer: Generic
[ 3.214122] usb 1-1.4: SerialNumber: 041223700248
[ 3.217274] usb-storage 1-1.4:1.0: USB Mass Storage device detected
[ 3.217990] scsi host0: usb-storage 1-1.4:1.0
[ 6.081445] usbcore: registered new interface driver brcmfmac
[ 169.683479] usb 1-1.3: USB disconnect, device number 4
[ 169.994595] usb 1-1.3: new full-speed USB device number 6 using xhci_hcd
[ 170.094796] usb 1-1.3: device descriptor read/64, error -32
[ 170.314883] usb 1-1.3: device descriptor read/64, error -32
[ 170.544677] usb 1-1.3: new full-speed USB device number 7 using xhci_hcd
[ 170.654882] usb 1-1.3: device descriptor read/64, error -32
[ 170.874907] usb 1-1.3: device descriptor read/64, error -32
[ 170.995000] usb 1-1-port3: attempt power cycle
[ 171.654851] usb 1-1.3: new full-speed USB device number 8 using xhci_hcd
[ 171.655042] usb 1-1.3: Device not responding to setup address.
[ 171.875036] usb 1-1.3: Device not responding to setup address.
[ 172.094931] usb 1-1.3: device not accepting address 8, error -71
[ 172.214922] usb 1-1.3: new full-speed USB device number 9 using xhci_hcd
[ 172.215106] usb 1-1.3: Device not responding to setup address.
[ 172.435166] usb 1-1.3: Device not responding to setup address.
[ 172.654985] usb 1-1.3: device not accepting address 9, error -71
[ 172.655369] usb 1-1-port3: unable to enumerate USB device
[ 499.691322] usb 1-1.3: new high-speed USB device number 10 using xhci_hcd
[ 500.011464] usb 1-1.3: device descriptor read/64, error -71
[ 500.241468] usb 1-1.3: device descriptor read/64, error -71
[ 500.461300] usb 1-1.3: new high-speed USB device number 11 using xhci_hcd
[ 500.561502] usb 1-1.3: device descriptor read/64, error -71
[ 500.791465] usb 1-1.3: device descriptor read/64, error -71
[ 500.912445] usb 1-1-port3: attempt power cycle
[ 501.601294] usb 1-1.3: new high-speed USB device number 12 using xhci_hcd
[ 501.601432] usb 1-1.3: Device not responding to setup address.
[ 501.862763] usb 1-1.3: device descriptor read/8, error -71
[ 502.023891] usb 1-1.3: device descriptor read/all, error -71
[ 502.121304] usb 1-1.3: new high-speed USB device number 13 using xhci_hcd
[ 502.156205] usb 1-1.3: unable to read config index 0 descriptor/start: -71
[ 502.156214] usb 1-1.3: can’t read configurations, error -71
[ 502.157804] usb 1-1-port3: unable to enumerate USB device

So I thought it my be a defective stick and replaced it with a standard dvb-t stick and got this:

Sa Mär 06, 09:44:37 UTC pi @ komarow ~

dmesg | grep usb
[ 0.151440] usbcore: registered new interface driver usbfs
[ 0.151513] usbcore: registered new interface driver hub
[ 0.151586] usbcore: registered new device driver usb
[ 0.151942] usb_phy_generic phy: supply vcc not found, using dummy regulator
[ 1.445328] usbcore: registered new interface driver r8152
[ 1.445412] usbcore: registered new interface driver lan78xx
[ 1.445476] usbcore: registered new interface driver smsc95xx
[ 1.452009] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
[ 1.452029] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.452046] usb usb1: Product: xHCI Host Controller
[ 1.452063] usb usb1: Manufacturer: Linux 5.10.11-v7l+ xhci-hcd
[ 1.452080] usb usb1: SerialNumber: 0000:01:00.0
[ 1.454199] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.10
[ 1.454218] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.454235] usb usb2: Product: xHCI Host Controller
[ 1.454252] usb usb2: Manufacturer: Linux 5.10.11-v7l+ xhci-hcd
[ 1.454268] usb usb2: SerialNumber: 0000:01:00.0
[ 1.457642] usbcore: registered new interface driver uas
[ 1.457750] usbcore: registered new interface driver usb-storage
[ 1.469412] usbcore: registered new interface driver usbhid
[ 1.469428] usbhid: USB HID core driver
[ 1.814029] usb 1-1: new high-speed USB device number 2 using xhci_hcd
[ 1.996654] usb 1-1: New USB device found, idVendor=2109, idProduct=3431, bcdDevice= 4.21
[ 1.996678] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 1.996695] usb 1-1: Product: USB2.0 Hub
[ 2.324047] usb 1-1.2: new full-speed USB device number 3 using xhci_hcd
[ 2.462077] usb 1-1.2: New USB device found, idVendor=24ae, idProduct=1006, bcdDevice= 1.10
[ 2.462098] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 2.462116] usb 1-1.2: Product: Rapoo 2.4G Wireless Touchpad Keyboard
[ 2.462133] usb 1-1.2: Manufacturer: RAPOO
[ 2.484240] input: RAPOO Rapoo 2.4G Wireless Touchpad Keyboard as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.2/1-1.2:1.0/0003:24AE:1006.0001/input/input0
[ 2.484703] hid-generic 0003:24AE:1006.0001: input,hidraw0: USB HID v1.10 Mouse [RAPOO Rapoo 2.4G Wireless Touchpad Keyboard] on usb-0000:01:00.0-1.2/input0
[ 2.491833] input: RAPOO Rapoo 2.4G Wireless Touchpad Keyboard System Control as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.2/1-1.2:1.1/0003:24AE:1006.0002/input/input2
[ 2.554627] input: RAPOO Rapoo 2.4G Wireless Touchpad Keyboard Consumer Control as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.2/1-1.2:1.1/0003:24AE:1006.0002/input/input3
[ 2.555246] hid-generic 0003:24AE:1006.0002: input,hiddev96,hidraw1: USB HID v1.10 Device [RAPOO Rapoo 2.4G Wireless Touchpad Keyboard] on usb-0000:01:00.0-1.2/input1
[ 2.561270] input: RAPOO Rapoo 2.4G Wireless Touchpad Keyboard as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.2/1-1.2:1.2/0003:24AE:1006.0003/input/input4
[ 2.625043] hid-generic 0003:24AE:1006.0003: input,hidraw2: USB HID v1.10 Keyboard [RAPOO Rapoo 2.4G Wireless Touchpad Keyboard] on usb-0000:01:00.0-1.2/input2
[ 3.547658] usb 1-1-port3: Cannot enable. Maybe the USB cable is bad?
[ 4.464622] usb 1-1-port3: Cannot enable. Maybe the USB cable is bad?
[ 4.465302] usb 1-1-port3: attempt power cycle
[ 5.714633] usb 1-1-port3: Cannot enable. Maybe the USB cable is bad?
[ 5.832270] usbcore: registered new interface driver brcmfmac
[ 6.624651] usb 1-1-port3: Cannot enable. Maybe the USB cable is bad?
[ 6.625307] usb 1-1-port3: unable to enumerate USB device
[ 6.734020] usb 1-1.4: new high-speed USB device number 8 using xhci_hcd
[ 6.934043] usb 1-1.4: New USB device found, idVendor=0424, idProduct=223a, bcdDevice= 1.95
[ 6.934068] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 6.934088] usb 1-1.4: Product: USB 2 Flash Media Device
[ 6.934105] usb 1-1.4: Manufacturer: Generic
[ 6.934122] usb 1-1.4: SerialNumber: 041223700248
[ 6.938464] usb-storage 1-1.4:1.0: USB Mass Storage device detected
[ 6.939162] scsi host0: usb-storage 1-1.4:1.0
[ 662.374929] usb 1-1-port3: Cannot enable. Maybe the USB cable is bad?
[ 663.295205] usb 1-1-port3: Cannot enable. Maybe the USB cable is bad?
[ 663.295792] usb 1-1-port3: attempt power cycle
[ 664.555272] usb 1-1-port3: Cannot enable. Maybe the USB cable is bad?
[ 665.465283] usb 1-1-port3: Cannot enable. Maybe the USB cable is bad?
[ 665.465926] usb 1-1-port3: unable to enumerate USB device
[ 680.505006] usb 1-1.3: new high-speed USB device number 13 using xhci_hcd
[ 680.646870] usb 1-1.3: New USB device found, idVendor=0bda, idProduct=2838, bcdDevice= 1.00
[ 680.646889] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 680.646905] usb 1-1.3: Product: RTL2838UHIDIR
[ 680.646920] usb 1-1.3: Manufacturer: Realtek
[ 680.646935] usb 1-1.3: SerialNumber: 00000001

And despite the “bad cable” (which I have to use since I don’t have power near the antenna) this one is working. Any idea what was going wrong?

Hans

Is it an active cable?

Remove other USB devices from the RPi and see if that helps?

Could be the power supply you’re using is slowly reducing in voltage.
The pi might not mind or display anything but the voltage is lower and due to the extra cable the voltage at the SDR is too low for good operation.

to add to wiedehopf post have you disconnected the usb stick itself?

I say this because restarting the pi without removing power might not actually reset the device. Its unlikely but a hard reset can fix a lot of things.

No. 2m standard cable.

I will do that the next timew I run into the problem. Right now everything is working fine with the replacement.

Ok … I will keep an eye on that.

That was one of the first things I did … to no avail …