Tv Receiver

Riconoscimento, installazione e configurazione delle periferiche.
MrMela
Prode Principiante
Messaggi: 86
Iscrizione: domenica 2 novembre 2008, 9:32

Re: Tv Receiver

Messaggio da MrMela »

Scusami, io ho la Hauppauge HVR 900H, di cui hai linkato il firmware, stasera provo come mi hai detto ad abilitare gli staging, poi ti faccio sapere
MrMela
Prode Principiante
Messaggi: 86
Iscrizione: domenica 2 novembre 2008, 9:32

Re: Tv Receiver

Messaggio da MrMela »

Ho ricompilato come mi hai detto ed ho inserito il file del firmware che hai linkato, la novità è che finalmente si accende il led della chiavetta, ma finisce lì.

il comando

Codice: Seleziona tutto

andrea@andrea-desktop:~$ sudo modprobe tm6000
non mi restituisce nulla

e ovviamente non è possibile fare la scansione dei canali in kaffeine
Avatar utente
Xgaz
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 2568
Iscrizione: lunedì 16 marzo 2009, 11:14
Contatti:

Re: Tv Receiver

Messaggio da Xgaz »

Se non ti restituisce nulla vuol dire che si é caricato senza errori...

Se togli e rimetti la chiavetta e poi dai un

Codice: Seleziona tutto

dmesg | tail -n 30
dovresti vedere come si comporta il sistema (ridai sudo modprobe tm6000, prima)
MrMela
Prode Principiante
Messaggi: 86
Iscrizione: domenica 2 novembre 2008, 9:32

Re: Tv Receiver

Messaggio da MrMela »

Ed ecco quello che ne esce

Codice: Seleziona tutto

andrea@andrea-desktop:~$ dmesg | tail -n 30
[  140.832512] tm6000: alt 3, interface 0, class 255
[  140.832515] tm6000: alt 3, interface 0, class 255
[  140.832518] tm6000: alt 3, interface 0, class 255
[  140.832522] tm6000: New video device @ 480 Mbps (2040:6600, ifnum 0)
[  140.832525] tm6000: Found Hauppauge WinTV HVR-900H / WinTV USB2-Stick
[  142.370014] Error -32 while retrieving board version
[  143.233762] tm6000 #1: i2c eeprom 00: 01 59 54 45 12 01 00 02 00 00 00 40 40 20 00 66  .YTE.......@@ .f
[  143.550012] tm6000 #1: i2c eeprom 10: 69 00 10 20 40 01 02 03 48 00 79 00 62 00 72 00  i.. @...H.y.b.r.
[  143.873760] tm6000 #1: i2c eeprom 20: ff 00 64 ff ff ff ff ff ff ff ff ff ff ff ff ff  ..d.............
[  144.193760] tm6000 #1: i2c eeprom 30: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff  ................
[  144.513760] tm6000 #1: i2c eeprom 40: 10 03 48 00 56 00 52 00 39 00 30 00 30 00 48 00  ..H.V.R.9.0.0.H.
[  144.831346] tm6000 #1: i2c eeprom 50: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff  ................
[  145.150010] tm6000 #1: i2c eeprom 60: 30 ff ff ff 0f ff ff ff ff ff 0a 03 32 00 2e 00  0...........2...
[  145.470011] tm6000 #1: i2c eeprom 70: 3f 00 ff ff ff ff ff ff ff ff ff ff ff ff ff ff  ?...............
[  145.791289] tm6000 #1: i2c eeprom 80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff  ................
[  146.110010] tm6000 #1: i2c eeprom 90: 36 ff ff ff 16 03 34 00 30 00 33 00 31 00 39 00  6.....4.0.3.1.9.
[  146.430011] tm6000 #1: i2c eeprom a0: 33 00 31 00 39 00 30 00 39 00 00 00 00 00 ff ff  3.1.9.0.9.......
[  146.750010] tm6000 #1: i2c eeprom b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff  ................
[  147.070009] tm6000 #1: i2c eeprom c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff  ................
[  147.390009] tm6000 #1: i2c eeprom d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff  ................
[  147.731267] tm6000 #1: i2c eeprom e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff  ................
[  148.043763] tm6000 #1: i2c eeprom f0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff  ................
[  148.340011]   ................
[  148.342176] tuner 0-0061: chip found @ 0xc2 (tm6000 #1)
[  148.342330] xc2028 0-0061: creating new instance
[  148.342335] xc2028 0-0061: type set to XCeive xc2028/xc3028 tuner
[  148.342339] Setting firmware parameters for xc2028
[  148.342348] usb 1-5: firmware: requesting xc3028L-v36.fw
[  148.348103] xc2028 0-0061: Loading 81 firmware images from xc3028L-v36.fw, type: xc2028 firmware, ver 3.6
[  148.633763] xc2028 0-0061: Loading firmware for type=BASE (1), id 0000000000000000.
Avatar utente
Xgaz
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 2568
Iscrizione: lunedì 16 marzo 2009, 11:14
Contatti:

Re: Tv Receiver

Messaggio da Xgaz »

Da quello che vedo, purtroppo, la tua scheda non rientra tra quelle supportate dall'aggiornamento:
MrMela ha scritto: [  140.832522] tm6000: New video device @ 480 Mbps (2040:6600, ifnum 0)
Quelle supportate sono:
-add Hauppauge WinTV HVR 900H/WinTV USB2-Stick
vid/pid
0x2040/6601
0x2040/6610
0x2040/6611
Mi sa che ti tocca attendere ancora un pò...  :-\

Ci siamo quasi però...il driver funziona ed arriva fino a caricare il firmware, ma poi, come al solito, non crea il device dvb  :'(

Prova, per curiosità, a vedere se l'analogico funziona: installati tvtime
MrMela
Prode Principiante
Messaggi: 86
Iscrizione: domenica 2 novembre 2008, 9:32

Re: Tv Receiver

Messaggio da MrMela »

Scusami ma vedendo qui

http://linuxtv.org/hg/v4l-dvb/rev/aa7b0ae6eaf7

alla riga 56 vedo se non sbaglio la mia scheda, che non è stata inserita dall'aggiornamento perchè era già presente

Codice: Seleziona tutto

    1.56  	{ USB_DEVICE(0x2040, 0x6600), .driver_info = TM6010_BOARD_HAUPPAUGE_900H },
Significa qualcosa il fatto che sia nominato il TM6010 invece del TM6000? devo forse abilitare quest'altro driver?
Avatar utente
Xgaz
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 2568
Iscrizione: lunedì 16 marzo 2009, 11:14
Contatti:

Re: Tv Receiver

Messaggio da Xgaz »

Hai ragione, era già stata inserita... ;D

Il driver tm6000 comprende anche le periferiche con tm6010, quindi dovrebbe andar bene... :-\

Mi sa che siamo alle solite...il firmware non è quello corretto, almeno qui in Italia  :'(

Teniamo sotto controllo eventuali sviluppi: https://patchwork.kernel.org/project/linux-media/list/

e integrazioni al ramo principale dei drivers: http://linuxtv.org/hg/v4l-dvb/
Avatar utente
Xgaz
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 2568
Iscrizione: lunedì 16 marzo 2009, 11:14
Contatti:

Re: Tv Receiver

Messaggio da Xgaz »

Al driver, per fortuna, ci stanno lavorando...

Ieri sono uscite tre nuove patch:
https://patchwork.kernel.org/patch/89016/
https://patchwork.kernel.org/patch/89017/
https://patchwork.kernel.org/patch/89018/

Aspettiamo che le testino, poi eventualmente rifacciamo la compilazione e...vediamo che effetto fa  ;D
Avatar utente
Xgaz
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 2568
Iscrizione: lunedì 16 marzo 2009, 11:14
Contatti:

Re: Tv Receiver

Messaggio da Xgaz »

Ci sono novità  (good)

Sembra che ci sia un firmware per le vostre schede!
E' stato battezzato: xc3028-v24.fw
https://patchwork.kernel.org/patch/92819/

Non sono una cima con l'inglese ma penso di aver capito, più o meno, il da farsi...solo che non ho nessuna pennetta tm6000/6010 per provare  ;D

Se volete tentare:

1) Se avete già scaricato i drivers  precedentemente, con hg clone, copiatevi lo script per estrarre il firmware (va modificato):

Codice: Seleziona tutto

sudo cp ~/v4l-dvb/linux/Documentation/video4linux/extract_xc3028.pl ~/
2) scaricate da qui la patch per lo script e copiatela nella vostra home...

Poi patchate lo script di estrazione:

Codice: Seleziona tutto

sudo patch -p1 < ~/tm6000-firmware.patch
Vi chiederà quale file patchare; scrivete: extract_xc3028.pl


3) scaricate i drivers per windows che servono per estrarre il firmware:

Codice: Seleziona tutto

sudo wget http://www.stefanringel.de/pub/20080303_V1.0.6.7.zip

Codice: Seleziona tutto

sudo wget http://www.steventoth.net/linux/xc5000/HVR-12x0-14x0-17x0_1_25_25271_WHQL.zip
ed estraeteli:

Codice: Seleziona tutto

sudo unzip -j 20080303_V1.0.6.7.zip 20080303_v1.0.6.7/UDXTTM6000.sys

Codice: Seleziona tutto

sudo unzip -j HVR-12x0-14x0-17x0_1_25_25271_WHQL.zip Driver85/hcw85bda.sys
3) rendiamo eseguibile lo script di estrazione:

Codice: Seleziona tutto

sudo chmod 755 extract_xc3028.pl 
ed usiamolo:

Codice: Seleziona tutto

sudo ./extract_xc3028.pl
Vi verranno creati nella /home due firmware:
xc3028-v24.fw
xc3028-v27.fw

Adesso...
attualmente il driver chiede, per far funzionare la 900H, il firmware  xc3028L-v36.fw, quindi non credo che inserendo il xc3028-v24.fw possa funzionare  ???
Probabilmente dovrà essere creata un'ulteriore patch ai drivers per usare tale fimware...attendiamo le mosse di Ringel  ;)

Per adesso proviamo così:

Codice: Seleziona tutto

sudo rm /lib/firmware/xc3028L-v36.fw

Codice: Seleziona tutto

sudo cp xc3028-v24.fw /lib/firmware/xc3028L-v36.fw
Poi riavviamo e sempre con:

Codice: Seleziona tutto

sudo modprobe tm6000
e

Codice: Seleziona tutto

dmesg | tail -n 30
...vediamo cos'è successo  8)
MrMela
Prode Principiante
Messaggi: 86
Iscrizione: domenica 2 novembre 2008, 9:32

Re: Tv Receiver

Messaggio da MrMela »

Questo è ciò che esce

Codice: Seleziona tutto

andrea@andrea-desktop:~$ dmesg | tail -n 30
[ 2826.113764] tm6000 #0: i2c eeprom 20: ff 00 64 ff ff ff ff ff ff ff ff ff ff ff ff ff  ..d.............
[ 2826.431586] tm6000 #0: i2c eeprom 30: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff  ................
[ 2826.753760] tm6000 #0: i2c eeprom 40: 10 03 48 00 56 00 52 00 39 00 30 00 30 00 48 00  ..H.V.R.9.0.0.H.
[ 2827.072528] tm6000 #0: i2c eeprom 50: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff  ................
[ 2827.392548] tm6000 #0: i2c eeprom 60: 30 ff ff ff 0f ff ff ff ff ff 0a 03 32 00 2e 00  0...........2...
[ 2827.710013] tm6000 #0: i2c eeprom 70: 3f 00 ff ff ff ff ff ff ff ff ff ff ff ff ff ff  ?...............
[ 2828.033768] tm6000 #0: i2c eeprom 80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff  ................
[ 2828.353763] tm6000 #0: i2c eeprom 90: 36 ff ff ff 16 03 34 00 30 00 33 00 31 00 39 00  6.....4.0.3.1.9.
[ 2828.673763] tm6000 #0: i2c eeprom a0: 33 00 31 00 39 00 30 00 39 00 00 00 00 00 ff ff  3.1.9.0.9.......
[ 2828.990015] tm6000 #0: i2c eeprom b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff  ................
[ 2829.310048] tm6000 #0: i2c eeprom c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff  ................
[ 2829.633766] tm6000 #0: i2c eeprom d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff  ................
[ 2829.953775] tm6000 #0: i2c eeprom e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff  ................
[ 2830.271363] tm6000 #0: i2c eeprom f0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff  ................
[ 2830.573770]   ................
[ 2830.577215] tuner 0-0061: chip found @ 0xc2 (tm6000 #0)
[ 2830.587812] xc2028 0-0061: creating new instance
[ 2830.587818] xc2028 0-0061: type set to XCeive xc2028/xc3028 tuner
[ 2830.587824] Setting firmware parameters for xc2028
[ 2830.587834] usb 1-3: firmware: requesting xc3028L-v36.fw
[ 2830.602697] xc2028 0-0061: Loading 77 firmware images from xc3028L-v36.fw, type: xc2028 firmware, ver 2.4
[ 2830.893782] xc2028 0-0061: Loading firmware for type=BASE (1), id 0000000000000000.
[ 2877.180028] xc2028 0-0061: Loading firmware for type=(0), id 000000000000b700.
[ 2878.863807] SCODE (20000000), id 000000000000b700:
[ 2878.863818] xc2028 0-0061: Loading SCODE for type=MONO SCODE HAS_IF_4320 (60008000), id 0000000000008000.
[ 2880.400115] Trident TVMaster TM5600/TM6000/TM6010 USB2 board (Load status: 0)
[ 2880.400150] usbcore: registered new interface driver tm6000
[ 2880.416745] tm6000: open called (dev=video0)
[ 2881.463766] Original value=255
[ 2881.524661] tm6000: open called (dev=video0)
Ancora però Me TV e Kaffeine non mi trovano nulla... il trucchetto, come era ipotizzabile, non va
Avatar utente
brus46
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1714
Iscrizione: martedì 13 giugno 2006, 22:31
Località: Palazzolo Milanese (MI)
Contatti:

Re: Tv Receiver

Messaggio da brus46 »

sti cacchio di firmware geolocalizzati -.-' ma non potevano farne uno all over the world?
E nel vedere quest'uomo che muore, madre io provo dolore,
Nella pietà che non cede al rancore, madre ho imparato l'amore
Sciallo, il sito web del vero ubuntista Scialloso Usa la ricerca
Avatar utente
Xgaz
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 2568
Iscrizione: lunedì 16 marzo 2009, 11:14
Contatti:

Re: Tv Receiver

Messaggio da Xgaz »

niente...peccato!

Mi dispiace ragazzi ma non posso far altro che attendere ulteriori sviluppi da parte di Ringel...

...non siamo distanti dalla vetta ormai ;)
Avatar utente
Xgaz
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 2568
Iscrizione: lunedì 16 marzo 2009, 11:14
Contatti:

Re: Tv Receiver

Messaggio da Xgaz »

C'è una modifica, accettata, di Ringel alla patch per lo script di estrazione firmware...

La patch è qui

La procedura è la stessa; cambia solo la patch


Se volete provare...
Avatar utente
Xgaz
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 2568
Iscrizione: lunedì 16 marzo 2009, 11:14
Contatti:

Re: Tv Receiver

Messaggio da Xgaz »

NOVITA!!

Ingredienti:
- una giornata uggiosa durante la vacanza al mare e quindi un pò di tempo da dedicare alle prove;
- una pennetta Hauppauge 900H che risponde a lsusb con ID= 2040:6600
- gli ultimi V4L scaricati da reposity mercurial (HG)
- un firmware xc3028L-v36.fw   

eeeeee.....

...FUNZIONA !!!

L'ho testato solo con Karmic Koala (purtroppo ho solo questo sul portatile a disposizione) e kernel 2.6.34 (con il 2.6.31 i v4l non si complilano) e con la schifezza di antennino a corredo: ricevo pochi canali un pò disturbati ma credo sia dovuto anche alla zona (poco coperta dal digitale terrestre).

Ho notato però che il pennino ci mette una vita ad inizializzarsi ed agganciare il primo canale (luce gialla) ma poi, una volta fatta la sintonia, il cambio canale è uguale alle altre penne...
Ah...dimenticavo: testato con Kaffeine 0.8.8  ;)


La procedura è la mia solita:

1) Installare gli strumenti per compilare :

Codice: Seleziona tutto

sudo apt-get install mercurial build-essential linux-image-`uname -r` linux-headers-`uname -r`
2) Scaricare i drivers :

Codice: Seleziona tutto

sudo hg clone http://linuxtv.org/hg/v4l-dvb
3) Compilare:

Codice: Seleziona tutto

cd v4l-dvb

Codice: Seleziona tutto

sudo make
aspettare circa 8-10 secondi e poi stoppare tutto con CTRL+C ; editare poi il file config:

Codice: Seleziona tutto

sudo gedit ~/v4l-dvb/v4l/.config 
cercare la riga: CONFIG_DVB_FIREDTV=m e cambiarla con CONFIG_DVB_FIREDTV=n
aggiungere poi le righe:

Codice: Seleziona tutto

CONFIG_VIDEO_TM6000=m
CONFIG_VIDEO_TM6000_ALSA=m
CONFIG_VIDEO_TM6000_DVB=y
salvare e ridare il comando sudo make...

4)Se il comando precedente va a buon fine, senza errori, procedere con:

Codice: Seleziona tutto

sudo make install
5)Inserire il firmware:

Codice: Seleziona tutto

cd /lib/firmware

Codice: Seleziona tutto

sudo wget http://www.steventoth.net/linux/hvr1400/xc3028L-v36.fw
6) Riavviare:

Codice: Seleziona tutto

sudo reboot
7) Caricare driver:

Codice: Seleziona tutto

sudo modprobe tm6000
Il risultato su dmesg dovrebbe essere più o meno questo:

Codice: Seleziona tutto

[  163.125969] Linux video capture interface: v2.00
[  163.210073] tm6000 v4l2 driver version 0.0.2 loaded
[  163.211092] tm6000: alt 0, interface 0, class 255
[  163.211098] tm6000: alt 0, interface 0, class 255
[  163.211103] tm6000: Bulk IN endpoint: 0x82 (max size=512 bytes)
[  163.211108] tm6000: alt 0, interface 0, class 255
[  163.211112] tm6000: alt 1, interface 0, class 255
[  163.211117] tm6000: ISOC IN endpoint: 0x81 (max size=3072 bytes)
[  163.211122] tm6000: alt 1, interface 0, class 255
[  163.211126] tm6000: alt 1, interface 0, class 255
[  163.211130] tm6000: alt 2, interface 0, class 255
[  163.211134] tm6000: alt 2, interface 0, class 255
[  163.211139] tm6000: alt 2, interface 0, class 255
[  163.211143] tm6000: alt 3, interface 0, class 255
[  163.211148] tm6000: alt 3, interface 0, class 255
[  163.211152] tm6000: alt 3, interface 0, class 255
[  163.211157] tm6000: New video device @ 480 Mbps (2040:6600, ifnum 0)
[  163.211161] tm6000: Found Hauppauge WinTV HVR-900H / WinTV USB2-Stick
[  164.132069] Board version = 0x67980bf4
[  164.524070] board=0x67980bf4
[  164.648060] tm6000 #0: i2c eeprom 00: 01 59 54 45 12 01 00 02 00 00 00 40 40 20 00 66  .YTE.......@@ .f
[  164.840055] tm6000 #0: i2c eeprom 10: 69 00 10 20 40 01 02 03 48 00 79 00 62 00 72 00  i.. @...H.y.b.r.
[  165.032064] tm6000 #0: i2c eeprom 20: ff 00 64 ff ff ff ff ff ff ff ff ff ff ff ff ff  ..d.............
[  165.224053] tm6000 #0: i2c eeprom 30: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff  ................
[  165.420053] tm6000 #0: i2c eeprom 40: 10 03 48 00 56 00 52 00 39 00 30 00 30 00 48 00  ..H.V.R.9.0.0.H.
[  165.612053] tm6000 #0: i2c eeprom 50: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff  ................
[  165.805082] tm6000 #0: i2c eeprom 60: 30 ff ff ff 0f ff ff ff ff ff 0a 03 32 00 2e 00  0...........2...
[  165.996055] tm6000 #0: i2c eeprom 70: 3f 00 ff ff ff ff ff ff ff ff ff ff ff ff ff ff  ?...............
[  166.188055] tm6000 #0: i2c eeprom 80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff  ................
[  166.380039] tm6000 #0: i2c eeprom 90: 38 ff ff ff 16 03 34 00 30 00 33 00 32 00 31 00  8.....4.0.3.2.1.
[  166.573200] tm6000 #0: i2c eeprom a0: 33 00 38 00 31 00 35 00 30 00 00 00 00 00 ff ff  3.8.1.5.0.......
[  166.764056] tm6000 #0: i2c eeprom b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff  ................
[  166.956056] tm6000 #0: i2c eeprom c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff  ................
[  167.148054] tm6000 #0: i2c eeprom d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff  ................
[  167.340056] tm6000 #0: i2c eeprom e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff  ................
[  167.532054] tm6000 #0: i2c eeprom f0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff  ................
[  167.712061]   ................
[  167.735466] tuner 2-0061: chip found @ 0xc2 (tm6000 #0)
[  167.785254] xc2028 2-0061: creating new instance
[  167.785262] xc2028 2-0061: type set to XCeive xc2028/xc3028 tuner
[  167.785268] Setting firmware parameters for xc2028
[  167.785281] usb 1-4: firmware: requesting xc3028L-v36.fw
[  167.815391] xc2028 2-0061: Loading 81 firmware images from xc3028L-v36.fw, type: xc2028 firmware, ver 3.6
[  168.056049] xc2028 2-0061: Loading firmware for type=BASE (1), id 0000000000000000.
[  242.792060] xc2028 2-0061: Loading firmware for type=(0), id 000000000000b700.
[  244.060054] SCODE (20000000), id 000000000000b700:
[  244.060066] xc2028 2-0061: Loading SCODE for type=MONO SCODE HAS_IF_4320 (60008000), id 0000000000008000.
[  245.328190] Trident TVMaster TM5600/TM6000/TM6010 USB2 board (Load status: 0)
[  245.448566] tm6000: open called (dev=video0)
[  245.513061] DVB: registering new adapter (Trident TVMaster 6000 DVB-T)
[  245.513071] DVB: registering adapter 0 frontend 0 (Zarlink ZL10353 DVB-T)...
[  245.513381] xc2028 2-0061: attaching existing instance
[  245.513388] xc2028 2-0061: type set to XCeive xc2028/xc3028 tuner
[  245.513392] tm6000: XC2028/3028 asked to be attached to frontend!
[  245.513628] usbcore: registered new interface driver tm6000
...e il pennino dovrebbe essere pronto per essere usato con Kaffeine

Fatemi sapere...
MrMela
Prode Principiante
Messaggi: 86
Iscrizione: domenica 2 novembre 2008, 9:32

Re: Tv Receiver

Messaggio da MrMela »

Ovviamente a me non va...

Codice: Seleziona tutto

  CC [M]  /home/andrea/v4l-dvb/v4l/tda18271-fe.o
  CC [M]  /home/andrea/v4l-dvb/v4l/tm6000-cards.o
  CC [M]  /home/andrea/v4l-dvb/v4l/tm6000-core.o
/home/andrea/v4l-dvb/v4l/tm6000-core.c: In function 'tm6000_init_analog_mode':
/home/andrea/v4l-dvb/v4l/tm6000-core.c:343: warning: ISO C90 forbids mixed declarations and code
  CC [M]  /home/andrea/v4l-dvb/v4l/tm6000-i2c.o
  CC [M]  /home/andrea/v4l-dvb/v4l/tm6000-video.o
/home/andrea/v4l-dvb/v4l/tm6000-video.c: In function 'tm6000_isoc_copy':
/home/andrea/v4l-dvb/v4l/tm6000-video.c:526: warning: unused variable 'buf'
/home/andrea/v4l-dvb/v4l/tm6000-video.c: In function 'tm6000_uninit_isoc':
/home/andrea/v4l-dvb/v4l/tm6000-video.c:613: error: implicit declaration of function 'usb_free_coherent'
/home/andrea/v4l-dvb/v4l/tm6000-video.c: In function 'tm6000_prepare_isoc':
/home/andrea/v4l-dvb/v4l/tm6000-video.c:705: error: implicit declaration of function 'usb_alloc_coherent'
/home/andrea/v4l-dvb/v4l/tm6000-video.c:706: warning: assignment makes pointer from integer without a cast
make[3]: *** [/home/andrea/v4l-dvb/v4l/tm6000-video.o] Error 1
make[2]: *** [_module_/home/andrea/v4l-dvb/v4l] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.31-18-generic'
make[1]: *** [default] Errore 2
make[1]: uscita dalla directory «/home/andrea/v4l-dvb/v4l»
make: *** [all] Errore 2
andrea@andrea-desktop:~/v4l-dvb$ 
Mi sai dire che significa l'errore? Con i vecchi driver almeno mi si compilava bene, ora nemmeno questo
Avatar utente
Xgaz
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 2568
Iscrizione: lunedì 16 marzo 2009, 11:14
Contatti:

Re: Tv Receiver

Messaggio da Xgaz »

L'ho testato solo con Karmic Koala (purtroppo ho solo questo sul portatile a disposizione) e kernel 2.6.34 (con il 2.6.31 i v4l non si complilano)...
Come ho scritto il driver non si compila con il 2.6.31; ho perciò aggiornato all'ultimo kernel disponibile (2.6.34).

Per installarlo in modo semplice senza sbattersi ci sono i pacchetti già pronti; installa in sequenza questi tre pacchetti:

linux-headers-2.6.34-020634_2.6.34-020634_all.deb
linux-headers-2.6.34-020634-generic_2.6.34-020634_i386.deb
linux-image-2.6.34-020634-generic_2.6.34-020634_i386.deb

Riavvia e verifica di avere il nuovo kernel su grub  (yes)

Elimina la certella dei drivers:

Codice: Seleziona tutto

sudo rm -R v4l-dvb
e riparti con la procedura...  ;)
Avatar utente
zdf_9
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 940
Iscrizione: venerdì 18 giugno 2010, 10:03
Distribuzione: debian x86_64

Re: Tv Receiver

Messaggio da zdf_9 »

GRAZIE per le dritte: installato e funzionante...  (b2b)
Ho notato però che il pennino ci mette una vita ad inizializzarsi ed agganciare il primo canale (luce gialla) ma poi, una volta fatta la sintonia, il cambio canale è uguale alle altre penne...
Il mio pennino ha serie difficolta' nell'agganciare il primo canale. Con Kaffeine devo insistere parecchie volte (cambiando canale o riavviando il programma) per farlo agganciare. Poi tutto OK.
il nemico più grande si nasconde nell'ultimo posto dove guardi
Avatar utente
Xgaz
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 2568
Iscrizione: lunedì 16 marzo 2009, 11:14
Contatti:

Re: Tv Receiver

Messaggio da Xgaz »

zdf_9 ha scritto: Il mio pennino ha serie difficolta' nell'agganciare il primo canale. Con Kaffeine devo insistere parecchie volte (cambiando canale o riavviando il programma) per farlo agganciare. Poi tutto OK.
Si, molta difficoltà... (bad)
Dopo che do il comando modprobe tm6000 ci mette anche due minuti per caricare il modulo e per non parlare di kaffeine: anche cinque minuti prima di visualizzare il primo canale che seleziono!

Adesso provo alcune patch prodotte dopo il 23 Maggio, che sembra sia la data dell'ultima modifica dei drivers tm6000 sui repository hg;

da qui: https://patchwork.kernel.org/project/linux-media/list/?state=*&q=tm6000
Vediamo se migliora qualcosa  :-\

Comunque direi che un'altra delle roccaforti che resistevano a linux ormai è caduta!  (good)
Si tratta solo di ottimizzare il driver e poi, alla faccia della Trident, tutto sarà perfetto  ;)
Avatar utente
Xgaz
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 2568
Iscrizione: lunedì 16 marzo 2009, 11:14
Contatti:

Re: Tv Receiver

Messaggio da Xgaz »

Confermato: anche con il kernel 2.6.32-22 di Lucid il driver non si compila  (bad)

Codice: Seleziona tutto

/home/xgaz/v4l-dvb/v4l/tm6000-core.c: In function 'tm6000_init_analog_mode':
/home/xgaz/v4l-dvb/v4l/tm6000-core.c:343: warning: ISO C90 forbids mixed declarations and code
  CC [M]  /home/xgaz/v4l-dvb/v4l/tm6000-i2c.o
  CC [M]  /home/xgaz/v4l-dvb/v4l/tm6000-video.o
/home/xgaz/v4l-dvb/v4l/tm6000-video.c: In function 'tm6000_isoc_copy':
/home/xgaz/v4l-dvb/v4l/tm6000-video.c:526: warning: unused variable 'buf'
/home/xgaz/v4l-dvb/v4l/tm6000-video.c: In function 'tm6000_uninit_isoc':
/home/xgaz/v4l-dvb/v4l/tm6000-video.c:613: error: implicit declaration of function 'usb_free_coherent'
/home/xgaz/v4l-dvb/v4l/tm6000-video.c: In function 'tm6000_prepare_isoc':
/home/xgaz/v4l-dvb/v4l/tm6000-video.c:705: error: implicit declaration of function 'usb_alloc_coherent'
/home/xgaz/v4l-dvb/v4l/tm6000-video.c:706: warning: assignment makes pointer from integer without a cast
make[3]: *** [/home/xgaz/v4l-dvb/v4l/tm6000-video.o] Error 1
make[2]: *** [_module_/home/xgaz/v4l-dvb/v4l] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.32-22-generic'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/home/xgaz/v4l-dvb/v4l'
make: *** [all] Error 2
Credo funzioni solo con il 2.6.34  (yes)
lupodrillo
Prode Principiante
Messaggi: 201
Iscrizione: sabato 14 gennaio 2006, 15:30

Re: Tv Receiver

Messaggio da lupodrillo »

grazie mille, adesso si che funziona!!

io ricevevo questo errore:

Cannot find demux plugin for MRL "fifo:/home/xxx/.kde/share/apps/kaffeine/dvbpipe.m2t

risolto in questo modo su Ubuntu Lucid 10.04 64bit

Codice: Seleziona tutto

sudo apt-get remove kaffeine

sudo apt-get update && sudo apt-get upgrade

sudo apt-get install kaffeine libxine1 libxine1-all-plugins phonon-backend-xine
Ultima modifica di lupodrillo il domenica 27 giugno 2010, 17:51, modificato 1 volta in totale.
Scrivi risposta

Ritorna a “Driver e periferiche”

Chi c’è in linea

Visualizzano questa sezione: 0 utenti iscritti e 9 ospiti