Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Users

PVR-350 + PVR-250 question

 

 

MythTV users RSS feed   Index | Next | Previous | View Threaded


mercury.morris at gmail

Nov 16, 2004, 10:42 AM

Post #1 of 5 (773 views)
Permalink
PVR-350 + PVR-250 question

Here are two lines from the dmesg output:

ivtv: Initialized WinTV PVR 250, card #0
ivtv: Initialized WinTV PVR 350, card #1

Does this mean that the PVR-250 is /dev/video0
and the PVR-350 is /dev/video1 ?

When the PVR-350 was the only card in the box,
it was /dev/video0. So if the above is true, this
is unfriendly, to say the least.

--
MM


marc at geekythings

Nov 16, 2004, 10:45 AM

Post #2 of 5 (753 views)
Permalink
Re: PVR-350 + PVR-250 question [In reply to]

Why is that unfriendly? It's pretty standard to enumerate devices like
that. You *have to* abstract device ID froms the hardware layer for stuff
like this.

If you really want to see unfriendly, get into USB device enumeration ;-)

On Tue, 16 Nov 2004, Mercury Morris wrote:

> Here are two lines from the dmesg output:
>
> ivtv: Initialized WinTV PVR 250, card #0
> ivtv: Initialized WinTV PVR 350, card #1
>
> Does this mean that the PVR-250 is /dev/video0
> and the PVR-350 is /dev/video1 ?
>
> When the PVR-350 was the only card in the box,
> it was /dev/video0. So if the above is true, this
> is unfriendly, to say the least.
>
> --
> MM
>


joevph at yahoo

Nov 16, 2004, 10:55 AM

Post #3 of 5 (744 views)
Permalink
Re: PVR-350 + PVR-250 question [In reply to]

The order of the video devices created depends on the
order in which they are enumerated (as you can see).
This is dependant on the PCI slots that they are in.

If you want the PVR-350 as /dev/video0, then you will
have to put it in a slot closer to the AGP slot (I
believe that this is how most motherboards number
their slots, going away from the AGP slot).

Otherwise, you can add the flags to the ivtv-fb driver
to specify a card different than card 0 for TV-Out
(which I don't remember off the top of my head).

-- Joe

--- Mercury Morris <mercury.morris [at] gmail> wrote:

> Here are two lines from the dmesg output:
>
> ivtv: Initialized WinTV PVR 250, card #0
> ivtv: Initialized WinTV PVR 350, card #1
>
> Does this mean that the PVR-250 is /dev/video0
> and the PVR-350 is /dev/video1 ?
>
> When the PVR-350 was the only card in the box,
> it was /dev/video0. So if the above is true, this
> is unfriendly, to say the least.
>
> --
> MM
> > _______________________________________________
> mythtv-users mailing list
> mythtv-users [at] mythtv
>
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>




__________________________________
Do you Yahoo!?
The all-new My Yahoo! - Get yours free!
http://my.yahoo.com


mercury.morris at gmail

Nov 16, 2004, 2:53 PM

Post #4 of 5 (748 views)
Permalink
Re: PVR-350 + PVR-250 question [In reply to]

OK, so now we know - PCI-card order makes a DIFFERENCE.

About /dev/video16, have a look in

/usr/share/doc/ivtv-0.1.10/modules.txt -AND-
/usr/share/doc/ivtv-0.1.10/README.devices

In these two files, you will find out how to use a device
OTHER THAN /dev/video0 for output. Specifically, how
to use a PVR-350, that is NOT /dev/video0, for output.

After I read these two files, I issued this command

modprobe ivtv-fb ivtv_fb_card_id=1

and created /dev/video17 using Jarod's guide's example.
Then, in MythTV, under the frontend's settings -> TV Settings
-> Playback, I set the Video Device for PVR-350 to /dev/video17.
And this worked! But, in the other parts of MythTV, mythtvsetup
to be specific, I was not successful in getting MythTV to switch
or swap /dev/video0 and /dev/video1.

I wanted to this SO badly, since only the PVR-350 has TV
comming in thru Composite0 - my satellite dish. But MythTV
now sees the PVR-350 as /dev/video1 so when I tune the
satellite dish - I get a black screen.

Looks like I'll have to re-run mythtvsetup and answer [yes][yes]
to the two questions and start from scratch, again, for the third
or fourth time.

How about those ivtv guys! Their code lets you designate which
device has the output capability! But I can see how once MythTV
has set all the connections between Devices, Input Signals, etc.,
etc., it would be hard to rearrange everything.

--
MM


mythtv at edsons

Nov 16, 2004, 3:27 PM

Post #5 of 5 (741 views)
Permalink
Re: PVR-350 + PVR-250 question [In reply to]

Marc Nicholas wrote:

> Why is that unfriendly? It's pretty standard to enumerate devices like
> that. You *have to* abstract device ID froms the hardware layer for
> stuff like this.
>
> If you really want to see unfriendly, get into USB device enumeration ;-)
>
> On Tue, 16 Nov 2004, Mercury Morris wrote:
>
>> Here are two lines from the dmesg output:
>>
>> ivtv: Initialized WinTV PVR 250, card #0
>> ivtv: Initialized WinTV PVR 350, card #1
>>
>> Does this mean that the PVR-250 is /dev/video0
>> and the PVR-350 is /dev/video1 ?
>>
>> When the PVR-350 was the only card in the box,
>> it was /dev/video0. So if the above is true, this
>> is unfriendly, to say the least.
>>
>> --
>> MM
>>
Also, this is directly related to PCI scan order. If you switch them on
the PCI bus (exchange slots) the numbering will be reversed.

Rudy

MythTV users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.