USB Ethernet gadget working ? | |
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] | |
Hello,
Let me apologize for this long mail, but sometimes it can be usefull to
give a lot of information :)
It is said that usb device is working on ARM (AT91RM9200) but I got this
error on the Host side (i386) :
"uhci_hcd 0000:00:1f.2: uhci_result_control: failed with status
440000" (see logs after)
1- Does anybody succeed in using ethernet gadget ?
2- Could you give me any clue to start with because I really don't known
how to debug it.
Thanks :)
Laurent
# Device side (AT91RM9200, 2.6.12 patch 20/06/2005 from
http://maxim.org.za/AT91RM9200/2.6 )
###################
/ # cat /proc/driver/udc
at91_udc: version 8 March 2005
vbus present, pullup active, self powered, suspended, gadget ether
frame 00000: frame=0
glbstate 00:
faddr 100: fen fadd=0
imr 1201: endbusres rxrsm ep0
isr 2100: wakeup rxsusp
ep0, maxpacket 8 out
csr 00008000 rxbytes=0 enabled DATA0 control OUT
(queue empty)
/ # ifconfig usb0 192.168.0.3
/ # ifconfig
usb0 Link encap:Ethernet HWaddr 12:47:57:33:24:2C
inet addr:192.168.0.3 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
/ # cat /proc/driver/udc
at91_udc: version 8 March 2005
vbus present, pullup active, self powered, suspended, gadget ether
frame 00000: frame=0
glbstate 00:
faddr 100: fen fadd=0
imr 1201: endbusres rxrsm ep0
ep0, maxpacket 8 out
csr 00008000 rxbytes=0 enabled DATA0 control OUT
(queue empty)
>>> after unplug and plug <<<<
/ # cat /proc/driver/udc
at91_udc: version 8 March 2005
vbus present, pullup active, self powered, suspended, gadget ether
frame 00000: frame=0
glbstate 00:
faddr 100: fen fadd=0
imr 1201: endbusres rxrsm ep0
isr 0100: rxsusp
ep0, maxpacket 8 out
csr 00008000 rxbytes=0 enabled DATA0 control OUT
(queue empty)
isr 2100: wakeup rxsusp
# Host side (i386, 2.6.12-gentoo-r4)
#########################
Jul 18 10:52:39 laurentb uhci_hcd 0000:00:1f.2: wakeup_hc
Jul 18 10:52:39 laurentb hub 1-0:1.0: state 5 ports 2 chg 0000 evt 0002
Jul 18 10:52:39 laurentb uhci_hcd 0000:00:1f.2: port 1 portsc 0083,00
Jul 18 10:52:39 laurentb hub 1-0:1.0: port 1, status 0101, change 0001,
12 Mb/s
Jul 18 10:52:39 laurentb hub 1-0:1.0: debounce: port 1: total 100ms
stable 100ms status 0x101
Jul 18 10:52:40 laurentb usb 1-1: new full speed USB device using
uhci_hcd and address 6
Jul 18 10:52:40 laurentb uhci_hcd 0000:00:1f.2: uhci_result_control:
failed with status 440000
Jul 18 10:52:40 laurentb [dfc66240] link (1fc661b2) element (1fc65040)
Jul 18 10:52:40 laurentb 0: [dfc65040] link (1fc65080) e0 Stalled
CRC/Timeo Length=7 MaxLen=7 DT0 EndPt=0 Dev=0, PID=2d(SETUP)
(buf=01671c40)
Jul 18 10:52:40 laurentb 1: [dfc65080] link (1fc650c0) e3 SPD Active
Length=0 MaxLen=3f DT1 EndPt=0 Dev=0, PID=69(IN) (buf=12555b20)
Jul 18 10:52:40 laurentb 2: [dfc650c0] link (00000001) e3 IOC Active
Length=0 MaxLen=7ff DT1 EndPt=0 Dev=0, PID=e1(OUT) (buf=00000000)
Jul 18 10:52:40 laurentb
Jul 18 10:52:40 laurentb uhci_hcd 0000:00:1f.2: uhci_result_control:
failed with status 440000
Jul 18 10:52:40 laurentb [dfc66270] link (1fc661b2) element (1fc65100)
Jul 18 10:52:40 laurentb 0: [dfc65100] link (1fc65140) e0 Stalled
CRC/Timeo Length=7 MaxLen=7 DT0 EndPt=0 Dev=0, PID=2d(SETUP)
(buf=01671c40)
Jul 18 10:52:40 laurentb 1: [dfc65140] link (1fc65180) e3 SPD Active
Length=0 MaxLen=3f DT1 EndPt=0 Dev=0, PID=69(IN) (buf=12555b20)
Jul 18 10:52:40 laurentb 2: [dfc65180] link (00000001) e3 IOC Active
Length=0 MaxLen=7ff DT1 EndPt=0 Dev=0, PID=e1(OUT) (buf=00000000)
Jul 18 10:52:40 laurentb
Jul 18 10:52:40 laurentb uhci_hcd 0000:00:1f.2: uhci_result_control:
failed with status 440000
Jul 18 10:52:40 laurentb [dfc66240] link (1fc661b2) element (1fc65040)
Jul 18 10:52:40 laurentb 0: [dfc65040] link (1fc65080) e0 Stalled
CRC/Timeo Length=7 MaxLen=7 DT0 EndPt=0 Dev=0, PID=2d(SETUP)
(buf=01671c40)
Jul 18 10:52:40 laurentb 1: [dfc65080] link (1fc650c0) e3 SPD Active
Length=0 MaxLen=3f DT1 EndPt=0 Dev=0, PID=69(IN) (buf=12555b20)
Jul 18 10:52:40 laurentb 2: [dfc650c0] link (00000001) e3 IOC Active
Length=0 MaxLen=7ff DT1 EndPt=0 Dev=0, PID=e1(OUT) (buf=00000000)
Jul 18 10:52:40 laurentb
Jul 18 10:52:40 laurentb usb 1-1: device descriptor read/64, error -71
Jul 18 10:52:40 laurentb uhci_hcd 0000:00:1f.2: uhci_result_control:
failed with status 440000
Jul 18 10:52:40 laurentb [dfc66240] link (1fc661b2) element (1fc65040)
Jul 18 10:52:40 laurentb 0: [dfc65040] link (1fc65080) e0 Stalled
CRC/Timeo Length=7 MaxLen=7 DT0 EndPt=0 Dev=0, PID=2d(SETUP)
(buf=1974f880)
Jul 18 10:52:40 laurentb 1: [dfc65080] link (1fc650c0) e3 SPD Active
Length=0 MaxLen=3f DT1 EndPt=0 Dev=0, PID=69(IN) (buf=16dcc860)
Jul 18 10:52:40 laurentb 2: [dfc650c0] link (00000001) e3 IOC Active
Length=0 MaxLen=7ff DT1 EndPt=0 Dev=0, PID=e1(OUT) (buf=00000000)
Jul 18 10:52:40 laurentb
Jul 18 10:52:40 laurentb uhci_hcd 0000:00:1f.2: uhci_result_control:
failed with status 440000
Jul 18 10:52:40 laurentb [dfc66270] link (1fc661b2) element (1fc65100)
Jul 18 10:52:40 laurentb 0: [dfc65100] link (1fc65140) e0 Stalled
CRC/Timeo Length=7 MaxLen=7 DT0 EndPt=0 Dev=0, PID=2d(SETUP)
(buf=1974f880)
Jul 18 10:52:40 laurentb 1: [dfc65140] link (1fc65180) e3 SPD Active
Length=0 MaxLen=3f DT1 EndPt=0 Dev=0, PID=69(IN) (buf=16dcc860)
Jul 18 10:52:40 laurentb 2: [dfc65180] link (00000001) e3 IOC Active
Length=0 MaxLen=7ff DT1 EndPt=0 Dev=0, PID=e1(OUT) (buf=00000000)
Jul 18 10:52:40 laurentb
Jul 18 10:52:40 laurentb uhci_hcd 0000:00:1f.2: uhci_result_control:
failed with status 440000
Jul 18 10:52:40 laurentb [dfc66240] link (1fc661b2) element (1fc65040)
Jul 18 10:52:40 laurentb 0: [dfc65040] link (1fc65080) e0 Stalled
CRC/Timeo Length=7 MaxLen=7 DT0 EndPt=0 Dev=0, PID=2d(SETUP)
(buf=1974f880)
Jul 18 10:52:40 laurentb 1: [dfc65080] link (1fc650c0) e3 SPD Active
Length=0 MaxLen=3f DT1 EndPt=0 Dev=0, PID=69(IN) (buf=16dcc860)
Jul 18 10:52:40 laurentb 2: [dfc650c0] link (00000001) e3 IOC Active
Length=0 MaxLen=7ff DT1 EndPt=0 Dev=0, PID=e1(OUT) (buf=00000000)
Jul 18 10:52:40 laurentb
Jul 18 10:52:40 laurentb usb 1-1: device descriptor read/64, error -71
Jul 18 10:52:40 laurentb usb 1-1: new full speed USB device using
uhci_hcd and address 7
Jul 18 10:52:40 laurentb uhci_hcd 0000:00:1f.2: uhci_result_control:
failed with status 440000
Jul 18 10:52:40 laurentb [dfc66240] link (1fc661b2) element (1fc65040)
Jul 18 10:52:40 laurentb 0: [dfc65040] link (1fc65080) e0 Stalled
CRC/Timeo Length=7 MaxLen=7 DT0 EndPt=0 Dev=0, PID=2d(SETUP)
(buf=1974f880)
Jul 18 10:52:40 laurentb 1: [dfc65080] link (1fc650c0) e3 SPD Active
Length=0 MaxLen=3f DT1 EndPt=0 Dev=0, PID=69(IN) (buf=16dcc860)
Jul 18 10:52:40 laurentb 2: [dfc650c0] link (00000001) e3 IOC Active
Length=0 MaxLen=7ff DT1 EndPt=0 Dev=0, PID=e1(OUT) (buf=00000000)
Jul 18 10:52:40 laurentb
Jul 18 10:52:40 laurentb uhci_hcd 0000:00:1f.2: uhci_result_control:
failed with status 440000
Jul 18 10:52:40 laurentb [dfc66270] link (1fc661b2) element (1fc65100)
Jul 18 10:52:40 laurentb 0: [dfc65100] link (1fc65140) e0 Stalled
CRC/Timeo Length=7 MaxLen=7 DT0 EndPt=0 Dev=0, PID=2d(SETUP)
(buf=1974f880)
Jul 18 10:52:40 laurentb 1: [dfc65140] link (1fc65180) e3 SPD Active
Length=0 MaxLen=3f DT1 EndPt=0 Dev=0, PID=69(IN) (buf=16dcc860)
Jul 18 10:52:40 laurentb 2: [dfc65180] link (00000001) e3 IOC Active
Length=0 MaxLen=7ff DT1 EndPt=0 Dev=0, PID=e1(OUT) (buf=00000000)
...................
...................
Jul 18 10:52:41 laurentb usb 1-1: device not accepting address 9, error
-71
Jul 18 10:52:41 laurentb hub 1-0:1.0: state 5 ports 2 chg 0000 evt 0002
-------------------------------------------------------------------
List admin: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
FAQ: http://www.arm.linux.org.uk/mailinglists/faq.php
Etiquette: http://www.arm.linux.org.uk/mailinglists/etiquette.php
[Site Home] [IETF Annouce] [Security] [Bugtraq] [Linux] [Linux ARM Kernel] [Linux MIPS] [ECOS] [Tools] [DDR & Rambus] [Monitors]