[mythtv-users] Multiple KWorld 110s

Sean Goodpasture goofygrin at gmail.com
Tue Dec 4 04:28:57 UTC 2007


OK, in my box, I've got the following in my modules.conf in /etc/modprobe.d:
alias char-major-81 videodev
alias char-major-81-0 saa7134
options saa7134 card=90,90 disable_ir=1 tuner=68,68
options saa7134-alsa index=1,2,3
options dvb-core dvb_shutdown_timeout=0

The 4th line is what sets up alsa correctly for me (remember I've got three
cards).

Here's my dmesg | grep saa as well:
saa7130/34: v4l2 driver version 0.2.14 loaded
saa7133[0]: found at 0000:01:06.0, rev: 209, irq: 21, latency: 32, mmio:
0xfb007                                           000
saa7133[0]: subsystem: 17de:7352, board: Kworld ATSC110 [card=90,insmod
option]
saa7133[0]: board init: gpio is 100
saa7133[0]: i2c eeprom 00: de 17 52 73 ff ff ff ff ff ff ff ff ff ff ff ff
saa7133[0]: i2c eeprom 10: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7133[0]: i2c eeprom 20: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7133[0]: i2c eeprom 30: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7133[0]: i2c eeprom 40: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7133[0]: i2c eeprom 50: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7133[0]: i2c eeprom 60: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7133[0]: i2c eeprom 70: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
tuner 0-0061: chip found @ 0xc2 (saa7133[0])
saa7133[0]: registered device video0 [v4l2]
saa7133[0]: registered device vbi0
saa7133[1]: found at 0000:01:07.0, rev: 209, irq: 22, latency: 32, mmio:
0xfb004                                           000
saa7133[1]: subsystem: 17de:7352, board: Kworld ATSC110 [card=90,insmod
option]
saa7133[1]: board init: gpio is 100
saa7133[1]: i2c eeprom 00: de 17 52 73 ff ff ff ff ff ff ff ff ff ff ff ff
saa7133[1]: i2c eeprom 10: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7133[1]: i2c eeprom 20: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7133[1]: i2c eeprom 30: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7133[1]: i2c eeprom 40: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7133[1]: i2c eeprom 50: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7133[1]: i2c eeprom 60: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7133[1]: i2c eeprom 70: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7133[1]: registered device video1 [v4l2]
saa7133[1]: registered device vbi1
saa7133[2]: found at 0000:01:08.0, rev: 240, irq: 20, latency: 32, mmio:
0xfb005                                           000
saa7133[2]: subsystem: 17de:7350, board: Kworld ATSC110
[card=90,autodetected]
saa7133[2]: board init: gpio is 100
saa7133[2]: i2c eeprom 00: de 17 50 73 ff ff ff ff ff ff ff ff ff ff ff ff
saa7133[2]: i2c eeprom 10: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7133[2]: i2c eeprom 20: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7133[2]: i2c eeprom 30: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7133[2]: i2c eeprom 40: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7133[2]: i2c eeprom 50: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7133[2]: i2c eeprom 60: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7133[2]: i2c eeprom 70: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7133[2]: registered device video2 [v4l2]
saa7133[2]: registered device vbi2
DVB: registering new adapter (saa7133[0]).
DVB: registering new adapter (saa7133[1]).
DVB: registering new adapter (saa7133[2]).
saa7134 ALSA driver for DMA sound loaded
saa7133[0]/alsa: saa7133[0] at 0xfb007000 irq 21 registered as card 1
saa7133[1]/alsa: saa7133[1] at 0xfb004000 irq 22 registered as card 2
saa7133[2]/alsa: saa7133[2] at 0xfb005000 irq 20 registered as card 3
tuner 0-0043: chip found @ 0x86 (saa7133[0])
tuner 0-0061: chip found @ 0xc2 (saa7133[0])
tuner 1-0061: chip found @ 0xc2 (saa7133[1])
tuner 2-0061: chip found @ 0xc2 (saa7133[2])

I always have issues loading all the devices, do I actually added rmmod's
and modprobes to my rc.local (which I know isn't the right way, but it works
so I don't complain).

I don't remember why I had to add the tuner module, but there was some
reason.

Also, here's a couple other things...  I setup the analog as a child card:
mysql> select cardid, videodevice, parentid, audioratelimit from
capturecard;
+--------+-------------+----------+----------------+
| cardid | videodevice | parentid | audioratelimit |
+--------+-------------+----------+----------------+
|      1 | 0           |        0 |           NULL |
|      2 | 1           |        0 |           NULL |
|      7 | 2           |        0 |           NULL |
|      4 | /dev/video0 |        1 |          32000 |
|      6 | /dev/video1 |        2 |          32000 |
|      8 | /dev/video2 |        7 |          32000 |
+--------+-------------+----------+----------------+
6 rows in set (0.00 sec)

The card also is limited to 32000 on the analog, so make sure you limit it
and on the recording profiles for analog, set the audio rate to 32000 or
you'll get all sorts of funky sounding audio.  You might have issues with
this if you're outputting via SPDIF, depending on your card/receiver.  I set
an asound.conf plug to auto convert it to 48000 and it works well.

Good luck.

On Dec 3, 2007 9:28 PM, Sean Goodpasture <goofygrin at gmail.com> wrote:

> Other than the alsa issue (it's not sensing the carfs correctly, hence
> the negative card ids), everything looks decent.
>
> IN /etc, there should be a modprobe or modules file with the saa
> config (I can't remember which and i'm remote right now...)
>
> in mythsetup, what happens when you add a dvb for card 1, does it see
> the right thing?
>
>
> On 12/3/07, Steve Harrington <steve at the-harringtons.org> wrote:
> > Hello, thanks for you replies.
> >
> > Well, I built my dad one and my dad-in-law one.  I *intended* to put the
> two 110s in the
> > father-in-laws and the two 115s in my father's - but I could have messed
> up.  I haven't configured
> > my father's yet because it's a Christmas gift.
> >
> > Anyway, here are the outputs of:
> > modprobe.conf does not exist on the system
> > output of dmesg | grep saa:
> > [   38.914567] saa7130/34: v4l2 driver version 0.2.14 loaded
> > [   38.914764] saa7133[0]: found at 0000:02:01.0, rev: 240, irq: 22,
> latency: 64, mmio: 0xff5ff800
> > [   38.914773] saa7133[0]: subsystem: 17de:7350, board: Kworld ATSC110
> [card=90,autodetected]
> > [   38.914786] saa7133[0]: board init: gpio is 100
> > [   39.062446] saa7133[0]: i2c eeprom 00: de 17 50 73 ff ff ff ff ff ff
> ff ff ff ff ff ff
> > [   39.062457] saa7133[0]: i2c eeprom 10: ff ff ff ff ff ff ff ff ff ff
> ff ff ff ff ff ff
> > [   39.062464] saa7133[0]: i2c eeprom 20: ff ff ff ff ff ff ff ff ff ff
> ff ff ff ff ff ff
> > [   39.062472] saa7133[0]: i2c eeprom 30: ff ff ff ff ff ff ff ff ff ff
> ff ff ff ff ff ff
> > [   39.062480] saa7133[0]: i2c eeprom 40: ff ff ff ff ff ff ff ff ff ff
> ff ff ff ff ff ff
> > [   39.062487] saa7133[0]: i2c eeprom 50: ff ff ff ff ff ff ff ff ff ff
> ff ff ff ff ff ff
> > [   39.062495] saa7133[0]: i2c eeprom 60: ff ff ff ff ff ff ff ff ff ff
> ff ff ff ff ff ff
> > [   39.062502] saa7133[0]: i2c eeprom 70: ff ff ff ff ff ff ff ff ff ff
> ff ff ff ff ff ff
> > [   39.194075] tuner 1-0061: chip found @ 0xc2 (saa7133[0])
> > [   39.299951] saa7133[0]: registered device video0 [v4l2]
> > [   39.299988] saa7133[0]: registered device vbi0
> > [   43.968539] saa7133[1]: found at 0000:02:02.0, rev: 240, irq: 16,
> latency: 64, mmio: 0xff5ff000
> > [   43.968548] saa7133[1]: subsystem: 17de:7350, board: Kworld ATSC110
> [card=90,autodetected]
> > [   43.968559] saa7133[1]: board init: gpio is 100
> > [   44.119350] saa7133[1]: i2c eeprom 00: de 17 50 73 ff ff ff ff ff ff
> ff ff ff ff ff ff
> > [   44.119361] saa7133[1]: i2c eeprom 10: ff ff ff ff ff ff ff ff ff ff
> ff ff ff ff ff ff
> > [   44.119370] saa7133[1]: i2c eeprom 20: ff ff ff ff ff ff ff ff ff ff
> ff ff ff ff ff ff
> > [   44.119377] saa7133[1]: i2c eeprom 30: ff ff ff ff ff ff ff ff ff ff
> ff ff ff ff ff ff
> > [   44.119385] saa7133[1]: i2c eeprom 40: ff ff ff ff ff ff ff ff ff ff
> ff ff ff ff ff ff
> > [   44.119393] saa7133[1]: i2c eeprom 50: ff ff ff ff ff ff ff ff ff ff
> ff ff ff ff ff ff
> > [   44.119401] saa7133[1]: i2c eeprom 60: ff ff ff ff ff ff ff ff ff ff
> ff ff ff ff ff ff
> > [   44.119409] saa7133[1]: i2c eeprom 70: ff ff ff ff ff ff ff ff ff ff
> ff ff ff ff ff ff
> > [   44.166523] saa7133[1]: registered device video2 [v4l2]
> > [   44.166560] saa7133[1]: registered device vbi2
> > [   44.189438] saa7134 ALSA driver for DMA sound loaded
> > [   44.189472] saa7133[0]/alsa: saa7133[0] at 0xff5ff800 irq 22
> registered as card -2
> > [   44.189819] saa7133[1]/alsa: saa7133[1] at 0xff5ff000 irq 16
> registered as card -1
> > [   44.362722] DVB: registering new adapter (saa7133[0]).
> > [   48.019829] DVB: registering new adapter (saa7133[1]).
> >
> > Thanks for the help to the both of you!
> > _______________________________________________
> > mythtv-users mailing list
> > mythtv-users at mythtv.org
> > http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20071203/d60d9720/attachment.htm 


More information about the mythtv-users mailing list