Hi
I am using arm-linux-2.6.13. Processor is PXA 255.
I have enabled USB Gadget Support in the kernel.
I am inserting following modules for USB communication.
g_serial.ko and pxa2xx_udc.ko.
While inserting g_serial.ko i have given this option (use_acm=1 ) since
this is required for Windoows Host.
Now when i connect my board with PC using USB cable ,PC detects my
device as Gadget Serial .
I open HyperTerminal on this newly detected Gadget Serial Port.
Setting of Hyper Terminal for this port are Gadget Serial are 115200, 7
bit data , 1 parity and No hand shaking.
My problem is
When i send data greater than 64 bytes from client(my board PXA255) to
host ( PC ) , i get only first 64 bytes.
( 64 bytes is the max packet size of usb bulk end point)
I can send data of 1k lenght if i devide 1k data in chunks of 64 byes.
But a write call with no of bytes greater 64 bytes always fails.
I have disabled hand shaking (~RTSCTS) on usb port.
Does anybody has faced this problem.
Your advice will of great help.
Best Regards
Anup
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users