How to disable data particular host port on a hub ?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to disable data particular host port on a hub ?

566件の閲覧回数
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?

ラベル(1)
0 件の賞賛
返信
1 返信

530件の閲覧回数
b36401
NXP Employee
NXP Employee

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

0 件の賞賛
返信