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

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

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

Jump to solution
808 Views
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

Labels (1)
0 Kudos
Reply
1 Solution
804 Views
yangao
Contributor III

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

Regards,

Yan

View solution in original post

0 Kudos
Reply
1 Reply
805 Views
yangao
Contributor III

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

Regards,

Yan

0 Kudos
Reply