Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Jul 2009 18:41:14 +0300
From:      Krassimir Slavchev <krassi@bulinfo.net>
To:        Hans Petter Selasky <hselasky@c2i.net>
Cc:        freebsd-arm@freebsd.org
Subject:   Re: ohci not detected on at91rm9200?
Message-ID:  <4A5DF89A.1070004@bulinfo.net>
In-Reply-To: <200907151532.03875.hselasky@c2i.net>
References:  <4A5C3BF5.9030200@bulinfo.net> <200907151353.21403.hselasky@c2i.net> <4A5DD842.3080007@bulinfo.net> <200907151532.03875.hselasky@c2i.net>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hans Petter Selasky wrote:
> On Wednesday 15 July 2009 15:23:14 Krassimir Slavchev wrote:
>> Hans Petter Selasky wrote:
>>>> It is detected but after configuring the interface I cannot send/receive
> 
>>> You need to "ifconfig up" the interface on both sides before any traffic
>>> will pass.
>> Of course they are:
>>
>> cdce0:
>> flags=108c43<UP,BROADCAST,RUNNING,OACTIVE,SIMPLEX,MULTICAST,NEEDSGIANT>
>> metric 0 mtu 1500
>>         ether 2a:00:00:00:00:00
>>         inet 192.168.2.121 netmask 0xffffff00 broadcast 192.168.2.255
>>         media: Ethernet 10baseT/UTP
>>         status: active
>>
>> ate0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
>>         options=8<VLAN_MTU>
>>         ether 43:00:00:01:ff:00
>>         inet 192.168.2.189 netmask 0xffffff00 broadcast 192.168.2.255
>>         media: Ethernet autoselect (100baseTX <full-duplex>)
>>         status: active
> 
> You should have cdce devices on both sides, PC and Host. Looks like there will 
> be a network conflict if you use 192.168.2.xx for both network devices when  
> they are not on the same cable.
> 
> ?

Yes, I realize that.

After adding cdce on arm board:
cdce0: <USB Ethernet Comm interface> on usbus0
ue0: <USB Ethernet> on cdce0
ue0: Ethernet address: 2a:23:45:67:89:54

ue0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        ether 2a:23:45:67:89:54


But on the other side running 7.2:
cdce0: <FreeBSD foundation USB Ethernet Adapter, class 2/0, rev
1.10/1.00, addr 2> on uhub4
cdce0: setting alternate interface failed
device_attach: cdce0 attach returned 6


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (FreeBSD)

iD8DBQFKXfiaxJBWvpalMpkRAi6fAJwMzhfBcwNouW4Y7iPFFHl9PjiUTQCcCSzB
hlRr1q6cBUpGcGXjgm9/wh8=
=bXm9
-----END PGP SIGNATURE-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A5DF89A.1070004>