USB-Ethernet Adapter Support

Home Forums MultiConnect OCG USB-Ethernet Adapter Support

Tagged: , ,

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #2821
    Steven Moon
    Participant

    I have a need for 2 Ethernet ports on the MTCDP running CoreCDP v2.1.0. I have a USB-Ethernet adapter based on the ASIX MCS7830 (http://ca.startech.com/Networking-IO/Adapter-Cards/Compact-USB-20-to-10-100-Mbps-Ethernet-Adapter~USB2106S#dnlds).

    When I plug in the adapter I get this from dmesg:

    usb 1-2: new full speed USB device using at91_ohci and address 3
    usb 1-2: New USB device found, idVendor=9710, idProduct=7830
    usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    usb 1-2: Product: USB-MAC Controller
    usb 1-2: Manufacturer: Moschip Semiconductor
    usb 1-2: SerialNumber: 3b250656

    I have used this adapter with other embedded linux systems without any issues but I am unable to get it to be recognized by the MTCDP as a networking adapter (i.e. not listed in ifconfig -a).

    Here is my lsmod output:

    # lsmod
    Module Size Used by
    usbnet 13385 0
    g_serial 20426 2
    mts_io 17984 0
    sierra 10736 0
    usbserial 26699 1 sierra
    at91_mci 4985 0

    lsusb:

    # lsusb
    Bus 001 Device 001: ID 1d6b:0001
    Bus 001 Device 002: ID 1199:683c
    Bus 001 Device 004: ID 9710:7830

    I have tried modprobe usbnet with no success. The usbnet module does support some ASIX devices but I can’t seem to get it to work. Any ideas?

    Thanks,

    Steven

    #4308
    Bryan Tran
    Moderator

    Hi Steven,

    Can you try to do: modprobe asix[Enter]

    See if it helps.

    Regards,

    BT

    #4309
    Steven Moon
    Participant

    I had tried that this morning and I tried again… Nothing

    #4310
    Jesse Gilles
    Blocked

    The MCS7830 driver isn’t built by default, but it is available.

    To get it, you’ll need to edit the kernel config and enable the driver, then re-build and flash your unit.

    Edit multitech/recipes/linux/linux-2.6.35/mtcdp/defconfig and change

    # CONFIG_USB_NET_MCS7830 is not set

    to

    # CONFIG_USB_NET_MCS7830=m

    Then to rebuild the kernel and build a new image:

    bitbake linux -c clean
    bitbake corecdp-full-image
    OR
    bitbake corecdp-base-image

    #4311
    Jesse Gilles
    Blocked

    I also just pushed a change to the git repository that includes this driver (and some others).

    #4312
    Steven Moon
    Participant

    Okay, sounds good. Thanks!

    #4313
    Steven Moon
    Participant

    Building now. I’ll update this post after I’m able to test it.

    #4314
    Steven Moon
    Participant

    I was able to complete the build from git and the Ethernet adapter works great.

    Thanks,

    Steven

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.