/sys/kernel/debug/ci_hdrc.0/role does not exist

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

/sys/kernel/debug/ci_hdrc.0/role does not exist

跳至解决方案
2,004 次查看
yangao
Contributor III

Hi,

We are using iMX6  and kernel version is 3.14.70. I have set USB_OTG_FSM in kernel, but there is no entry for /sys/kernel/debug/ci_hdrc.0/role even though /sys/kernel/debug exists.

How to make /sys/kernel/debug/ci_hdrc.0/role available? Is there another way to detect current OTG is in host or gadget mode?

Regards,

Winston

标签 (1)
0 项奖励
回复
1 解答
2,000 次查看
yangao
Contributor III

Figured out: Need to enable USB_CHIPIDEA_DEBUG to get the entry.

Regards,

Yan

在原帖中查看解决方案

0 项奖励
回复
1 回复
2,001 次查看
yangao
Contributor III

Figured out: Need to enable USB_CHIPIDEA_DEBUG to get the entry.

Regards,

Yan

0 项奖励
回复