Forums - USB wired adapter?

14 posts / 0 new
Last post
USB wired adapter?
tcanham
Join Date: 18 Aug 16
Location: Pasadena, CA
Posts: 77
Posted: Wed, 2016-08-24 10:17

We have a lab setup that requires a wired ethernet connection. I see that the SF board has an OTG USB port. I have an OTG to regular USB adapter. Does anyone know of a USB to wired ethernet adapter that is compatible with this Linux distribution?

  • Up0
  • Down0
br_robot Moderator
Join Date: 21 Nov 14
Location: San Diego
Posts: 151
Posted: Wed, 2016-08-24 14:41

We use the following USB Ethernet adapter: http://www.apple.com/shop/product/MC704LL/A/apple-usb-ethernet-adapter along with a USB 2.0 Female to Micro USB Male OTG adapter (such as http://www.rakuten.com/prod/268480078.html).

  • Up0
  • Down0
tcanham
Join Date: 18 Aug 16
Location: Pasadena, CA
Posts: 77
Posted: Tue, 2016-09-27 12:28

I was able to get it up and running. Here are my settings in /etc/network/interfaces:

auto eth0
iface eth0 inet static
   address 192.168.2.20
   netmask 255.255.255.0
   gateway 192.168.2.1
 
 
 
 
  • Up0
  • Down0
tcanham
Join Date: 18 Aug 16
Location: Pasadena, CA
Posts: 77
Posted: Fri, 2016-12-16 07:52

Strange update to this question:

I just bought more Apple USB adapters, and none of them work. The first batch I bought in August work fine.

Here is the /var/log/syslog messages for the non-working one:

Jan  1 00:07:04 linaro-developer kernel: [  421.522736] asix 1-1:1.0: eth3: unregister 'asix' usb-msm_ehci_host-1, ASIX AX88772 USB 2.0 Ethernet
Jan  1 00:07:07 linaro-developer kernel: [  424.004631] msm_ehci_host msm_ehci_host: EHCI USB in low power mode
Jan  1 00:07:25 linaro-developer kernel: [  442.569649] msm_ehci_host msm_ehci_host: EHCI USB exited from low power mode
Jan  1 00:07:26 linaro-developer kernel: [  442.833942] usb 1-1: new high-speed USB device number 7 using msm_ehci_host
Jan  1 00:07:26 linaro-developer kernel: [  443.001799] usb 1-1: New USB device found, idVendor=05ac, idProduct=1402
Jan  1 00:07:26 linaro-developer kernel: [  443.001843] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Jan  1 00:07:26 linaro-developer kernel: [  443.001880] usb 1-1: Product: Apple USB Ethernet Adapter
Jan  1 00:07:26 linaro-developer kernel: [  443.001911] usb 1-1: Manufacturer: Apple Inc.      
Jan  1 00:07:26 linaro-developer kernel: [  443.001941] usb 1-1: SerialNumber: 3BFF59
Jan  1 00:07:26 linaro-developer kernel: [  443.340061] asix 1-1:1.0: eth0: register 'asix' at usb-msm_ehci_host-1, ASIX AX88772 USB 2.0 Ethernet, 08:6d:41:e6:f2:81
 
Running "ifconfig" shows no configured "eth0":
 
Here is the older working one:
 
Jan  1 00:07:46 linaro-developer kernel: [  463.131859] usb 1-1: USB disconnect, device number 7
Jan  1 00:07:46 linaro-developer kernel: [  463.132718] asix 1-1:1.0: eth3: unregister 'asix' usb-msm_ehci_host-1, ASIX AX88772 USB 2.0 Ethernet
Jan  1 00:07:49 linaro-developer kernel: [  466.014872] msm_ehci_host msm_ehci_host: EHCI USB in low power mode
Jan  1 00:08:02 linaro-developer kernel: [  479.168144] msm_ehci_host msm_ehci_host: EHCI USB exited from low power mode
Jan  1 00:08:02 linaro-developer kernel: [  479.433835] usb 1-1: new high-speed USB device number 8 using msm_ehci_host
Jan  1 00:08:02 linaro-developer kernel: [  479.601751] usb 1-1: New USB device found, idVendor=05ac, idProduct=1402
Jan  1 00:08:02 linaro-developer kernel: [  479.601797] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Jan  1 00:08:02 linaro-developer kernel: [  479.601833] usb 1-1: Product: Apple USB Ethernet Adapter
Jan  1 00:08:02 linaro-developer kernel: [  479.601865] usb 1-1: Manufacturer: Apple Inc.      
Jan  1 00:08:02 linaro-developer kernel: [  479.601896] usb 1-1: SerialNumber: 3983AC
Jan  1 00:08:03 linaro-developer kernel: [  479.940112] asix 1-1:1.0: eth0: register 'asix' at usb-msm_ehci_host-1, ASIX AX88772 USB 2.0 Ethernet, 08:6d:41:e4:76:d4
Jan  1 00:08:04 linaro-developer kernel: [  480.873539] ADDRCONF(NETDEV_UP): eth0: link is not ready
 
ifconfig shows the ip address, etc, as I set it up in earlier comments in the ticket. This one has me baffled. The models and product ID are the same as can be seen above, it just doesn't work. I do:
 
/etc/init.d/networking restart
 
to no effect.
 
Any advice?
 
  • Up0
  • Down0
James Wilson Moderator
Join Date: 11 Apr 14
Posts: 192
Posted: Fri, 2016-12-16 15:22

It looks like from the output that the ASIX chipset used in the same, so this is indeed strange.  

I would recommend finding another adapter that is known to work with older versions of the linux kernel.  I am trying to find out what linux kernel version we are using.  "uname -a" does not provide this information unfortunately.

I will post an update to the thread once I get more information.

Jim W.

  • Up0
  • Down0
James Wilson Moderator
Join Date: 11 Apr 14
Posts: 192
Posted: Fri, 2016-12-16 15:40

Okay, I misread the uname output.  It appears as:

"3.4.0-eagle8074"

This is a reference to the 3.4.0 Linux kernel.  My recommendation would be to find an alternate USB to Ethernet adapter that claims support for this kernel, or older.

Jim W.

  • Up0
  • Down0
Re: USB wired adapter? Best Answer
tcanham
Join Date: 18 Aug 16
Location: Pasadena, CA
Posts: 77
Posted: Tue, 2016-12-20 10:04

I was able to figure it out. It turns out that the adapter is installing itself as "eth1". I was able to see it by typing:

root@linaro-developer:/# ip link show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN mode DEFAULT group default 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
...
21: eth1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN mode DEFAULT group default qlen 1000
    link/ether 08:6d:41:e6:d4:c1 brd ff:ff:ff:ff:ff:ff
...
23: wlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
    link/ether 00:03:7f:72:69:33 brd ff:ff:ff:ff:ff:ff
...
 
Adding the correct entries to /etc/network/interfaces got it working again.
  • Up0
  • Down0
James Wilson Moderator
Join Date: 11 Apr 14
Posts: 192
Posted: Tue, 2016-12-20 14:07

Excellent!  Good catch!!

Thanks for the update.

Jim W.

  • Up0
  • Down0
tcanham
Join Date: 18 Aug 16
Location: Pasadena, CA
Posts: 77
Posted: Tue, 2017-02-28 15:08

I found another adapter that works with the board:

Linksys USB 3.0 Gigabit Ethernet Adapter, model USB3GIGV1. It enumerates as "eth0" on our boards.

  • Up0
  • Down0
bgee
Join Date: 13 Sep 16
Posts: 90
Posted: Tue, 2018-01-16 17:59

Is there driver support for the Microchip LAN9500AI  USB to Ethernet adapter?  I plugged it is identified by the usb, but no ethernet adapter is shown when listing with "ifconfig".  Is there an alternative USB to Ethernet adapter that is supported?

http://www.microchip.com/DevelopmentTools/ProductDetails.aspx?PartNO=EVB...
 
Bus 002 Device 004: ID 0424:9e00 Standard Microsystems Corp.
 
  • Up0
  • Down0
tcanham
Join Date: 18 Aug 16
Location: Pasadena, CA
Posts: 77
Posted: Wed, 2018-01-17 08:51

See my above comment about using "root@linaro-developer:/# ip link show"

There may be a device in that list that you can add to /etc/network/interfaces.

  • Up0
  • Down0
bgee
Join Date: 13 Sep 16
Posts: 90
Posted: Wed, 2018-01-17 13:13

I'm beginning to think I might be SOL.  Below are some outputs to the suggestions.  I don't see an new eth#: ever created in the log.

Here is the /var/log/syslog output.
 

Jan 17 21:02:57 linaro-developer kernel: [  966.058141] msm_ehci_host msm_ehci_host: EHCI USB in low power mode
Jan 17 21:02:57 linaro-developer kernel: [  966.306655] msm_ehci_host msm_ehci_host: EHCI USB exited from low power mode
Jan 17 21:02:58 linaro-developer kernel: [  966.569137] usb 1-1: new high-speed USB device number 3 using msm_ehci_host
Jan 17 21:02:58 linaro-developer kernel: [  966.722354] usb 1-1: New USB device found, idVendor=0424, idProduct=9e00
Jan 17 21:02:58 linaro-developer kernel: [  966.722404] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Jan 17 21:02:58 linaro-developer kernel: [  966.722442] usb 1-1: Product: LAN9500A
Jan 17 21:02:58 linaro-developer kernel: [  966.722472] usb 1-1: Manufacturer: SMSC
Jan 17 21:02:58 linaro-developer kernel: [  966.722501] usb 1-1: SerialNumber: 655595e004e5
 
Here is the "ip link show".  nothing new pops up when I plug in the adapter.
22: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DORMANT group default qlen 1000
    link/ether 00:03:7f:19:95:37 brd ff:ff:ff:ff:ff:ff
23: p2p0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN mode DORMANT group default qlen 1000
    link/ether 06:03:7f:19:95:37 brd ff:ff:ff:ff:ff:ff
 
here is my /etc/network/interfaces
# interfaces(5) file used by ifup(8) and ifdown(8)
# Include files from /etc/network/interfaces.d:
#source-directory /etc/network/interfaces.d
source /etc/network/interfaces.d/*
 
auto lo
iface lo inet loopback
 
auto eth0
iface eth0 inet dhcp
#iface default inet dhcp
 
auto eth1
iface eth1 inet dhcp
 
 
 
  • Up0
  • Down0
johnsonberry56
Join Date: 1 Nov 18
Posts: 1
Posted: Thu, 2018-11-01 00:53

The IP address error message executes while users are turning on the computer or are even working in sleep mode when two PC devices on the same LAN network end up conflicting with the same IP Address Conflict

  • Up0
  • Down0
aidmall
Join Date: 26 Apr 19
Posts: 1
Posted: Fri, 2019-04-26 02:17

There is more information about USB here.

  • Up0
  • Down0
or Register

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.