20.3.13

樹莓派 raspberry pi usb 有線網路卡

樹莓派(Raspberry Pi),最讓人詬病的就是週邊的支援,當初要找usb有線網路卡時發現網路上的資料幾乎都是usb無線網路卡,所以找官方的技術支援文件,這份技術支援文件,是不是太舊了,這裡面的usb有線網路卡大都找不到了...

USB Ethernet adapters

Working Ethernet adapters

  • AVM
    • FRITZ!Box WLAN 3030 USB Ethernet Adapter: Works out of the box. No external power source needed.
  • Wintech
    • USB 2.0 LanCard Model: LAU-15 (CK0049C) using the mcs7830 driver. Probably needs more than 100 mA current. [48]
  • LogiLink
    • USB 2.0 UA0144: AX88772 chipset using the asix kernel driver. Tested only on powered USB hub so far.
    • LogiLink Fast EN USB 2.0 to RJ45 Adapter: Test on Wheezy-Raspian (2012-08-16) without USB Hub will be confirmed
lsusb output: Bus 001 Device 004: ID 9710:7830 MosChip Semiconductor MCS7830 10/100 Mbps Ethernet adapter
  • Apple
    • Apple USB Ethernet Adapter using asix kernel driver. Works out of the box on Raspbian, haven't tested on any other OS.
  • Edimax
    • Edimax EU-4230 USB2.0 Fast Ethernet Adapter with 3 port USB hub. Works out of the box. Needs its own power source.
  • D-Link
    • D-Link DUB-E100 Fast Ethernet USB 2.0 Adapter - works out of the box, requires own power supply (from powered USB hub)
  • LinkSys
    • Linksys - USB200M - Compact USB 2.0 10/100 Network Adapter - raspian recognized it automatically and so far I have only pinged a few addresses with and it worked. I had it plugged into a powered hub so I cannot say if it works connected directly to the pi.
  • Sabrent
    • Sabrent USB 2.0 10/100 Ethernet Adapter - works out of the box (asix), but USB 2.0 only (does not work if using dwc_otg.speed=1 in cmdline.txt to force USB 1.1 for other problem hardware)
  • Sitecom
    • Sitecom LN-030 V2 detected as ASIX AX88772 USB 2.0 Ethernet Adapter works out of the box. Doesn't seem to require any extra power supply.
  • A-Link
    • A-Link NA1GU Gigabit USB 2.0 Ethernet adapter
This adapter works, but it (probably) requires a bit of work. The driver for the chipset (Asix AX88178) included with the Raspbian kernel (v 3.1.9+ Aug 7 2012) does not work. With that driver the device is detected, but it does not seem to be possible to actually put any traffic through it. :-( In order to make it work you need to download the latest driver from the chipset manufacturer. The version I used was "Linux kernel 3.x/2.6.x Driver" v4.4.0, released 2012-05-18. Fortunately this is GNU GPLv2 -licenced source code and not a binary blob, so compiling it for the Raspberry Pi is perfectly doable. The hardest part was in fact getting the Linux source code required, because the repositores contained the source for the wrong kernel version. >:-( Fortunately there is a very useful guide for how to get the sources from github, and preparing that source so that you can compile modules. Unfortunately you will have to compile the kernel (even if you don't actually install it) - which will take the better part of the day on the Raspberry, but once that's done you can unpack the driver source and just run "make && sudo make install". Reboot and you should have a fully working Ethernet adapter.
The adapter seems to work without a powered USB hub, but according to the specifications it can draw up to 190 mA, so there might be stability issues if additional power is not provided.
  • Hama
    • Hama 00049244 Fast Ethernet USB 2.0-Adapter detected as MOSCHIP 7830/7832/7730 usb-NET adapter. Works out of the box on Debian Wheezy/sid (2012-08-08-wheezy-armel)(not tested yet on other OS). No external power source or USB hub needed.
  • Newlink
    • Newlink NLUSB2-ETH USB 2.0 Ethernet Adapter. Works out of the box on Raspbian. Detected as ASIX AX88772. Works without a powereed hub.

Problem Ethernet adapters

  • Axago
    • Axago ADE-X1 10/100 Ethernet Adapter (USB: 9710:7830 driver:mcs7830). Adapter working about 10 minutes without problem, but after that kernel write error message to dmesg and no packet is received. Needed to unplug and plug USB again. Tested with and without powered USB hub. dmesg error: NETDEV WATCHDOG: eth1 (MOSCHIP usb-ethernet driver): transmit queue 0 timed out

看到技術支援文件有使用ASIXAX88772這晶片的網路卡有三個,所以這牌子的晶片支援度因該蠻好的,亞信電子asix,台灣的公司

網路拍賣裡有一堆AX88772A和AX88772B沒試過,我買的是AX88772晶片的,不用驅動,直接支援






沒有留言:

張貼留言