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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

681件の閲覧回数
lyfsci
Contributor III

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

ラベル(1)
0 件の賞賛
返信
1 返信

615件の閲覧回数
weidong_sun
NXP TechSupport
NXP TechSupport

Hi Lyf,

    Sorry to say it is not within the scope of our support on how to write a USB driver !

    Suggest you had better refer to some books on linux driver.

Regards,

Weidong

0 件の賞賛
返信