Hello all,
I am new to the forums, and fairly new to Linux, I am having an issue installing a USB to Ethernet driver on my Fedora 17 machine.
SY-ADA24024] <-- This is the model.
They have Linux drivers included on their software download page, after downloading the drivers and attempting to install them, I am receiving an error message, and since I'm fairly new to Linux, I was hoping to get some help here.
There is a readme file in the downloads, unfortunately it's almost entirely in Chinese, here is the translation thanks to Google.
Honestly, I am not sure where to go from here. Thanks in advance for any assistance.
-Scott
I am new to the forums, and fairly new to Linux, I am having an issue installing a USB to Ethernet driver on my Fedora 17 machine.
SY-ADA24024] <-- This is the model.
They have Linux drivers included on their software download page, after downloading the drivers and attempting to install them, I am receiving an error message, and since I'm fairly new to Linux, I was hoping to get some help here.
There is a readme file in the downloads, unfortunately it's almost entirely in Chinese, here is the translation thanks to Google.
Quote:
1, the build environment: 1.1 If the host platform such as X86, MIPS, make sure that the compiler environment has been ok. 1.2 If the ARM target platform, make sure that the cross-compiler environment ok. (NOTE: the general kernel can compile environment default have been ok) 2, confirm the linux kernel source tree 2.1 Please kernel code in the compiler environment. 2.2 kernel has been verified against the driver code in version 2.6.28 and 2.6.29 3, confirm the driver needs kernel compile options (make menuconfig) <Note: 1, if the cross-compiler, please confirm CROSS_COMPILE = xxx Such as xxx mips little-endian mode: mipsel-linux- Arm under: elf-linux-or arm-linux-such as. 2, this CROSS_COMPILE = mipsel-linux-can on the make menuconfig = mipsel-linux- *Can also be placed in the source code of the Makefile. > 3.1 determine the file mii.c be included into the kernel code, pictures mii-specific process, such as attachments 1, 2, 3, 4 3.2 determine file usbnet.c of have to be included into the kernel code, specific processes such as the attached picture usbnet-1, 2, 3, 4 4, compile the kernel code cd $ (KERNEL_DIR) /;; here is to the linux kernel source tree directory make 5, compiled qf9700 drive 5.1 Go to driver code directory: cd qf9700 / 5.2 in accordance with the actual situation of the driver in the Makefile to modify the parameters KERNEL_DIR: = This needs to be modified according to the actual situation of the location of the kernel source code the: / root/linux-2.6.28-test / KERNEL_VERSION: = This needs to be modified in accordance with the actual situation for the version of the kernel source code, such as: 2.6.28-15 Version of the name of the upper left to see is make menuconfig 5.3 to compile the driver make 6, install the kernel and driver 6.1 install kernel drivers to the kernel code tree, as root, type: make modules_install 6.2 added the driver cp qf9700.ko / lib / modules / $ (KERNEL_VERSION) / kernel / drivers / net / usb / 6.2 compiled kernel and driver Kernel: $ (KERNEL_DIR) / vmlinux All drives can be used in: / lib / modules / $ (KERNEL_VERSION) /. 7, other a kernel related resources used by the driver the mii.c and usbnet.c two files, all need to be compiled into the kernel or incorporated into the module b, drive on the target platform or host platform will qf9700.ko appear in the appropriate platform to see the correct driver loaded by lsmod. |
Quote:
[sdaniels@sdaniels-fedora ~]$ cd Downloads/SY-ADA24024/WN001/Linux/ [sdaniels@sdaniels-fedora Linux]$ sudo make [sudo] password for sdaniels: Building QF9700 USB2NET chip driver... make[1]: Entering directory `/usr/src/kernels/3.6.2-4.fc17.x86_64' CC [M] /home/sdaniels/Downloads/SY-ADA24024/WN001/Linux/qf9700.o /home/sdaniels/Downloads/SY-ADA24024/WN001/Linux/qf9700.c: In function qf_read: /home/sdaniels/Downloads/SY-ADA24024/WN001/Linux/qf9700.c:36:2: error: implicit declaration of function devdbg [-Werror=implicit-function-declaration] /home/sdaniels/Downloads/SY-ADA24024/WN001/Linux/qf9700.c: In function qf_write_async_helper: /home/sdaniels/Downloads/SY-ADA24024/WN001/Linux/qf9700.c:115:3: error: implicit declaration of function deverr [-Werror=implicit-function-declaration] /home/sdaniels/Downloads/SY-ADA24024/WN001/Linux/qf9700.c: In function qf9700_set_multicast: /home/sdaniels/Downloads/SY-ADA24024/WN001/Linux/qf9700.c:356:45: error: struct net_device has no member named mc_count /home/sdaniels/Downloads/SY-ADA24024/WN001/Linux/qf9700.c:358:16: error: struct net_device has no member named mc_count /home/sdaniels/Downloads/SY-ADA24024/WN001/Linux/qf9700.c:359:36: error: struct net_device has no member named mc_list /home/sdaniels/Downloads/SY-ADA24024/WN001/Linux/qf9700.c:362:22: error: struct net_device has no member named mc_count /home/sdaniels/Downloads/SY-ADA24024/WN001/Linux/qf9700.c:362:56: error: dereferencing pointer to incomplete type /home/sdaniels/Downloads/SY-ADA24024/WN001/Linux/qf9700.c:363:14: error: dereferencing pointer to incomplete type /home/sdaniels/Downloads/SY-ADA24024/WN001/Linux/qf9700.c: In function qf9700_bind: /home/sdaniels/Downloads/SY-ADA24024/WN001/Linux/qf9700.c:380:10: error: struct net_device has no member named do_ioctl /home/sdaniels/Downloads/SY-ADA24024/WN001/Linux/qf9700.c:381:10: error: struct net_device has no member named set_multicast_list /home/sdaniels/Downloads/SY-ADA24024/WN001/Linux/qf9700.c: In function qf9700_rx_fixup: /home/sdaniels/Downloads/SY-ADA24024/WN001/Linux/qf9700.c:443:25: error: struct usbnet has no member named stats /home/sdaniels/Downloads/SY-ADA24024/WN001/Linux/qf9700.c:444:25: error: struct usbnet has no member named stats /home/sdaniels/Downloads/SY-ADA24024/WN001/Linux/qf9700.c:445:25: error: struct usbnet has no member named stats /home/sdaniels/Downloads/SY-ADA24024/WN001/Linux/qf9700.c:446:25: error: struct usbnet has no member named stats /home/sdaniels/Downloads/SY-ADA24024/WN001/Linux/qf9700.c:447:25: error: struct usbnet has no member named stats cc1: some warnings being treated as errors make[2]: *** [/home/sdaniels/Downloads/SY-ADA24024/WN001/Linux/qf9700.o] Error 1 make[1]: *** [_module_/home/sdaniels/Downloads/SY-ADA24024/WN001/Linux] Error 2 make[1]: Leaving directory `/usr/src/kernels/3.6.2-4.fc17.x86_64' make: *** [all] Error 2 [sdaniels@sdaniels-fedora Linux]$ |
-Scott