[mythtv-users] Help getting KWorld/VStream XPert DVB-T to work

Joacim J jocke4news at gmail.com
Tue Dec 27 17:41:44 EST 2005


On 12/23/05, Nick <knowledgejunkie at gmail.com> wrote:
> On 23/12/05, Joacim J <jocke4news at gmail.com> wrote:
> > I have tried to add permissions rules but I can not get it working of
> > some reason.
> >
> > Now I looked into /etc/udev/rules.d/50-udev.rules and found:
> >
> > # DVB
> > KERNEL=="dvb/*",                MODE="0660"
> > KERNEL=="dvb",                  MODE="0660"
> > KERNEL=="dvb/adapter*",     MODE="0660"
> >
> > I modified it to:
> >
> > # DVB
> > KERNEL=="dvb/*",                GROUP="mythtv", MODE="0666"
> > KERNEL=="dvb",                  GROUP="mythtv", MODE="0666"
> > KERNEL=="dvb/adapter*",         GROUP="mythtv", MODE="0666"
> >
> > But still no luck!! Why doesn't this work?
>
> Did you remove the old DVB rules file? Did you run udevstart again
> after deleting the old rules?
>
> You probably find the following site very useful:
>
> http://www.reactivated.net/writing_udev_rules.html
>
> >From the page:
>
> "The file /etc/udev/udev.conf contains a udev_log option. Setting this
> option to yes will cause udev to log some useful information about
> which rules are being applied to which nodes into the system logger.
> The logs will be included in /var/log/messages for most users."
>
> Nick

Hi again,

I never get udev to set the permissions correctly. Now I have the
following in /etc/rc.d/rc.local

# START DVB-T card
/sbin/modprobe --remove cx88_blackbird
/sbin/modprobe cx88_dvb

sleep 5
chmod o+rw /dev/dvb/adapter0/demux0
chmod o+rw /dev/dvb/adapter0/dvr0
chmod o+rw /dev/dvb/adapter0/net0
chmod o+rw /dev/dvb/adapter0/frontend0
## END DVB-T

It seems to work fine but I would have been more satisfied without that "hack".

To the following issue... I have managed to scan the channels and
created a channels.config and have inserted the data in 'dvb_channel'
and 'dvb_pids' which I think is correct. I had to made it the hard way
since the mythtv scanning finds the channels but doesn't insert them
in the tables.

When starting mythbackend I get this in the console:

[root at HTPC ~]# mythbackend
2005-12-27 23:21:37.524 New DB connection, total: 1
Starting up as the master server.
2005-12-27 23:21:37.534 mythbackend: MythBackend started as master server
2005-12-27 23:21:37.535 New DB connection, total: 2
2005-12-27 23:21:37.538 DVB#0 DVB SI Table Parser Started
2005-12-27 23:21:37.567 DVB#0 Using DVB card 0, with frontend Zarlink
MT352 DVB-T.
2005-12-27 23:21:37.569 New DB connection, total: 3
2005-12-27 23:21:37.570 DVB#0 ERROR - Could not find dvb tuning
parameters for transport 0
2005-12-27 23:21:37.570 DVB#0 ERROR - Failed to get channel options
for channel 19.
2005-12-27 23:21:37.575 New DB scheduler connection

and when start "Watch TV" I get:

2005-12-27 23:22:30.982 Changing from None to WatchingLiveTV
2005-12-27 23:22:31.023 DVB#0 Recorder: Card opened successfully
(using PS mode).
2005-12-27 23:22:31.024 DVB#0 ERROR - No PIDS set, please correct your
channel setup.
2005-12-27 23:22:32.043 DVB#0 WARNING - No data from card in 1 second.
2005-12-27 23:22:33.047 DVB#0 WARNING - No data from card in 1 second.
2005-12-27 23:22:34.051 DVB#0 WARNING - No data from card in 1 second.

I have inserted the information as:
# SVT1:626000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_1_2:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_8:HIERARCHY_NONE:1019:1018:1010
INSERT INTO `dvb_channel` VALUES (19, 1010, NULL, NULL, NULL,
626000000, 'a', NULL, '2/3', NULL, NULL, 'qam_64', '8', '1/2', '8',
'1/8', 'n', NULL);
INSERT INTO `dvb_pids`		VALUES (19, 1019, 'v', '');
INSERT INTO `dvb_pids`		VALUES (19, 1018, 'a', '');

What can be wrong?

PS. I can watch the channels using XINE and channel.conf. DS
--
Regards
Joacim


More information about the mythtv-users mailing list