[SOLVED] mythtv backend problems with tv card

For discussion of topics specific to MythTV on linux
Post Reply
laura1989
Newcomer
Posts: 7
Joined: Wed Aug 08, 2018 12:54 am
Argentina

[SOLVED] mythtv backend problems with tv card

Post by laura1989 » Wed Aug 08, 2018 1:11 am

hello!

I have pci card , saa7134 chipset (compro video mate m1f )

mythtv does not take the TV tuner

when initializing mythbackend the result is

2018-08-07 22:06:17.791200 I Current MythTV Schema Version (DBSchemaVer): 1317
2018-08-07 22:06:17.791753 E Error Loading en_us translation for module mythfro ntend
2018-08-07 22:06:17.792265 N MythBackend: Starting up as the master server.
2018-08-07 22:06:17.795370 E TVRec[1]: Problem finding starting channel, settin g to default of '3'.
2018-08-07 22:06:17.795545 E V4LChannel[1](dev/video0): Can't open video device .
eno: No existe el archivo o el directorio (2)
2018-08-07 22:06:17.795557 E ChannelBase: CreateChannel() Error: Failed to open device dev/video0
2018-08-07 22:06:17.795600 E Problem with capture cardsCard 1failed init
2018-08-07 22:06:17.795618 W MythBackend: No valid capture cards are defined in the database.
2018-08-07 22:06:17.796217 E Scheduler: No channel sources defined in the datab ase
2018-08-07 22:06:17.846316 I New Client: (#1)

thanks for reading me
Last edited by laura1989 on Thu Aug 16, 2018 8:29 pm, edited 1 time in total.

User avatar
bill6502
Developer
Posts: 1070
Joined: Fri Feb 07, 2014 5:28 pm
United States of America

Re: mythtv backend problems with tv card

Post by bill6502 » Wed Aug 08, 2018 1:46 am

Hi,

Don't have the card, so not any help. But this may be a good start
(to see if the kernel sees it.)

https://www.linuxtv.org/wiki/index.php/ ... nel_Output

laura1989
Newcomer
Posts: 7
Joined: Wed Aug 08, 2018 12:54 am
Argentina

Re: mythtv backend problems with tv card

Post by laura1989 » Thu Aug 09, 2018 6:59 pm

Hi! result of dsmeg

$ dmesg | grep saa7134
[ 22.615066] input: saa7134 IR (Compro VideoMate Vi as /devices/pci0000:00/0000:00:1e.0/0000:05:00.0/rc/rc0/input7
[ 22.615278] rc0: saa7134 IR (Compro VideoMate Vi as /devices/pci0000:00/0000:00:1e.0/0000:05:00.0/rc/rc0
[ 22.945195] saa7134 ALSA driver for DMA sound loaded

:D

laura1989
Newcomer
Posts: 7
Joined: Wed Aug 08, 2018 12:54 am
Argentina

Re: mythtv backend problems with tv card

Post by laura1989 » Thu Aug 09, 2018 8:15 pm

Hi , I already got mythtv to take the card

log info

2018-08-09 17:06:31.422437 I Current MythTV Schema Version (DBSchemaVer): 1317
2018-08-09 17:06:31.422817 E Error Loading en_us translation for module mythfro ntend
2018-08-09 17:06:31.423151 N MythBackend: Starting up as the master server.
2018-08-09 17:06:31.424966 E TVRec[1]: Problem finding starting channel, settin g to default of '3'.
2018-08-09 17:06:31.443354 E InitializeInputs():
Could not get inputs for the capturecard.
Perhaps you have forgotten to bind video
sources to your card's inputs?
2018-08-09 17:06:31.450789 E ChannelBase: CreateChannel() Error: Failed to open device /dev/video0
2018-08-09 17:06:31.450860 E Problem with capture cardsCard 1failed init
2018-08-09 17:06:31.450886 W MythBackend: No valid capture cards are defined in the database.
2018-08-09 17:06:31.452041 E Scheduler: No channel sources defined in the datab ase
2018-08-09 17:06:31.479754 I New Client: (#1)

now the log shows these errors :shock:

wesnewell
Senior
Posts: 365
Joined: Mon Jun 23, 2014 6:54 pm
Location: Wylie TX, USA
United States of America

Re: mythtv backend problems with tv card

Post by wesnewell » Thu Aug 09, 2018 8:39 pm

DId you load the module as described below before running the backend setup? Did you even run the backend setup? From what you've posted it doesn't look like it.
https://www.linuxtv.org/wiki/index.php/ ... ng_it_Work
BE/FE-AMD Ryzen 3 2200G, 6 atsc tuners. Frontends-GF8200's,,AMD Athlon II's. Mythtv user since 2005.

laura1989
Newcomer
Posts: 7
Joined: Wed Aug 08, 2018 12:54 am
Argentina

Re: mythtv backend problems with tv card

Post by laura1989 » Sat Aug 11, 2018 7:49 pm

Hi , i upgrade to ubuntu 16.04

:/$ dmesg | grep saa7134
[ 16.651273] saa7134: saa7130/34: v4l2 driver version 0, 2, 17 loaded
[ 16.651364] saa7134: saa7133[0]: found at 0000:05:00.0, rev: 209, irq: 16, latency: 32, mmio: 0xb1900000
[ 16.651370] saa7134: saa7133[0]: subsystem: 185b:c900, board: Compro VideoMate T750 [card=139,autodetected]
[ 16.651382] saa7134: saa7133[0]: board init: gpio is 63f00
[ 16.804666] saa7134: i2c eeprom 00: 5b 18 00 c9 54 20 1c 00 43 43 a9 1c 55 d2 b2 92
[ 16.804671] saa7134: i2c eeprom 10: 00 ff 86 0f ff 20 ff ff ff ff ff ff ff ff ff ff
[ 16.804675] saa7134: i2c eeprom 20: 01 40 01 02 02 03 01 03 08 ff 00 89 ff ff ff ff
[ 16.804678] saa7134: i2c eeprom 30: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 16.804681] saa7134: i2c eeprom 40: ff de 00 c6 86 ff ff ff 03 ff ff ff c6 ff 04 11
[ 16.804684] saa7134: i2c eeprom 50: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff cb
[ 16.804687] saa7134: i2c eeprom 60: 35 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 16.804690] saa7134: i2c eeprom 70: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 16.804692] saa7134: i2c eeprom 80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 16.804695] saa7134: i2c eeprom 90: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 16.804698] saa7134: i2c eeprom a0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 16.804701] saa7134: i2c eeprom b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 16.804704] saa7134: i2c eeprom c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 16.804707] saa7134: i2c eeprom d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 16.804709] saa7134: i2c eeprom e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 16.804712] saa7134: i2c eeprom f0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 17.129806] saa7134: saa7133[0]: registered device video0 [v4l2]
17.129942] saa7134: saa7133[0]: registered device vbi0
[ 17.130075] saa7134: saa7133[0]: registered device radio0
[ 17.320333] saa7134 0000:05:00.0: Direct firmware load for xc3028-v27.fw failed with error -2
[ 17.378519] saa7134_dvb: dvb_init() allocating 1 frontend
[ 17.452127] saa7134_alsa: saa7134 ALSA driver for DMA sound loaded
[ 17.452149] saa7134_alsa: saa7133[0]/alsa: saa7133[0] at 0xb1900000 irq 16 registered as card -2
[ 17.453537] saa7134_dvb: saa7133[0]/dvb: frontend initialization failed


however my card number is 183, the autodetection is wrong ,
try to Load manually the 'saa7134' module with 'modprobe saa7134 card=183 , but it does not work

:roll: :|

wesnewell
Senior
Posts: 365
Joined: Mon Jun 23, 2014 6:54 pm
Location: Wylie TX, USA
United States of America

Re: mythtv backend problems with tv card

Post by wesnewell » Sun Aug 12, 2018 1:21 pm

laura1989 wrote:
Sat Aug 11, 2018 7:49 pm
Hi , i upgrade to ubuntu 16.04

however my card number is 183, the autodetection is wrong ,
try to Load manually the 'saa7134' module with 'modprobe saa7134 card=183 , but it does not work
Did you remove the existing module before trying to load it again?
modprobe -r <module>

Might try 18.04lts. It's the latest.
BE/FE-AMD Ryzen 3 2200G, 6 atsc tuners. Frontends-GF8200's,,AMD Athlon II's. Mythtv user since 2005.

laura1989
Newcomer
Posts: 7
Joined: Wed Aug 08, 2018 12:54 am
Argentina

Re: mythtv backend problems with tv card

Post by laura1989 » Tue Aug 14, 2018 7:06 pm

Hi!

~$ modprobe -r saa7134
modprobe: FATAL: Module saa7134 is in use.
:|

I upgrade to 18.04 , I got the same result in dsmeg

$ dmesg | grep saa7134
[ 29.189339] saa7134: saa7130/34: v4l2 driver version 0, 2, 17 loaded
[ 29.189451] saa7134: saa7133[0]: found at 0000:05:00.0, rev: 209, irq: 16, la tency: 32, mmio: 0xb1900000
[ 29.189455] saa7134: saa7133[0]: subsystem: 185b:c900, board: Compro VideoMat e T750 [card=139,autodetected]
[ 29.189474] saa7134: saa7133[0]: board init: gpio is 63f00
[ 29.352146] saa7134: i2c eeprom 00: 5b 18 00 c9 54 20 1c 00 43 43 a9 1c 55 d2 b2 92
[ 29.352147] saa7134: i2c eeprom 10: 00 ff 86 0f ff 20 ff ff ff ff ff ff ff ff ff ff
[ 29.352147] saa7134: i2c eeprom 20: 01 40 01 02 02 03 01 03 08 ff 00 89 ff ff ff ff
[ 29.352148] saa7134: i2c eeprom 30: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 29.352149] saa7134: i2c eeprom 40: ff de 00 c6 86 ff ff ff 03 ff ff ff c6 ff 04 11
[ 29.352149] saa7134: i2c eeprom 50: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff cb
[ 29.352150] saa7134: i2c eeprom 60: 35 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 29.352151] saa7134: i2c eeprom 70: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 29.352151] saa7134: i2c eeprom 80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 29.352152] saa7134: i2c eeprom 90: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 29.352152] saa7134: i2c eeprom a0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 29.352153] saa7134: i2c eeprom b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 29.352154] saa7134: i2c eeprom c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 29.352154] saa7134: i2c eeprom d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 29.352155] saa7134: i2c eeprom e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 29.352155] saa7134: i2c eeprom f0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 30.477838] saa7134: saa7133[0]: registered device video0 [v4l2]
[ 30.477867] saa7134: saa7133[0]: registered device vbi0
[ 30.477894] saa7134: saa7133[0]: registered device radio0
[ 30.551103] saa7134 0000:05:00.0: Direct firmware load for xc3028-v27.fw fail ed with error -2
[ 30.630620] saa7134_dvb: dvb_init() allocating 1 frontend
[ 30.653407] saa7134_dvb: saa7133[0]/dvb: frontend initialization failed
[ 30.899532] saa7134_alsa: saa7134 ALSA driver for DMA sound loaded
[ 30.899555] saa7134_alsa: saa7133[0]/alsa: saa7133[0] at 0xb1900000 irq 16 re gistered as card -2

:cry:

wesnewell
Senior
Posts: 365
Joined: Mon Jun 23, 2014 6:54 pm
Location: Wylie TX, USA
United States of America

Re: mythtv backend problems with tv card

Post by wesnewell » Tue Aug 14, 2018 9:38 pm

try 'lsmod|grep saa7134' and see if you can find what's using it. You might need to remove that first. Other than that. I don't know. Maybe blacklist it not to load automatically, and then load it manually with the card id.
BE/FE-AMD Ryzen 3 2200G, 6 atsc tuners. Frontends-GF8200's,,AMD Athlon II's. Mythtv user since 2005.

laura1989
Newcomer
Posts: 7
Joined: Wed Aug 08, 2018 12:54 am
Argentina

Re: mythtv backend problems with tv card

Post by laura1989 » Wed Aug 15, 2018 12:18 am

Hi !

I think that I already managed to solve the problem of the card

sudo nano etc/modprobe.d/saa7134.conf

options saa7134 card=183
install saa7134 /sbin/modprobe --ignore-install saa7134;

save


$ dmesg | grep saa7134
[ 32.883339] saa7134: saa7130/34: v4l2 driver version 0, 2, 17 loaded
[ 32.883515] saa7134: saa7133[0]: found at 0000:05:00.0, rev: 209, irq: 16, latency: 32, mmio: 0xb1900000
[ 32.883533] saa7134: saa7133[0]: subsystem: 185b:c900, board: Compro VideoMate Vista M1F [card=183,insmod option]
[ 32.883555] saa7134: saa7133[0]: board init: gpio is 63f00
[ 32.916071] rc rc0: saa7134 IR (Compro VideoMate Vi as /devices/pci0000:00/0000:00:1e.0/0000:05:00.0/rc/rc0
[ 32.916103] input: saa7134 IR (Compro VideoMate Vi as /devices/pci0000:00/0000:00:1e.0/0000:05:00.0/rc/rc0/input7
[ 33.080052] saa7134: i2c eeprom 00: 5b 18 00 c9 54 20 1c 00 43 43 a9 1c 55 d2 b2 92
[ 33.080053] saa7134: i2c eeprom 10: 00 ff 86 0f ff 20 ff ff ff ff ff ff ff ff ff ff
[ 33.080054] saa7134: i2c eeprom 20: 01 40 01 02 02 03 01 03 08 ff 00 89 ff ff ff ff
[ 33.080055] saa7134: i2c eeprom 30: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 33.080055] saa7134: i2c eeprom 40: ff de 00 c6 86 ff ff ff 03 ff ff ff c6 ff 04 11
[ 33.080056] saa7134: i2c eeprom 50: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff cb
[ 33.080057] saa7134: i2c eeprom 60: 35 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 33.080058] saa7134: i2c eeprom 70: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 33.080058] saa7134: i2c eeprom 80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 33.080059] saa7134: i2c eeprom 90: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 33.080060] saa7134: i2c eeprom a0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 33.080060] saa7134: i2c eeprom b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 33.080061] saa7134: i2c eeprom c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 33.080062] saa7134: i2c eeprom d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 33.080062] saa7134: i2c eeprom e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 33.080063] saa7134: i2c eeprom f0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 33.520239] saa7134: saa7133[0]: registered device video0 [v4l2]
[ 33.520392] saa7134: saa7133[0]: registered device vbi0
[ 33.520479] saa7134: saa7133[0]: registered device radio0
[ 33.655806] saa7134_alsa: saa7134 ALSA driver for DMA sound loaded
[ 33.655830] saa7134_alsa: saa7133[0]/alsa: saa7133[0] at 0xb1900000 irq 16 registered as card -2

for now I am trying to test it with tvtime, when I know if the solution works I tell you, thanks for answering :D

Post Reply