How to get USB HID log in kernel ?

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

How to get USB HID log in kernel ?

817 Views
robinsingh
Contributor III

Hi All,

I am using IMX8M with yocto BSP.  My kernel is providing USB HID device feature (also UAC2).

 

We are using libusbgx APIs  in user space for configuring the kernel. And  I would like to get the log (raw data in bytes ) for USB HID in KERNEL. Can someone point me to the right CONFIG in  kernel ,which i need to enable or any additional log i need to add and where (file name etc.) ? 

 

Thanks

Robin 

Tags (2)
0 Kudos
Reply
1 Reply

801 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi @robinsingh 

You may need enable USB gadget configfs feature.

Also you can see this link:

https://developer.toradex.com/knowledge-base/usb-device-mode-linux

 

Regards

Zhiming

0 Kudos
Reply