hello,
I am using pxa271 on our customed board, and want to make usb device to work as ACM device. I use serial.c from 2.6.11.12 on linux-2.4.20 with a few modify to header file(no single modify to serial.c). My pxa27x_udc works with usb-storage, rndis, cdc. but when I insmod g_serial.o use_acm=1 and had prepared the gserial.inf as gadget-serial tell. I got set_configuration of 2, and class req of USB_CDC_REQ_GET_LINE_CODING and return with (9600,0,0,8) and USB_CDC_REQ_SET_CONTROL_LINE_STATE, then choose gserial.inf, but the windows hang for serial minutes, and indicate unsuccessful hardware, What is the communication next to class_setup?Following is some debug info.
    Thank you for your help.
------------------------
cat /proc/driver/udc
ep0 max 16 pio irqs 52
       (nothing queued)
ep1in-bulk max 64 pio udccsr 41 udccr 400d103 irqs 0/0
       (nothing queued)
ep2out-bulk max 64 pio udccsr 00 udccr 4014103 irqs 0/0
       req c1d2aa20 len 0/64 buf c1d2aa60
       req c1d2aaa0 len 0/64 buf c1d2aae0
       ......
ep5in-int max 8 pio udccsr 41 udccr 402f023 irqs 0/0
       (nothing queued)

insmod g_serial.o use_acm=1
gs_bind: Gadget Serial v2.0 bound
gs_module_init: Gadget Serial v2.0 loaded
SUSpend!
suspend <2>SUSpend!
suspend <6>gs_set_config: Gadget Serial configured, full speed CDC-ACM config
IECC 2,0,0

_________________________________________________________________
与联机的朋友进行交流,请使用 MSN Messenger: http://messenger.msn.com/cn


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
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