Mailing List Archive

Having a few problems :(
Hi

Trying to test MythTV, machine is totally underpowered but just trying
to prove the concept before I invest in a new PC for it.

Have a WinTV Stereo version installed in a K6 300 with the database on
another machine. Linux is SuSe 8.0.

Everything compiled and installed ok after changing the settings.pro to
avoid the invalid instruction problem.

The database has a load of shows stored in it and I can see these in
mythepg. However MythTV wont change channels. It seems stuck on channel
48 and I get no other info in the OSD. I am in the UK so specified
europe-west, PAL, etc. I have tried selecting just a Terrestrial setup
but this didn't make much difference.

The console is claiming the database is the problem if that gives anyone
a clue, although I can't see what's wrong.

Can I also ask a question about the channels.cpp. Am I correct in
thinking that this scans the channels available using the TV card to do
the scanning? If so, could this be the problem as the TV signal is weak
and channels are not always located via a scan (I entered them into
xawtv (etc) manually)?

Also installed MythMusic, is it possible to configure this to use MP3
rather than Orb Vorbis? Would like the MythTV device to be where CDs are
'scanned' before being downloaded to a mobile/car MP3 player.


Thanks for the great piece of software, sure it's probably something
I've done incorrectly

Martyn
Re: Having a few problems :( [ In reply to ]
On Tuesday 29 October 2002 11:03 am, Martyn Weber wrote:
> Hi
>
> Trying to test MythTV, machine is totally underpowered but just trying
> to prove the concept before I invest in a new PC for it.
>
> Have a WinTV Stereo version installed in a K6 300 with the database on
> another machine. Linux is SuSe 8.0.
>
> Everything compiled and installed ok after changing the settings.pro to
> avoid the invalid instruction problem.
>
> The database has a load of shows stored in it and I can see these in
> mythepg. However MythTV wont change channels. It seems stuck on channel
> 48 and I get no other info in the OSD. I am in the UK so specified
> europe-west, PAL, etc. I have tried selecting just a Terrestrial setup
> but this didn't make much difference.
>
> The console is claiming the database is the problem if that gives anyone
> a clue, although I can't see what's wrong.
>
> Can I also ask a question about the channels.cpp. Am I correct in
> thinking that this scans the channels available using the TV card to do
> the scanning? If so, could this be the problem as the TV signal is weak
> and channels are not always located via a scan (I entered them into
> xawtv (etc) manually)?

It doesn't exactly scan for channels, it just uses that as a guide. Most
likely, your database isn't setup quite right. You need a valid cardinput
entry that links a capturecard entry and a videosource entry and the proper
input you're using on the capture card together, else things break. The last
set of questions that setup asked should've set that up for you.

> Also installed MythMusic, is it possible to configure this to use MP3
> rather than Orb Vorbis? Would like the MythTV device to be where CDs are
> 'scanned' before being downloaded to a mobile/car MP3 player.

Yeah, if someone wants to write a little encoder class that wraps lame or
whatever, and add support for writing back id3v2 tags. It wouldn't be very
difficult to do, but I'm fairly happy with the current ogg and flac support.

> Thanks for the great piece of software, sure it's probably something
> I've done incorrectly

Isaac
Re: Having a few problems :( [ In reply to ]
On Tuesday 29 October 2002 16:42, Isaac wrote:
> It doesn't exactly scan for channels, it just uses that as a guide. Most
> likely, your database isn't setup quite right. You need a valid cardinput
> entry that links a capturecard entry and a videosource entry and the proper
> input you're using on the capture card together, else things break. The
> last set of questions that setup asked should've set that up for you.
>

Ok, I've found out what the problem is/was.... In the channel table, the
channum field was set to chann for the Channel 4 and Channel 5 entries and
other shortened text strings for the others. Changing these to the actual
channel numbers has fixed it. Here is the record for one of the channels.

Channel
(only one channel given here but there is an entry for each terestrial
channel)
ChannID 1000 (increments for each channel)
Channum chann
SourceID 1
callsign (blank)
name Channel 4
Icon path to icon (displays ok in mythepg)
finetune 0
Videofilteres NULL
XMLTVID channel4.com

Is this parculiar to the uk xmltv grab or am I doing something wrong.

Also does anyone know what I need to add to theme.txt or settings.txt to get
the fancy OSD themes. The epg display is using blue, but the OSD still shows
the default display.

Thanks for the help, started saving for the new PC and also designing a
special IR xmitter for the cable box which uses a proprietary IR format :(

Martyn
Re: Having a few problems :( [ In reply to ]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> Ok, I've found out what the problem is/was.... In the channel table, the
> channum field was set to chann for the Channel 4 and Channel 5 entries and
> other shortened text strings for the others. Changing these to the actual
> channel numbers has fixed it. Here is the record for one of the channels.
>
> Channel
> (only one channel given here but there is an entry for each terestrial
> channel)
> ChannID 1000 (increments for each channel)
> Channum chann
> SourceID 1
> callsign (blank)
> name Channel 4
> Icon path to icon (displays ok in mythepg)
> finetune 0
> Videofilteres NULL
> XMLTVID channel4.com
>
> Is this parculiar to the uk xmltv grab or am I doing something wrong.

Nope seems all but the US grabber don't really work so well, I usually go into
the DB and hack about afterwards. I might write a script to do it someday....

/Ant
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9v1l5ZspeHb7yoS0RAjlhAJoDvQsFlH1E1Sk3CIQr08JxkVLkowCdFbmu
CgzaPuHstq4Xry6jMPS37Fk=
=fNWv
-----END PGP SIGNATURE-----
Re: Having a few problems :( [ In reply to ]
On Tuesday 29 October 2002 08:04 pm, Martyn Weber wrote:
> On Tuesday 29 October 2002 16:42, Isaac wrote:
> > It doesn't exactly scan for channels, it just uses that as a guide. Most
> > likely, your database isn't setup quite right. You need a valid
> > cardinput entry that links a capturecard entry and a videosource entry
> > and the proper input you're using on the capture card together, else
> > things break. The last set of questions that setup asked should've set
> > that up for you.
>
> Ok, I've found out what the problem is/was.... In the channel table, the
> channum field was set to chann for the Channel 4 and Channel 5 entries and
> other shortened text strings for the others. Changing these to the actual
> channel numbers has fixed it. Here is the record for one of the channels.
>
<snip>
> Is this parculiar to the uk xmltv grab or am I doing something wrong.

You most likely didn't run 'mythfilldatabase --manual' on the initial run,
which would've prompted you for channel numbers, I believe.

> Also does anyone know what I need to add to theme.txt or settings.txt to
> get the fancy OSD themes. The epg display is using blue, but the OSD still
> shows the default display.

Not sure -- it either can't find the 'defaultosd' theme, or can't load it for
some reason.. If you update to current CVS, it should be a little more
verbose about that aspect of things.

Isaac
Re: Having a few problems :( [ In reply to ]
Ok,

ive reinstalled from the latest CVS and captured the output.

getting the following error

Couldn't load osdtheme: liquid at /usr/local/share/mythtv/themes/liquid/

Looking at this directory it does exist and contains a load of files, is
there anyone I should be specifically looking for?

Thanks

Martyn

PS

Can anyone send me the details on getting the btaudio device working and
configuring MythTV to use it. Ive tries a insmod btaudio, which appears to
work in that it finds the .o file and gives no errors. However I was
expecting to see a /dev/btaudio device be created, only there isnt one?
Re: Having a few problems :( [ In reply to ]
On Thursday 31 October 2002 00:16, you wrote:
> Ok,
>
> ive reinstalled from the latest CVS and captured the output.
>
> getting the following error
>
> Couldn't load osdtheme: liquid at /usr/local/share/mythtv/themes/liquid/
>
> Looking at this directory it does exist and contains a load of files, is
> there anyone I should be specifically looking for?
>
Ok,

now ive looked a bit closer, the blue and liquid theme directories do not
include an OSD.TXT file or any of the PNG images for sliders, etc.

Has anyone got a copy of the ones that create the non default OSD that they
could send or add to cvs?
Re: Having a few problems :( [ In reply to ]
On Wednesday 30 October 2002 07:21 pm, Martyn Weber wrote:
> Ok,
>
> now ive looked a bit closer, the blue and liquid theme directories do not
> include an OSD.TXT file or any of the PNG images for sliders, etc.
>
> Has anyone got a copy of the ones that create the non default OSD that they
> could send or add to cvs?

They're not supposed to. The only valid osdtheme is 'defaultosd'.

Isaac
Re: Having a few problems :( [ In reply to ]
On Wednesday 30 October 2002 07:16 pm, Martyn Weber wrote:
> Can anyone send me the details on getting the btaudio device working and
> configuring MythTV to use it. Ive tries a insmod btaudio, which appears to
> work in that it finds the .o file and gives no errors. However I was
> expecting to see a /dev/btaudio device be created, only there isnt one?

Check your syslog, it should tell you what devices its registering. It uses
normal /dev/dsp[X] device names. You'll need to use the digital dsp, set to
a 32000Hz sampling rate.

Isaac
Re: Having a few problems :( [ In reply to ]
On Thursday 31 October 2002 00:39, you wrote:
> On Wednesday 30 October 2002 07:21 pm, Martyn Weber wrote:
> > Ok,
> >
> > now ive looked a bit closer, the blue and liquid theme directories do not
> > include an OSD.TXT file or any of the PNG images for sliders, etc.
> >
> > Has anyone got a copy of the ones that create the non default OSD that
> > they could send or add to cvs?
>
> They're not supposed to. The only valid osdtheme is 'defaultosd'.
>
> Isaac
Ah ok,sorry I thought that might be the reason it was saying it couldnt find
the liquid or blue osdtheme, cause there was no osd.txt file in the directory.

What I would like to do is configure the osd to provide a view like the
following:

http://mythtv.sourceforge.net/mc/osdinfo.jpg

and when paused display something like the following:

http://mythtv.sourceforge.net/mc/osdpause.jpg

What I actually get is similar to

http://mythtv.sourceforge.net/mc/tvosd.png
and no pause status bar at all.

I thought it was just a matter of switching to the blue or liquid themes but
not on my system :(
Re: Having a few problems :( [ In reply to ]
On Wednesday 30 October 2002 07:49 pm, Martyn Weber wrote:
> Ah ok,sorry I thought that might be the reason it was saying it couldnt
> find the liquid or blue osdtheme, cause there was no osd.txt file in the
> directory.
>
> What I would like to do is configure the osd to provide a view like the
> following:
>
> http://mythtv.sourceforge.net/mc/osdinfo.jpg
>
> and when paused display something like the following:
>
> http://mythtv.sourceforge.net/mc/osdpause.jpg

These are 'defaultosd'.

> What I actually get is similar to
>
> http://mythtv.sourceforge.net/mc/tvosd.png
> and no pause status bar at all.

And this is what it does when it has no theme specified, or it can't find the
theme.

Isaac
Re: Having a few problems :( [ In reply to ]
You have exactly the same problem as me - probably the
same as everyone using Gentoo. Isaac explained the
reason in another thread. What you need to do is
comment out the three lines containing 'strip' in the
Makefile in the themes subdir and then just do make
install. Remember to make your changes in settings.txt
again.

On Wed, 30 Oct 2002, Martyn Weber wrote:

>
> On Thursday 31 October 2002 00:39, you wrote:
> > On Wednesday 30 October 2002 07:21 pm, Martyn Weber
> wrote:
> > > Ok,
> > >
> > > now ive looked a bit closer, the blue and liquid
> theme directories do not
> > > include an OSD.TXT file or any of the PNG images
> for sliders, etc.
> > >
> > > Has anyone got a copy of the ones that create the
> non default OSD that
> > > they could send or add to cvs?
> >
> > They're not supposed to. The only valid osdtheme is
> 'defaultosd'.
> >
> > Isaac
> Ah ok,sorry I thought that might be the reason it was
> saying it couldnt find
> the liquid or blue osdtheme, cause there was no
osd.txt
> file in the directory.
>
> What I would like to do is configure the osd to
provide
> a view like the
> following:
>
> <a
href="http://mail.telocity.com/jump/http://mythtv.sourceforge.net/mc/osdinfo.jpg">http://mythtv.sourceforge.net/mc/osdinfo.jpg</a>
>
> and when paused display something like the following:
>
> <a
href="http://mail.telocity.com/jump/http://mythtv.sourceforge.net/mc/osdpause.jpg">http://mythtv.sourceforge.net/mc/osdpause.jpg</a>
>
> What I actually get is similar to
>
> <a
href="http://mail.telocity.com/jump/http://mythtv.sourceforge.net/mc/tvosd.png">http://mythtv.sourceforge.net/mc/tvosd.png</a>
> and no pause status bar at all.
>
> I thought it was just a matter of switching to the
blue
> or liquid themes but
> not on my system :(
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev@snowman.net
> <a
href="http://mail.telocity.com/jump/http://www.snowman.net/mailman/listinfo/mythtv-dev">http://www.snowman.net/mailman/listinfo/mythtv-dev</a>
Re: Having a few problems :( [ In reply to ]
On Wed, Oct 30, 2002 at 07:41:30PM -0500, Isaac Richards wrote:
> On Wednesday 30 October 2002 07:16 pm, Martyn Weber wrote:
> > Can anyone send me the details on getting the btaudio device working and
> > configuring MythTV to use it. Ive tries a insmod btaudio, which appears to
> > work in that it finds the .o file and gives no errors. However I was
> > expecting to see a /dev/btaudio device be created, only there isnt one?

> Check your syslog, it should tell you what devices its registering. It uses
> normal /dev/dsp[X] device names. You'll need to use the digital dsp, set to
> a 32000Hz sampling rate.

Hi Isaac,

I'm having problems setting up btaudio as well. I definitely have a
pci audio capture device and btaudio finds it, but I get no data when
I read the digital dsp, and I get a square wave when I read from the
analog one (I've tried all three inputs on the btaudio mixer). Does
your bttv find either the MSP34xx TDA9875 or TDA7432? Could you
provide the dmesg output of your bttv and btaudio drivers or take
a look at the output of mine to see if anything looks amiss?

Thanks,
-Jim

bttv: driver version 0.7.83 loaded
bttv: using 2 buffers with 2080k (4160k total) for capture
bttv: Host bridge is PCI device 1039:0740 (Silicon Integrated Systems [SiS])
bttv: Bt8xx card found (0).
bttv0: Bt878 (rev 17) at 00:0c.0, irq: 10, latency: 32, memory: 0xec103000
bttv0: detected: Hauppauge WinTV [card=10], PCI subsystem ID is 0070:13eb
bttv0: using: BT878(Hauppauge (bt878)) [card=10,autodetected]
bttv0: Hauppauge/Voodoo msp34xx: reset line init [5]
i2c-core.o: adapter bt848 #0 registered as adapter 0.
bttv0: Hauppauge eeprom: model=44801, tuner=Temic 4036FY5 (8), radio=no
bttv0: i2c: checking for MSP34xx @ 0x80... not found
bttv0: i2c: checking for TDA9875 @ 0xb0... not found
bttv0: i2c: checking for TDA7432 @ 0x8a... not found
tvaudio: TV audio decoder + audio/video mux driver
tvaudio: known chips: tda9840,tda9873h,tda9874a,tda9850,tda9855,tea6300,tea6420,tda8425,pic16c54 (PV951)
i2c-core.o: driver generic i2c audio driver registered.
i2c-core.o: driver i2c TV tuner driver registered.
tuner: chip found @ 0xc2
bttv0: i2c attach [client=Temic NTSC (4036 FY5),ok]
i2c-core.o: client [Temic NTSC (4036 FY5)] registered to adapter [bt848 #0](pos. 0).
bttv0: PLL: 28636363 => 35468950 ... ok
bttv0: PLL: switching off
btaudio: driver version 0.6 loaded [analog+digital]
btaudio: Bt878 (rev 17) at 00:0c.1, irq: 10, latency: 32, memory: 0xec104000
Re: Having a few problems :( [ In reply to ]
On Thursday 31 October 2002 02:42 am, Jim Radford wrote:
> Hi Isaac,
>
> I'm having problems setting up btaudio as well. I definitely have a
> pci audio capture device and btaudio finds it, but I get no data when
> I read the digital dsp, and I get a square wave when I read from the
> analog one (I've tried all three inputs on the btaudio mixer). Does
> your bttv find either the MSP34xx TDA9875 or TDA7432? Could you
> provide the dmesg output of your bttv and btaudio drivers or take
> a look at the output of mine to see if anything looks amiss?

The card I have that btaudio works on has a MSP34xx. For the card that
doesn't work with btaudio, the driver does say its registering dsp devices
for it, but I get the same output as you are with those devices.

Isaac