[mythtv-commits] Ticket #13465: mythtv-setup rewrites all capturecard.videodevice to /dev/dvb/adapter0/frontend0

MythTV noreply at mythtv.org
Sun Jun 30 10:14:05 UTC 2019


#13465: mythtv-setup rewrites all capturecard.videodevice to
/dev/dvb/adapter0/frontend0
-------------------------------------+-------------------------------------
     Reporter:  abrossard            |      Owner:  Peter Bennett
         Type:  Bug Report -         |     Status:  new
  General                            |
     Priority:  minor                |  Milestone:  needs_triage
    Component:  MythTV - Mythtv-     |    Version:  Master Head
  setup                              |   Keywords:  mythtv-setup 0.29,
     Severity:  medium               |  0.30, master
Ticket locked:  0                    |
-------------------------------------+-------------------------------------
 Hi,

    This bug was first found with version 0.29 and is still present in the
 latest master. mythtv-setup resets all the inputcard videodevice to the
 same value after I modify one card or add one card. Here is the situation
 after saving the changes in mythtv-setup. The problem is seen in both
 tables capturecard and inputgroup.


 {{{

 mysql> select cardid, videodevice, displayname, defaultinput,
 signal_timeout, channel_timeout, inputname, sourceid from capturecard
 order by cardid;
 +--------+------------------------------+-------------+--------------+----------------+-----------------+-----------+----------+
 | cardid | videodevice                  | displayname | defaultinput |
 signal_timeout | channel_timeout | inputname | sourceid |
 +--------+------------------------------+-------------+--------------+----------------+-----------------+-----------+----------+
 |      9 | /dev/dvb/adapter0/frontend0  | Nova T500 0 | DVBInput     |
 750 |            3500 | DVBInput  |        1 |
 |     11 | /dev/dvb/adapter0/frontend0  | Nova T500 2 | DVBInput     |
 500 |            1750 | DVBInput  |        1 |
 |     17 | /dev/dvb/adapter0/frontend0  | PV1         | Television   |
 1000 |            1750 | DVBInput  |        1 |
 |     22 | /dev/dvb/adapter0/frontend0  | PTV2        | Television   |
 1000 |            1750 | DVBInput  |        1 |
 |     24 | /dev/dvb/adapter0/frontend0  | TBS-0 F0    | Television   |
 1000 |            3000 | DVBInput  |        1 |
 |     25 | /dev/dvb/adapter0/frontend0  | TBS-0 SAT   | Television   |
 15000 |           20000 | DVBInput  |        3 |
 |     26 | /dev/dvb/adapter0/frontend0  | TBS-1 F0    | Television   |
 1000 |            3000 | DVBInput  |        1 |
 |     27 | /dev/dvb/TBS6590-1/frontend1 | TBS-1 SAT   | Television   |
 9000 |           20000 | DVB-S2    |        3 |

 }}}


     I just wanted to check if the new version would allow me to set some
 new parameters on the existing card 27. When it proposed a videodevice,
 **I had to select "new"** and retyped the old value. This is what the
 table is supposed to look like:

 {{{

 | cardid | videodevice                  | displayname | defaultinput |
 signal_timeout | channel_timeout | inputname | sourceid |
 +--------+------------------------------+-------------+--------------+----------------+-----------------+-----------+----------+
 |      9 | /dev/dvb/NOVA0/frontend0     | Nova T500 0 | DVBInput     |
 750 |            3500 | DVBInput  |        1 |
 |     11 | /dev/dvb/NOVA1/frontend0     | Nova T500 2 | DVBInput     |
 500 |            1750 | DVBInput  |        1 |
 |     17 | /dev/dvb/PCTV0/frontend0     | PV1         | Television   |
 1000 |            1750 | DVBInput  |        1 |
 |     22 | /dev/dvb/PCTV1/frontend0     | PTV2        | Television   |
 1000 |            1750 | DVBInput  |        1 |
 |     24 | /dev/dvb/TBS6590-0/frontend0 | TBS-0 F0    | Television   |
 1000 |            3000 | DVBInput  |        1 |
 |     25 | /dev/dvb/TBS6590-0/frontend1 | TBS-0 SAT   | Television   |
 15000 |           20000 | DVBInput  |        3 |
 |     26 | /dev/dvb/TBS6590-1/frontend0 | TBS-1 F0    | Television   |
 1000 |            3000 | DVBInput  |        1 |
 |     27 | /dev/dvb/TBS6590-1/frontend1 | TBS-1 SAT   | Television   |
 9000 |           20000 | DVB-S2    |        3 |

 mytv[72] /usr/local/bin/mythtv-setup --version
 Please attach all output as a file in bug reports.
 MythTV Version : v31-Pre-517-gc3e7f806d0

 }}}

    Output:

 {{{

 2019-06-29 19:20:19.033263 C  mythtv-setup version: master
 [v31-Pre-517-gc3e7f806d0] www.mythtv.org
 2019-06-29 19:20:19.033276 C  Qt version: compile: 5.12.2, runtime: 5.12.2
 2019-06-29 19:20:21.743131 I  Current MythTV Schema Version (DBSchemaVer):
 1350
 2019-06-29 19:20:24.870371 I  VBox: Using UPNP to search for Vboxes (3
 secs)
 2019-06-29 19:20:28.614070 I  CardUtil(/dev/dvb/NOVA0/frontend0): dvb api
 version 5.11
 2019-06-29 19:20:28.614096 I  CardUtil(/dev/dvb/NOVA0/frontend0): Delivery
 systems: DVB-T
 2019-06-29 19:20:28.761978 I  CardUtil: Current delivery system: DVB-T
 2019-06-29 19:20:28.762005 I  CardUtil: Supported delivery systems: DVB-T
 2019-06-29 19:20:28.763171 W  DiSEqCDevTree: No device tree for cardid 9
 2019-06-29 19:20:28.829565 I  CardUtil(/dev/dvb/adapter0/frontend0): dvb
 api version 5.11
 2019-06-29 19:20:28.829601 I  CardUtil(/dev/dvb/adapter0/frontend0):
 Delivery systems: DVB-T DVB-T2 DVB-C/A ISDBT DVB-C/B
 2019-06-29 19:20:28.852727 I  CardUtil: Current delivery system: DVB-T
 2019-06-29 19:20:28.852760 I  CardUtil: Supported delivery systems: DVB-T
 DVB-T2 DVB-C/A ISDBT DVB-C/B
 2019-06-29 19:20:28.852772 I  CardUtil: Changing delivery system from
 DVB-T to DVB-T2
 2019-06-29 19:20:30.373587 I  CardUtil(/dev/dvb/NOVA1/frontend0): dvb api
 version 5.11
 2019-06-29 19:20:30.373617 I  CardUtil(/dev/dvb/NOVA1/frontend0): Delivery
 systems: DVB-T
 2019-06-29 19:20:30.522343 I  CardUtil: Current delivery system: DVB-T
 2019-06-29 19:20:30.522366 I  CardUtil: Supported delivery systems: DVB-T
 2019-06-29 19:20:30.523425 W  DiSEqCDevTree: No device tree for cardid 11
 2019-06-29 19:20:30.589635 I  CardUtil(/dev/dvb/adapter0/frontend0): dvb
 api version 5.11
 2019-06-29 19:20:30.589669 I  CardUtil(/dev/dvb/adapter0/frontend0):
 Delivery systems: DVB-T DVB-T2 DVB-C/A ISDBT DVB-C/B
 2019-06-29 19:20:30.612835 I  CardUtil: Current delivery system: DVB-T
 2019-06-29 19:20:30.612868 I  CardUtil: Supported delivery systems: DVB-T
 DVB-T2 DVB-C/A ISDBT DVB-C/B
 2019-06-29 19:20:30.612914 I  CardUtil: Changing delivery system from
 DVB-T to DVB-T2
 2019-06-29 19:20:31.791716 I  CardUtil(/dev/dvb/PCTV0/frontend0): dvb api
 version 5.11
 2019-06-29 19:20:31.791745 I  CardUtil(/dev/dvb/PCTV0/frontend0): Delivery
 systems: DVB-T
 2019-06-29 19:20:31.830839 I  CardUtil: Current delivery system: DVB-T
 2019-06-29 19:20:31.830873 I  CardUtil: Supported delivery systems: DVB-T
 2019-06-29 19:20:31.831906 W  DiSEqCDevTree: No device tree for cardid 17
 2019-06-29 19:20:31.897672 I  CardUtil(/dev/dvb/adapter0/frontend0): dvb
 api version 5.11
 2019-06-29 19:20:31.897706 I  CardUtil(/dev/dvb/adapter0/frontend0):
 Delivery systems: DVB-T DVB-T2 DVB-C/A ISDBT DVB-C/B
 2019-06-29 19:20:31.920260 I  CardUtil: Current delivery system: DVB-T
 2019-06-29 19:20:31.920295 I  CardUtil: Supported delivery systems: DVB-T
 DVB-T2 DVB-C/A ISDBT DVB-C/B
 2019-06-29 19:20:31.920307 I  CardUtil: Changing delivery system from
 DVB-T to DVB-T2
 2019-06-29 19:20:32.316740 I  CardUtil(/dev/dvb/PCTV1/frontend0): dvb api
 version 5.11
 2019-06-29 19:20:32.316768 I  CardUtil(/dev/dvb/PCTV1/frontend0): Delivery
 systems: DVB-T
 2019-06-29 19:20:32.355466 I  CardUtil: Current delivery system: DVB-T
 2019-06-29 19:20:32.355489 I  CardUtil: Supported delivery systems: DVB-T
 2019-06-29 19:20:32.356437 W  DiSEqCDevTree: No device tree for cardid 22
 2019-06-29 19:20:32.422481 I  CardUtil(/dev/dvb/adapter0/frontend0): dvb
 api version 5.11
 2019-06-29 19:20:32.422515 I  CardUtil(/dev/dvb/adapter0/frontend0):
 Delivery systems: DVB-T DVB-T2 DVB-C/A ISDBT DVB-C/B
 2019-06-29 19:20:32.445481 I  CardUtil: Current delivery system: DVB-T
 2019-06-29 19:20:32.445514 I  CardUtil: Supported delivery systems: DVB-T
 DVB-T2 DVB-C/A ISDBT DVB-C/B
 2019-06-29 19:20:32.445526 I  CardUtil: Changing delivery system from
 DVB-T to DVB-T2
 2019-06-29 19:20:32.814670 I  CardUtil(/dev/dvb/TBS6590-0/frontend0): dvb
 api version 5.11
 2019-06-29 19:20:32.814716 I  CardUtil(/dev/dvb/TBS6590-0/frontend0):
 Delivery systems: DVB-T DVB-T2 DVB-C/A ISDBT DVB-C/B
 2019-06-29 19:20:32.837382 I  CardUtil: Current delivery system: DVB-T
 2019-06-29 19:20:32.837425 I  CardUtil: Supported delivery systems: DVB-T
 DVB-T2 DVB-C/A ISDBT DVB-C/B
 2019-06-29 19:20:32.837437 I  CardUtil: Changing delivery system from
 DVB-T to DVB-T2
 2019-06-29 19:20:32.838308 W  DiSEqCDevTree: No device tree for cardid 24
 2019-06-29 19:20:32.905348 I  CardUtil(/dev/dvb/adapter0/frontend0): dvb
 api version 5.11
 2019-06-29 19:20:32.905383 I  CardUtil(/dev/dvb/adapter0/frontend0):
 Delivery systems: DVB-T DVB-T2 DVB-C/A ISDBT DVB-C/B
 2019-06-29 19:20:32.928125 I  CardUtil: Current delivery system: DVB-T
 2019-06-29 19:20:32.928158 I  CardUtil: Supported delivery systems: DVB-T
 DVB-T2 DVB-C/A ISDBT DVB-C/B
 2019-06-29 19:20:32.928170 I  CardUtil: Changing delivery system from
 DVB-T to DVB-T2
 2019-06-29 19:20:33.960768 I  CardUtil(/dev/dvb/TBS6590-0/frontend1): dvb
 api version 5.11
 2019-06-29 19:20:33.960801 I  CardUtil(/dev/dvb/TBS6590-0/frontend1):
 Delivery systems: DVB-S DVB-S2 DSS
 2019-06-29 19:20:34.228674 I  CardUtil: Current delivery system: DVB-S2
 2019-06-29 19:20:34.228701 I  CardUtil: Supported delivery systems: DVB-S
 DVB-S2 DSS
 2019-06-29 19:20:34.281865 I  CardUtil(/dev/dvb/adapter0/frontend0): dvb
 api version 5.11
 2019-06-29 19:20:34.281899 I  CardUtil(/dev/dvb/adapter0/frontend0):
 Delivery systems: DVB-T DVB-T2 DVB-C/A ISDBT DVB-C/B
 2019-06-29 19:20:34.304122 I  CardUtil: Current delivery system: DVB-T
 2019-06-29 19:20:34.304155 I  CardUtil: Supported delivery systems: DVB-T
 DVB-T2 DVB-C/A ISDBT DVB-C/B
 2019-06-29 19:20:34.304167 I  CardUtil: Changing delivery system from
 DVB-T to DVB-T2
 2019-06-29 19:20:36.286632 I  CardUtil(/dev/dvb/TBS6590-1/frontend0): dvb
 api version 5.11
 2019-06-29 19:20:36.286668 I  CardUtil(/dev/dvb/TBS6590-1/frontend0):
 Delivery systems: DVB-T DVB-T2 DVB-C/A ISDBT DVB-C/B
 2019-06-29 19:20:36.309521 I  CardUtil: Current delivery system: DVB-T
 2019-06-29 19:20:36.309553 I  CardUtil: Supported delivery systems: DVB-T
 DVB-T2 DVB-C/A ISDBT DVB-C/B
 2019-06-29 19:20:36.309564 I  CardUtil: Changing delivery system from
 DVB-T to DVB-T2
 2019-06-29 19:20:36.310645 W  DiSEqCDevTree: No device tree for cardid 26
 2019-06-29 19:20:36.377952 I  CardUtil(/dev/dvb/adapter0/frontend0): dvb
 api version 5.11
 2019-06-29 19:20:36.377985 I  CardUtil(/dev/dvb/adapter0/frontend0):
 Delivery systems: DVB-T DVB-T2 DVB-C/A ISDBT DVB-C/B
 2019-06-29 19:20:36.400730 I  CardUtil: Current delivery system: DVB-T
 2019-06-29 19:20:36.400752 I  CardUtil: Supported delivery systems: DVB-T
 DVB-T2 DVB-C/A ISDBT DVB-C/B
 2019-06-29 19:20:36.400759 I  CardUtil: Changing delivery system from
 DVB-T to DVB-T2
 2019-06-29 19:20:37.408718 I  CardUtil(/dev/dvb/TBS6590-1/frontend1): dvb
 api version 5.11
 2019-06-29 19:20:37.408750 I  CardUtil(/dev/dvb/TBS6590-1/frontend1):
 Delivery systems: DVB-S DVB-S2 DSS
 2019-06-29 19:20:37.676740 I  CardUtil: Current delivery system: DVB-S2
 2019-06-29 19:20:37.676767 I  CardUtil: Supported delivery systems: DVB-S
 DVB-S2 DSS
 2019-06-29 19:20:37.745562 I  CardUtil(/dev/dvb/adapter0/frontend0): dvb
 api version 5.11
 2019-06-29 19:20:37.745596 I  CardUtil(/dev/dvb/adapter0/frontend0):
 Delivery systems: DVB-T DVB-T2 DVB-C/A ISDBT DVB-C/B
 2019-06-29 19:20:37.768028 I  CardUtil: Current delivery system: DVB-T
 2019-06-29 19:20:37.768061 I  CardUtil: Supported delivery systems: DVB-T
 DVB-T2 DVB-C/A ISDBT DVB-C/B
 2019-06-29 19:20:37.768073 I  CardUtil: Changing delivery system from
 DVB-T to DVB-T2
 2019-06-29 19:21:38.420739 I  CardUtil(/dev/dvb/TBS6590-1/frontend1): dvb
 api version 5.11
 2019-06-29 19:21:38.420772 I  CardUtil(/dev/dvb/TBS6590-1/frontend1):
 Delivery systems: DVB-S DVB-S2 DSS
 2019-06-29 19:21:38.692738 I  CardUtil: Current delivery system: DVB-S2
 2019-06-29 19:21:38.692766 I  CardUtil: Supported delivery systems: DVB-S
 DVB-S2 DSS


 }}}
 Alain

-- 
Ticket URL: <https://code.mythtv.org/trac/ticket/13465>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list