This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

am3358的usb g_hid的gadget驱动拔插怎么通知到应用层?



使用usb gadget驱动下的hid.c来模拟键鼠,但拔掉USB时,应用层不能获知,导致一直阻塞在驱动,使串口调试终端不能接收字符,请问有什么办法在应用层获知热插拔消息?我在应用层使用netlink发现拔插usb时并没有收到消息