Hello,

I changed usb.c and crossompiled it for samsung nexus s(exynos SoC).
arm-linux-gnueabi-gcc -static usb.c usbstring.c -lpthread

In the kernel I enable gadgetfs module with s3c-udc(s3c_udc_otg.c)

I can mount gadgetfs, but when I run the binary with verbose flag I
get following
output on device side:

/dev/gadget/s3c-udc ep0 configured
serial="adfczl3sdf39idgfo7tdsfv2ss6l3tarbfdfsdjs5m2uffusdflwmfgfs"

** Thu Jan  1 00:38:19 1970
CONNECT high speed
DISCONNECT
CONNECT high speed
DISCONNECT
CONNECT high speed
DISCONNECT
CONNECT high speed
DISCONNECT
CONNECT high speed
DISCONNECT
CONNECT high speed

and on the Host:

[ 5453.889566] usb 2-1.5: device descriptor read/64, error 18
[ 5454.065627] usb 2-1.5: device descriptor read/64, error 18
[ 5454.241502] usb 2-1.5: new high-speed USB device number 4 using ehci-pci
[ 5454.313667] usb 2-1.5: device descriptor read/64, error 18
[ 5454.489593] usb 2-1.5: device descriptor read/64, error 18
[ 5454.665655] usb 2-1.5: new high-speed USB device number 5 using ehci-pci
[ 5454.686276] usb 2-1.5: device descriptor read/8, error -61
[ 5454.806488] usb 2-1.5: device descriptor read/8, error -61
[ 5454.981641] usb 2-1.5: new high-speed USB device number 6 using ehci-pci
[ 5455.014346] usb 2-1.5: device descriptor read/8, error -71
[ 5455.146450] usb 2-1.5: device descriptor read/8, error -71

If I sniff the communication with Wireshark, there is an error message:
malformed package

Please help! What could be the cause of this issue?
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to