[mythtv-users] btaudio and LIRC on a Kworld TV878RF-PRO

Larry Owen larry at scrudgeware.org
Mon Jul 28 09:41:18 EDT 2003


I'm trying to setup btaudio and LIRC on a Kworld TV878RF-PRO.
Summary,  if anyone has this stuff working on this card, please share your modules.conf,
mixer settings, lircd.conf, ~/.lircrc, and any gotchas you may know about.

**LIRC***
I can load the driver w/out error w/ the following command:

modprobe lirc_gpio gpio_mask=0xff00 debug=1

here's the syslog message:

Jul 28 08:13:45 media kernel: lirc_dev: IR Remote Control driver registered, at major 61 
Jul 28 08:13:45 media kernel: lirc_dev: lirc_register_plugin:sample_rate: 10
Jul 28 08:13:45 media kernel: lirc_gpio (0): driver registered

Then i run lircd (w/out error) and the log reads this:

Jul 28 08:14:44 media lircd 0.7.0pre1: lircd(kworld) ready

OK, Now I should be able to run irw, start pressing buttons on my remote and get some
messages, right?  I get nothing on standard out.   However, syslog shows this:

....
Jul 28 08:19:36 media kernel: lirc_gpio (0): gpio_val is 3ffffc
Jul 28 08:19:36 media kernel: lirc_gpio (0): code is ff
Jul 28 08:19:36 media kernel: lirc_gpio (0): gpio_val is 3ffffc
Jul 28 08:19:36 media kernel: lirc_gpio (0): code is ff
Jul 28 08:19:36 media kernel: lirc_gpio (0): gpio_val is 3ffffc
Jul 28 08:19:36 media kernel: lirc_gpio (0): code is ff
Jul 28 08:19:36 media kernel: lirc_gpio (0): gpio_val is 3ffffc
Jul 28 08:19:36 media kernel: lirc_gpio (0): code is ff
Jul 28 08:19:36 media kernel: lirc_gpio (0): gpio_val is 3ffffc
Jul 28 08:19:36 media kernel: lirc_gpio (0): code is ff
Jul 28 08:19:36 media kernel: lirc_gpio (0): gpio_val is 3ffffc
Jul 28 08:19:36 media kernel: lirc_gpio (0): code is ff
Jul 28 08:19:36 media kernel: lirc_gpio (0): gpio_val is 3f89fc
Jul 28 08:19:36 media kernel: lirc_gpio (0): code is 89
Jul 28 08:19:37 media kernel: lirc_gpio (0): gpio_val is 3f89fc
Jul 28 08:19:37 media kernel: lirc_gpio (0): code is 89
Jul 28 08:19:37 media kernel: lirc_gpio (0): gpio_val is 3f89fc
Jul 28 08:19:37 media kernel: lirc_gpio (0): code is 89
Jul 28 08:19:37 media kernel: lirc_gpio (0): gpio_val is 3ffffc
.....

I'm guessing that the lircd.conf for the Kworld is wrong.


*** BTAUDIO ***
I'm currently, using Line-in on my soundcard, but would like to use btaudio.

On startup, I get the following:

btaudio: driver version 0.7 loaded [digital+analog]
btaudio: Bt878 (rev 17) at 01:07.1, irq: 5, latency: 64, mmio: 0xf7000000
btaudio: using card config "default"
btaudio: registered device dsp1 [digital]
btaudio: registered device dsp2 [analog]
btaudio: registered device mixer1

So far so good, but later after some messages about usb and some other stuff, I get this:

bttv0: gpio: en=00000007, out=00000004 in=003ffff8 [audio: off]
bttv0: gpio: en=00000007, out=00000004 in=003ffff8 [muxsel]
bttv0: gpio: en=00000007, out=00000004 in=003ffff8 [audio: off]
bttv0: gpio: en=00000007, out=00000004 in=003ffff8 [muxsel]
bttv0: gpio: en=00000007, out=00000004 in=003ffff8 [audio: off]
bttv0: gpio: en=00000007, out=00000004 in=003ffff8 [audio: off]
bttv0: gpio: en=00000007, out=00000004 in=003ffff8 [audio: off]
bttv0: gpio: en=00000007, out=00000004 in=003ffff8 [audio: off]
bttv0: gpio: en=00000007, out=00000004 in=003ffff8 [audio: off]
bttv0: gpio: en=00000007, out=00000004 in=003ffff8 [audio: off]
bttv0: gpio: en=00000007, out=00000000 in=003ffff8 [audio: tuner]
bttv0: gpio: en=00000007, out=00000004 in=003ffff8 [audio: extern]
bttv0: gpio: en=00000007, out=00000004 in=003ffff8 [muxsel]
bttv0: gpio: en=00000007, out=00000004 in=003ffff8 [audio: extern]
bttv0: gpio: en=00000007, out=00000004 in=003ffff8 [audio: extern]
bttv0: gpio: en=00000007, out=00000004 in=003ffff8 [audio: extern]

Is the driver shutting off audio?  When I launch kmix, I have an extra tab labeled
"Booktree bt878 audio" w/ controls for line[1-3].   That seems promising.  But after
running the Backend setup program, and setting record audio device to /dev/dsp1, I can't
get sound no matter what "line" on "Booktree bt878 audio" I set to be the record source.  

-larry


More information about the mythtv-users mailing list