ubuntu 在 R40e 上 還有 Debian 在 Sempron 2600 上

2011年12月26日 星期一

usb ethernet -- android & linux

開啟 USB Tethering 後...可以參考http://support.google.com/mobile/bin/answer.py?hl=en&answer=182134
文章是說明 XP 的,沒有Linux 的原因是,linux native support ..(?)

實際插入後,dmesg 看.. [ 3322.275837] usb 2-1.1.4.3: new high speed USB device using ehci_hcd and address 7 [ 3322.385272] usb 2-1.1.4.3: New USB device found, idVendor=0fce, idProduct=014f [ 3322.385277] usb 2-1.1.4.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 3322.385280] usb 2-1.1.4.3: Product: SEMC HSUSB Device [ 3322.385282] usb 2-1.1.4.3: Manufacturer: SEMC [ 3322.385285] usb 2-1.1.4.3: SerialNumber: XXXXXXXXXXXX [ 3322.385429] usb 2-1.1.4.3: configuration #1 chosen from 1 choice [ 3360.185459] usb 2-1.1.4.3: USB disconnect, address 7 [ 3360.404499] usb 2-1.1.4.3: new high speed USB device using ehci_hcd and address 8 [ 3360.513935] usb 2-1.1.4.3: New USB device found, idVendor=0fce, idProduct=714f [ 3360.513939] usb 2-1.1.4.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 3360.513942] usb 2-1.1.4.3: Product: SEMC HSUSB Device [ 3360.513945] usb 2-1.1.4.3: Manufacturer: SEMC [ 3360.513947] usb 2-1.1.4.3: SerialNumber: XXXXXXXXXXXX [ 3360.514069] usb 2-1.1.4.3: configuration #1 chosen from 1 choice [ 3360.582488] usbcore: registered new interface driver cdc_ether [ 3360.587738] usb0: register 'rndis_host' at usb-0000:00:1d.0-1.1.4.3, RNDIS device, XX:XX:XX:XX:XX:XX [ 3360.587786] usbcore: registered new interface driver rndis_host [ 3371.666534] usb0: no IPv6 routers present 所以host 要 support,要 enable cdc_ether ,還有 rndis_host。

在 driver/net/usb/Makefile 有: obj-$(CONFIG_USB_NET_CDCETHER) += cdc_ether.o obj-$(CONFIG_USB_NET_RNDIS_HOST) += rndis_host.o
有關 USB_NET_CDCETHER : config USB_NET_CDCETHER tristate "CDC Ethernet support (smart devices such as cable modems)" depends on USB_USBNET default y
所以要 enable USB_USBNET: config USB_USBNET tristate "Multi-purpose USB Networking Framework" select MII 還有,這些是屬於... menu "USB Network Adapters" depends on USB && NET

沒有留言:

標籤

網誌存檔