Det r en guide p usb till lan p linux
Jag tror det r
[h=Kinesiska]3[/h]
1Œ 建‹–‘Žƒš
1.1 ‚žœ˜X86€MIPS‰宿主平台Œ请确认– ‘Žƒ已经ok€‚
1.2 ‚žœ˜ARM‰› ‡平台Œ请确认交‰–‘Žƒ已经ok €‚
ˆNOTE š €ˆkernelƒ–‘Œ说˜ŽŽƒ˜认ƒ已 ok‰
Tar bort texten d om det r fel
[h=Ethernet External USB to Lan RJ45 Network Card Adapter 10/100]1[/h]
1, the establishment of the build environment:
1.1 If it is X86, MIPS and other host platform, make sure the build environment is ok.
1.2 If the target platform such as ARM, make sure the cross-compiler environment is ok.
(NOTE: General kernel can be compiled, indicating the default environment have been ok)
2, confirm the Linux kernel source tree
Please compile the kernel code in 1.1 environment.
1.2 has already verified the code against the driver of the kernel version 2.6.28 and 2.6.29
3, confirm that the driver needs the kernel compile options (make menuconfig)
<Note:
1, if cross-compiling, make sure CROSS_COMPILE = xxx,
Such as xxx in mips little endian mode as: mipsel-linux-
In the arm may be as: elf-linux-or arm-linux-so.
2, this CROSS_COMPILE = mipsel-linux-can be placed in make menuconfig = mipsel-linux-
Source code can be placed in the Makefile.
>
3.1 determine whether the file has been included into the kernel mii.c code, specific processes such as the attached picture mii-1, 2,3,4
3.2 determine whether the file has been included into the kernel usbnet.c code, specific processes such as the attached picture usbnet-1, 2,3,4
4, compile the kernel code
cd $ (KERNEL_DIR) /;; here is the linux kernel source tree directory
make
5, compiled qf9700 drive
5.1 Go to driver code directory: cd qf9700 /
5.2 based on the actual situation will drive changes in the parameters Makefile
KERNEL_DIR: = The need for change based on the actual situation of the location of the source code for the kernel, such as: / root/linux-2.6.28-test /
KERNEL_VERSION: = the need to modify the actual situation according to the source code for the kernel version, such as: 2.6.28-15, etc.
That is the version of make menuconfig to see the name of the upper left
5.3 Compiling the driver
make
6, install the kernel and drivers
6.1 Installing the kernel driver to kernel code under the tree to root, type:
make modules_install
6.2 added to the driver
cp qf9700.ko / lib / modules / $ (KERNEL_VERSION) / kernel / drivers / net / usb /
6.2 compiled kernel and drivers
Kernel can be used are: $ (KERNEL_DIR) / vmlinux
All drivers can be used in: / lib / modules / $ (KERNEL_VERSION) / under.
7, Other
a, the kernel driver used and the resources are mainly mii.c usbnet.c two files, all compiled into the kernel needs to be incorporated into the module or in
b, drive on the target platform or the host platform will be qf9700.ko appear in the corresponding platform through lsmod to see if the correct driver loaded.
Listen
Read phonetically
Dictionary - View detailed dictionary
Hittade ngot p ntet som ngon frskt verstta
Det r till deras usb till lan adapter ebay tog mig en evighet bara hitta drivers
Provade under win sys de r ok .
Provade under Android de r ok
http://www.ebay.com/itm/Ethernet-Ext...item231e2cf17f
Hr r install filer om ngon annan vill ha var inte s ltt att hitta
Ni som kan linux kan ju dra ner ta en titt om det r mjligt gra install via terminalen
http://dx.thkj.com.cn/front/p_downdr...?name=H652.rar