Linux下动态切换EHCI控制器下端口的速率(即切换为12M)
在sys目录下找到对应的控制器
例如:/sys/devices/platform/soc/ehci,直接操作该目录下的companion
echo 1 > companion 将port1设置为companion控制器所有,即降速
echo -1 > companion
/*
* Dedicate or undedicate a port to the companion controller.
* Syntax is "[-]portnum", where a leading ‘-‘ sign means
* return control of the port to the EHCI controller.
*/
相关推荐
farwang 2020-11-25
星愿心愿 2020-11-24
tianhuak 2020-11-24
zhjn0 2020-11-24
昭君出塞 2020-11-23
bluecarrot 2020-11-23
linuxwcj 2020-10-21
以梦为马不负韶华 2020-10-20
彼岸随笔 2020-10-20
yutou0 2020-10-17
applecarelte 2020-10-16
ourtimes 2020-10-16
waterhorse 2020-09-19
MRFENGG 2020-11-11
rainandtear 2020-10-30
kyssfanhui 2020-10-20
liuhangtiant 2020-10-20