On Wed, 19 Apr 2006, Peter Chen wrote:

> thx,alan
> 
> Also there are some warnings of"usb_gadget_unregister_driver"
> undefined!"
> but there is ok,when i do insmod fsg.ko
> 
> there are some oops errors
> 
> after i add my chip at gadget_chips.h and comment 
> usb_gadget_set_selfpowered(gadget),the errors are vanished

You will need to implement that routine in your UDC driver.

> then i finish the bind function,and it prints my mod_data param.
> 
> But the host can't enumerate my chip,as there isn't 
> any information at /proc/bus/usb/devices.
> Of course,i plug the usb jack at my pc.
> Besides,i switch to windows,i can't find usb device too.
> 
> my host linux version is 2.6.11.10,udc is 2.6.14,windows is 2000.
> 
> Can u tell me how should i do now?(i can see there are change data
> at my ep0 fifo)

Look through the debugging messages on the host and on the gadget to see 
what is happening.

> besides,when i run test.sh which i download from      http://www.linux-
> usb.org/usbtest/
> it tells me failed at test9.
> 
> And,i open CONFIG_USB_DEBUG at my linux host pc,How can i get
> corresonding debug message from my pc?

Use the dmesg program.  On the gadget side, turn on the #define lines for
DEBUG and VERBOSE in file_storage.c and then see what dmesg says.

Alan Stern



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to