MythTV doesn't recognized DVB-T card

Do you want advice about what hardware to buy for use with MythTV? Ask here.

Moderator: Forum Moderators

Post Reply
rlongfield
Junior
Posts: 28
Joined: Tue Oct 11, 2016 4:35 pm
Bahamas

MythTV doesn't recognized DVB-T card

Post by rlongfield »

I've had a Pinnacle PCTV HD 800i DVB-T card running with Myth. This card has served me well and has outlived a few computers but suddenly it is no longer recognized by Mytv. When I go to Capture Card in mythtv-setup the once working card is missing. When I add a card and select the DVB-T/S/C option the Frontend ID reports: Could not get Card info for /dev/dvb/adaptor0/frontend0

If I do a dmesg | grep cx88 I get
[ 47.370139] cx88xx: quirk: PCIPCI_NATOMA -- set TBFX
[ 47.370232] cx88xx: subsystem: 11bd:0051, board: Pinnacle PCTV HD 800i [card=58,autodetected], frontend(s): 1
[ 53.124147] rc rc0: cx88 IR (Pinnacle PCTV HD 800i) as /devices/pci0000:00/0000:00:15.0/0000:03:00.1/rc/rc0
[ 53.124175] input: cx88 IR (Pinnacle PCTV HD 800i) as /devices/pci0000:00/0000:00:15.0/0000:03:00.1/rc/rc0/input6
[ 53.124476] lirc lirc0: lirc_dev: driver ir-lirc-codec (cx88xx) registered at minor = 0
[ 53.124522] cx88_alsa: cx88[0]: alsa: CX88x/0: ALSA support for cx2388x boards
[ 53.125473] cx8800: found at 0000:03:00.0, rev: 5, irq: 18, latency: 64, mmio: 0xfc000000
[ 57.137449] cx8800: registered device video0 [v4l2]
[ 57.137575] cx8800: registered device vbi0
[ 57.138879] cx8802: cx2388x 8802 Driver Manager
[ 57.139410] cx8802: found at 0000:03:00.2, rev: 5, irq: 18, latency: 64, mmio: 0xfa000000
[ 57.970529] cx88_dvb: cx2388x dvb driver version 1.0.0 loaded
[ 57.970530] cx8802: registering cx8802 driver, type: dvb access: shared
[ 57.970532] cx8802: subsystem: 11bd:0051, board: Pinnacle PCTV HD 800i [card=58]
[ 57.970533] cx88_dvb: cx2388x based DVB/ATSC card
[ 57.970534] cx88_dvb: cx8802_alloc_frontends: allocating 1 frontend(s)
[ 58.367670] dvbdev: DVB: registering new adapter (cx88[0])
[ 58.367673] cx88-mpeg driver manager 0000:03:00.2: DVB: registering adapter 0 frontend 0 (Samsung S5H1409 QAM/8VSB Frontend)...

When I run sudo dvb-fe-tool I get
Device Samsung S5H1409 QAM/8VSB Frontend (/dev/dvb/adapter0/frontend0) capabilities:
CAN_8VSB
CAN_INVERSION_AUTO
CAN_QAM_64
CAN_QAM_256
DVB API Version 5.10, Current v5 delivery system: ATSC
Supported delivery systems:
[ATSC]
DVBC/ANNEX_B
dmesg | grep cx88 shows

[ 44.257059] Linux video capture interface: v2.00
[ 47.370139] cx88xx: quirk: PCIPCI_NATOMA -- set TBFX
[ 47.370232] cx88xx: subsystem: 11bd:0051, board: Pinnacle PCTV HD 800i [card=58,autodetected], frontend(s): 1
[ 49.139973] tuner: 0-0064: Tuner -1 found with type(s) Radio TV.
[ 52.757512] xc5000 0-0064: creating new instance
[ 52.758625] xc5000: Successfully identified at address 0x64
[ 52.758626] xc5000: Firmware has not been loaded previously
[ 52.784430] lirc_dev: IR Remote Control driver registered, major 242
[ 52.806829] IR LIRC bridge handler initialized
[ 52.976795] Registered IR keymap rc-pinnacle-pctv-hd
[ 53.099054] IR RC5(x/sz) protocol handler initialized
[ 53.124147] rc rc0: cx88 IR (Pinnacle PCTV HD 800i) as /devices/pci0000:00/0000:00:15.0/0000:03:00.1/rc/rc0
[ 53.124175] input: cx88 IR (Pinnacle PCTV HD 800i) as /devices/pci0000:00/0000:00:15.0/0000:03:00.1/rc/rc0/input6
[ 53.124476] lirc lirc0: lirc_dev: driver ir-lirc-codec (cx88xx) registered at minor = 0
[ 53.124522] cx88_alsa: cx88[0]: alsa: CX88x/0: ALSA support for cx2388x boards
[ 53.125473] cx8800: found at 0000:03:00.0, rev: 5, irq: 18, latency: 64, mmio: 0xfc000000
[ 56.891351] xc5000: Firmware dvb-fe-xc5000-1.6.114.fw loaded and running.
[ 57.137449] cx8800: registered device video0 [v4l2]
[ 57.137575] cx8800: registered device vbi0
[ 57.138879] cx8802: cx2388x 8802 Driver Manager
[ 57.139410] cx8802: found at 0000:03:00.2, rev: 5, irq: 18, latency: 64, mmio: 0xfa000000
[ 57.970529] cx88_dvb: cx2388x dvb driver version 1.0.0 loaded
[ 57.970530] cx8802: registering cx8802 driver, type: dvb access: shared
[ 57.970532] cx8802: subsystem: 11bd:0051, board: Pinnacle PCTV HD 800i [card=58]
[ 57.970533] cx88_dvb: cx2388x based DVB/ATSC card
[ 57.970534] cx88_dvb: cx8802_alloc_frontends: allocating 1 frontend(s)
[ 58.364994] xc5000 0-0064: attaching existing instance
[ 58.366133] xc5000: Successfully identified at address 0x64
[ 58.366134] xc5000: Firmware has been loaded previously
[ 58.367670] dvbdev: DVB: registering new adapter (cx88[0])
[ 58.367673] cx88-mpeg driver manager 0000:03:00.2: DVB: registering adapter 0 frontend 0 (Samsung S5H1409 QAM/8VSB Frontend)...


I've seen reference in similar posts about modprobe cx88 card=##

I looked at dmesg and noticed Pinnacle card shows up as card 58 so I tried

sudo modprobe cx88 card=58 and I got this:
modprobe: FATAL: Module cx88 not found in directory /lib/modules/4.15.0-166-generic
I'm not quite sure what to do at this point.
User avatar
kmdewaal
Developer
Posts: 640
Joined: Wed Dec 07, 2016 8:01 pm
Netherlands

Re: MythTV doesn't recognized DVB-T card

Post by kmdewaal »

The dmesg output looks good. The information shown by the dvb-fe-tool also looks good.
Question:
- what is the OS and the OS version
- what is the MythTV version
But also:
- what did you change? Hardware (CPU/motherboard), software update?
It could be access right; you do run dvb-fe-tool as root.
What happens when you run mythtv-setup as root?
What happens when you run dvb-fe-tool as user mythtv?
User avatar
bill6502
Developer
Posts: 2299
Joined: Fri Feb 07, 2014 5:28 pm
United States of America

Re: MythTV doesn't recognized DVB-T card

Post by bill6502 »

Also, verify the group assigned in /dev and the groups that your user and user mythtv belong to:

ls -l /dev/dvb/adapter?/dvr? ; grep video /etc/group # I updated the 'ls' to see other adapters.

My devices are in group video and both users belong to that group.
rlongfield
Junior
Posts: 28
Joined: Tue Oct 11, 2016 4:35 pm
Bahamas

Re: MythTV doesn't recognized DVB-T card

Post by rlongfield »

kmdewaal wrote:
Sat Jan 15, 2022 9:11 am
Question:
What happens when you run mythtv-setup as root?
I gave it a go and everything worked great when I ran it as sudo, so permission issues for my regular user
rlongfield
Junior
Posts: 28
Joined: Tue Oct 11, 2016 4:35 pm
Bahamas

Re: MythTV doesn't recognized DVB-T card

Post by rlongfield »

bill6502 wrote:
Sat Jan 15, 2022 8:34 pm
Also, verify the group assigned in /dev and the groups that your user and user mythtv belong to:

ls -l /dev/dvb/adapter?/dvr? ; grep video /etc/group # I updated the 'ls' to see other adapters.

My devices are in group video and both users belong to that group.
I checked and got:

Code: Select all

ls -l /dev/dvb/adapter0/dvr0 ; grep video /etc/group
crw-rw---- 1 root video 212, 2 Jan 14 21:02 /dev/dvb/adapter0/dvr0
video:x:44:mythtv
So I guess I need to add my user to the group video?
User avatar
bill6502
Developer
Posts: 2299
Joined: Fri Feb 07, 2014 5:28 pm
United States of America

Re: MythTV doesn't recognized DVB-T card

Post by bill6502 »

Right. sudo usermod -a -G video WhateverYourUserNameIs

That works for me, I'd do a: man usermod on your system 1st. Just to be sure.
rlongfield
Junior
Posts: 28
Joined: Tue Oct 11, 2016 4:35 pm
Bahamas

Re: MythTV doesn't recognized DVB-T card

Post by rlongfield »

bill6502 wrote:
Wed Jan 19, 2022 6:16 pm
Right. sudo usermod -a -G video WhateverYourUserNameIs

That works for me, I'd do a: man usermod on your system 1st. Just to be sure.

Thank you, I've added my user to the group and will test later when I can ssh -X into my backend. Seems I don't know how to get that working in Putty :)

update: Happy to report this was just a user permissions issue
Post Reply