ethernet usb not recognized with adalm pluto

Hi,

I have an Ethernet usb adapter like this:

https://www.amazon.es/AmazonBasics-Adaptador-red-LAN-Ethernet/dp/B00M77HLII/ref=sr_1_29?ie=UTF8&qid=1525853686&sr=8-29&keywords=usb+ethernet

but for some reason when I plug this device to the pluto usb througth and OTG cable with an usb power connected to the other usb for powering the pluto the ethernet adapter doesn't turn on(green led is OFF) and do nothing.

I don't know what to do because with this device connected to usb I can't go inside pluto to see if device is recognized or not.

the adapter is working correctly with usb 2.0 in a windows machine.

I tried to use a usb hub for powering the adapter with an external power source but nothing.

Any ideas?.

thanks.

Parents
  • 0
    •  Analog Employees 
    on May 11, 2018 12:22 PM over 2 years ago

    This looks a bit unexpected are you sure your OTG Host adaptor is working?

    It must handle the ID pin correctly, I'm saying this because some don't!

    If you are in USB HOST mode you should see:

    hub 1-0:1.0: USB hub found
    hub 1-0:1.0: 1 port detected

    Jan  1 00:00:02 (none) user.warn kernel: e0002000.usb supply vbus not found, using dummy regulator
    Jan  1 00:00:02 (none) user.info kernel: ULPI transceiver vendor/product ID 0x0424/0x0007
    Jan  1 00:00:02 (none) user.info kernel: Found SMSC USB3320 ULPI transceiver.
    Jan  1 00:00:02 (none) user.info kernel: ULPI integrity check: passed.
    Jan  1 00:00:02 (none) user.info kernel: ci_hdrc ci_hdrc.0: EHCI Host Controller
    Jan  1 00:00:02 (none) user.info kernel: ci_hdrc ci_hdrc.0: new USB bus registered, assigned bus number 1
    Jan  1 00:00:02 (none) user.info kernel: ci_hdrc ci_hdrc.0: USB 2.0 started, EHCI 1.00
    Jan  1 00:00:02 (none) user.info kernel: usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    Jan  1 00:00:02 (none) user.info kernel: usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    Jan  1 00:00:02 (none) user.info kernel: usb usb1: Product: EHCI Host Controller
    Jan  1 00:00:02 (none) user.info kernel: usb usb1: Manufacturer: Linux 4.9.0-10330-gb4b067a ehci_hcd
    Jan  1 00:00:02 (none) user.info kernel: usb usb1: SerialNumber: ci_hdrc.0
    Jan  1 00:00:02 (none) user.info kernel: hub 1-0:1.0: USB hub found
    Jan  1 00:00:02 (none) user.info kernel: hub 1-0:1.0: 1 port detected
    Jan  1 00:00:02 (none) user.info kernel: mousedev: PS/2 mouse device common for all mice
    Jan  1 00:00:02 (none) user.info kernel: i2c /dev entries driver
    Jan  1 00:00:02 (none) user.info kernel: cdns-wdt f8005000.watchdog: Xilinx Watchdog Timer at e083a000 with timeout 10s
    Jan  1 00:00:02 (none) user.info kernel: Xilinx Zynq CpuIdle Driver started
    Jan  1 00:00:02 (none) user.info kernel: ledtrig-cpu: registered to indicate activity on CPUs
    Jan  1 00:00:02 (none) user.info kernel: hidraw: raw HID events driver (C) Jiri Kosina
    Jan  1 00:00:02 (none) user.info kernel: usbcore: registered new interface driver usbhid
    Jan  1 00:00:02 (none) user.info kernel: usbhid: USB HID core driver
    Jan  1 00:00:02 (none) user.info kernel: usbcore: registered new interface driver r8712u
    Jan  1 00:00:02 (none) user.info kernel: usbcore: registered new interface driver r8188eu
    Jan  1 00:00:02 (none) user.info kernel: ad9361 spi32766.0: ad9361_probe : enter (ad9363a)
    Jan  1 00:00:02 (none) user.notice kernel: random: fast init done
    Jan  1 00:00:02 (none) user.info kernel: ad9361 spi32766.0: ad9361_probe : AD936x Rev 2 successfully initialized
    Jan  1 00:00:02 (none) user.info kernel: cf_axi_dds 79024000.cf-ad9361-dds-core-lpc: Analog Devices CF_AXI_DDS_DDS MASTER (9.00.b) at 0x79024000 mapped to 0xe083e000, probed DDS AD9364
    Jan  1 00:00:02 (none) user.info kernel: NET: Registered protocol family 17
    Jan  1 00:00:02 (none) user.notice kernel: Registering SWP/SWPB emulation handler
    Jan  1 00:00:02 (none) user.info kernel: usb 1-1: new high-speed USB device number 2 using ci_hdrc
    Jan  1 00:00:02 (none) user.info kernel: usb 1-1: New USB device found, idVendor=0bda, idProduct=8153
    Jan  1 00:00:02 (none) user.info kernel: usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=6
    Jan  1 00:00:02 (none) user.info kernel: usb 1-1: Product: USB 10/100/1000 LAN
    Jan  1 00:00:02 (none) user.info kernel: usb 1-1: Manufacturer: Realtek
    Jan  1 00:00:02 (none) user.info kernel: usb 1-1: SerialNumber: 000001000000
    Jan  1 00:00:02 (none) user.info kernel: usb 1-1: reset high-speed USB device number 2 using ci_hdrc
    Jan  1 00:00:02 (none) user.info kernel: cf_axi_adc 79020000.cf-ad9361-lpc: ADI AIM (10.00.b) at 0x79020000 mapped to 0xe0938000, probed ADC AD9364 as MASTER
    Jan  1 00:00:02 (none) user.info kernel: input: gpio_keys as /devices/soc0/gpio_keys/input/input0
    Jan  1 00:00:02 (none) user.info kernel: Freeing unused kernel memory: 228K (c05df000 - c0618000)
    Jan  1 00:00:02 (none) user.warn kernel: This architecture does not have kernel memory protection.

    -Michael

  • similar problem here: I connect via OTG a Ethernet adapter LinSys 3G (Realtek RTL8153) and get this dmesg output

    usb0: HOST MAC 00:e0:22:66:9c:90
    usb0: MAC 00:05:f7:3f:75:ba
    random: dbus-uuidgen: uninitialized urandom read (12 bytes read)
    random: dbus-uuidgen: uninitialized urandom read (8 bytes read)
    random: dbus-daemon: uninitialized urandom read (12 bytes read)
    random: crng init done
    random: 1 urandom warning(s) missed due to ratelimiting
    configfs-gadget gadget: high-speed config #1: c
    ci_hdrc ci_hdrc.0: EHCI Host Controller
    ci_hdrc ci_hdrc.0: new USB bus registered, assigned bus number 1
    ci_hdrc ci_hdrc.0: USB 2.0 started, EHCI 1.00
    usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19
    usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    usb usb1: Product: EHCI Host Controller
    usb usb1: Manufacturer: Linux 4.19.0-119999-g6edc6cd ehci_hcd
    usb usb1: SerialNumber: ci_hdrc.0
    hub 1-0:1.0: USB hub found
    hub 1-0:1.0: 1 port detected
    usb 1-1: new high-speed USB device number 2 using ci_hdrc
    usb 1-1: New USB device found, idVendor=13b1, idProduct=0041, bcdDevice=30.00
    usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=6
    usb 1-1: Product: Linksys USB3GIGV1
    usb 1-1: Manufacturer: Linksys
    usb 1-1: SerialNumber: 000001000000
    usb 1-1: reset high-speed USB device number 2 using ci_hdrc
    r8152 1-1:1.0 eth0: v1.09.9
    r8152 1-1:1.0 eth0: carrier on
    usb 1-1: USB disconnect, device number 2
    ci_hdrc ci_hdrc.0: remove, state 1
    usb usb1: USB disconnect, device number 1
    ci_hdrc ci_hdrc.0: USB bus 1 deregistered
    configfs-gadget gadget: high-speed config #1: c

    The Ethernet-adapter seems to be recognized. If I run a network scan with pluto connected via usb to PC I get:

    Scanning 192.168.1.222 [1 port]
    Completed ARP Ping Scan at 15:09, 0.12s elapsed (1 total hosts)
    Initiating Parallel DNS resolution of 1 host. at 15:09
    Completed Parallel DNS resolution of 1 host. at 15:09, 0.01s elapsed
    Initiating SYN Stealth Scan at 15:09
    Scanning 192.168.1.222 [1000 ports]
    Discovered open port 80/tcp on 192.168.1.222
    Discovered open port 22/tcp on 192.168.1.222
    Completed SYN Stealth Scan at 15:09, 0.14s elapsed (1000 total ports)
    Initiating Service scan at 15:09
    Scanning 2 services on 192.168.1.222
    Completed Service scan at 15:09, 6.05s elapsed (2 services on 1 host)
    Initiating OS detection (try #1) against 192.168.1.222
    NSE: Script scanning 192.168.1.222.
    ...
    Nmap scan report for 192.168.1.222
    Host is up (0.00023s latency).
    Not shown: 998 closed ports
    PORT   STATE SERVICE VERSION
    22/tcp open  ssh     Dropbear sshd 2019.78 (protocol 2.0)
    80/tcp open  http    BusyBox httpd
    |_http-favicon: Unknown favicon MD5: F539FEB2B3973537F484FAB50D86E502
    | http-methods: 
    |_  Supported Methods: GET HEAD
    |_http-title: ADALM-PLUTO On-board documentation
    MAC Address: 00:05:F7:3F:75:BA (Analog Devices)
    Device type: general purpose
    Running: Linux 3.X|4.X
    OS CPE: cpe:/o:linux:linux_kernel:3 cpe:/o:linux:linux_kernel:4
    OS details: Linux 3.2 - 4.9
    Uptime guess: 3.170 days (since Mon Jan 11 11:05:42 2021)

    if I run the same network scan with pluto connected via OTG + Ethernet adapter I get

    Nmap scan report for 192.168.1.222
    Host is up (0.0010s latency).
    All 1000 scanned ports on 192.168.1.222 are filtered
    MAC Address: E8:9F:80:83:18:6A (Unknown)

    This is the config.txt

    [NETWORK]
    hostname = pluto
    ipaddr = 192.168.1.222
    ipaddr_host = 192.168.1.223
    netmask = 255.255.255.0
    
    [WLAN]
    ssid_wlan = B90
    pwd_wlan = ...
    ipaddr_wlan = 
    
    [USB_ETHERNET]
    ipaddr_eth = 
    netmask_eth = 255.255.255.0

    Why are there no ports if I use the OTG + Ethernet-adapter combination? (USB to PC works as exspected)

    Thanks, Andreas

  • 0
    •  Analog Employees 
    on Jan 15, 2021 7:48 AM 3 months ago in reply to sensorsiot

    What Version of Pluto do you have?

    There is a know issue that can trigger USB stability when used with certain hosts/devices:

    If you search you can find more possible fixes for this...

    73 de dl6seg

  • Hi Michael

    Pluto is rev. B. I updated just to your current version 0.32 - but the same behavior: IP-address not detected.

    I soldered a shortcut between GND and PGND (as recommended). IP-address still not detected.

    BTW: Rev C: please improve frequency-stability. Give us a option to inject stable GPS-signal. Are there (coarse) expectations, when we can order it? 

    73 de hb9hci, Andreas

  • I have changed to my 2nd pluto and voillà it works!

    So it seems a device with defect.

    My problem is solved!

    But my question when will we be able to order rev C is still open.

    Andreas

  • 0
    •  Analog Employees 
    on Jan 18, 2021 7:28 AM 2 months ago in reply to HB9HCI

    Hi Andreas,

    PCBs are build, however they only get assembled once the global inventory of Pluto reaches a threshold level. So right now this is not the case.

    -Michael 

Reply Children
No Data