USB-Ethernet Adapter Support
Home › Forums › MultiConnect OCG › USB-Ethernet Adapter Support
- This topic has 7 replies, 3 voices, and was last updated 13 years, 1 month ago by
Steven Moon.
-
AuthorPosts
-
October 3, 2012 at 6:14 pm #2821
Steven Moon
ParticipantI 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: 3b250656I 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 0lsusb:
# lsusb
Bus 001 Device 001: ID 1d6b:0001
Bus 001 Device 002: ID 1199:683c
Bus 001 Device 004: ID 9710:7830I 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
October 3, 2012 at 8:37 pm #4308Bryan Tran
ModeratorHi Steven,
Can you try to do: modprobe asix[Enter]
See if it helps.
Regards,
BT
October 3, 2012 at 8:47 pm #4309Steven Moon
ParticipantI had tried that this morning and I tried again… Nothing
October 3, 2012 at 9:12 pm #4310Jesse Gilles
BlockedThe 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 setto
# CONFIG_USB_NET_MCS7830=mThen to rebuild the kernel and build a new image:
bitbake linux -c clean
bitbake corecdp-full-image
OR
bitbake corecdp-base-imageOctober 3, 2012 at 9:30 pm #4311Jesse Gilles
BlockedI also just pushed a change to the git repository that includes this driver (and some others).
October 3, 2012 at 9:39 pm #4312Steven Moon
ParticipantOkay, sounds good. Thanks!
October 3, 2012 at 11:13 pm #4313Steven Moon
ParticipantBuilding now. I’ll update this post after I’m able to test it.
October 6, 2012 at 8:12 pm #4314Steven Moon
ParticipantI was able to complete the build from git and the Ethernet adapter works great.
Thanks,
Steven
-
AuthorPosts
- You must be logged in to reply to this topic.