I am using Colibri iMX7d, refer below:
root@colibri-imx7-emmc:~# uname -a Linux colibri-imx7-emmc 4.9.166-2.8.6+gd899927728be #1 SMP Fri Aug 30 17:28:06 UTC 2019 armv7l GNU/Linux root@colibri-imx7-emmc:~# lsb_release -a Distributor ID: Angstrom Description: Angstrom GNU/Linux v2017.12 (Core edition) Release: v2017.12 Codename: Core edition root@colibri-imx7-emmc:~#
I have connected USB hub and 3 USB devices to it. I want to reset selected USB device as it’s device requirement for specific function.
root@colibri-imx7-emmc:~# lsusb Bus 001 Device 004: ID 8086:0ad3 Bus 002 Device 001: ID 1d6b:0002 Bus 001 Device 003: ID 0bda:8179 Bus 001 Device 002: ID 0bda:5411 Bus 001 Device 001: ID 1d6b:0002
I don’t want to reset all the devices on USB. I want to know:
- How can I reset selected USB device
- Suppose I have two instances same devices in port 0 and 1, how can I differentiate which device is in USB Hub port 0, 1.