ficofico
08-06-2008, 20:09
Scrivo questa guida perchè ho avuto difficoltà ad installare la mia technotrend s2-3200 budget pci su linux. In giro ci sono molte guide, la maggior parte vecchie e obsolete, altre con file mancanti, diff file da patchare e quant'altro. Questa procedura l'ho effettuata su gentoo ma penso che vada bene anche su tutte le altre distro, l'unico dubbio ce l'ho sulla fase finale, lo streaming su mplayer, perchè su gentoo ho usato una versione ~x86 che forse non è installata su altre distro, però essendo proprio alla fine lo posso considerare un peccato veniale
software necessari:
Mercurial ( per poter scaricare i file)
Mplayer ( Per vedere in streaming i canali)
Hotplug ( per avviare il firmware)
Consiglio di lavorare in shell come root o con sudo........
Inannzi tutto verifichiamo che la scheda sia riconosciuta
lspci -v
02:07.0 Multimedia controller: Philips Semiconductors SAA7146 (rev 01)
Subsystem: Technotrend Systemtechnik GmbH S2-3200
Flags: bus master, medium devsel, latency 32, IRQ 21
Memory at d7ffe000 (32-bit, non-prefetchable) [size=512]
Dovreste vedere tra le altre anche queste scritte , che riguardano la scheda in oggetto...bene, ora possiamo iniziare
Copiamo il firmware
mkdir -p /opt/dvb && cd /opt/dvb/
wget http://www.linuxtv.org/downloads/firmware/dvb-ttpci-01.fw-2622
cd /lib/firmware && cp -a /opt/dvb/dvb-ttpci-01.fw-2622 . && ln -s dvb-ttpci-01.fw-2622 dvb-ttpci-01.fw
rm /opt/dvb/dvb-ttpci-01.fw-2622
reboot
cd /opt/dvb/ && hg clone -r 7207 http://jusst.de/hg/multiproto && cd multiproto && make menuconfig
Copiate esattamente queste impostazioni
generale
[ ] Enable drivers not supported by this kernel
Multimedia devices --->
Audio devices for multimedia --->
---
Load an Alternate Configuration File
Save an Alternate Configuration File
Multimedia devices
<M> Video For Linux
[ ] Enable Video For Linux API 1 (DEPRECATED)
Enable Video For Linux API 1 compatible Layer
[ ] Video capture adapters --->
[ ] Radio Adapters --->
<M> DVB for Linux
[ ] Load and attach frontend modules as needed
DVB/ATSC adapters --->
[ ] DAB adapters
DVB/ATSC adapters
*** Supported SAA7146 based PCI Adapters ***
<M> AV7110 cards
AV7110 OSD support
<M> SAA7146 DVB cards (aka Budget, Nova-PCI)
< > Budget cards
<M> Budget cards with onboard CI connector
< > Budget cards with analog video inputs
*** Supported USB Adapters ***
< > Support for various USB DVB devices
< > Technotrend/Hauppauge Nova-USB devices
< > Technotrend/Hauppauge USB DEC devices
< > Terratec CinergyT2/qanu USB2 DVB-T receiver
*** Supported FlexCopII (B2C2) Adapters ***
< > Technisat/B2C2 FlexCopII(b) and FlexCopIII adapters
*** Supported BT878 Adapters ***
*** Supported Pluto2 Adapters ***
< > Pluto2 cards
*** Supported DVB Frontends ***
Customise DVB Frontends --->
Customise the frontend modules to build
*** Multistandard (satellite) frontends ***
<M> STB0899 based
<M> STB6100 based tuners
*** DVB-S (satellite) frontends ***
<M> ST STV0299 based
< > Conexant CX24110 based
< > Conexant CX24123 based
< > Philips TDA8083 based
< > Zarlink VP310/MT312 based
< > VLSI VES1893 or VES1993 based
< > Samsung S5H1420 based
< > Philips TDA10086 based
< > Philips TDA8261 based
*** DVB-T (terrestrial) frontends ***
< > Spase sp8870 based
< > Spase sp887x based
< > Conexant CX22700 based
< > Conexant cx22702 demodulator (OFDM)
< > LSI L64781
< > Philips TDA10045H/TDA10046H based
< > NxtWave Communications NXT6000 based
< > Zarlink MT352 based
< > Zarlink ZL10353 based
< > DiBcom 3000M-B
< > DiBcom 3000P/M-C
< > DiBcom 7000MA/MB/PA/PB/MC
< > DiBcom 7000PC
*** DVB-C (cable) frontends ***
< > VLSI VES1820 based
< > Philips TDA10021 based
< > Philips TDA10023 based
< > ST STV0297 based
*** ATSC (North American/Korean Terrestrial/Cable DTV) frontends ***
< > NxtWave Communications NXT2002/NXT2004 based
< > Oren OR51211 based
< > Oren OR51132 based
< > Broadcom BCM3510
< > LG Electronics LGDT3302/LGDT3303 based
< > Samsung S5H1409 based
*** Tuners/PLL support ***
< > Generic I2C PLL based tuners
< > Philips TDA826X silicon tuner
< > Philips TDA827X silicon tuner
< > NXP TDA18271 silicon tuner
< > Quantek QT1010 silicon tuner
< > Microtune MT2060 silicon IF tuner
< > Microtune MT2266 silicon tuner
< > Microtune MT2131 silicon tuner
< > DiBcom DiB0070 silicon base-band tuner
< > Xceive XC5000 silicon tuner
*** Miscellaneous devices ***
<M> LNBP21 SEC controller
< > ISL6421 SEC controller
< > TUA6100 PLL
*** ALSA sound ***
<M> Bt87x Audio Capture
Bt87x Audio overclocking
*** OSS sound ***
uscite e salvate
make && make install
modprobe ttpci-eeprom && modprobe dvb_core && modprobe stb6100 && modprobe stb0899 && modprobe lnbp21 && modprobe stv0299 && modprobe dvb_ttpci && modprobe budget_ci
nano -w /etc/modprobe.d/blacklist
aggiungere:
blacklist budget_ci
blacklist dvb_ttpci
chiudere con ctrl+x e poi Y
Ad ogni riavvio dovrete ridare quella lista di modprobe tramite shell e diritti di root, altrimenti la scheda non verrà vista
dmesg
Se tutto và bene dovreste vedere una cosa tipo questa
Jun 5 18:59:10 seven saa7146: register extension 'budget_ci dvb'.
Jun 5 18:59:10 seven ACPI: PCI Interrupt 0000:04:05.0[A] -> GSI 17 (level, low) -> IRQ 17
Jun 5 18:59:10 seven saa7146: found saa7146 @ mem ffffc20000062600 (revision 1, irq 17) (0x13c2,0x1019).
Jun 5 18:59:10 seven saa7146 (0): dma buffer size 192512
Jun 5 18:59:10 seven DVB: registering new adapter (TT-Budget S2-3200 PCI)
Jun 5 18:59:10 seven adapter has MAC addr = 00:d0:5c:68:6f:6c
Jun 5 18:59:10 seven input: Budget-CI dvb ir receiver saa7146 (0) as /devices/pci0000:00/0000:00:1e.0/0000:04:05.0/input/input4
Jun 5 18:59:10 seven stb0899_get_dev_id: Device ID=[8], Release=[2]
Jun 5 18:59:10 seven stb0899_get_dev_id: Demodulator Core ID=[DMD1], Version=[1]
Jun 5 18:59:10 seven stb0899_get_dev_id: FEC Core ID=[FEC1], Version=[1]
Jun 5 18:59:10 seven stb0899_attach: Attaching STB0899
Jun 5 18:59:10 seven stb6100_attach: Attaching STB6100
Jun 5 18:59:10 seven DVB: registering frontend 0 (STB0899 Multistandard)...
Jun 5 18:59:18 seven Linux video capture interface: v2.00
Jun 5 18:59:18 seven saa7146: register extension 'dvb'.
Adesso i driver sono installati e la scheda è configurata correttamente
Ora facciamo la prova, proviamo a creare un file channels.conf e proviamo tramite mplayer a vedere Canale 5 in streaming
cd /opt/dvb
wget http://ficofico2.interfree.it/s2-3200/dvb-apps.bz2 && tar -xjf dvb-apps.bz2 && rm dvb-apps.bz2
cd dvb-apps/util/scan && make clean && make && make install
mkdir ~/.szap
./scan -t 1 -s 0 dvb-s/Hotbird-13.0E > ~/.szap/channels.conf
cd ../szap && make && make install
./szap -r "Canale 5"
Se tutto và bene dovreste vedere delle righe come queste
status 1e | signal 01a0 | snr 007a | ber 00000000 | unc fffffffe | FE_HAS_LOCK
status 1e | signal 01a0 | snr 0077 | ber 00000000 | unc fffffffe | FE_HAS_LOCK
status 1e | signal 01a0 | snr 0077 | ber 00000000 | unc fffffffe | FE_HAS_LOCK
status 1e | signal 01a0 | snr 0076 | ber 00000000 | unc fffffffe | FE_HAS_LOCK
status 1e | signal 01a0 | snr 0075 | ber 00000000 | unc fffffffe | FE_HAS_LOCK
status 1e | signal 01a0 | snr 0078 | ber 00000000 | unc fffffffe | FE_HAS_LOCK
status 1e | signal 01a0 | snr 0076 | ber 00000000 | unc fffffffe | FE_HAS_LOCK
Importante è che ci sia la scritta FE_HAS_LOCK, altrimenti non vedrete niente
A questo punto vi basterà dare in un altra shell
mplayer /dev/dvb/adapter0/dvr0
e dovreste essere in grado di vedere canale 5 in streaming...... a questo punto se volete usare altri programmi non ci saranno problemi, tranne che per kaffeine che cmq non riuscirà a fare la scansione dei canali, probabilmente dovrete procurarvi VDR....
software necessari:
Mercurial ( per poter scaricare i file)
Mplayer ( Per vedere in streaming i canali)
Hotplug ( per avviare il firmware)
Consiglio di lavorare in shell come root o con sudo........
Inannzi tutto verifichiamo che la scheda sia riconosciuta
lspci -v
02:07.0 Multimedia controller: Philips Semiconductors SAA7146 (rev 01)
Subsystem: Technotrend Systemtechnik GmbH S2-3200
Flags: bus master, medium devsel, latency 32, IRQ 21
Memory at d7ffe000 (32-bit, non-prefetchable) [size=512]
Dovreste vedere tra le altre anche queste scritte , che riguardano la scheda in oggetto...bene, ora possiamo iniziare
Copiamo il firmware
mkdir -p /opt/dvb && cd /opt/dvb/
wget http://www.linuxtv.org/downloads/firmware/dvb-ttpci-01.fw-2622
cd /lib/firmware && cp -a /opt/dvb/dvb-ttpci-01.fw-2622 . && ln -s dvb-ttpci-01.fw-2622 dvb-ttpci-01.fw
rm /opt/dvb/dvb-ttpci-01.fw-2622
reboot
cd /opt/dvb/ && hg clone -r 7207 http://jusst.de/hg/multiproto && cd multiproto && make menuconfig
Copiate esattamente queste impostazioni
generale
[ ] Enable drivers not supported by this kernel
Multimedia devices --->
Audio devices for multimedia --->
---
Load an Alternate Configuration File
Save an Alternate Configuration File
Multimedia devices
<M> Video For Linux
[ ] Enable Video For Linux API 1 (DEPRECATED)
Enable Video For Linux API 1 compatible Layer
[ ] Video capture adapters --->
[ ] Radio Adapters --->
<M> DVB for Linux
[ ] Load and attach frontend modules as needed
DVB/ATSC adapters --->
[ ] DAB adapters
DVB/ATSC adapters
*** Supported SAA7146 based PCI Adapters ***
<M> AV7110 cards
AV7110 OSD support
<M> SAA7146 DVB cards (aka Budget, Nova-PCI)
< > Budget cards
<M> Budget cards with onboard CI connector
< > Budget cards with analog video inputs
*** Supported USB Adapters ***
< > Support for various USB DVB devices
< > Technotrend/Hauppauge Nova-USB devices
< > Technotrend/Hauppauge USB DEC devices
< > Terratec CinergyT2/qanu USB2 DVB-T receiver
*** Supported FlexCopII (B2C2) Adapters ***
< > Technisat/B2C2 FlexCopII(b) and FlexCopIII adapters
*** Supported BT878 Adapters ***
*** Supported Pluto2 Adapters ***
< > Pluto2 cards
*** Supported DVB Frontends ***
Customise DVB Frontends --->
Customise the frontend modules to build
*** Multistandard (satellite) frontends ***
<M> STB0899 based
<M> STB6100 based tuners
*** DVB-S (satellite) frontends ***
<M> ST STV0299 based
< > Conexant CX24110 based
< > Conexant CX24123 based
< > Philips TDA8083 based
< > Zarlink VP310/MT312 based
< > VLSI VES1893 or VES1993 based
< > Samsung S5H1420 based
< > Philips TDA10086 based
< > Philips TDA8261 based
*** DVB-T (terrestrial) frontends ***
< > Spase sp8870 based
< > Spase sp887x based
< > Conexant CX22700 based
< > Conexant cx22702 demodulator (OFDM)
< > LSI L64781
< > Philips TDA10045H/TDA10046H based
< > NxtWave Communications NXT6000 based
< > Zarlink MT352 based
< > Zarlink ZL10353 based
< > DiBcom 3000M-B
< > DiBcom 3000P/M-C
< > DiBcom 7000MA/MB/PA/PB/MC
< > DiBcom 7000PC
*** DVB-C (cable) frontends ***
< > VLSI VES1820 based
< > Philips TDA10021 based
< > Philips TDA10023 based
< > ST STV0297 based
*** ATSC (North American/Korean Terrestrial/Cable DTV) frontends ***
< > NxtWave Communications NXT2002/NXT2004 based
< > Oren OR51211 based
< > Oren OR51132 based
< > Broadcom BCM3510
< > LG Electronics LGDT3302/LGDT3303 based
< > Samsung S5H1409 based
*** Tuners/PLL support ***
< > Generic I2C PLL based tuners
< > Philips TDA826X silicon tuner
< > Philips TDA827X silicon tuner
< > NXP TDA18271 silicon tuner
< > Quantek QT1010 silicon tuner
< > Microtune MT2060 silicon IF tuner
< > Microtune MT2266 silicon tuner
< > Microtune MT2131 silicon tuner
< > DiBcom DiB0070 silicon base-band tuner
< > Xceive XC5000 silicon tuner
*** Miscellaneous devices ***
<M> LNBP21 SEC controller
< > ISL6421 SEC controller
< > TUA6100 PLL
*** ALSA sound ***
<M> Bt87x Audio Capture
Bt87x Audio overclocking
*** OSS sound ***
uscite e salvate
make && make install
modprobe ttpci-eeprom && modprobe dvb_core && modprobe stb6100 && modprobe stb0899 && modprobe lnbp21 && modprobe stv0299 && modprobe dvb_ttpci && modprobe budget_ci
nano -w /etc/modprobe.d/blacklist
aggiungere:
blacklist budget_ci
blacklist dvb_ttpci
chiudere con ctrl+x e poi Y
Ad ogni riavvio dovrete ridare quella lista di modprobe tramite shell e diritti di root, altrimenti la scheda non verrà vista
dmesg
Se tutto và bene dovreste vedere una cosa tipo questa
Jun 5 18:59:10 seven saa7146: register extension 'budget_ci dvb'.
Jun 5 18:59:10 seven ACPI: PCI Interrupt 0000:04:05.0[A] -> GSI 17 (level, low) -> IRQ 17
Jun 5 18:59:10 seven saa7146: found saa7146 @ mem ffffc20000062600 (revision 1, irq 17) (0x13c2,0x1019).
Jun 5 18:59:10 seven saa7146 (0): dma buffer size 192512
Jun 5 18:59:10 seven DVB: registering new adapter (TT-Budget S2-3200 PCI)
Jun 5 18:59:10 seven adapter has MAC addr = 00:d0:5c:68:6f:6c
Jun 5 18:59:10 seven input: Budget-CI dvb ir receiver saa7146 (0) as /devices/pci0000:00/0000:00:1e.0/0000:04:05.0/input/input4
Jun 5 18:59:10 seven stb0899_get_dev_id: Device ID=[8], Release=[2]
Jun 5 18:59:10 seven stb0899_get_dev_id: Demodulator Core ID=[DMD1], Version=[1]
Jun 5 18:59:10 seven stb0899_get_dev_id: FEC Core ID=[FEC1], Version=[1]
Jun 5 18:59:10 seven stb0899_attach: Attaching STB0899
Jun 5 18:59:10 seven stb6100_attach: Attaching STB6100
Jun 5 18:59:10 seven DVB: registering frontend 0 (STB0899 Multistandard)...
Jun 5 18:59:18 seven Linux video capture interface: v2.00
Jun 5 18:59:18 seven saa7146: register extension 'dvb'.
Adesso i driver sono installati e la scheda è configurata correttamente
Ora facciamo la prova, proviamo a creare un file channels.conf e proviamo tramite mplayer a vedere Canale 5 in streaming
cd /opt/dvb
wget http://ficofico2.interfree.it/s2-3200/dvb-apps.bz2 && tar -xjf dvb-apps.bz2 && rm dvb-apps.bz2
cd dvb-apps/util/scan && make clean && make && make install
mkdir ~/.szap
./scan -t 1 -s 0 dvb-s/Hotbird-13.0E > ~/.szap/channels.conf
cd ../szap && make && make install
./szap -r "Canale 5"
Se tutto và bene dovreste vedere delle righe come queste
status 1e | signal 01a0 | snr 007a | ber 00000000 | unc fffffffe | FE_HAS_LOCK
status 1e | signal 01a0 | snr 0077 | ber 00000000 | unc fffffffe | FE_HAS_LOCK
status 1e | signal 01a0 | snr 0077 | ber 00000000 | unc fffffffe | FE_HAS_LOCK
status 1e | signal 01a0 | snr 0076 | ber 00000000 | unc fffffffe | FE_HAS_LOCK
status 1e | signal 01a0 | snr 0075 | ber 00000000 | unc fffffffe | FE_HAS_LOCK
status 1e | signal 01a0 | snr 0078 | ber 00000000 | unc fffffffe | FE_HAS_LOCK
status 1e | signal 01a0 | snr 0076 | ber 00000000 | unc fffffffe | FE_HAS_LOCK
Importante è che ci sia la scritta FE_HAS_LOCK, altrimenti non vedrete niente
A questo punto vi basterà dare in un altra shell
mplayer /dev/dvb/adapter0/dvr0
e dovreste essere in grado di vedere canale 5 in streaming...... a questo punto se volete usare altri programmi non ci saranno problemi, tranne che per kaffeine che cmq non riuscirà a fare la scansione dei canali, probabilmente dovrete procurarvi VDR....