EttusResearch / uhd

The USRP™ Hardware Driver Repository
http://uhd.ettus.com
Other
1k stars 667 forks source link

Intermittent USB Connectivity Issue on Boot and Shutdown with SDR B210 Device #742

Open YosefCohen877 opened 7 months ago

YosefCohen877 commented 7 months ago

Problem Description I am experiencing intermittent USB connectivity issues with the SDR B210 device specifically during system boot-up and shutdown. The device works perfectly when connected while the system is already on, but it does not maintain connectivity when the system is powered on or shut down with the device already connected. This issue also occurred in the reboot, when there were no images on the SDR. dmesg - "device descriptor read/64, error -110"

Steps to Reproduce Connect SDR B210 to a system via USB before booting. Turn on the system. Observe that the device does not function or connect properly. Disconnect and then reconnect the USB cable while the system is on; the device functions correctly. If the device is connected during shutdown, similar connectivity issues occur during the next boot. Expected Behavior The SDR B210 should be recognized and operate normally during boot-up and shutdown processes without the need for reconnection.

Actual Behavior The device fails to connect or becomes unresponsive during boot-up and shutdown unless it is reconnected after the system has fully started.

Attempts to Fix I have experimented with various GRUB parameters to manage USB initialization and power settings (usbcore.autosuspend, usbcore.quirks) but these did not resolve the issue. Modifying USB power management settings and delaying USB device initialization at boot have also been attempted without success.

System Information Operating Systems: Ubuntu 22.04.04, lubuntu-22.04.3, DragonOS_FocalX_R31 UHD Version: 4.6.0.0

mbr0wn commented 5 months ago

You may want to try updating the bootloader (b2xx_fx3_utils --load-bootloader). If that doesn't work, you can uninstall it again (--unload-bootloader).