Mailing List Archive

Audio (maybe video) problems (xawtv works)
Hey Guys,

Does anyone know why this would be happening? I alsa working in kde,
xwatv works with sound. But when I start mythtv after I run setup I get
these errors.

Changing from None to WatchingLiveTV
Cannot open DSP '', dying.
Could not detect audio blocksize
Cannot open DSP '', exitingCan't open video device:
open video:: No such file or directory
VIDIOCSAUDIO: Bad file descriptor

I have video setup up on /dev/v4l/video0
And sound on /dev/sound/dsp

I can cat a file to /dev/sound/dsp and stuff comes out.

I am running Gentoo Linux 1.4 with devfs, I have read a few posts and
have seen some problems with it. But I thought they were resolved.

Audio and Video under linux is new to me, can someone help me out.

Also, when mythfilldatabase runs nothing seems to happen, there are no
tables in the database. Does mythtv populate the schema?

Thanks a lot guys.
Re: Audio (maybe video) problems (xawtv works) [ In reply to ]
> Also, when mythfilldatabase runs nothing seems to happen, there are no
> tables in the database. Does mythtv populate the schema?
>

Have you gone to the database directory and done %mysql< mc.sql (or
similar, I think that was it)
when I run mythfilldatabase I get ouput like this:

----------------- Start of XMLTV output -----------------
checking provider information for postal/zip code 98105, be patient..
double checking channel information, be patient..
writing listings to /tmp/mythzxSlIp
Day 2002-10-29 schedule for station 1 CBUT has:41 programs
Day 2002-10-29 schedule for station 2 NWCN has:37 programs
Day 2002-10-29 schedule for station 3 KWPX has:40 programs
Day 2002-10-29 schedule for station 4 KOMO has:32 programs
Day 2002-10-29 schedule for station 5 KING has:29 programs
Day 2002-10-29 schedule for station 6 KONG has:40 programs
Day 2002-10-29 schedule for station 7 KIRO has:30 programs
Day 2002-10-29 schedule for station 8 DSC has:31 programs
and so on.
Re: Audio (maybe video) problems (xawtv works) [ In reply to ]
On Tue, 2002-10-29 at 07:56, Nathan Lee wrote:
> Hey Guys,
>
> Does anyone know why this would be happening? I alsa working in kde,
> xwatv works with sound. But when I start mythtv after I run setup I get
> these errors.
>
> Changing from None to WatchingLiveTV
> Cannot open DSP '', dying.
> Could not detect audio blocksize
> Cannot open DSP '', exitingCan't open video device:
> open video:: No such file or directory
> VIDIOCSAUDIO: Bad file descriptor
>
> I have video setup up on /dev/v4l/video0
> And sound on /dev/sound/dsp
>

I also use gentoo, you should be sure that your user is a member of the
audio group, so that you have permission to write to the audio device,
else it should be fine, I use /dev/dsp which is just a symlink to the
device you specified.

Have you enabled capture on the line port? (use e.g. alsamixer and press
spacebar on the port).

// brian



> I can cat a file to /dev/sound/dsp and stuff comes out.
>
> I am running Gentoo Linux 1.4 with devfs, I have read a few posts and
> have seen some problems with it. But I thought they were resolved.
>
> Audio and Video under linux is new to me, can someone help me out.
>
> Also, when mythfilldatabase runs nothing seems to happen, there are no
> tables in the database. Does mythtv populate the schema?
>
> Thanks a lot guys.
>
>
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev@snowman.net
> http://www.snowman.net/mailman/listinfo/mythtv-dev
>
RE: Audio (maybe video) problems (xawtv works) [ In reply to ]
OK, I ran that SQL file, but mythfilldatabase still does nothing.
Shouldn't it at least give me an error? I know it logs into mysql,
because if the password is wrong it says so. But other than that,
nothing happens. Could the qt-mysql driver be setup wrong?

-----Original Message-----
From: mythtv-dev-admin@snowman.net [mailto:mythtv-dev-admin@snowman.net]
On Behalf Of mythtv.3.ohthetrees@spamgourmet.com
Sent: October 29, 2002 12:18 AM
To: mythtv-dev@snowman.net
Subject: Re: [mythtv] Audio (maybe video) problems (xawtv works)




> Also, when mythfilldatabase runs nothing seems to happen, there are no
> tables in the database. Does mythtv populate the schema?
>

Have you gone to the database directory and done %mysql< mc.sql (or
similar, I think that was it)
when I run mythfilldatabase I get ouput like this:

----------------- Start of XMLTV output -----------------
checking provider information for postal/zip code 98105, be patient..
double checking channel information, be patient..
writing listings to /tmp/mythzxSlIp
Day 2002-10-29 schedule for station 1 CBUT has:41 programs
Day 2002-10-29 schedule for station 2 NWCN has:37 programs
Day 2002-10-29 schedule for station 3 KWPX has:40 programs
Day 2002-10-29 schedule for station 4 KOMO has:32 programs
Day 2002-10-29 schedule for station 5 KING has:29 programs
Day 2002-10-29 schedule for station 6 KONG has:40 programs
Day 2002-10-29 schedule for station 7 KIRO has:30 programs
Day 2002-10-29 schedule for station 8 DSC has:31 programs
and so on.

_______________________________________________
mythtv-dev mailing list
mythtv-dev@snowman.net
http://www.snowman.net/mailman/listinfo/mythtv-dev
Re: Audio (maybe video) problems (xawtv works) [ In reply to ]
On Tuesday 29 October 2002 09:04 am, Nathan Lee wrote:
> OK, I ran that SQL file, but mythfilldatabase still does nothing.
> Shouldn't it at least give me an error? I know it logs into mysql,
> because if the password is wrong it says so. But other than that,
> nothing happens. Could the qt-mysql driver be setup wrong?

Did you run the setup program after you created the database tables?

Isaac
RE: Audio (maybe video) problems (xawtv works) [ In reply to ]
Hehe, yeah I figured that out right after I posted that message. I guess
I should think before I post. Thanks for the reply tho.

I was wondering if it would be hard to add an error message to
mythfilldatabase for issues such as the ones I had. It would help people
setting up mythtv for the first time. Id submit a patch that did that,
but I have no clue where to start. I have only ever done win32
programming, nothing ever on linux.

Nathan

-----Original Message-----
From: mythtv-dev-admin@snowman.net [mailto:mythtv-dev-admin@snowman.net]
On Behalf Of Isaac Richards
Sent: October 29, 2002 7:15 AM
To: mythtv-dev@snowman.net
Subject: Re: [mythtv] Audio (maybe video) problems (xawtv works)

On Tuesday 29 October 2002 09:04 am, Nathan Lee wrote:
> OK, I ran that SQL file, but mythfilldatabase still does nothing.
> Shouldn't it at least give me an error? I know it logs into mysql,
> because if the password is wrong it says so. But other than that,
> nothing happens. Could the qt-mysql driver be setup wrong?

Did you run the setup program after you created the database tables?

Isaac
_______________________________________________
mythtv-dev mailing list
mythtv-dev@snowman.net
http://www.snowman.net/mailman/listinfo/mythtv-dev
Re: Audio (maybe video) problems (xawtv works) [ In reply to ]
I have had devfs problems as of the last snapshot.. I just disable it..

tarek : )

> I am running Gentoo Linux 1.4 with devfs, I have read a few posts and
> have seen some problems with it. But I thought they were resolved.
>
> Audio and Video under linux is new to me, can someone help me out.
>
> Also, when mythfilldatabase runs nothing seems to happen, there are no
> tables in the database. Does mythtv populate the schema?
>
> Thanks a lot guys.
>
>
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev@snowman.net
> http://www.snowman.net/mailman/listinfo/mythtv-dev
>