PDA

View Full Version : Broblem, with Avermedia TV - USB tuner



wlodarek1
02-14-2010, 09:10 AM
Please help me ; I have a Avermedia USB - TV card

Bus 001 Device 006: ID 07ca:a827 AVerMedia Technologies, Inc
Linux driver I downloading from avermedia home page .
When I need compiling this driver[ driver is type .sh script ] i have a bug ;
http://img.komputeromaniak.net/images/b8nh867f2nxymy3pywv_thumb.jpeg (http://img.komputeromaniak.net/viewer.php?file=b8nh867f2nxymy3pywv.jpeg)
Package "kernel-headers" is default installed in Knoppix 6.2 live DVD
http://img.komputeromaniak.net/images/en39spfktxz0gjrok9v9_thumb.jpeg (http://img.komputeromaniak.net/viewer.php?file=en39spfktxz0gjrok9v9.jpeg)
What I doing wrong :?:
Please help me :cry:
I probing mode "ex[pert" to install Avermedia driver and have this results ;

knoppix@Microknoppix:/usr/src$ cd H826D-expert-install/
knoppix@Microknoppix:/usr/src/H826D-expert-install$ sudo make
make -C /lib/modules/2.6.31.6/source O=/lib/modules/2.6.31.6/build SUBDIRS=`pwd`
make[1]: Wejście do katalogu `/UNIONFS/usr/src/linux-headers-2.6.31.6'
/UNIONFS/usr/src/linux-headers-2.6.31.6/arch/x86/Makefile:39: /UNIONFS/usr/src/linux-headers-2.6.31.6/arch/x86/Makefile_32.cpu: Nie ma takiego pliku ani katalogu
make[2]: *** Brak reguł do wykonania obiektu `/UNIONFS/usr/src/linux-headers-2.6.31.6/arch/x86/Makefile_32.cpu'. Stop.
make[1]: *** [sub-make] Błąd 2
make[1]: Opuszczenie katalogu `/UNIONFS/usr/src/linux-headers-2.6.31.6'
make: *** [default] Błąd 2
knoppix@Microknoppix:/usr/src/H826D-expert-install$

:cry: :oops:

Capricorny
02-14-2010, 04:19 PM
You can find the missing file in the kernel source package. You find it as /usr/source/linux-source-2.6.31.6.tar.bz2
It comes with the DVD, or you can install it.



# sudo tar jzf linux-source-2.6.31.6.tar.bz2
# ls -al linux-source-2.6.31.6/arch/x86/Ma*
-rw-r--r-- 1 root root 6327 Sep 9 22:13 linux-source-2.6.31.6/arch/x86/Makefile
-rw-r--r-- 1 root root 2314 Sep 9 22:13 linux-source-2.6.31.6/arch/x86/Makefile_32.cpu
# sudo cp -a linux-source-2.6.31.6/arch/x86/Makefile_32.cpu /usr/src/linux-headers-2.6.31.6/arch/x86


This solves the problem with the missing Makefile - but not necessarily other problems with this kernel version.

wlodarek1
02-14-2010, 07:11 PM
I am using your help , but i i have other bug
UNIONFS/usr/src/H826D-expert-install/aver/osdep.c:2380: warning: excess elements in struct initializer
/UNIONFS/usr/src/H826D-expert-install/aver/osdep.c:2380: warning: (near initialization for '(anonymous)')
/UNIONFS/usr/src/H826D-expert-install/aver/osdep.c: In function 'AVerH826D_SysSpinLockInit':
/UNIONFS/usr/src/H826D-expert-install/aver/osdep.c:2566: error: 'ENOMEM' undeclared (first use in this function)
/UNIONFS/usr/src/H826D-expert-install/aver/averusb-mod.c: At top level:
/UNIONFS/usr/src/H826D-expert-install/aver/averusb-mod.c:187: error: 'AVerH826D_SysVmallocToPage' undeclared here (not in a function)
/UNIONFS/usr/src/H826D-expert-install/aver/averusb-mod.c:187: warning: type defaults to 'int' in declaration of 'AVerH826D_SysVmallocToPage'
/UNIONFS/usr/src/H826D-expert-install/aver/averusb-mod.c:194: error: 'AVerH826D_SysGetSgDmaAddress' undeclared here (not in a function)
/UNIONFS/usr/src/H826D-expert-install/aver/averusb-mod.c:194: warning: type defaults to 'int' in declaration of 'AVerH826D_SysGetSgDmaAddress'
/UNIONFS/usr/src/H826D-expert-install/aver/averusb-mod.c:195: error: 'AVerH826D_SysGetSgDmaLen' undeclared here (not in a function)
/UNIONFS/usr/src/H826D-expert-install/aver/averusb-mod.c:195: warning: type defaults to 'int' in declaration of 'AVerH826D_SysGetSgDmaLen'
/UNIONFS/usr/src/H826D-expert-install/aver/averusb-mod.c:202: error: 'AVerH826D_SysPciMapSingle' undeclared here (not in a function)
/UNIONFS/usr/src/H826D-expert-install/aver/averusb-mod.c:202: warning: type defaults to 'int' in declaration of 'AVerH826D_SysPciMapSingle'
/UNIONFS/usr/src/H826D-expert-install/aver/averusb-mod.c:232: error: 'AVerH826D_SysVmalloc32' undeclared here (not in a function)
/UNIONFS/usr/src/H826D-expert-install/aver/averusb-mod.c:232: warning: type defaults to 'int' in declaration of 'AVerH826D_SysVmalloc32'
make[3]: *** [/UNIONFS/usr/src/H826D-expert-install/aver/averusb-mod.o] Błąd 1
make[2]: *** [_module_/UNIONFS/usr/src/H826D-expert-install] Błąd 2
make[1]: *** [sub-make] Błąd 2
make[1]: Opuszczenie katalogu `/UNIONFS/usr/src/linux-headers-2.6.31.6'
make: *** [default] Błąd 2
knoppix@Microknoppix:/usr/src/H826D-expert-install$ sudo make install
make: *** Brak reguł do wykonania obiektu `install'. Stop.
knoppix@Microknoppix:/usr/src/H826D-expert-install$

Capricorny
02-14-2010, 11:12 PM
I have struggled with exactly the same problem myself today, trying to compile kernel modules for vmware. Which is why I wrote "This solves the problem with the missing Makefile - but not necessarily other problems with this kernel version."

My short-term fix was to downgrade to Knoppix 6.0.1, where kernel headers etc are in order, and I get the modules to compile correctly.

Capricorny
02-15-2010, 04:07 AM
I've just started testing the new 6.2.1 release, and the problems may have gone away.
At least, I run VMware player with no problems there, in fact I'm posting using Firefox in an old W2K virtual machine now.