- now report the pci bus_info in the v4l2 QUERYCAP ioctl instead of the ivtv 
card number
- minor bug fix for IVTV_IOC_S_VBI_MODE: always return the current valid VBI 
service_set as per V4L2 spec.
- Bug fix for IVTV_IOC_G_DRIVER_INFO: could not handle requests from older 
programs that specified a smaller driver_info struct.
- Added the ivtv card number field to driver_info. This used to be in the 
bus_info field of QUERYCAP, but that's now a proper bus info string. Since 
the card number is ivtv specific this is a better place for it.
- Added a IVTV_IOC_G_STREAM_INFO ioctl to obtain information on a ivtv file 
handle. In particular it returns the stream type.  This is, for now, an 
internal API.
- Added a new utility ivtv-detect which detect all (hopefully) v4l devices and 
shows which device belongs to which card. Especially useful when you have 
many ivtv (or other) TV cards and get confused as to which device belongs to 
which card.

It gives this output on my system with a WinTV PCI card, a PVR150 and a 
PVR500:

driver bttv-0.9.15, card BT878 video (Hauppauge (bt878)), bus info 
PCI:0000:02:08.0
     /dev/v4l/video0: YUV encoding (links: /dev/video0)
       /dev/v4l/vbi0: VBI encoding (links: /dev/vbi0)

driver v4l, card BT878 radio (Hauppauge (bt878))
     /dev/v4l/radio0: Radio        (links: /dev/radio0)

driver ivtv-0.3.7c, card WinTV PVR 150, bus info 0000:02:06.0, ivtv card #1
     /dev/v4l/video1: MPG encoding (links: /dev/video1)
     /dev/v4l/radio1: Radio        (links: /dev/radio1)
       /dev/v4l/vbi1: VBI encoding (links: /dev/vbi1)
    /dev/v4l/video24: PCM encoding (links: /dev/video24)
    /dev/v4l/video32: YUV encoding (links: /dev/video32)

driver ivtv-0.3.7c, card WinTV PVR 150, bus info 0000:03:08.0, ivtv card #2
     /dev/v4l/video2: MPG encoding (links: /dev/video2)
     /dev/v4l/radio2: Radio        (links: /dev/radio2)
       /dev/v4l/vbi2: VBI encoding (links: /dev/vbi2)
    /dev/v4l/video25: PCM encoding (links: /dev/video25)
    /dev/v4l/video33: YUV encoding (links: /dev/video33)

driver ivtv-0.3.7c, card WinTV PVR 150, bus info 0000:03:09.0, ivtv card #3
     /dev/v4l/video3: MPG encoding (links: /dev/video3)
       /dev/v4l/vbi3: VBI encoding (links: /dev/vbi3)
    /dev/v4l/video26: PCM encoding (links: /dev/video26)
    /dev/v4l/video34: YUV encoding (links: /dev/video34)


On my other system with a PVR 350 (and an older driver, so the bus info is 
still the card number):

driver ivtv-0.3.7b, card WinTV PVR 350, bus info 0, ivtv card #0
     /dev/v4l/video0: MPG encoding (links: /dev/video0)
     /dev/v4l/radio0: Radio        (links: /dev/radio0)
       /dev/v4l/vbi0: VBI encoding (links: /dev/vbi0)
       /dev/v4l/vbi4: VBI from MPG (links: /dev/vbi4)
       /dev/v4l/vbi8: VBI decoding (links: /dev/vbi8)
    /dev/v4l/video16: PCM encoding (links: /dev/video16)
    /dev/v4l/video24: MPG decoding (links: /dev/video24)
    /dev/v4l/video32: YUV encoding (links: /dev/video32)
    /dev/v4l/video48: YUV decoding (links: /dev/video48)

Enjoy,

                Hans

Attachment: ivtv-detect.diff.bz2
Description: BZip2 compressed data

Reply via email to