AnsweredAssumed Answered

kernel crashes when USB disconnected() is called in between usb_snd_msg()

Question asked by lyf sci on Jan 17, 2016
Latest reply on Jan 18, 2016 by Wigros Sun

Hi Experts,

 

I created a sample USB driver with character device access from user space.

I write a user space program to access the kernel driver write() function where I call usb_bulk_msg() to write in BULK OUT endpoint.

When I removed the USB in-between write transfer it crashes where the disconnect() is being invoked.

 

Regards,

Lyf

Outcomes