Skip to contentSkip to conversation

usbtty and PXA27x problems

U-Boot-Users Rodolfo Giometti 2 participants 2 messages May 11, 2007

lore
Share & tools
lore
#0 lore raw

Hello,

trying usbtty with my new pxa27x UDC driver I got:

   May 11 11:14:26 vvonth kernel: [244681.451000] usb 1-1: unable to read config index 0 descriptor/start
   May 11 11:14:26 vvonth kernel: [244681.451000] usb 1-1: chopping to 0 config(s)
   May 11 11:14:37 vvonth kernel: [244691.818000] usb 1-1: no configuration chosen from 0 choices

giometti at vvonth:~$ lsusb
Bus 001 Device 016: ID 0525:a4a6 Netchip Technology, Inc. Linux-USB Serial Gadget Bus 001 Device 001: ID 0000:0000

That looks strange since the device is reconigned but it seems that it has no configurations at all!

I chacked that when USB host ask:

debug: udc_dump_buffer(), 65: ep0 setup read - buf a1fc0710, len 8

           80 06 00 01 00 00 12 00 

usbttys answers:

debug: udc_dump_buffer(), 65: ep0 setup write - buf a1fc0734, len 18

           12 01 10 01 ff 00 00 10 25 05 a6 a4 00 00 01 02 
           03 01 

saying it has 1 configuration... but the system ignores it!

Suggestions?

Rodolfo

Signature · 4 lines
GNU/Linux Solutions                  e-mail:    giometti at enneenne.com
Linux Device Driver                             giometti at gnudd.com
Embedded Systems                     		giometti at linux.it
UNIX programming                     phone:     +39 349 2432127
#1 lore raw
Quoted 5 lines · On Fri, 11 May 2007 11:36:28 +0200 Rodolfo Giometti <[email protected]>…
   debug: udc_dump_buffer(), 65: ep0 setup read - buf a1fc0710, len

8 80 06 00 01 00 00 12 00

usbttys answers:

Quoted 7 lines
   debug: udc_dump_buffer(), 65: ep0 setup write - buf a1fc0734,
len 18 12 01 10 01 ff 00 00 10 25 05 a6 a4 00 00 01 02 
           03 01 

saying it has 1 configuration... but the system ignores it!

Suggestions?

Hmmm.. You might want to try.

Either.

=> setenv usbtty cdc_acm

or

root at spock:/home/deckard # modprobe usbserial vendor=0x0525 product=0xa4a6

Best,
Bryan