Hello all,
I ran into this gadgetfs problem on our custom board.
We use 2.6.20.4 kernel tree and run gadget stuff on
our PDIUSBD12 device. The device works good with
g_serial, g_ether and g_file_storage, but with
gadgetfs, when I invoke usb.c to test it, it reports
the following
message:
gadgetfs: bound to d12 driver
Registered gadget driver 'gadgetfs'
/dev/gadget/d12 ep0 configured
serial="l62jhhux1uwojpo45k1wwojihjbed0z4s0nwq3eq6syjj9qinafiqjb1eslqb41"
gadgetfs: connected
** Thu Jan gadgetfs: disconnected
1 00:33:28 1970
CONNECT full speed
DISCONNECT
gadgetfs: connected
CONNECT full speed
SETUP 80.06 v0300 i0000 255
... get string 0 lang 0000
write string data: Device or resource busy
ep0 read after poll: Level 2 halted
poll: Interrupgadgetfs: disconnected
unregistered gadget driver 'gadgetfs'
It seems that usb.c can be notified the get string
request, but when try to respond, it crashed.
So how can I fix the problem? Try latest kernel, such
as 2.6.24, or something else?
thanks
___________________________________________________________
雅虎邮箱传递新年祝福,个性贺卡送亲朋!
http://cn.mail.yahoo.com/gc/index.html?entry=5&souce=mail_mailletter_tagline
-
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html