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
  • well, the dmesg output this, but I'm not sure if device is detected or not because I see a lot of devices drivers(bold) but not sure wich one is:

    Booting Linux on physical CPU 0x0
    Linux version 4.9.0-10194-g40c2158 (michael@mhenneri-D06) (gcc version 4.9.2 (Sourcery CodeBench Lite 2015.05-17) ) #207 SMP PREEMPT Mon Dec 18 18:24:33 CET 2017
    CPU: ARMv7 Processor [413fc090] revision 0 (ARMv7), cr=18c5387d
    CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    OF: fdt:Machine model: Analog Devices PlutoSDR Rev.B (Z7010/AD9363)
    cma: Reserved 256 MiB at 0x0e400000
    Memory policy: Data cache writealloc
    On node 0 totalpages: 131072
    free_area_init_node: node 0, pgdat c0650100, node_mem_map dfb77000
      Normal zone: 1024 pages used for memmap
      Normal zone: 0 pages reserved
      Normal zone: 131072 pages, LIFO batch:31
    percpu: Embedded 13 pages/cpu @dfb51000 s23744 r8192 d21312 u53248
    pcpu-alloc: s23744 r8192 d21312 u53248 alloc=13*4096
    pcpu-alloc: [0] 0 [0] 1
    Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 130048
    Kernel command line: console=ttyPS0,115200 maxcpus= rootfstype=ramfs root=/dev/r                                                                                                                                                             am0 rw quiet loglevel=4 uboot=U-Boot PlutoSDR v0.20-PlutoSDR-00041-g4bdff59 (May                                                                                                                                                              26 2017 - 13:07:26 +0200)
    PID hash table entries: 2048 (order: 1, 8192 bytes)
    Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
    Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
    Memory: 245528K/524288K available (4559K kernel code, 243K rwdata, 1236K rodata,                                                                                                                                                              228K init, 150K bss, 16616K reserved, 262144K cma-reserved, 0K highmem)
    Virtual kernel memory layout:
        vector  : 0xffff0000 - 0xffff1000   (   4 kB)
        fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
        vmalloc : 0xe0800000 - 0xff800000   ( 496 MB)
        lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
        pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
        modules : 0xbf000000 - 0xbfe00000   (  14 MB)
          .text : 0xc0008000 - 0xc047c214   (4561 kB)
          .init : 0xc05db000 - 0xc0614000   ( 228 kB)
          .data : 0xc0614000 - 0xc0650d00   ( 244 kB)
           .bss : 0xc0650d00 - 0xc0676690   ( 151 kB)
    Preemptible hierarchical RCU implementation.
            Build-time adjustment of leaf fanout to 32.
            RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
    RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=2
    NR_IRQS:16 nr_irqs:16 16
    efuse mapped to e0800000
    slcr mapped to e0802000
    L2C: platform modifies aux control register: 0x72360000 -> 0x72760000
    L2C: DT/platform modifies aux control register: 0x72360000 -> 0x72760000
    L2C-310 erratum 769419 enabled
    L2C-310 enabling early BRESP for Cortex-A9
    L2C-310 full line of zeros enabled for Cortex-A9
    L2C-310 ID prefetch enabled, offset 1 lines
    L2C-310 dynamic clock gating enabled, standby mode enabled
    L2C-310 cache controller enabled, 8 ways, 512 kB
    L2C-310: CACHE_ID 0x410000c8, AUX_CTRL 0x76760001
    zynq_clock_init: clkc starts at e0802100
    Zynq clock init
    sched_clock: 64 bits at 333MHz, resolution 3ns, wraps every 4398046511103ns
    clocksource: arm_global_timer: mask: 0xffffffffffffffff max_cycles: 0x4ce07af025                                                                                                                                                             , max_idle_ns: 440795209040 ns
    Switching to timer-based delay loop, resolution 3ns
    clocksource: ttc_clocksource: mask: 0xffff max_cycles: 0xffff, max_idle_ns: 5375                                                                                                                                                             38477 ns
    timer #0 at e080a000, irq=17
    Console: colour dummy device 80x30
    Calibrating delay loop (skipped), value calculated using timer frequency.. 666.6                                                                                                                                                             6 BogoMIPS (lpj=3333333)
    pid_max: default: 32768 minimum: 301
    Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    CPU: Testing write buffer coherency: ok
    CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    Setting up static identity map for 0x82c0 - 0x8318
    CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
    Brought up 2 CPUs
    SMP: Total of 2 processors activated (1333.33 BogoMIPS).
    CPU: All CPU(s) started in SVC mode.
    devtmpfs: initialized
    VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
    clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911                                                                                                                                                             2604462750000 ns
    pinctrl core: initialized pinctrl subsystem
    NET: Registered protocol family 16
    DMA: preallocated 256 KiB pool for atomic coherent allocations
    cpuidle: using governor ladder
    hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
    hw-breakpoint: maximum watchpoint size is 4 bytes.
    zynq-ocm f800c000.ocmc: ZYNQ OCM pool: 256 KiB @ 0xe0840000
    zynq-pinctrl 700.pinctrl: zynq pinctrl initialized
    SCSI subsystem initialized
    usbcore: registered new interface driver usbfs
    usbcore: registered new interface driver hub
    usbcore: registered new device driver usb
    EDAC MC: Ver: 3.0.0
    clocksource: Switched to clocksource arm_global_timer
    NET: Registered protocol family 2
    TCP established hash table entries: 4096 (order: 2, 16384 bytes)
    TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
    TCP: Hash tables configured (established 4096 bind 4096)
    UDP hash table entries: 256 (order: 1, 8192 bytes)
    UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
    NET: Registered protocol family 1
    Trying to unpack rootfs image as initramfs...
    Freeing initrd memory: 4792K (de67a000 - deb28000)
    hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
    futex hash table entries: 512 (order: 3, 32768 bytes)
    workingset: timestamp_bits=30 max_order=17 bucket_order=0
    io scheduler noop registered
    io scheduler deadline registered
    io scheduler cfq registered (default)
    e0001000.serial: ttyPS0 at MMIO 0xe0001000 (irq = 25, base_baud = 6249999) is a                                                                                                                                                              xuartps
    console [ttyPS0] enabled
    xdevcfg f8007000.devcfg: ioremap 0xf8007000 to e0818000
    brd: module loaded
    loop: module loaded
    m25p80 spi32765.0: SPI-NOR-UniqueID 104473222a8700101f001b009db5d55174
    m25p80 spi32765.0: n25q256a (32768 Kbytes)
    4 ofpart partitions found on MTD device spi32765.0
    Creating 4 MTD partitions on "spi32765.0":
    0x000000000000-0x000000100000 : "qspi-fsbl-uboot"
    0x000000100000-0x000000120000 : "qspi-uboot-env"
    0x000000120000-0x000000200000 : "qspi-nvmfs"
    0x000000200000-0x000002000000 : "qspi-linux"
    libphy: Fixed MDIO Bus: probed
    usbcore: registered new interface driver rt2500usb
    usbcore: registered new interface driver rt73usb
    usbcore: registered new interface driver rt2800usb
    usbcore: registered new interface driver rtl8187
    usbcore: registered new interface driver rtl8192cu
    usbcore: registered new interface driver rtl8xxxu
    usbcore: registered new interface driver r8152
    usbcore: registered new interface driver lan78xx
    usbcore: registered new interface driver asix
    usbcore: registered new interface driver ax88179_178a
    usbcore: registered new interface driver smsc75xx
    usbcore: registered new interface driver smsc95xx
    ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    usbcore: registered new interface driver usb-storage
    usbcore: registered new interface driver usbserial
    usbcore: registered new interface driver usbserial_generic
    usbserial: USB Serial support registered for generic
    usbcore: registered new interface driver ftdi_sio
    usbserial: USB Serial support registered for FTDI USB Serial Device
    e0002000.usb supply vbus not found, using dummy regulator
    ULPI transceiver vendor/product ID 0x0424/0x0007
    Found SMSC USB3320 ULPI transceiver.
    ULPI integrity check: passed.
    mousedev: PS/2 mouse device common for all mice
    i2c /dev entries driver
    cdns-wdt f8005000.watchdog: Xilinx Watchdog Timer at e083a000 with timeout 10s
    Xilinx Zynq CpuIdle Driver started
    ledtrig-cpu: registered to indicate activity on CPUs
    hidraw: raw HID events driver (C) Jiri Kosina
    usbcore: registered new interface driver usbhid
    usbhid: USB HID core driver
    usbcore: registered new interface driver r8712u
    usbcore: registered new interface driver r8188eu
    ad9361 spi32766.0: ad9361_probe : enter (ad9364)
    random: fast init done
    ad9361 spi32766.0: ad9361_probe : AD936x Rev 2 successfully initialized
    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
    NET: Registered protocol family 17
    Registering SWP/SWPB emulation handler
    cf_axi_adc 79020000.cf-ad9361-lpc: ADI AIM (10.00.b) at 0x79020000 mapped to 0xe                                                                                                                                                             0938000, probed ADC AD9364 as MASTER
    input: gpio_keys as /devices/soc0/gpio_keys/input/input0
    Freeing unused kernel memory: 228K (c05db000 - c0614000)
    This architecture does not have kernel memory protection.
    file system registered
    using random self ethernet address
    using random host ethernet address
    Mass Storage Function, version: 2009/09/11
    LUN: removable file: (no medium)
    read descriptors
    read strings
    usb0: HOST MAC 00:e0:22:ad:e8:30
    usb0: MAC 00:05:f7:b4:ce:6a
    random: crng init done
    configfs-gadget gadget: high-speed config #1: c
    configfs-gadget gadget: high-speed config #1: c

Reply
  • well, the dmesg output this, but I'm not sure if device is detected or not because I see a lot of devices drivers(bold) but not sure wich one is:

    Booting Linux on physical CPU 0x0
    Linux version 4.9.0-10194-g40c2158 (michael@mhenneri-D06) (gcc version 4.9.2 (Sourcery CodeBench Lite 2015.05-17) ) #207 SMP PREEMPT Mon Dec 18 18:24:33 CET 2017
    CPU: ARMv7 Processor [413fc090] revision 0 (ARMv7), cr=18c5387d
    CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    OF: fdt:Machine model: Analog Devices PlutoSDR Rev.B (Z7010/AD9363)
    cma: Reserved 256 MiB at 0x0e400000
    Memory policy: Data cache writealloc
    On node 0 totalpages: 131072
    free_area_init_node: node 0, pgdat c0650100, node_mem_map dfb77000
      Normal zone: 1024 pages used for memmap
      Normal zone: 0 pages reserved
      Normal zone: 131072 pages, LIFO batch:31
    percpu: Embedded 13 pages/cpu @dfb51000 s23744 r8192 d21312 u53248
    pcpu-alloc: s23744 r8192 d21312 u53248 alloc=13*4096
    pcpu-alloc: [0] 0 [0] 1
    Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 130048
    Kernel command line: console=ttyPS0,115200 maxcpus= rootfstype=ramfs root=/dev/r                                                                                                                                                             am0 rw quiet loglevel=4 uboot=U-Boot PlutoSDR v0.20-PlutoSDR-00041-g4bdff59 (May                                                                                                                                                              26 2017 - 13:07:26 +0200)
    PID hash table entries: 2048 (order: 1, 8192 bytes)
    Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
    Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
    Memory: 245528K/524288K available (4559K kernel code, 243K rwdata, 1236K rodata,                                                                                                                                                              228K init, 150K bss, 16616K reserved, 262144K cma-reserved, 0K highmem)
    Virtual kernel memory layout:
        vector  : 0xffff0000 - 0xffff1000   (   4 kB)
        fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
        vmalloc : 0xe0800000 - 0xff800000   ( 496 MB)
        lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
        pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
        modules : 0xbf000000 - 0xbfe00000   (  14 MB)
          .text : 0xc0008000 - 0xc047c214   (4561 kB)
          .init : 0xc05db000 - 0xc0614000   ( 228 kB)
          .data : 0xc0614000 - 0xc0650d00   ( 244 kB)
           .bss : 0xc0650d00 - 0xc0676690   ( 151 kB)
    Preemptible hierarchical RCU implementation.
            Build-time adjustment of leaf fanout to 32.
            RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
    RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=2
    NR_IRQS:16 nr_irqs:16 16
    efuse mapped to e0800000
    slcr mapped to e0802000
    L2C: platform modifies aux control register: 0x72360000 -> 0x72760000
    L2C: DT/platform modifies aux control register: 0x72360000 -> 0x72760000
    L2C-310 erratum 769419 enabled
    L2C-310 enabling early BRESP for Cortex-A9
    L2C-310 full line of zeros enabled for Cortex-A9
    L2C-310 ID prefetch enabled, offset 1 lines
    L2C-310 dynamic clock gating enabled, standby mode enabled
    L2C-310 cache controller enabled, 8 ways, 512 kB
    L2C-310: CACHE_ID 0x410000c8, AUX_CTRL 0x76760001
    zynq_clock_init: clkc starts at e0802100
    Zynq clock init
    sched_clock: 64 bits at 333MHz, resolution 3ns, wraps every 4398046511103ns
    clocksource: arm_global_timer: mask: 0xffffffffffffffff max_cycles: 0x4ce07af025                                                                                                                                                             , max_idle_ns: 440795209040 ns
    Switching to timer-based delay loop, resolution 3ns
    clocksource: ttc_clocksource: mask: 0xffff max_cycles: 0xffff, max_idle_ns: 5375                                                                                                                                                             38477 ns
    timer #0 at e080a000, irq=17
    Console: colour dummy device 80x30
    Calibrating delay loop (skipped), value calculated using timer frequency.. 666.6                                                                                                                                                             6 BogoMIPS (lpj=3333333)
    pid_max: default: 32768 minimum: 301
    Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    CPU: Testing write buffer coherency: ok
    CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    Setting up static identity map for 0x82c0 - 0x8318
    CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
    Brought up 2 CPUs
    SMP: Total of 2 processors activated (1333.33 BogoMIPS).
    CPU: All CPU(s) started in SVC mode.
    devtmpfs: initialized
    VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
    clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911                                                                                                                                                             2604462750000 ns
    pinctrl core: initialized pinctrl subsystem
    NET: Registered protocol family 16
    DMA: preallocated 256 KiB pool for atomic coherent allocations
    cpuidle: using governor ladder
    hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
    hw-breakpoint: maximum watchpoint size is 4 bytes.
    zynq-ocm f800c000.ocmc: ZYNQ OCM pool: 256 KiB @ 0xe0840000
    zynq-pinctrl 700.pinctrl: zynq pinctrl initialized
    SCSI subsystem initialized
    usbcore: registered new interface driver usbfs
    usbcore: registered new interface driver hub
    usbcore: registered new device driver usb
    EDAC MC: Ver: 3.0.0
    clocksource: Switched to clocksource arm_global_timer
    NET: Registered protocol family 2
    TCP established hash table entries: 4096 (order: 2, 16384 bytes)
    TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
    TCP: Hash tables configured (established 4096 bind 4096)
    UDP hash table entries: 256 (order: 1, 8192 bytes)
    UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
    NET: Registered protocol family 1
    Trying to unpack rootfs image as initramfs...
    Freeing initrd memory: 4792K (de67a000 - deb28000)
    hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
    futex hash table entries: 512 (order: 3, 32768 bytes)
    workingset: timestamp_bits=30 max_order=17 bucket_order=0
    io scheduler noop registered
    io scheduler deadline registered
    io scheduler cfq registered (default)
    e0001000.serial: ttyPS0 at MMIO 0xe0001000 (irq = 25, base_baud = 6249999) is a                                                                                                                                                              xuartps
    console [ttyPS0] enabled
    xdevcfg f8007000.devcfg: ioremap 0xf8007000 to e0818000
    brd: module loaded
    loop: module loaded
    m25p80 spi32765.0: SPI-NOR-UniqueID 104473222a8700101f001b009db5d55174
    m25p80 spi32765.0: n25q256a (32768 Kbytes)
    4 ofpart partitions found on MTD device spi32765.0
    Creating 4 MTD partitions on "spi32765.0":
    0x000000000000-0x000000100000 : "qspi-fsbl-uboot"
    0x000000100000-0x000000120000 : "qspi-uboot-env"
    0x000000120000-0x000000200000 : "qspi-nvmfs"
    0x000000200000-0x000002000000 : "qspi-linux"
    libphy: Fixed MDIO Bus: probed
    usbcore: registered new interface driver rt2500usb
    usbcore: registered new interface driver rt73usb
    usbcore: registered new interface driver rt2800usb
    usbcore: registered new interface driver rtl8187
    usbcore: registered new interface driver rtl8192cu
    usbcore: registered new interface driver rtl8xxxu
    usbcore: registered new interface driver r8152
    usbcore: registered new interface driver lan78xx
    usbcore: registered new interface driver asix
    usbcore: registered new interface driver ax88179_178a
    usbcore: registered new interface driver smsc75xx
    usbcore: registered new interface driver smsc95xx
    ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    usbcore: registered new interface driver usb-storage
    usbcore: registered new interface driver usbserial
    usbcore: registered new interface driver usbserial_generic
    usbserial: USB Serial support registered for generic
    usbcore: registered new interface driver ftdi_sio
    usbserial: USB Serial support registered for FTDI USB Serial Device
    e0002000.usb supply vbus not found, using dummy regulator
    ULPI transceiver vendor/product ID 0x0424/0x0007
    Found SMSC USB3320 ULPI transceiver.
    ULPI integrity check: passed.
    mousedev: PS/2 mouse device common for all mice
    i2c /dev entries driver
    cdns-wdt f8005000.watchdog: Xilinx Watchdog Timer at e083a000 with timeout 10s
    Xilinx Zynq CpuIdle Driver started
    ledtrig-cpu: registered to indicate activity on CPUs
    hidraw: raw HID events driver (C) Jiri Kosina
    usbcore: registered new interface driver usbhid
    usbhid: USB HID core driver
    usbcore: registered new interface driver r8712u
    usbcore: registered new interface driver r8188eu
    ad9361 spi32766.0: ad9361_probe : enter (ad9364)
    random: fast init done
    ad9361 spi32766.0: ad9361_probe : AD936x Rev 2 successfully initialized
    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
    NET: Registered protocol family 17
    Registering SWP/SWPB emulation handler
    cf_axi_adc 79020000.cf-ad9361-lpc: ADI AIM (10.00.b) at 0x79020000 mapped to 0xe                                                                                                                                                             0938000, probed ADC AD9364 as MASTER
    input: gpio_keys as /devices/soc0/gpio_keys/input/input0
    Freeing unused kernel memory: 228K (c05db000 - c0614000)
    This architecture does not have kernel memory protection.
    file system registered
    using random self ethernet address
    using random host ethernet address
    Mass Storage Function, version: 2009/09/11
    LUN: removable file: (no medium)
    read descriptors
    read strings
    usb0: HOST MAC 00:e0:22:ad:e8:30
    usb0: MAC 00:05:f7:b4:ce:6a
    random: crng init done
    configfs-gadget gadget: high-speed config #1: c
    configfs-gadget gadget: high-speed config #1: c

Children
No Data