* USB Ethernet gadget doesn't work with DM3730
@ 2011-07-14 11:34 Enric Balletbò i Serra
2011-07-29 9:41 ` Felipe Balbi
0 siblings, 1 reply; 2+ messages in thread
From: Enric Balletbò i Serra @ 2011-07-14 11:34 UTC (permalink / raw)
To: Felipe Balbi, linux-omap, linux-usb
Hi all,
Playing with USB ethernet gadget on IGEP boards with mainline kernel
(Linux 3.0.0-rc7) I observed one strange behavior. The ethernet gadget
works with one board with OMAP3530 but it doesn't with another one
with DM3730. The log looks like this:
root@igep00x0:~# modprobe g_ether
[ 51.420257] g_ether gadget: using random host ethernet address
[ 51.427886] usb0: MAC da:93:4b:2d:55:e9
[ 51.431915] usb0: HOST MAC 42:47:83:70:46:b6
[ 51.436706] g_ether gadget: Ethernet Gadget, version: Memorial Day 2008
[ 51.443725] g_ether gadget: g_ether ready
[ 51.447906] musb-hdrc musb-hdrc: MUSB HDRC host driver
[ 51.455871] musb-hdrc musb-hdrc: new USB bus registered, assigned
bus number 1
[ 51.464141] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 51.471313] usb usb1: New USB device strings: Mfr=3, Product=2,
SerialNumber=1
[ 51.478912] usb usb1: Product: MUSB HDRC host driver
[ 51.484161] usb usb1: Manufacturer: Linux 3.0.0-rc7-00027-g8d86e5f musb-hcd
[ 51.491485] usb usb1: SerialNumber: musb-hdrc
[ 51.498321] hub 1-0:1.0: USB hub found
[ 51.502410] hub 1-0:1.0: 1 port detected
root@igep00x0:~# ifconfig usb0 192.168.7.2
usb0 Link encap:Ethernet HWaddr DA:93:4B:2D:55:E9
inet addr:192.168.7.2 Bcast:192.168.7.255 Mask:255.255.255.0
UP BROADCAST RUNNING 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)
root@igep00x0:~# ping 192.168.7.1
PING 192.168.7.1 (192.168.7.1): 56 data bytes
With DM3730 I can't ping the other side (the same configuration with
OMAP3530 works without problems). Any clue on this ?
Cheers,
Enric
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: USB Ethernet gadget doesn't work with DM3730
2011-07-14 11:34 USB Ethernet gadget doesn't work with DM3730 Enric Balletbò i Serra
@ 2011-07-29 9:41 ` Felipe Balbi
0 siblings, 0 replies; 2+ messages in thread
From: Felipe Balbi @ 2011-07-29 9:41 UTC (permalink / raw)
To: Enric Balletbò i Serra; +Cc: Felipe Balbi, linux-omap, linux-usb
[-- Attachment #1: Type: text/plain, Size: 2041 bytes --]
Hi,
On Thu, Jul 14, 2011 at 01:34:54PM +0200, Enric Balletbò i Serra wrote:
> Playing with USB ethernet gadget on IGEP boards with mainline kernel
> (Linux 3.0.0-rc7) I observed one strange behavior. The ethernet gadget
> works with one board with OMAP3530 but it doesn't with another one
> with DM3730. The log looks like this:
>
> root@igep00x0:~# modprobe g_ether
>
> [ 51.420257] g_ether gadget: using random host ethernet address
> [ 51.427886] usb0: MAC da:93:4b:2d:55:e9
> [ 51.431915] usb0: HOST MAC 42:47:83:70:46:b6
> [ 51.436706] g_ether gadget: Ethernet Gadget, version: Memorial Day 2008
> [ 51.443725] g_ether gadget: g_ether ready
> [ 51.447906] musb-hdrc musb-hdrc: MUSB HDRC host driver
> [ 51.455871] musb-hdrc musb-hdrc: new USB bus registered, assigned
> bus number 1
> [ 51.464141] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
> [ 51.471313] usb usb1: New USB device strings: Mfr=3, Product=2,
> SerialNumber=1
> [ 51.478912] usb usb1: Product: MUSB HDRC host driver
> [ 51.484161] usb usb1: Manufacturer: Linux 3.0.0-rc7-00027-g8d86e5f musb-hcd
> [ 51.491485] usb usb1: SerialNumber: musb-hdrc
> [ 51.498321] hub 1-0:1.0: USB hub found
> [ 51.502410] hub 1-0:1.0: 1 port detected
>
> root@igep00x0:~# ifconfig usb0 192.168.7.2
>
> usb0 Link encap:Ethernet HWaddr DA:93:4B:2D:55:E9
> inet addr:192.168.7.2 Bcast:192.168.7.255 Mask:255.255.255.0
> UP BROADCAST RUNNING 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)
>
> root@igep00x0:~# ping 192.168.7.1
> PING 192.168.7.1 (192.168.7.1): 56 data bytes
>
> With DM3730 I can't ping the other side (the same configuration with
> OMAP3530 works without problems). Any clue on this ?
DMA problem ?? Can you check if PIO-only works ?
--
balbi
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 490 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-07-29 9:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-14 11:34 USB Ethernet gadget doesn't work with DM3730 Enric Balletbò i Serra
2011-07-29 9:41 ` Felipe Balbi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).