Hi everybody,
I just bought Usb to LAN adapter and realize that CD contains drivers for Android.
I have copy drivers to my Acer 501 and run Terminal. Now the problem starts.
First I did is chmod to all files in that directory. "chmod -R 777 qf9700_android.o" and so on
when I type "dmesg" I get:
<6>[ 1654.189933] usb 1-1: new full speed USB device using tegra-ehci and address 5
<6>[ 1654.189933] usb 1-1: New USB device found, idVendor=0fe6, idProduct=9700
<6>[ 1654.189933] usb 1-1: New USB device strings: Mfr=0, Product=2, SerialNumber=0
<6>[ 1654.189933] usb 1-1: Product: USB 2.0 10/100M Ethernet Adaptor
and I'm stuck here. This is "makefile" file, and I don't know what is the path to KERENEL_DIR
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
KERNEL_DIR := /lib/modules/$(shell uname -r)/build
#KERNEL_DIR := /usr/src/linux-2.6.29/linux-2.6.29.i686/
KERNEL_VERSION := $(shell uname -r)
PWD := $(shell pwd)
MODULE_NAME := qf9700_android
obj-m := $(MODULE_NAME).o
all:
@echo "Building QF9700_ANDROID USB2NET chip driver..."
@(cd $(KERNEL_DIR) && make -C $(KERNEL_DIR) SUBDIRS=$(PWD) CROSS_COMPILE=$(CROSS_COMPILE) modules)
clean:
-rm -f *.o *.ko .*.cmd .*.flags .mii.mod.o.d *.mod.c Module.symvers Module.markers modules.order version.h
-rm -rf .tmp_versions
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
and when I run ./Makefile I get this:
/////////////////////////////////
/////////////////////////////////
#./Makefile
shell: not found
KERNEL_DIR: not found
shell: not found
KERNEL_VERSION: not found
MODULE_NAME: not found
MODULE_NAME: not found
obj-m: not found
all:: not found
/////////////////////////////////
/////////////////////////////////
So, is there any good soul how can help?
much appreciated.
yes yes, one more thing. This is the list of all files which are in this folder.
.qf9700_android.ko.cmd
.qf9700_android.mod.o.cmd
.qf9700_android.o.cmd
Makefile
Module.markers
Module.symvers
modules.order
qf9700_android.c
qf9700_android.h
qf9700_android.ko
qf9700_android.mod.c
qf9700_android.mod.o
qf9700_android.o
README
I just bought Usb to LAN adapter and realize that CD contains drivers for Android.
I have copy drivers to my Acer 501 and run Terminal. Now the problem starts.
First I did is chmod to all files in that directory. "chmod -R 777 qf9700_android.o" and so on
when I type "dmesg" I get:
<6>[ 1654.189933] usb 1-1: new full speed USB device using tegra-ehci and address 5
<6>[ 1654.189933] usb 1-1: New USB device found, idVendor=0fe6, idProduct=9700
<6>[ 1654.189933] usb 1-1: New USB device strings: Mfr=0, Product=2, SerialNumber=0
<6>[ 1654.189933] usb 1-1: Product: USB 2.0 10/100M Ethernet Adaptor
and I'm stuck here. This is "makefile" file, and I don't know what is the path to KERENEL_DIR
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
KERNEL_DIR := /lib/modules/$(shell uname -r)/build
#KERNEL_DIR := /usr/src/linux-2.6.29/linux-2.6.29.i686/
KERNEL_VERSION := $(shell uname -r)
PWD := $(shell pwd)
MODULE_NAME := qf9700_android
obj-m := $(MODULE_NAME).o
all:
@echo "Building QF9700_ANDROID USB2NET chip driver..."
@(cd $(KERNEL_DIR) && make -C $(KERNEL_DIR) SUBDIRS=$(PWD) CROSS_COMPILE=$(CROSS_COMPILE) modules)
clean:
-rm -f *.o *.ko .*.cmd .*.flags .mii.mod.o.d *.mod.c Module.symvers Module.markers modules.order version.h
-rm -rf .tmp_versions
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
and when I run ./Makefile I get this:
/////////////////////////////////
/////////////////////////////////
#./Makefile
shell: not found
KERNEL_DIR: not found
shell: not found
KERNEL_VERSION: not found
MODULE_NAME: not found
MODULE_NAME: not found
obj-m: not found
all:: not found
/////////////////////////////////
/////////////////////////////////
So, is there any good soul how can help?
much appreciated.
yes yes, one more thing. This is the list of all files which are in this folder.
.qf9700_android.ko.cmd
.qf9700_android.mod.o.cmd
.qf9700_android.o.cmd
Makefile
Module.markers
Module.symvers
modules.order
qf9700_android.c
qf9700_android.h
qf9700_android.ko
qf9700_android.mod.c
qf9700_android.mod.o
qf9700_android.o
README