Tv Tuner detection

6 posts / 0 new
Last post
Offline
Joined: 9 Oct 2006
Tv Tuner detection

I have 2 questions.

1) Every time I start up my server, I have to run modprobe dvb-bt8xx in order to detect the HD portion of my Fusion 5 RT Lite.  How do I set that up in modprobe.conf to load automatically (or what is the correct way to load it automatically so that it's recognized by the time mythbackend starts as a service)?

2) Sometimes the order my tuners are detected changes.  Mythtvsetup wants the PVR150s/PVR350 to be /dev/video0-2, and every now and then, the analog portion of the HD tuner gets put in one of those.  Is there a way to force what card is put where at startup?  If my HD tuner is put in the middle somewhere, I can only use two of my three analog tuners.

Thanks again.  Smile

HTPC addict

John's picture
Offline
Joined: 5 Aug 2006

Lothar wrote:

I have 2 questions.

1) Every time I start up my server, I have to run modprobe dvb-bt8xx in order to detect the HD portion of my Fusion 5 RT Lite.  How do I set that up in modprobe.conf to load automatically (or what is the correct way to load it automatically so that it's recognized by the time mythbackend starts as a service)?

2) Sometimes the order my tuners are detected changes.  Mythtvsetup wants the PVR150s/PVR350 to be /dev/video0-2, and every now and then, the analog portion of the HD tuner gets put in one of those.  Is there a way to force what card is put where at startup?  If my HD tuner is put in the middle somewhere, I can only use two of my three analog tuners.

Thanks again.  Smile

I will have to research (google) a more refined response to #1, but you could just insert that command in /etc/rc.local so it is handled automatically.  I'm sure that there is a way of composing one of those oh so readable lines in /etc/modprobe.conf:

[tt]remove snd-intel8x0 { /usr/sbin/alsactl store 0 >/dev/null 2>&1 || : ; }; /sbin/modprobe -r --ignore-remove snd-intel8x0[/tt]

#2 may be a bit more interesting.  Are you saying that the ivtv module is grabbing the analog tuner in your Fusion 5 RT Lite?  I have a pvr500 and pvr250 in my PC.  Both are on different IRQs and they always grab in the same order each time.  Perhaps a shifting of PCI slots would help?  If it is grabbing another module, then you can force your ivtv modules to load on certain locations with:

[tt]alias char-major-81 ivtv
alias char-major-81-0 ivtv
alias char-major-81-1 ivtv
alias char-major-81-2 ivtv[/tt]

Famous Last Words - "I am new to Linux, but my technical background should make this new adventure go smoothly."

Offline
Joined: 9 Oct 2006

1) The dvb-bt8xx module needs to be loaded before the backend starts up or else it won't recognize the card.  Previously I was working around this by adding that to the rc.local file as you mentioned followed by a command to restart the backend.  I'm just looking for a more elegant solution.

2) The analog portion of the HD tuner is being detected by bttv, not ivtv.  The order of my analog cards is being forced, but sometimes my HD analog tuner is detected in the middle.  Usually it shows up as video3, sometimes it comes up as video1 or video2.  I think this is being made even worse by the fact that it's a dual core system, but this happened on my old server too (which I later realized is why one of my tuners wasn't always available).  Maybe there's a way to just force bttv to not be loaded? although I think it's needed for the HD portion of my HD tuner.

HTPC addict

Offline
Joined: 9 Oct 2006

Does this mean no more ideas?  I have to do my own research? Shock

HTPC addict

John's picture
Offline
Joined: 5 Aug 2006

Lothar wrote:

Does this mean no more ideas?  I have to do my own research? Shock

You will get your answer as soon as we get a Diskless MythTV Frontend HOWTO.  Mhhuahhauahhahahaaaa!!!!  Cool

Something you can do is determine what IRQs the various tuners are getting.  That should help determine why things initialize the way they do.

"cat /proc/interrupts"

Famous Last Words - "I am new to Linux, but my technical background should make this new adventure go smoothly."

Offline
Joined: 9 Oct 2006

I'll see what I can do. Wink

HTPC addict

Topic locked
Website design by Yammm Software
Powered by Drupal