Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - USB Ethernet Dongle with ASIX chipset - traffic goes to localhost: (8 Items)
   
USB Ethernet Dongle with ASIX chipset - traffic goes to localhost  
I'm using a NovPek i.mx6x board and trying to get ethernet working with a Plugable USB2-E1000 USB to Ethernet adapter.  
The behavior is really strange.  I've tried this with the stock devn-asix driver for armle-v7 as well as the driver from
 this thread (http://community.qnx.com/sf/go/topc22380).  I've also tried using a powered hub as mentioned in another 
thread.

Here are the results of various investigation attempts:
** USB finds device **
# usb -v
USB 0 (EHCI) v1.10, v1.01 DDK, v1.01 HCD
    Control, Interrupt, Bulk(SG), Isoch(Stream), Low speed, High speed

USB 1 (EHCI) v1.10, v1.01 DDK, v1.01 HCD
    Control, Interrupt, Bulk(SG), Isoch(Stream), Low speed, High speed

Device Address             : 1
Upstream Host Controller   : 1
Upstream Device Address    : 0
Upstream Port              : 0
Upstream Port Speed        : High
Vendor                     : 0x0409 (NEC)
Product                    : 0x005a
Device Release             : r1.00
Class                      : 0x09 (Hub)
Subclass                   : 0x00
Protocol                   : 0x01
Max PacketSize0            : 64
Hub Number Ports           : 4
Hub Characteristics        : 0x00a9 (Individual power, Individual over-current)
Hub Power On->Good         : 100 ms
Hub Power Requirements     : 100 mA
Configurations             : 1
  Configuration            : 1
    Attributes             : 0xe0 (Self-powered, Remote-wakeup)
    Max Power              : 100 mA

Device Address             : 2
Upstream Host Controller   : 1
Upstream Device Address    : 1
Upstream Port              : 4
Upstream Port Speed        : High
Vendor                     : 0x0b95 (ASIX Elec. Corp.)
Product                    : 0x1780 (AX88178 )
Device Release             : r0.01
Class                      : 0xff (Vendor-specific)
Subclass                   : 0xff
Protocol                   : 0x00
Max PacketSize0            : 64
Configurations             : 1
  Configuration            : 1 (0)
    Attributes             : 0xa0 (Bus-powered, Remote-wakeup)
    Max Power              : 450 mA

** start networking **
# io-pkt-v4 -d asix -ptcpip
# sloginfo
Time             Sev Major Minor Args
Jan 01 00:00:18    5    14     0 tcpip starting
Jan 01 00:00:18    3    14     0 Unable to attach to pci server: No such file or directory
Jan 01 00:00:18    3    14     0 Using pseudo random generator.  See "random" option
Jan 01 00:00:18    6    10     0 Chipset 88178
Jan 01 00:00:18    5    14     0 ax_enable_88178: eeprom index 0x17 is 0x1b
Jan 01 00:00:18    5    14     0 GPIO Setting 0x33133383

** use dhcp.client  - returns immediately only gives 0.0.0.0  **
# ifconfig
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33192
        inet 127.0.0.1 netmask 0xff000000
en0: flags=80008802<BROADCAST,SIMPLEX,MULTICAST,SHIM> mtu 1500
        address: 80:3f:d5:08:3d:ba
        media: Ethernet 100baseTX full-duplex
        status: active
# dhcp.client &
[1] 40974
# ifconfig
ifconfig
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33192
        inet 127.0.0.1 netmask 0xff000000
en0: flags=80008a43<UP,BROADCAST,RUNNING,ALLMULTI,SIMPLEX,MULTICAST,SHIM> mtu 1500
        address: 80:3f:d5:08:3d:ba
        media: Ethernet 100baseTX full-duplex
        status: active
        inet 0.0.0.0 netmask 0xff000000 broadcast 255.255.255.255
[1] + Done                 dhcp.client

** nicinfo - device seems to send and receive something **
# nicinfo
en0:
  Asix Ethernet Controller

  Physical Node ID ........................... 803FD5 083DBA
  Current Physical Node ID ................... 803FD5 083DBA
  Current Operation Rate ..................... 100.00 Mb/s full-duplex
  Active Interface Type ...................... MII
    Active PHY address ....................... 2
  Maximum Transmittable data Unit ............ 1514
  Maximum Receivable data Unit ............... 1514
  Promiscuous Mode...
View Full Message
Re: USB Ethernet Dongle with ASIX chipset - traffic goes to localhost  
You can try the attached driver.



On 2012-10-09 11:39 AM, "Rob Coker" <community-noreply@qnx.com> wrote:

>I'm using a NovPek i.mx6x board and trying to get ethernet working with a
>Plugable USB2-E1000 USB to Ethernet adapter.  The behavior is really
>strange.  I've tried this with the stock devn-asix driver for armle-v7 as
>well as the driver from this thread
>(http://community.qnx.com/sf/go/topc22380).  I've also tried using a
>powered hub as mentioned in another thread.
>
>Here are the results of various investigation attempts:
>** USB finds device **
># usb -v
>USB 0 (EHCI) v1.10, v1.01 DDK, v1.01 HCD
>    Control, Interrupt, Bulk(SG), Isoch(Stream), Low speed, High speed
>
>USB 1 (EHCI) v1.10, v1.01 DDK, v1.01 HCD
>    Control, Interrupt, Bulk(SG), Isoch(Stream), Low speed, High speed
>
>Device Address             : 1
>Upstream Host Controller   : 1
>Upstream Device Address    : 0
>Upstream Port              : 0
>Upstream Port Speed        : High
>Vendor                     : 0x0409 (NEC)
>Product                    : 0x005a
>Device Release             : r1.00
>Class                      : 0x09 (Hub)
>Subclass                   : 0x00
>Protocol                   : 0x01
>Max PacketSize0            : 64
>Hub Number Ports           : 4
>Hub Characteristics        : 0x00a9 (Individual power, Individual
>over-current)
>Hub Power On->Good         : 100 ms
>Hub Power Requirements     : 100 mA
>Configurations             : 1
>  Configuration            : 1
>    Attributes             : 0xe0 (Self-powered, Remote-wakeup)
>    Max Power              : 100 mA
>
>Device Address             : 2
>Upstream Host Controller   : 1
>Upstream Device Address    : 1
>Upstream Port              : 4
>Upstream Port Speed        : High
>Vendor                     : 0x0b95 (ASIX Elec. Corp.)
>Product                    : 0x1780 (AX88178 )
>Device Release             : r0.01
>Class                      : 0xff (Vendor-specific)
>Subclass                   : 0xff
>Protocol                   : 0x00
>Max PacketSize0            : 64
>Configurations             : 1
>  Configuration            : 1 (0)
>    Attributes             : 0xa0 (Bus-powered, Remote-wakeup)
>    Max Power              : 450 mA
>
>** start networking **
># io-pkt-v4 -d asix -ptcpip
># sloginfo
>Time             Sev Major Minor Args
>Jan 01 00:00:18    5    14     0 tcpip starting
>Jan 01 00:00:18    3    14     0 Unable to attach to pci server: No such
>file or directory
>Jan 01 00:00:18    3    14     0 Using pseudo random generator.  See
>"random" option
>Jan 01 00:00:18    6    10     0 Chipset 88178
>Jan 01 00:00:18    5    14     0 ax_enable_88178: eeprom index 0x17 is
>0x1b
>Jan 01 00:00:18    5    14     0 GPIO Setting 0x33133383
>
>** use dhcp.client  - returns immediately only gives 0.0.0.0  **
># ifconfig
>lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33192
>        inet 127.0.0.1 netmask 0xff000000
>en0: flags=80008802<BROADCAST,SIMPLEX,MULTICAST,SHIM> mtu 1500
>        address: 80:3f:d5:08:3d:ba
>        media: Ethernet 100baseTX full-duplex
>        status: active
># dhcp.client &
>[1] 40974
># ifconfig
>ifconfig
>lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33192
>        inet 127.0.0.1 netmask 0xff000000
>en0: flags=80008a43<UP,BROADCAST,RUNNING,ALLMULTI,SIMPLEX,MULTICAST,SHIM>
>mtu 1500
>        address: 80:3f:d5:08:3d:ba
>        media: Ethernet 100baseTX full-duplex
>        status: active
>        inet 0.0.0.0 netmask 0xff000000 broadcast 255.255.255.255
>[1] + Done                 dhcp.client
>
>** nicinfo - device seems to send and receive something...
View Full Message
Attachment: Text devn-asix.so 92.63 KB
RE: USB Ethernet Dongle with ASIX chipset - traffic goes to localhost  
Hugh,

Thanks for sending the new driver, but I'm wondering if I did something
wrong.  I'm getting a huge number or unknown relocation type errors when I
try to run io-pkt-v4 (list is attached).  It looks like this driver is not
detecting libc.so.3.  I have no idea why.

Rob

Attachment: Text Asix driver log.txt 8.27 KB
Re: USB Ethernet Dongle with ASIX chipset - traffic goes to localhost  
It would help if I sent you the correct driver! I sent you the x86
version, so here is the armv7 version.

Hugh.



On 2012-10-11 10:09 AM, "Rob Coker" <community-noreply@qnx.com> wrote:

>Hugh,
>
>Thanks for sending the new driver, but I'm wondering if I did something
>wrong.  I'm getting a huge number or unknown relocation type errors when I
>try to run io-pkt-v4 (list is attached).  It looks like this driver is not
>detecting libc.so.3.  I have no idea why.
>
>Rob
>
>
>
>
>
>_______________________________________________
>
>Networking Drivers
>http://community.qnx.com/sf/go/post96238
>To cancel your subscription to this discussion, please e-mail
>drivers-networking-unsubscribe@community.qnx.com

Attachment: Text devn-asix.so.armv7 90.32 KB
RE: USB Ethernet Dongle with ASIX chipset - traffic goes to localhost  
That loaded a lot better!  I'm still having the same problem - can't get
ping to work.  When I do verbose, it says destination host unreachable and
seems to be sending through 127.0.0.1.  Is there a way to determine whether
this is a driver problem or whether the problem is somewhere else?

I'm puzzled that nicinfo reports packets transmitted & received.  I'm also
puzzled that "route show" shows correct MAC addresses for the hosts on my
network.  So, the device is obviously getting some data through it.

Rob

-----Original Message-----
From: Hugh Brown [mailto:community-noreply@qnx.com] 
Sent: Thursday, October 11, 2012 9:19 AM
To: drivers-networking@community.qnx.com
Subject: Re: USB Ethernet Dongle with ASIX chipset - traffic goes to
localhost

It would help if I sent you the correct driver! I sent you the x86 version,
so here is the armv7 version.

Hugh.


Re: USB Ethernet Dongle with ASIX chipset - traffic goes to localhost  
I'll have to try the driver on ARM. The driver runs fine on x86.




On 2012-10-11 11:18 AM, "Rob Coker" <community-noreply@qnx.com> wrote:

>That loaded a lot better!  I'm still having the same problem - can't get
>ping to work.  When I do verbose, it says destination host unreachable and
>seems to be sending through 127.0.0.1.  Is there a way to determine
>whether
>this is a driver problem or whether the problem is somewhere else?
>
>I'm puzzled that nicinfo reports packets transmitted & received.  I'm also
>puzzled that "route show" shows correct MAC addresses for the 
hosts on my
>network.  So, the device is obviously getting some data through it.
>
>Rob
>
>-----Original Message-----
>From: Hugh Brown [mailto:community-noreply@qnx.com]
>Sent: Thursday, October 11, 2012 9:19 AM
>To: drivers-networking@community.qnx.com
>Subject: Re: USB Ethernet Dongle with ASIX chipset - traffic goes to
>localhost
>
>It would help if I sent you the correct driver! I sent you the x86
>version,
>so here is the armv7 version.
>
>Hugh.
>
>
>
>
>
>
>_______________________________________________
>
>Networking Drivers
>http://community.qnx.com/sf/go/post96245
>To cancel your subscription to this discussion, please e-mail
>drivers-networking-unsubscribe@community.qnx.com

Re: USB Ethernet Dongle with ASIX chipset - traffic goes to localhost  
I have run the driver on armv7 and it works just fine with the same device
that you have (0xb95 0x1780).

Hugh.



On 2012-10-11 11:18 AM, "Rob Coker" <community-noreply@qnx.com> wrote:

>That loaded a lot better!  I'm still having the same problem - can't get
>ping to work.  When I do verbose, it says destination host unreachable and
>seems to be sending through 127.0.0.1.  Is there a way to determine
>whether
>this is a driver problem or whether the problem is somewhere else?
>
>I'm puzzled that nicinfo reports packets transmitted & received.  I'm also
>puzzled that "route show" shows correct MAC addresses for the 
hosts on my
>network.  So, the device is obviously getting some data through it.
>
>Rob
>
>-----Original Message-----
>From: Hugh Brown [mailto:community-noreply@qnx.com]
>Sent: Thursday, October 11, 2012 9:19 AM
>To: drivers-networking@community.qnx.com
>Subject: Re: USB Ethernet Dongle with ASIX chipset - traffic goes to
>localhost
>
>It would help if I sent you the correct driver! I sent you the x86
>version,
>so here is the armv7 version.
>
>Hugh.
>
>
>
>
>
>
>_______________________________________________
>
>Networking Drivers
>http://community.qnx.com/sf/go/post96245
>To cancel your subscription to this discussion, please e-mail
>drivers-networking-unsubscribe@community.qnx.com

RE: USB Ethernet Dongle with ASIX chipset - traffic goes to localhost  
I guess that leaves a few options:
1. My dongle is bad
2. There are board differences (like in the USB system) that is breaking
something
3. There is something wrong with my overall QNX installation.

I'll check the dongle on a windows box to see if it works there.

Thanks for the help,
Rob

-----Original Message-----
From: Hugh Brown [mailto:community-noreply@qnx.com] 
Sent: Thursday, October 11, 2012 11:52 AM
To: drivers-networking@community.qnx.com
Subject: Re: USB Ethernet Dongle with ASIX chipset - traffic goes to
localhost

I have run the driver on armv7 and it works just fine with the same device
that you have (0xb95 0x1780).

Hugh.



On 2012-10-11 11:18 AM, "Rob Coker" <community-noreply@qnx.com> wrote:

>That loaded a lot better!  I'm still having the same problem - can't 
>get ping to work.  When I do verbose, it says destination host 
>unreachable and seems to be sending through 127.0.0.1.  Is there a way 
>to determine whether this is a driver problem or whether the problem is 
>somewhere else?
>
>I'm puzzled that nicinfo reports packets transmitted & received.  I'm 
>also puzzled that "route show" shows correct MAC addresses for 
the 
>hosts on my network.  So, the device is obviously getting some data through
it.
>
>Rob
>
>-----Original Message-----
>From: Hugh Brown [mailto:community-noreply@qnx.com]
>Sent: Thursday, October 11, 2012 9:19 AM
>To: drivers-networking@community.qnx.com
>Subject: Re: USB Ethernet Dongle with ASIX chipset - traffic goes to 
>localhost
>
>It would help if I sent you the correct driver! I sent you the x86 
>version, so here is the armv7 version.
>
>Hugh.
>
>
>
>
>
>
>_______________________________________________
>
>Networking Drivers
>http://community.qnx.com/sf/go/post96245
>To cancel your subscription to this discussion, please e-mail 
>drivers-networking-unsubscribe@community.qnx.com





_______________________________________________

Networking Drivers
http://community.qnx.com/sf/go/post96253
To cancel your subscription to this discussion, please e-mail
drivers-networking-unsubscribe@community.qnx.com