[Solved] No card on Myth 31 with MyGica X8558 - DMBTH

For discussion of topics specific to MythTV on linux
Post Reply
bonhug
Newcomer
Posts: 4
Joined: Sun Sep 20, 2020 4:57 am
Great Britain

[Solved] No card on Myth 31 with MyGica X8558 - DMBTH

Post by bonhug » Sun Sep 20, 2020 5:09 am

Hello

I migrated from MythTV 30 to 31 using the latest git pull. Unfortunately, MythTV 31 does not recognise my DMB card and the log shows:
2020-09-20 12:37:35.236898 E CardUtil: TODO Add to switch case delivery system:13 DMBTH
2020-09-20 12:37:35.267303 I CardUtil(/dev/dvb/adapter1/frontend0): dvb api version 5.11
2020-09-20 12:37:35.267312 I CardUtil(/dev/dvb/adapter1/frontend0): Delivery systems: DMBTH
2020-09-20 12:37:35.297679 I CardUtil: Current delivery system: DMBTH
2020-09-20 12:37:35.297689 I CardUtil: Supported delivery systems: DMBTH
When running mythtv-setup, the DVB device is recognised as /dev/dvb/adapter0/frontend0 but the Frontend ID states
"Could not get card info for card /dev/dvb/adapt..."

If I revert back to MythTV 30 it all works again. I'm guessing that the TODO in the CardUtil log implies that this coding is not yet complete and may have been forgotten?

Best regards to all

Brendan
Last edited by bonhug on Tue Sep 22, 2020 1:14 am, edited 1 time in total.

User avatar
kmdewaal
Developer
Posts: 145
Joined: Wed Dec 07, 2016 8:01 pm
Netherlands

Re: No card on Myth 31 with MyGica X8558 - DMBTH

Post by kmdewaal » Sun Sep 20, 2020 8:36 am

You are right about this not yet being implemented. I'll give it a try.
Can you please post the output of dvb-fe-tool for your card?

User avatar
kmdewaal
Developer
Posts: 145
Joined: Wed Dec 07, 2016 8:01 pm
Netherlands

Re: No card on Myth 31 with MyGica X8558 - DMBTH

Post by kmdewaal » Sun Sep 20, 2020 3:42 pm

The interesting bit is why it works with Mythtv v30 as I cannot find support for DMBTH / DTMB in the code. My guess is that it is treated as a DVB-C device and I could do that in v31 as well. To confirm this, can you please make a channel scan (Full Scan or Full Scan (Tuned) whichever you use) with the v30 mythtv-setup, with debug output like this:

Code: Select all

mythtv-setup -v channel,chanscan,record,siparser --loglevel=debug
and post the complete output log here?

Thanks,
Klaas.

bonhug
Newcomer
Posts: 4
Joined: Sun Sep 20, 2020 4:57 am
Great Britain

Re: No card on Myth 31 with MyGica X8558 - DMBTH

Post by bonhug » Sun Sep 20, 2020 8:35 pm

Thank you for looking at this Klaas

Code: Select all

dvb-fe-tool
Device AltoBeam ATBM8830/8831 DMB-TH (/dev/dvb/adapter0/frontend0) capabilities:
     CAN_FEC_AUTO
     CAN_GUARD_INTERVAL_AUTO
     CAN_INVERSION_AUTO
     CAN_QAM_AUTO
     CAN_TRANSMISSION_MODE_AUTO
DVB API Version 5.11, Current v5 delivery system: DTMB
Supported delivery system: 
    [DTMB]
Frequency range for the current standard: 
From:             474 MHz
To:               858 MHz
Step:            50.0 kHz
The complete log file is about 330k in size. Unsurprisingly, I can't just paste that here. I'll read up on that later (it's 4:30am here) and work out how to give you the log

Thanks again & kind regards

Brendan

bonhug
Newcomer
Posts: 4
Joined: Sun Sep 20, 2020 4:57 am
Great Britain

Re: No card on Myth 31 with MyGica X8558 - DMBTH

Post by bonhug » Mon Sep 21, 2020 1:13 am

Due to the mythtv-setup channel-scan log size, I cannot appear to save it on this board. I have therefore made it available on Google Drive.

https://drive.google.com/file/d/1I8ycDh ... sp=sharing

Kind regards

Brendan

User avatar
kmdewaal
Developer
Posts: 145
Joined: Wed Dec 07, 2016 8:01 pm
Netherlands

Re: No card on Myth 31 with MyGica X8558 - DMBTH

Post by kmdewaal » Mon Sep 21, 2020 5:36 pm

Thanks for the log. MythTV v30 sees your DTMB card as a DVB-T device and because your tuner accepts "auto" for all modulation parameters this does work. This suggests that if I add DTMB as a synonym for DVB- T that it might just work. A more complete implementation would have e.g. modulation parameter selection that is correct for DTMB as there are some differences with DVB-T.
There is the problem that I cannot test the changes that I make. It would be great if you can compile v31 from source, then I can send you patches and if it is all OK I can put it in the repo.
Would that work for you?

Thanks,
Klaas.

User avatar
kmdewaal
Developer
Posts: 145
Joined: Wed Dec 07, 2016 8:01 pm
Netherlands

Re: No card on Myth 31 with MyGica X8558 - DMBTH

Post by kmdewaal » Mon Sep 21, 2020 8:51 pm

I've committed a fix to mythtv v31 that selects now tuner type DVB-T when modulation system DMBTH (DTMB) is found on the card. This should solve your problem so please test it once the repo you use is updated.

Thanks,
Klaas.

bonhug
Newcomer
Posts: 4
Joined: Sun Sep 20, 2020 4:57 am
Great Britain

Re: No card on Myth 31 with MyGica X8558 - DMBTH

Post by bonhug » Mon Sep 21, 2020 11:33 pm

Thank you Klaas

Just re-compiled and it is working fine now. Thank you once again for your help.

Best regards

Brendan

Post Reply