Pagina 2 di 11
Re: Tv Receiver
Inviato: martedì 5 giugno 2007, 13:01
da brus46
ho rimosso il vecchio kernel e ho rifatto tutto... ecco tutta la procedura... ovviamente non funziona ancora..
Codice: Seleziona tutto
marco@portatile-marco:~$ hg clone http://linuxtv.org/hg/v4l-dvb
destination directory: v4l-dvb
requesting all changes
adding changesets
adding manifests
adding file changes
added 5739 changesets with 15791 changes to 1196 files
905 files updated, 0 files merged, 0 files removed, 0 files unresolved
marco@portatile-marco:~$ cd v4l-dvb
marco@portatile-marco:~/v4l-dvb$ wget http://colabti.de/~feb/tm6000-makefile-dvb-tree.patch
--12:58:52-- http://colabti.de/~feb/tm6000-makefile-dvb-tree.patch
=> `tm6000-makefile-dvb-tree.patch'
Risoluzione di colabti.de in corso... 217.20.120.235
Connessione a colabti.de|217.20.120.235:80... connesso.
HTTP richiesta inviata, aspetto la risposta... 200 OK
Lunghezza: 958 [text/plain]
100%[====================================>] 958 --.--K/s
12:58:52 (52.75 MB/s) - "tm6000-makefile-dvb-tree.patch" salvato [958/958]
marco@portatile-marco:~/v4l-dvb$ patch -p1 < tm6000-makefile-dvb-tree.patch
patching file linux/drivers/media/video/Kconfig
Hunk #1 succeeded at 705 (offset 9 lines).
patching file linux/drivers/media/video/Makefile
marco@portatile-marco:~/v4l-dvb$ cd linux/drivers/media/video/
marco@portatile-marco:~/v4l-dvb/linux/drivers/media/video$ svn co svn://colabti.de/branches/tm6000
A tm6000/Kconfig
A tm6000/tm6000.c
A tm6000/Makefile
Estratta revisione 4.
marco@portatile-marco:~/v4l-dvb/linux/drivers/media/video$ cd ../../../../
marco@portatile-marco:~/v4l-dvb$ make
make -C /home/marco/v4l-dvb/v4l
make[1]: Entering directory `/home/marco/v4l-dvb/v4l'
scripts/make_makefile.pl
No version yet.
Updating/Creating .config
Preparing to compile for kernel version 2.6.20
File not found: /lib/modules/2.6.20-16-386/build/.config at ./scripts/make_kconfig.pl line 31, <IN> line 4.
make[1]: Leaving directory `/home/marco/v4l-dvb/v4l'
make[1]: Entering directory `/home/marco/v4l-dvb/v4l'
Updating/Creating .config
Preparing to compile for kernel version 2.6.20
File not found: /lib/modules/2.6.20-16-386/build/.config at ./scripts/make_kconfig.pl line 31, <IN> line 4.
make[1]: *** No rule to make target `.myconfig', needed by `config-compat.h'. Stop.
make[1]: Leaving directory `/home/marco/v4l-dvb/v4l'
make: *** [all] Error 2
marco@portatile-marco:~/v4l-dvb$
Riporto anche il solo errore:
Codice: Seleziona tutto
$ make
make -C /home/marco/v4l-dvb/v4l
make[1]: Entering directory `/home/marco/v4l-dvb/v4l'
scripts/make_makefile.pl
No version yet.
Updating/Creating .config
Preparing to compile for kernel version 2.6.20
File not found: /lib/modules/2.6.20-16-386/build/.config at ./scripts/make_kconfig.pl line 31, <IN> line 4.
make[1]: Leaving directory `/home/marco/v4l-dvb/v4l'
make[1]: Entering directory `/home/marco/v4l-dvb/v4l'
Updating/Creating .config
Preparing to compile for kernel version 2.6.20
File not found: /lib/modules/2.6.20-16-386/build/.config at ./scripts/make_kconfig.pl line 31, <IN> line 4.
make[1]: *** No rule to make target `.myconfig', needed by `config-compat.h'. Stop.
make[1]: Leaving directory `/home/marco/v4l-dvb/v4l'
make: *** [all] Error 2
Re: Tv Receiver
Inviato: martedì 5 giugno 2007, 16:26
da thorto
Anche a me dava lo stesso errore dopo il make ed ho risolto (con ubuntu 7.04 aggiornato ieri all'ultimo kernel disponibile) digitando:
sudo apt-get install dvb-utils mercurial build-essential linux-headers-$(uname -r)
e ripetendo la procedura linkata sopra da un altro utente.
Kaffeine mi riconosce la pennina ma purtroppo non mi trova nessun canale dopo la sintonia; provaci e fammi sapere se riesci a sintonizzare.
Re: Tv Receiver
Inviato: martedì 5 giugno 2007, 18:23
da brus46
EVVIVA STA COMPILANDO!!
Appena finisce ti dico
GRAZIE MILLEMILA

Re: Tv Receiver
Inviato: martedì 5 giugno 2007, 18:57
da brus46
FUNZIONA!!!
Allora per i canali...
Apri kaffeine.
Quando ti parte metti AUTO non it-paese se no non va... non so perchè..
bene
In alto ti sarà comparso il menù DVB apri e in fondo c'è canali..
Quindi fai scansiona te li trova (ci impiega una vita) poi li selezioni e fai "Aggiungi Selezionati"
Poi fatto e goditi la tv
Se i canali non prendono bene ci impiegherà un pò a farti vedere i primi frame.. quindi attendi fiducioso.
Aspetto un tuo successo per mettere con orgoglio "RISOLTO" (good)
Re: Tv Receiver
Inviato: mercoledì 6 giugno 2007, 16:20
da thorto
Niente da fare, ho provato a rifare la sintonia più volte ma non mi becca nulla. Tuttavia sono fiducioso perchè ho visto che altri utenti hanno riscontrato lo stesso problema sintonizzando sotto linux (a quanto pare per ricevere gli stessi canali che si riesce a ricevere sotto windows, è necessaria più potenza in ricezione ovvero un impianto decente opportunamente amplificato). Questi giorni provo a poertare il portatile a casa di un amico e vediamo se là riesco.
Piuttosto (giusto per sfatare qualsiasi dubbio) volevo chiederti conferma sulla procedura di caricamento del firmware :
Step 1: Copy the file "tridvid.sys" from the CD into a directory of your choice
Step 2: Extract the firmware files
$dd if=tridvid.sys ibs=1 skip=145441 count=2632 of=tm6000-firmware1
$dd if=tridvid.sys ibs=1 skip=148089 count=3870 of=tm6000-firmware2
Step 3: Copy the firmware files to the firmware directory
$su -c "cp tm6000-firmware1 /lib/firmware; cp tm6000-firmware2 /lib/firmware"
Io ho capito e quindi fatto così:
1) ho copiato dal cd della pennina il file tridvid.sys in una cartella da me creata all'interno della directory /home/nome_utente
2) ho aperto un terminale all'interno della cartella creata contenente il suddetto file ed ho eseguito i comandi:
$dd if=tridvid.sys ibs=1 skip=145441 count=2632 of=tm6000-firmware1
$dd if=tridvid.sys ibs=1 skip=148089 count=3870 of=tm6000-firmware2
3) sempre dallo stesso terminale ho lanciato l'ultimo comando riportato nella guida:
$su -c "cp tm6000-firmware1 /lib/firmware; cp tm6000-firmware2 /lib/firmware"
Non mi ha dato nessun errore e successivamente ho visto che keffeine mi riconosceva un dispositivo dvb.
Credo di aver fatto tutto correttamente, ma se mi dai conferma ti ringrazio.
Appena provo a casa di questo amico ti faccio sapere.
Re: Tv Receiver
Inviato: mercoledì 6 giugno 2007, 19:54
da brus46
prova ad attaccarti all'antenna di casa!

Re: Tv Receiver
Inviato: martedì 17 novembre 2009, 15:45
da brus46
riesumo il topic perchè su karmic non funziona più

non si riesce a patchare correttamente il codice e quindi non si compila più

sigh sigh
qualcuno ha trovato il modo di risolvere?
Re: Tv Receiver
Inviato: mercoledì 18 novembre 2009, 19:08
da Xgaz
E provando a compilare direttamente i driver del repository senza patchare?
Codice: Seleziona tutto
sudo hg clone http://linuxtv.org/hg/~mchehab/tm6000/
Re: Tv Receiver
Inviato: mercoledì 18 novembre 2009, 20:45
da brus46
Xgaz ha scritto:
E provando a compilare direttamente i driver del repository senza patchare?
Codice: Seleziona tutto
sudo hg clone http://linuxtv.org/hg/~mchehab/tm6000/
sembra non funzionare.. non riesce nemmeno a scaricarlo il driver già patchato
Codice: Seleziona tutto
marco@marco-laptop:~/.dvb$ hg clone http://linuxtv.org/hg/~mchehab/tm6000/
abortito: requisito '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">' non supportato!
marco@marco-laptop:~/.dvb$ sudo hg clone http://linuxtv.org/hg/~mchehab/tm6000/
[sudo] password for marco:
abortito: requisito '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">' non supportato!
(ho provato sia da root che non. il problema è evidentemente sui file nel server)
Re: Tv Receiver
Inviato: mercoledì 18 novembre 2009, 23:09
da Xgaz
Hai ragione ci sono dei problemi... ???
Prova a scaricarli direttamente:
Codice: Seleziona tutto
sudo wget http://linuxtv.org/hg/~mchehab/tm6000-older/archive/tip.tar.bz2
decomprimi il file tip.tar.bz2, entri nella cartella che viene creata (tm6000-older-81e660c50b26 o giù di lì) e dai i soliti make e sudo make install...
Re: Tv Receiver
Inviato: giovedì 19 novembre 2009, 9:55
da brus46
mmm credo che mi manchino i sorgenti del kernel
Codice: Seleziona tutto
marco@marco-laptop:~/.dvb/tm6000-older-81e660c50b26$ make
make -C /home/marco/.dvb/tm6000-older-81e660c50b26/v4l
make[1]: ingresso nella directory «/home/marco/.dvb/tm6000-older-81e660c50b26/v4l»
perl scripts/make_config_compat.pl /lib/modules/2.6.31-14-generic/source ./.myconfig ./config-compat.h
File not found: /lib/modules/2.6.31-14-generic/source/include/linux/netdevice.h at scripts/make_config_compat.pl line 15.
make[1]: *** [config-compat.h] Errore 2
make[1]: uscita dalla directory «/home/marco/.dvb/tm6000-older-81e660c50b26/v4l»
make: *** [all] Errore 2
File not found: /lib/modules/2.6.31-14-generic/source/include/linux/netdevice.h at scripts/make_config_compat.pl line 15.
ho controllato non ho nemmeno la cartella /lib/modules/2.6.31-14-generic/
source/
Re: Tv Receiver
Inviato: giovedì 19 novembre 2009, 23:39
da Xgaz
Infatti sono gli stessi errori che da a me...
Speravo che, visto che due anni fa avevi risolto per un problema simile nella compilazione, riuscissi a darmi qualche dritta. :-[
Magari c'è da modificare qualcosa nel makefile visto che i drivers sono stai creati per kernels di due anni fa ???
Non sono infatti molto esperto di compilazione del kernel, so solo che non riesco a compilare ne questi ne i tm6010 che sono nello stesso repository e che servirebbero qui:
http://forum.ubuntu-it.org/viewtopic.php?p=2568214#p2568214 >:(
I v4l-dvb li compilo bene eseguendo la stessa procedura ma all'interno non ci sono questi driver :-\
In rete si trovano solo informazioni scoraggianti... :'(
Re: Tv Receiver
Inviato: venerdì 20 novembre 2009, 0:29
da brus46
dici bene... due anni fa..
probabilmente ubuntu mette gli header in qualche altra cartella adesso.. forse basta fare un link simbolico alla nuova cartella...
non prometto niente..
il problema serio è il tempo che non ho per sperimentare

Re: Tv Receiver
Inviato: venerdì 20 novembre 2009, 1:07
da Xgaz
brus46 ha scritto:
ho controllato non ho nemmeno la cartella /lib/modules/2.6.31-14-generic/source/
Infatti adesso (nel mio caso ) c'è al suo posto /lib/modules/2.6.31-15-generic/
build/
che è un link simbolico a: /usr/src/linux-headers-2.6.31-15-generic
Provo a ricreare il link....magari non stanotte (z)
Re: Tv Receiver
Inviato: venerdì 20 novembre 2009, 11:16
da brus46
allora ho fatto un bellissimo comando
sudo ln -s /lib/modules/2.6.31-14-generic/build /lib/modules/2.6.31-14-generic/source
ora la compilazione parte ma si interrompe con migliaia di errori...
Codice: Seleziona tutto
marco@marco-laptop:~/.dvb/tm6000-older-81e660c50b26$ make
make -C /home/marco/.dvb/tm6000-older-81e660c50b26/v4l
make[1]: ingresso nella directory «/home/marco/.dvb/tm6000-older-81e660c50b26/v4l»
perl scripts/make_config_compat.pl /lib/modules/2.6.31-14-generic/source ./.myconfig ./config-compat.h
creating symbolic links...
ln -sf . oss
make -C /lib/modules/2.6.31-14-generic/source SUBDIRS=/home/marco/.dvb/tm6000-older-81e660c50b26/v4l O=/lib/modules/2.6.31-14-generic/build modules
make[2]: Entering directory `/usr/src/linux-headers-2.6.31-14-generic'
CC [M] /home/marco/.dvb/tm6000-older-81e660c50b26/v4l/flexcop-pci.o
CC [M] /home/marco/.dvb/tm6000-older-81e660c50b26/v4l/flexcop-usb.o
CC [M] /home/marco/.dvb/tm6000-older-81e660c50b26/v4l/flexcop.o
CC [M] /home/marco/.dvb/tm6000-older-81e660c50b26/v4l/flexcop-fe-tuner.o
CC [M] /home/marco/.dvb/tm6000-older-81e660c50b26/v4l/flexcop-i2c.o
CC [M] /home/marco/.dvb/tm6000-older-81e660c50b26/v4l/flexcop-sram.o
CC [M] /home/marco/.dvb/tm6000-older-81e660c50b26/v4l/flexcop-eeprom.o
CC [M] /home/marco/.dvb/tm6000-older-81e660c50b26/v4l/flexcop-misc.o
CC [M] /home/marco/.dvb/tm6000-older-81e660c50b26/v4l/flexcop-hw-filter.o
CC [M] /home/marco/.dvb/tm6000-older-81e660c50b26/v4l/flexcop-dma.o
CC [M] /home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttv-driver.o
In file included from /home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttvp.h:60,
from /home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttv-driver.c:40:
/home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttv.h:308: error: 'BUS_ID_SIZE' undeclared here (not in a function)
In file included from /home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttv-driver.c:40:
/home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttvp.h:94:1: warning: "clamp" redefined
In file included from /usr/src/linux-headers-2.6.31-14-generic/arch/x86/include/asm/percpu.h:45,
from /usr/src/linux-headers-2.6.31-14-generic/arch/x86/include/asm/current.h:5,
from /usr/src/linux-headers-2.6.31-14-generic/arch/x86/include/asm/processor.h:15,
from include/linux/prefetch.h:14,
from include/linux/list.h:6,
from include/linux/module.h:9,
from /home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttv-driver.c:32:
include/linux/kernel.h:576:1: warning: this is the location of the previous definition
/home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttv-driver.c:169: warning: 'struct class_device' declared inside parameter list
/home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttv-driver.c:169: warning: its scope is only this definition or declaration, which is probably not what you want
/home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttv-driver.c: In function 'show_card':
/home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttv-driver.c:171: warning: initialization from incompatible pointer type
/home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttv-driver.c:172: error: incompatible type for argument 1 of 'dev_get_drvdata'
include/linux/device.h:449: note: expected 'const struct device *' but argument is of type 'struct device'
/home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttv-driver.c: At top level:
/home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttv-driver.c:175: error: expected ')' before '(' token
/home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttv-driver.c: In function 'audio_mux':
/home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttv-driver.c:1263: error: 'VIDIOC_INT_S_AUDIO_ROUTING' undeclared (first use in this function)
/home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttv-driver.c:1263: error: (Each undeclared identifier is reported only once
/home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttv-driver.c:1263: error: for each function it appears in.)
/home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttv-driver.c: In function 'bttv_switch_overlay':
/home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttv-driver.c:1772: error: 'STATE_DONE' undeclared (first use in this function)
/home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttv-driver.c: In function 'bttv_prepare_buffer':
/home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttv-driver.c:1883: error: 'STATE_NEEDS_INIT' undeclared (first use in this function)
/home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttv-driver.c:1893: error: 'STATE_PREPARED' undeclared (first use in this function)
/home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttv-driver.c: In function 'buffer_queue':
/home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttv-driver.c:1932: error: 'STATE_QUEUED' undeclared (first use in this function)
/home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttv-driver.c: In function 'bttv_common_ioctls':
/home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttv-driver.c:2110: error: implicit declaration of function 'v4l2_video_std_construct'
/home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttv-driver.c:2305: error: dereferencing pointer to incomplete type
/home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttv-driver.c:2305: error: dereferencing pointer to incomplete type
/home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttv-driver.c:2305: error: too many arguments to function 'v4l2_chip_match_host'
/home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttv-driver.c:2308: error: dereferencing pointer to incomplete type
/home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttv-driver.c:2310: error: dereferencing pointer to incomplete type
/home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttv-driver.c:2310: error: dereferencing pointer to incomplete type
/home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttv-driver.c:2312: error: dereferencing pointer to incomplete type
/home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttv-driver.c:2312: error: dereferencing pointer to incomplete type
/home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttv-driver.c: In function 'setup_window':
/home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttv-driver.c:2605: error: 'struct videobuf_queue' has no member named 'lock'
/home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttv-driver.c:2622: error: implicit declaration of function 'videobuf_pci_alloc'
/home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttv-driver.c:2622: warning: assignment makes pointer from integer without a cast
/home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttv-driver.c:2627: error: 'struct videobuf_queue' has no member named 'lock'
/home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttv-driver.c: In function 'bttv_s_fmt':
/home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttv-driver.c:2808: error: 'struct videobuf_queue' has no member named 'lock'
/home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttv-driver.c:2817: error: 'struct videobuf_queue' has no member named 'lock'
/home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttv-driver.c: In function 'bttv_do_ioctl':
/home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttv-driver.c:2846: error: implicit declaration of function 'v4l_print_ioctl'
/home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttv-driver.c:2919: error: 'struct videobuf_queue' has no member named 'lock'
/home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttv-driver.c:2950: error: 'struct videobuf_queue' has no member named 'lock'
/home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttv-driver.c:3024: error: 'struct videobuf_queue' has no member named 'lock'
/home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttv-driver.c:3062: error: 'struct videobuf_queue' has no member named 'lock'
/home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttv-driver.c:3085: error: 'struct videobuf_queue' has no member named 'lock'
/home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttv-driver.c:3088: warning: assignment makes pointer from integer without a cast
/home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttv-driver.c:3097: error: 'struct videobuf_queue' has no member named 'lock'
/home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttv-driver.c:3106: error: 'struct videobuf_queue' has no member named 'lock'
/home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttv-driver.c:3116: error: 'struct videobuf_queue' has no member named 'lock'
/home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttv-driver.c:3134: error: 'struct videobuf_queue' has no member named 'lock'
/home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttv-driver.c:3141: error: 'STATE_QUEUED' undeclared (first use in this function)
/home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttv-driver.c:3142: error: 'STATE_ACTIVE' undeclared (first use in this function)
/home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttv-driver.c:3157: error: 'struct videobuf_queue' has no member named 'lock'
/home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttv-driver.c:3168: error: 'struct videobuf_queue' has no member named 'lock'
/home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttv-driver.c:3177: error: 'STATE_ERROR' undeclared (first use in this function)
/home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttv-driver.c:3180: error: 'STATE_DONE' undeclared (first use in this function)
/home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttv-driver.c:3191: error: 'struct videobuf_queue' has no member named 'lock'
/home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttv-driver.c:3205: error: implicit declaration of function 'v4l_compat_translate_ioctl'
/home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttv-driver.c:3354: error: 'struct videobuf_queue' has no member named 'lock'
/home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttv-driver.c:3380: warning: assignment makes pointer from integer without a cast
/home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttv-driver.c:3386: error: 'struct videobuf_queue' has no member named 'lock'
/home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttv-driver.c:3595: error: 'struct videobuf_queue' has no member named 'lock'
/home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttv-driver.c:3613: error: 'struct videobuf_queue' has no member named 'lock'
/home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttv-driver.c:3639: error: 'struct videobuf_queue' has no member named 'lock'
/home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttv-driver.c: In function 'bttv_ioctl':
/home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttv-driver.c:3675: error: implicit declaration of function 'video_usercopy'
/home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttv-driver.c: In function 'bttv_read':
/home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttv-driver.c:3688: error: 'v4l2_type_names' undeclared (first use in this function)
/home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttv-driver.c: In function 'bttv_poll':
/home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttv-driver.c:3732: error: 'struct videobuf_queue' has no member named 'lock'
/home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttv-driver.c:3736: error: 'struct videobuf_queue' has no member named 'lock'
/home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttv-driver.c:3739: warning: assignment makes pointer from integer without a cast
/home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttv-driver.c:3741: error: 'struct videobuf_queue' has no member named 'lock'
/home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttv-driver.c:3749: error: 'struct videobuf_queue' has no member named 'lock'
/home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttv-driver.c:3755: error: 'struct videobuf_queue' has no member named 'lock'
/home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttv-driver.c:3760: error: 'STATE_DONE' undeclared (first use in this function)
/home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttv-driver.c:3761: error: 'STATE_ERROR' undeclared (first use in this function)
/home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttv-driver.c: In function 'bttv_open':
/home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttv-driver.c:3794: error: 'v4l2_type_names' undeclared (first use in this function)
/home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttv-driver.c:3806: error: implicit declaration of function 'videobuf_queue_pci_init'
/home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttv-driver.c: In function 'bttv_mmap':
/home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttv-driver.c:3891: error: 'v4l2_type_names' undeclared (first use in this function)
/home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttv-driver.c: At top level:
/home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttv-driver.c:3903: error: 'v4l_compat_ioctl32' undeclared here (not in a function)
/home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttv-driver.c:3914: error: unknown field 'type' specified in initializer
/home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttv-driver.c:3916: error: unknown field 'hardware' specified in initializer
/home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttv-driver.c:3916: error: 'VID_HARDWARE_BT848' undeclared here (not in a function)
/home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttv-driver.c:3917: warning: initialization from incompatible pointer type
/home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttv-driver.c:3924: error: unknown field 'type' specified in initializer
/home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttv-driver.c:3925: error: unknown field 'hardware' specified in initializer
/home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttv-driver.c:3926: warning: initialization from incompatible pointer type
/home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttv-driver.c: In function 'radio_open':
/home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttv-driver.c:3957: error: 'AUDC_SET_RADIO' undeclared (first use in this function)
/home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttv-driver.c: At top level:
/home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttv-driver.c:4072: error: unknown field 'type' specified in initializer
/home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttv-driver.c:4073: error: unknown field 'hardware' specified in initializer
/home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttv-driver.c:4074: warning: initialization from incompatible pointer type
/home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttv-driver.c: In function 'bttv_irq_timeout':
/home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttv-driver.c:4357: error: 'STATE_ERROR' undeclared (first use in this function)
/home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttv-driver.c: In function 'bttv_irq_wakeup_top':
/home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttv-driver.c:4393: error: 'STATE_DONE' undeclared (first use in this function)
/home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttv-driver.c: In function 'bttv_irq_switch_video':
/home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttv-driver.c:4442: error: 'STATE_DONE' undeclared (first use in this function)
/home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttv-driver.c: In function 'bttv_irq_switch_vbi':
/home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttv-driver.c:4475: error: 'STATE_DONE' undeclared (first use in this function)
/home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttv-driver.c: In function 'vdev_init':
/home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttv-driver.c:4616: error: incompatible types when assigning to type 'struct device' from type 'struct device *'
/home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttv-driver.c: In function 'bttv_register_video':
/home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttv-driver.c:4654: error: 'struct video_device' has no member named 'type'
/home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttv-driver.c:4667: error: implicit declaration of function 'class_device_create_file'
/home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttv-driver.c:4667: error: 'struct video_device' has no member named 'class_dev'
/home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttv-driver.c:4668: error: 'class_device_attr_card' undeclared (first use in this function)
make[4]: *** [/home/marco/.dvb/tm6000-older-81e660c50b26/v4l/bttv-driver.o] Error 1
make[3]: *** [_module_/home/marco/.dvb/tm6000-older-81e660c50b26/v4l] Error 2
make[2]: *** [sub-make] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.31-14-generic'
make[1]: *** [default] Errore 2
make[1]: uscita dalla directory «/home/marco/.dvb/tm6000-older-81e660c50b26/v4l»
make: *** [all] Errore 2
marco@marco-laptop:~/.dvb/tm6000-older-81e660c50b26$
Re: Tv Receiver
Inviato: venerdì 20 novembre 2009, 11:35
da Xgaz
L'errore sembrerebbe nella compilazione di
bttv-driver.o ...che a noi non serve
L'ideale sarebbe selezionare solo il driver che ci interessa compilare con
make menuconfig.....ma l'ultima volta che ho provato mi sono perso tra i menu ::)
Oggi sono al lavoro e non ho un pc con ubuntu sottomano...stasera riprovo

Re: Tv Receiver
Inviato: venerdì 20 novembre 2009, 12:16
da brus46
ok ho dato sudo make makeconfig
si è bloccato subito... dovevo installare ncurses-dev
sudo apt-get install ncurses-dev
riprovo e stavolta il menu parte
dopo ti aggiorno...
Re: Tv Receiver
Inviato: venerdì 20 novembre 2009, 23:56
da Xgaz
Ho smanettato nei menu e ho tolto tutti i driver per bt878 e affini, riprovato a compilare ma adesso si ferma su un altro driver:
cpia >:(
* Description:
* This is a USB driver for CPia2 based video cameras.
* The infrastructure of this driver is based on the cpia usb driver by
* Jochen Scharrlach and Johannes Erdfeldt.
questi gli errori:
/home/xgaz/tm6000-older-81e660c50b26/v4l/cpia2_v4l.c:90:2: error: #error "VID_HARDWARE_CPIA2 should have been defined in linux/videodev.h"
/home/xgaz/tm6000-older-81e660c50b26/v4l/cpia2_v4l.c: In function 'cpia2_ioctl':
/home/xgaz/tm6000-older-81e660c50b26/v4l/cpia2_v4l.c

error: implicit declaration of function 'video_usercopy'
/home/xgaz/tm6000-older-81e660c50b26/v4l/cpia2_v4l.c: At top level:
/home/xgaz/tm6000-older-81e660c50b26/v4l/cpia2_v4l.c

error: 'v4l_compat_ioctl32' undeclared here (not in a function)
/home/xgaz/tm6000-older-81e660c50b26/v4l/cpia2_v4l.c

error: unknown field 'owner' specified in initializer
/home/xgaz/tm6000-older-81e660c50b26/v4l/cpia2_v4l.c

warning: initialization from incompatible pointer type
/home/xgaz/tm6000-older-81e660c50b26/v4l/cpia2_v4l.c

error: unknown field 'type' specified in initializer
/home/xgaz/tm6000-older-81e660c50b26/v4l/cpia2_v4l.c

error: unknown field 'type2' specified in initializer
/home/xgaz/tm6000-older-81e660c50b26/v4l/cpia2_v4l.c

error: unknown field 'hardware' specified in initializer
/home/xgaz/tm6000-older-81e660c50b26/v4l/cpia2_v4l.c

error: 'VID_HARDWARE_CPIA2' undeclared here (not in a function)
/home/xgaz/tm6000-older-81e660c50b26/v4l/cpia2_v4l.c

warning: initialization from incompatible pointer type
make[4]: *** [/home/xgaz/tm6000-older-81e660c50b26/v4l/cpia2_v4l.o] Error 1
make[3]: *** [_module_/home/xgaz/tm6000-older-81e660c50b26/v4l] Error 2
make[2]: *** [sub-make] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.31-15-generic'
make[1]: *** [default] Errore 2
make[1]: uscita dalla directory «/home/xgaz/tm6000-older-81e660c50b26/v4l»
make: *** [all] Errore 2
Mi stanno girando le balls...non vorrei che fosse una missione impossibile con questi drivers così vecchi e finire tutta la notte ad escludere moduli e ricompilare!!
Re: Tv Receiver
Inviato: sabato 21 novembre 2009, 11:38
da brus46
Ok.. sto provando un cambio totale di strategia.
nel ramo principale di v4l-dvb sembra esserci adesso il supporto per la nostra avermedia in mezzo a tutti gli altri..
e sembra per il nostro kernel...
sto provando a makeconfigurare e installare... ti faccio sapere i risultati
incrocia le dita

Re: Tv Receiver
Inviato: sabato 21 novembre 2009, 11:58
da brus46
primo exp fallito
ho provato a selezionare i driver da installare... al riavvio non mi legge la chiavetta..
riprovo installando tutto.