doc:kb:usbrescan

USB rescan to force device detection

Sometimes (usually after a hot reboot/upgrade), the USB-HDD disk is not properly detected (although are the rest of devices).

Identify the USB controller device where the disk is attached thru lspci:

lspci
[...]
03:00.0 USB controller: Renesas Technology Corp. uPD720201 USB 3.0 Host Controller (rev 03)
[...]

Unbind and bind again that PCI id:

root@idoru:# echo 0000:03:00.0 > /sys/bus/pci/drivers/xhci_hcd/unbind
root@idoru:# echo 0000:03:00.0 > /sys/bus/pci/drivers/xhci_hcd/bind

The device should now be listed thru lsusb:

Bus 004 Device 002: ID 0480:a202 Toshiba America Inc Canvio Basics HDD
  • doc/kb/usbrescan.txt
  • Last modified: 2023/06/26 23:24
  • by Marc Franquesa