[mythtv-users] pvr-150 occasionally swaps /dev/video1 to /dev/video0

Kevin Kuphal kkuphal at gmail.com
Fri Mar 28 18:28:32 UTC 2008


On Fri, Mar 28, 2008 at 12:37 PM, <stefan_jones at comcast.net> wrote:

> I have two capture cards in my mythbox:
>
> pchdtv-3000, which has been in the box for a while but which  I just
> recently got working and configured,
>
> Happague PVR-150, which is my main recording inteface. It is addressed as
> /dev/video1
>
> Whenever the HDTV-3000 is installed, and configured, something odd happens
> -- often but now always -- after a system reset. The Happague card kind of
> disappears on me. Specifically, the configuration listing swaps from
> /dev/video1 to /dev/video0. It's like the binding between the database
> information and the hardware gets lost.
>
> The fix is easy; I turn off mythbackend, bring up mythtvsetup, and go to
> the Capture Cards listing for the Happague. The config page will show
> /dev/video0, and list the hdtv-3000 card as hardware it's seeing. I just
> need to switch /dev/video0 to /dev/video1 and I'm back in business.
>
> Anyone else see this? Is there a way to keep this from happening?


The hard way: write udev rules
This has always troubled me

Easy way (for me): Add an option line to your ivtv module in modprobe.conf
options ivtv ivtv_first_minor=1

This will cause ivtv to always take /dev/video1 (double check with a google
search to see if ivtv_first_minor is 0 based) which leaves /dev/video0
always open for your hdtv-3000 card.

Kevin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20080328/8d420daf/attachment.htm 


More information about the mythtv-users mailing list