handdator

Visa fullständig version : Någon som kan få över det till läslig Eng eller Swe,



pixy
2012-08-16, 11:18
Det är en guide på usb till lan på linux

Jag tror det är
Kinesiska (http://www.google.se/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&ved=0CFIQFjAA&url=http%3A%2F%2Fsv.wikipedia.org%2Fwiki%2FKinesis ka&ei=LsksUNCnAoje4QSW34GwCw&usg=AFQjCNHs3h66rC_UhC-A1FMrWNUSoAFLqg&sig2=NcNT26KHeoeob4Fm_rHzWw)


1, 建立编译环境:
1.1 如果是X86ã€MIPSç‰å®¿ä¸»å¹³å°ï¼Œè¯·ç¡®è®¤ç¼–è¯ ‘环境已ç»ok。
1.2 如果是ARMç‰ç›®æ ‡å¹³å°ï¼Œè¯·ç¡®è®¤äº¤å‰ç¼–译环境已ç»ok 。
(NOTE : 一般kernelèƒ½ç¼–è¯‘ï¼Œè¯´æ˜ŽçŽ¯å¢ƒé»˜è®¤éƒ½å·²ç» ok)

Tar bort texten då om det är fel

Ethernet External USB to Lan RJ45 Network Card Adapter 10/100

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 något på nätet som någon försökt översätta

Det är till deras usb till lan adapter (https://www.google.se/search?hl=sv&client=firefox-a&hs=xld&rls=org.mozilla:sv-SE:official&channel=np&biw=1680&bih=896&sa=X&psj=1&ei=icksUJrtPO-P4gT71oGACA&ved=0CEoQBSgA&q=adapter&spell=1) 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-External-USB-to-Lan-RJ45-Network-Card-Adapter-10-100-Mbps-for-Laptop-PC-/150830117247?pt=US_Internal_Network_Cards&hash=item231e2cf17f


Här är install filer om någon annan vill ha var inte så lätt att hitta :)
Ni som kan linux kan ju dra ner ta en titt om det är möjligt göra install via terminalen

http://dx.thkj.com.cn/front/p_downdriver.htm?name=H652.rar

rolrn
2012-08-16, 11:44
Frågan är vilken nytta man har av denna enhet, då USB2.0 har en övre gräns på 12MBit/s...
Angående översättningen verkar det som att vårt forum inte stödjer UNICODE, varpå textmassan har blivit korrupt.

Bogdan
2012-08-16, 13:06
Usb ligger på 12 Mbit medans usb 2.0 ligger på 480 Mbit.

pixy
2012-08-16, 15:33
De enheter som inte har en Original lan ingång utan bara wifi.
Är det tänkt att köra på .

Jag har filer till adapter ligger in de i en mapp som heter linux under / lib / modules


Om man ska göra en manuell install vad ska jag skriva då i terminalen



Filer heter i mappen


.qf9700.ko.cmd
.qf9700.mod.o.cmd
.qf9700.o.cmd
Makefile
Module.markers
Module.symvers
modules.order
qf9700.c
qf9700.h
qf9700.ko
qf9700.mod.c
qf9700.mod.o
qf9700.o


Några förslag ni som kan Linux ?

Volvo3
2012-08-16, 16:09
Om filerna är kompilerade för din enhet och rätt kernelversion bör det räcka att kopiera *.ko till /lib/modules/kernel_version_x/
Om du måste kompilera själv blir det ju mycket svårare.

pixy
2012-08-16, 16:46
kopiera *.ko till /lib/module

.qf9700.ko.cmd

Ska den ligga rakt in i /lib/module eller den kan inte ligga i en mapp
ska jag sedan ta en reboot

pixy
2012-08-16, 16:49
Hittade lite info på nätet ska prova

This chipset is used in some Chinese "USB LAN" adapters. On Debian etch, I did apt-get install linux-headers-2.6.18-4-ixp4xx and then downloaded www.silencio.ro/DM9601 (http://www.nslu2-linux.org/wiki/Peripherals/DM9601?action=edit)? (http://www.nslu2-linux.org/wiki/Peripherals/DM9601?action=edit).GZ (which is actually a .tar.gz file), typed make, and then typed insmod dm9601.ko (while the dm9601.ko file was in the current directory)
and it worked.

Ska prova detta också !

pixy
2012-08-16, 19:08
nopp ,funkar inte :(