[mythtv-users] Re:btaudio works under sox but not MythTV

NICHOLAS ALLEN HALL nhall at students.wisc.edu
Sat Jul 26 20:49:22 EDT 2003


Yes, the MythTV setup is pointed to /dev/dsp1. If I run dmesg | grep btaudio I get:

btaudio: driver version 0.7 loaded [digital]
btaudio: Bt878 (rev 2) at 01:06.1. irq:4, latency: 32, mnio: 0xde001000
btaudio: using card config "default"
btaudio: registered device dsp1 [digital]

So it seems btaudio is using dsp1 just fine.

When I run mythfrontend, I get on the console (after I go to Watch TV):

Changing from None to WatchingLiveTV
Opening OSS audio device '/dev/dsp1'.
audio device cannot report buffer state accurately.
audio/video sync will be bad, continuing anyway

I'm not sure if these MythTV warnings are an artifact of the sound not working correctly or have something to do with the cause.

BTW, I'm running RedHat 9 - kernel 2.4.20-8

Thanks for any help,

Nick


> Nick,
>
>Did you point the set-up to /dev/dsp1?
>
>Something doesn't seem right here, I think it should look like this
>
>/dev/dsp >> Regular Sound Card
>/dev/dsp0 >> btaudio digital (this is the one you >want)
>/dev/dsp1 >> btaudio analog (this doesn't work for >btaudio recording
>IIRC)
>
>try:
>
># dmesg | grep btaudio
>
>should tell you what device numbers are assigned to >btaudio.
>
>-Eric
>
>On Saturday, July 26, 2003, at 02:20 PM, NICHOLAS >ALLEN HALL wrote:
>
>> Hi,
>>
>> I'm trying to get MythTV 0.10 to work with btaudio. It works with the
>> line out port but there is an annoying hum that seems to be a physical
>> problem so I thought it would be worthwhile to get btaudio to work.
>>
>> My TV tuner card is a Haupaugge WinTV (BT878) card. I'm using OSS (not
>> Alsa) - although I could install Alsa if it would help. I know btaudio
>> works on this card because if I do:
>>
>> sox -r 32000 -c 2 -t ossdsp /dev/dsp1 -r 48000 -t offdsp /dev/dsp
>>
>> then the sound comes out the speakers just fine (the rate parameters
>> don't seem to matter except to eliminate the sox warnings).
>>
>> Per what I could find on the mailing list, I tried adding to
>> /etc/modules.conf:
>>
>> options btaudio debug=2 digital=1 analog=0 rate=32000
>>
>> and when I either watch TV in MythTV or run sox I get in my
>> /var/log/messages each time:
>>
>> btaudio: open digital dsp[19]
>>
>> I changed MythTV's settings to use /dev/dsp1 and then go to watch TV
>> but there is no sound and the video also seems like its in slow motion
>> (like maybe 3x slower than normal). If I use /dev/dsp and have the
>> sound coming through the line-in jack it works fine (although the
>> sound has the whine).
>>
>> Does anyone have any pointers or suggestions? I'd gladly debug if
>> someone pointed me to the right place. Thanks for any help,
>>
>> Nick
 



More information about the mythtv-users mailing list