Brian Jackson wrote:
> Use udev to give your ivtv cards consistent names like dev/v4l/ 
> ivtv0...1...2...etc
> 
> --Brian Jackson
> 
> On Feb 1, 2007, at 5:35 AM, Radu Cristescu wrote:
> 
>> Hi,
>>
>> I used to use ivtv-detect to find out, within a script, which  
>> device is
>> the MPEG encoder. I upgraded the kernel from 2.6.16 to 2.6.18 and the
>> 0.8 driver series no longer ships with it (changelog says it was
>> removed). Parsing the kernel log each time I want to find out which
>> devices are the MPEG encoders (especially with multiple PVR cards)
>> doesn't look like the way to go. Any other ideas?
>>
>> I used to parse the output of this command with the 0.6 driver series:
>>     ivtv-detect | egrep '^card:|/dev/.*: MPG encoding'

Use:
v4l2-ctl --info --device=/dev/videoX if you need to know which cards
have an encoder, When it has "Sliced VBI Output" you know it has an
encoder, eg:

v4l2-ctl --info
Driver info:
        Driver name   : ivtv
        Card type     : Hauppauge WinTV PVR-350
        Bus info      : 0000:02:0d.0
        Driver version: 2050
        Capabilities  : 0x010700F3
                Video Capture
                Video Output
                VBI Capture
                VBI Output
                Sliced VBI Capture
                Sliced VBI Output
                Tuner
                Audio
                Radio
                Read/Write

v4l2-ctl --info
Driver info:
        Driver name   : ivtv
        Card type     : WinTV PVR 500 (unit #1)
        Bus info      : 0000:06:08.0
        Driver version: 2050
        Capabilities  : 0x01070051
                Video Capture
                VBI Capture
                Sliced VBI Capture
                Tuner
                Audio
                Radio
                Read/Write


_______________________________________________
ivtv-devel mailing list
ivtv-devel@ivtvdriver.org
http://ivtvdriver.org/mailman/listinfo/ivtv-devel

Reply via email to