How to disable data particular host port on a hub ?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How to disable data particular host port on a hub ?

848 次查看
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 回复

812 次查看
b36401
NXP Employee
NXP Employee

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

0 项奖励
回复