26 lines
904 B
Plaintext
26 lines
904 B
Plaintext
That `lspci` output is extremely revealing... it is almost certainly an **external drive connected via USB or Thunderbolt.**... there is a slightly less dangerous (but still advanced) method we can try first. We can attempt to manually unbind and then rebind the specific USB device from its driver. Here are the commands to run as **root**:
|
|
|
|
1. **Find the USB Bus and Device ID:**
|
|
```bash
|
|
lsusb
|
|
```
|
|
|
|
2. **Find the device's path in the `/sys` filesystem.**
|
|
```bash
|
|
find /sys/bus/usb/devices/ -maxdepth 2 -name idProduct | xargs -I {} grep -l 5678 {} | xargs -I {} dirname {}
|
|
```
|
|
|
|
3. **Unbind the device from its driver.**
|
|
```bash
|
|
echo '<device_path>' > /sys/bus/usb/drivers/usb/unbind
|
|
```
|
|
|
|
4. **Rebind the device.**
|
|
```bash
|
|
echo '<device_path>' > /sys/bus/usb/drivers/usb/bind
|
|
```
|
|
|
|
5. **Check the result:**
|
|
```bash
|
|
cat /proc/partitions
|
|
``` |