How to disable data particular host port on a hub ?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to disable data particular host port on a hub ?

562 Views
sumit_jha420
Contributor I

I have two usb port in hub attached to my carrier board.I am able to disable the power line like  this echo 0 > /sys/class/gpio/gpio5/value .But disabling just power line does not solve the problem since external power can be given to device attached and again it will be visible.Hence we need to disable data line form host controller driver .I have imx6dl board .Can some one please help me with issue?

Labels (1)
0 Kudos
Reply
1 Reply

526 Views
b36401
NXP Employee
NXP Employee

Please try something like this:
# echo suspend > /sys/bus/usb/devices/1-1.1/power/control

0 Kudos
Reply