USBVision Driver Officially added to Kernel

Help
2006-12-13
2013-04-08
1 2 > >> (Page 1 of 2)
  • Dwaine Garden

    Dwaine Garden - 2006-12-13

    The USBVision driver has been officially added to the Linux Kernel.  Starting with kernel 2.6.20 it will be available.

    I would like everyone to thank Thierry MERLE because he did the conversion over to v4l2.   And did most of the work involved in getting the driver over to v4l/dvb repository (LinuxTv.org)

    I would like to thank everyone which help with testing/patches and conversations on this driver and the hardware.   It's been about 5 years and we have a driver that had a ton of people participate in.

    THANKS

    I have been using the driver for a couple of weeks with great success.  I just wish there were some more applications that had v4l2 radio interface.

    Dwaine

     
    • Thierry MERLE

      Thierry MERLE - 2006-12-15

      Yes, I have been working on this driver for 3 months, this is not so long compared to your work, Dwaine and Joerg!
      I got useful help from you and the video4linux guys for this translation.
      There are some TODOs that I would like to implement before giving back the tuner to <Cactus> (the owner of the tuner I have, thanks for lending me for a so long time):
      - audio over USB (my laptop has no line-in and microphone input is weak, some of you have the same problem)
      - some eeprom decoding stuff to get rid of the configuration lines for each tuner in the driver
      - create a decoding userspace library to get rid of the decompression algorithm in the driver (global project for all v4l tuners)
      - some improvements to use all the NT100x functionalities
      - ...

      This is NOT the end :)

      Cheers,
      Thierry

       
    • crake

      crake - 2007-02-05

      Could anyone send kernel .config file or settings as text for the new kernel 2.6.20?

      I compiled the new kernel 2.6.20 and tried to use pvrusb2 module but xawtv just says: "unable to open '/dev/video0': No such device"

      Does you have any ideas?

      Thanks a lot good module! I have used with earlier kernels.

       
    • Dwaine Garden

      Dwaine Garden - 2007-02-21

      It's not the pvrusb2 module.  It's the usbvision module that needs to get loaded.
      If your device uses the NT1003,4,5 chipset, then setup the kernel config to use the usbvision driver.

       
    • Dwaine Garden

      Dwaine Garden - 2007-02-21

      Crake, let me know if you got it working....

      Dwaine

       
    • crake

      crake - 2007-03-24

      Hi!

      Yes, I tried to use wrong module. It works now :)

      xawtv just shows so small tv screen, I have tried also full screen mode and there is small picture in the midlle of screen. What I should to do that the picture would stretched?

      Thanks a lot!
      crake

       
    • Dwaine Garden

      Dwaine Garden - 2007-04-03

      Crake, do you have a screenshot of the output in xawtv?  Looks like it's defaulting in overlay mode.

      You are using the v4l2 driver for usbvision?  Right...

      Send me an e-mail so I can check it out.   You should not be getting that.

      Dwaine.

       
    • Fábio Ranquetat

      hi all. i try to use usbvision that comes with ubuntu feisty fawn (7.04) with no success. Driver loads usbvision and module saa7115. no radio works. with cvs version of usbvision my radio works. my device is a pinnacle studio pctv usb Bus 001 Device 003: ID 2304:0212 Pinnacle Systems, Inc. [hex] Pinnacle Studio PCTV USB (NTSC).

      i'm using gnomeradio. in last version of ubuntu (edgy eft with cvs usbvision driver, radio works fine). tv is not work (never work well). Please help-me!

      next, message of dmesg about this driver...

      [   31.699731] drivers/media/video/usbvision/usbvision-video.c: usbvision_probe: Pinnacle Studio PCTV USB (NTSC) FM found
      [   31.699836] drivers/media/video/usbvision/usbvision-video.c: USBVision[0]: registered USBVision Video device /dev/video0 [
      v4l2]
      [   31.699948] drivers/media/video/usbvision/usbvision-video.c: USBVision[0]: registered USBVision Radio device /dev/radio0 [
      v4l2]
      [   31.699987] drivers/media/video/usbvision/usbvision-video.c: USBVision[0]: registered USBVision VBI device /dev/vbi0 [v4l2
      ] (Not Working Yet!)
      [   31.700658] usbcore: registered new interface driver usbvision
      [   31.700662] drivers/media/video/usbvision/usbvision-video.c: USBVision USB Video Device Driver for Linux : 0.9.9

      next, output of lsmod

      Module                  Size  Used by
      saa7115                16400  0
      usbvision              75948  0
      tuner                  61864  0
      binfmt_misc            12680  1
      rfcomm                 40856  0
      l2cap                  25728  5 rfcomm
      bluetooth              55908  4 rfcomm,l2cap
      nfs                   240876  0
      nfsd                  218992  17
      exportfs                6912  1 nfsd
      lockd                  64904  3 nfs,nfsd
      sunrpc                161340  12 nfs,nfsd,lockd
      ppdev                  10116  0
      speedstep_lib           6148  0
      cpufreq_powersave       2688  0
      cpufreq_stats           7360  0
      cpufreq_userspace       5408  0
      cpufreq_ondemand        9228  0
      cpufreq_conservative     8200  0
      freq_table              5792  2 cpufreq_stats,cpufreq_ondemand
      tc1100_wmi              8068  0
      pcc_acpi               13184  0
      sony_acpi               6284  0
      dev_acpi               12292  0
      video                  16388  0
      battery                10756  0
      container               5248  0
      sbs                    15652  0
      button                  8720  0
      i2c_ec                  5888  1 sbs
      dock                   10268  0
      ac                      6020  0
      asus_acpi              17308  0
      backlight               7040  1 asus_acpi
      ipv6                  268704  10

      all help are welcome!

       
      • Thierry MERLE

        Thierry MERLE - 2007-04-29

        Hello,
        well, gnomeradio is a v4l1 only application.
        The kernel driver is v4l2 only compatible...
        mplayer is v4l2 compatible.
        Please try mplayer -radio driver=v4l2 radio://95.2
        I have made a patched version of gqradio a while ago, you will find it here:
        http://thierry.merle.free.fr/file/gqradio-1.9.2v4l2.tar.gz
        Nevertheless, this is a driver problem, the other v4l2 drivers are also v4l1 compatible.
        It is time to improve the driver :)
        Regards,
        Thierry

         
    • Fábio Ranquetat

      humm. i have an old copy of gqradio (downloaded from gqradio site in rpm format, converted with alien utility). i will compile your version and retry... ).. humm. xawtv in ubuntu feisty not work with tv in pinnacle studio pctv usb...

      tanks for help

      Fábio Ranquetat

       
    • Fábio Ranquetat

      tank you Thierry! your version of gqradio works fine. I generated from sources an .deb package. Uncheck option (use frequencies reported from drive) and it's works fine.. (sorry by my english is very poor). You recomend a sofware to watch tv ??? xawtv of feisty fawn is not working with my board...

      []'s
      Fábio Ranquetat

       
      • Thierry MERLE

        Thierry MERLE - 2007-04-30

        Well this version of gqradio is not really a beauty, it should handle v4l1 like it was used to, and it does not.
        I will make something better these days to correct my patch and publish it to the gqradio maintainer.
        I can beat you for bad English ;)

        For TV, do you have any error message when you launch xawtv from a terminal ?

        With mplayer, you can try something like this:
        mplayer -tv driver=v4l2:width=320:height=240:norm=SECAM:outfmt=yuy2:channels=21-Channel2 tv://
        Replace the norm and channel values to your convenience.

        Regards,
        Thierry

         
    • Fábio Ranquetat

      hi! see this messages...

      Linux bonovox 2.6.20-15-generic #2 SMP Sun Apr 15 07:36:31 UTC 2007 i686 GNU/Linux
      fabioa@bonovox:~$ xawtv -c /dev/video0
      This is xawtv-3.95.dfsg.1, running on Linux/i686 (2.6.20-15-generic)
      /dev/video0 [v4l2]: no overlay support
      v4l-conf had some trouble, trying to continue anyway

      my .xawtv
      # Example configuration file for xawtv. Edit the settings for your tv coverage.
      # Please remember to put a "." in front of the filename.

      [global]
      freqtab = us-bcast
      fullscreen = 320x240

      # [Station name]
      # capture = overlay | grabdisplay | on | off
      # input = Television | Composite1 | S-Video | ...
      # norm = PAL | NTSC | SECAM | ...
      # channel = #
      # fine = # (-128..+127)
      # key = keysym | modifier+keysym
      # color = #
      # bright = #
      # hue = #
      # contrast = #

      [defaults]
      norm = PAL
      capture =  grabdisplay
      input = Television
      channel = 12
      color = 50%
      bright = 32842
      hue = 27344
      contrast = 27959

      output of xawtv -hwscan

      This is xawtv-3.95.dfsg.1, running on Linux/i686 (2.6.20-15-generic)
      looking for available devices
      port 68-68
          type : Xvideo, image scaler
          name : XV_SWOV

      /dev/video0: OK                         [ -device /dev/video0 ]
          type : v4l2
          name : Pinnacle Studio PCTV USB (NTSC)
          flags:  capture tuner

      output of v4l-info

      ### v4l2 device info [/dev/video0] ###
      general info
          VIDIOC_QUERYCAP
              driver                  : "USBVision"
              card                    : "Pinnacle Studio PCTV USB (NTSC)"
              bus_info                : "1-2"
              version                 : 0.9.9
              capabilities            : 0x5030001 [VIDEO_CAPTURE,TUNER,AUDIO,READWRITE,STREAMING]

      standards
          VIDIOC_ENUMSTD(0)
              index                   : 0
              id                      : 0xff [PAL_B,PAL_B1,PAL_G,PAL_H,PAL_I,PAL_D,PAL_D1,PAL_K]
              name                    : "PAL"
              frameperiod.numerator   : 1
              frameperiod.denominator : 25
              framelines              : 625
          VIDIOC_ENUMSTD(1)
              index                   : 1
              id                      : 0xb000 [NTSC_M,NTSC_M_JP,?]
              name                    : "NTSC"
              frameperiod.numerator   : 1001
              frameperiod.denominator : 30000
              framelines              : 525
          VIDIOC_ENUMSTD(2)
              index                   : 2
              id                      : 0xff0000 [SECAM_B,SECAM_D,SECAM_G,SECAM_H,SECAM_K,SECAM_K1,SECAM_L,?ATSC_8_VSB]
              name                    : "SECAM"
              frameperiod.numerator   : 1
              frameperiod.denominator : 25
              framelines              : 625
          VIDIOC_ENUMSTD(3)
              index                   : 3
              id                      : 0x100 [PAL_M]
              name                    : "PAL-M"
              frameperiod.numerator   : 1001
              frameperiod.denominator : 30000
              framelines              : 525

      inputs
          VIDIOC_ENUMINPUT(0)
              index                   : 0
              name                    : "Television"
              type                    : TUNER
              audioset                : 1
              tuner                   : 0
              std                     : 0xffb0ff [PAL_B,PAL_B1,PAL_G,PAL_H,PAL_I,PAL_D,PAL_D1,PAL_K,NTSC_M,NTSC_M_JP,?,SECAM_B,SECAM_D,SECAM_G,SECAM_H,SECAM_K,SECAM_K1,SECAM_L,?ATSC_8_VSB]
              status                  : 0x0 []
          VIDIOC_ENUMINPUT(1)
              index                   : 1
              name                    : "Composite Video Input"
              type                    : CAMERA
              audioset                : 0
              tuner                   : 0
              std                     : 0xff [PAL_B,PAL_B1,PAL_G,PAL_H,PAL_I,PAL_D,PAL_D1,PAL_K]
              status                  : 0x0 []
          VIDIOC_ENUMINPUT(2)
              index                   : 2
              name                    : "S-Video Input"
              type                    : CAMERA
              audioset                : 0
              tuner                   : 0
              std                     : 0xff [PAL_B,PAL_B1,PAL_G,PAL_H,PAL_I,PAL_D,PAL_D1,PAL_K]
              status                  : 0x0 []

      tuners
          VIDIOC_G_TUNER(0)
              index                   : 0
              name                    : "Television"
              type                    : unknown
              capability              : 0x0 []
              rangelow                : 0
              rangehigh               : 0
              rxsubchans              : 0x0 []
              audmode                 : MONO
              signal                  : 0
              afc                     : 0

      video capture
          VIDIOC_ENUM_FMT(0,VIDEO_CAPTURE)
              index                   : 0
              type                    : VIDEO_CAPTURE
              flags                   : 0
              description             : "GREY"
              pixelformat             : 0x59455247 [GREY]
          VIDIOC_ENUM_FMT(1,VIDEO_CAPTURE)
              index                   : 1
              type                    : VIDEO_CAPTURE
              flags                   : 0
              description             : "RGB565"
              pixelformat             : 0x50424752 [RGBP]
          VIDIOC_ENUM_FMT(2,VIDEO_CAPTURE)
              index                   : 2
              type                    : VIDEO_CAPTURE
              flags                   : 0
              description             : "RGB24"
              pixelformat             : 0x33424752 [RGB3]
          VIDIOC_ENUM_FMT(3,VIDEO_CAPTURE)
              index                   : 3
              type                    : VIDEO_CAPTURE
              flags                   : 0
              description             : "RGB32"
              pixelformat             : 0x34424752 [RGB4]
          VIDIOC_ENUM_FMT(4,VIDEO_CAPTURE)
              index                   : 4
              type                    : VIDEO_CAPTURE
              flags                   : 0
              description             : "RGB555"
              pixelformat             : 0x4f424752 [RGBO]
          VIDIOC_ENUM_FMT(5,VIDEO_CAPTURE)
              index                   : 5
              type                    : VIDEO_CAPTURE
              flags                   : 0
              description             : "YUV422"
              pixelformat             : 0x56595559 [YUYV]
          VIDIOC_ENUM_FMT(6,VIDEO_CAPTURE)
              index                   : 6
              type                    : VIDEO_CAPTURE
              flags                   : 0
              description             : "YUV420P"
              pixelformat             : 0x32315659 [YV12]
          VIDIOC_G_FMT(VIDEO_CAPTURE)
              type                    : VIDEO_CAPTURE
              fmt.pix.width           : 320
              fmt.pix.height          : 240
              fmt.pix.pixelformat     : 0x56595559 [YUYV]
              fmt.pix.field           : NONE
              fmt.pix.bytesperline    : 640
              fmt.pix.sizeimage       : 153600
              fmt.pix.colorspace      : SMPTE170M
              fmt.pix.priv            : 0

      controls
          VIDIOC_QUERYCTRL(BASE+0)
              id                      : 9963776
              type                    : INTEGER
              name                    : "Brightness"
              minimum                 : 0
              maximum                 : 255
              step                    : 1
              default_value           : 128
              flags                   : 32
          VIDIOC_QUERYCTRL(BASE+1)
              id                      : 9963777
              type                    : INTEGER
              name                    : "Contrast"
              minimum                 : 0
              maximum                 : 127
              step                    : 1
              default_value           : 64
              flags                   : 32
          VIDIOC_QUERYCTRL(BASE+2)
              id                      : 9963778
              type                    : INTEGER
              name                    : "Saturation"
              minimum                 : 0
              maximum                 : 127
              step                    : 1
              default_value           : 64
              flags                   : 32
          VIDIOC_QUERYCTRL(BASE+3)
              id                      : 9963779
              type                    : INTEGER
              name                    : "Hue"
              minimum                 : -128
              maximum                 : 127
              step                    : 1
              default_value           : 0
              flags                   : 32

      device information

      Bus 001 Device 003: ID 2304:0212 Pinnacle Systems, Inc. [hex] Pinnacle Studio PCTV USB (NTSC)

      tanks for all help.

      Fábio Ranquetat

       
    • Thierry MERLE

      Thierry MERLE - 2007-05-02

      xawtv complains only about no overlay but this functionality is no longer supported by many drivers. This is not a fatal error.
      I see that you set us-bcast as freqtab and PAL as video norm for channel #12.
      I thought US channels were in NTSC...
      Did you try mplayer ?
      mplayer -tv driver=v4l2:width=320:height=240:norm=NTSC:outfmt=yuy2:channels=12-Channel12 tv://
      You can enable debug messages by doing rmmod usbvision; modprobe usbvision video_debug=1
      dmesg will show the driver output.

      To be sure, you can try the latest v4l-dvb tree on linuxtv.org, but you should report further problems on the v4l-dvb mailing-list.

      I changed my mind, I am currently correcting the driver to support backward compatibility (simpler than I thought).

      Regards,
      Thierry

       
      • Thierry MERLE

        Thierry MERLE - 2007-05-08

        From previous logs:
        [ 8088.221170] saa7115 1-0024: saa7113 found (1f7113d0e100000) @ 0x48 (usbvision
        Strange as you said it was a saa7111...
        Well, can you try my v4l current repository here:
        http://linuxtv.org/hg/~tmerle/v4l-dvb
        You will need mercurial (hg command line utility)
        For that, use hg clone http://linuxtv.org/hg/~tmerle/v4l-dvb
        cd v4l-dvb/
        make
        make install
        rmmod usbvision saa7115 tuner videodev v4l2_common v4l1_compat (or reboot, it is simpler an sane)
        I made the v4l1 compatibilty function so that there is no more need to have a patched gqradio or else.
        We should go to the v4l-mailing-list since there may be a tuner problem, we will send a conclusion on this thread.
        You will find the video4linux mailing-list address at: https://listman.redhat.com/mailman/listinfo/video4linux-list

        Regards,
        Thierry

         
    • Fábio Ranquetat

      Hi. I'm newbye in tv boards. I only try to use xawtv with my board. :-)
      see this ...

      fabioa@bonovox:~$ mplayer -tv driver=v4l2:width=320:height=240:norm=PAL:outfmt=yuy2:channels=12-Channel12 tv://
      MPlayer 2:1.0~rc1-0ubuntu9 (C) 2000-2006 MPlayer Team
      CPU: Intel(R) Pentium(R) D CPU 2.80GHz (Family: 15, Model: 4, Stepping: 7)
      CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
      Compiled with runtime CPU detection.
      Can't open joystick device /dev/input/js0: No such file or directory
      Can't init input joystick
      mplayer: could not connect to socket
      mplayer: No such file or directory
      Failed to open LIRC support. You will not be able to use your remote control.

      Playing tv://.
      TV file format detected.
      Selected driver: v4l2
      name: Video 4 Linux 2 input
      author: Martin Olschewski <olschewski@zpr.uni-koeln.de>
      comment: first try, more to come ;-)
      Selected device: Pinnacle Studio PCTV USB (NTSC)
      Tuner cap:
      Tuner rxs:
      Capabilites:  video capture  tuner  audio  read/write  streaming
      supported norms: 0 = PAL; 1 = NTSC; 2 = SECAM; 3 = PAL-M;
      inputs: 0 = Television; 1 = Composite Video Input; 2 = S-Video Input;
      Current input: 0
      Current format: YUYV
      v4l2: current audio mode is : MONO
      TV channel names detected.
      Couldn't find frequency for channel 12 (Channel12)
      Selected channel: 12 - Channel12 (freq: 0.000)
      open: No such file or directory
      [MGA] Couldn't open: /dev/mga_vid
      open: No such file or directory
      [MGA] Couldn't open: /dev/mga_vid
      [VO_TDFXFB] Can't open /dev/fb0: No such file or directory.
      [VO_3DFX] Unable to open /dev/3dfx.
      ==========================================================================
      Opening video decoder: [raw] RAW Uncompressed Video
      VDec: vo config request - 320 x 240 (preferred colorspace: Packed YUY2)
      VDec: using Packed YUY2 as output csp (no 0)
      Movie-Aspect is undefined - no prescaling applied.
      VO: [xv] 320x240 => 320x240 Packed YUY2
      Selected video codec: [rawyuy2] vfm: raw (RAW YUY2)
      ==========================================================================
      Audio: no sound
      Starting playback...
      No bind found for key 'MOUSE_BTN2'.                        
      No bind found for key 'MOUSE_BTN2'.                        
      No bind found for key 'MOUSE_BTN2'.                        
      No bind found for key 'MOUSE_BTN2'.                        
      No bind found for key 'MOUSE_BTN2'.                        
      Finalizado15/ 15 ??% ??% ??,?% 0 0

      only red imagens appears...
      mplayer not respond for any statements... no image appears...

      and more:

      May  3 02:42:51 bonovox kernel: [ 7442.397014] saa7115 1-0024: saa7113 found (1f7113d0e100000) @ 0x48 (usbvision #0)
      May  3 02:42:52 bonovox kernel: [ 7443.472912] tuner 1-0061: chip found @ 0xc2 (usbvision #0)
      May  3 02:42:52 bonovox kernel: [ 7443.477348] tuner 1-0061: type set to 21 (Temic NTSC (4039 FR5))
      May  3 02:42:52 bonovox kernel: [ 7443.477356] tuner 1-0061: type set to 21 (Temic NTSC (4039 FR5))

      i have this board since year 2000. only radio works fine... tv never works... only appears red images or distorced images...

      Tanks for help!

      Fábio Ranquetat

       
    • Fábio Ranquetat

      oh. i try too NTSC... equal your suggestion... all messages are equal...

       
    • Fábio Ranquetat

      and finally output messages of usbvision driver

      [ 8079.262311] drivers/media/video/usbvision/usbvision-video.c: [usbvision_init:2048] IOCTL   debugging is enabled [video]
      [ 8079.332574] drivers/media/video/usbvision/usbvision-video.c: usbvision_probe: Pinnacle Studio PCTV USB (NTSC) FM found
      [ 8079.332698] drivers/media/video/usbvision/usbvision-video.c: USBVision[0]: registered USBVision Video device /dev/video0 [v4l2]
      [ 8079.332790] drivers/media/video/usbvision/usbvision-video.c: USBVision[0]: registered USBVision Radio device /dev/radio0 [v4l2]
      [ 8079.332811] drivers/media/video/usbvision/usbvision-video.c: USBVision[0]: registered USBVision VBI device /dev/vbi0 [v4l2] (Not Working Yet!)
      [ 8079.333578] usbcore: registered new interface driver usbvision
      [ 8079.333583] drivers/media/video/usbvision/usbvision-video.c: USBVision USB Video Device Driver for Linux : 0.9.9
      [ 8088.221170] saa7115 1-0024: saa7113 found (1f7113d0e100000) @ 0x48 (usbvision #0)
      [ 8089.335058] tuner 1-0061: chip found @ 0xc2 (usbvision #0)
      [ 8089.336309] tuner 1-0061: type set to 21 (Temic NTSC (4039 FR5))
      [ 8089.336549] tuner 1-0061: type set to 21 (Temic NTSC (4039 FR5))
      [ 8090.794202] drivers/media/video/usbvision/usbvision-video.c: [usbvision_v4l2_do_ioctl:580] VIDIOC_QUERYCAP
      [ 8090.794579] drivers/media/video/usbvision/usbvision-video.c: [usbvision_v4l2_do_ioctl:999] VIDIOC_G_FMT w=320, h=240, format=RGB24
      [ 8090.795040] drivers/media/video/usbvision/usbvision-video.c: [usbvision_v4l2_do_ioctl:681] VIDIOC_G_STD std_id=PAL
      [ 8090.809105] drivers/media/video/usbvision/usbvision-video.c: [usbvision_v4l2_do_ioctl:720] VIDIOC_G_TUNER signal=0, afc=0
      [ 8090.809852] drivers/media/video/usbvision/usbvision-video.c: [usbvision_v4l2_do_ioctl:636] VIDIOC_ENUMINPUT name=Television:0 tuners=0 type=1 norm=ffb0ff
      [ 8090.810229] drivers/media/video/usbvision/usbvision-video.c: [usbvision_v4l2_do_ioctl:636] VIDIOC_ENUMINPUT name=Composite Video Input:1 tuners=0 type=2 norm=ff
      [ 8090.810739] drivers/media/video/usbvision/usbvision-video.c: [usbvision_v4l2_do_ioctl:636] VIDIOC_ENUMINPUT name=S-Video Input:2 tuners=0 type=2 norm=ff
      [ 8090.811417] drivers/media/video/usbvision/usbvision-video.c: [usbvision_v4l2_do_ioctl:999] VIDIOC_G_FMT w=320, h=240, format=RGB24
      [ 8090.812107] drivers/media/video/usbvision/usbvision-video.c: [usbvision_v4l2_do_ioctl:1055] VIDIOC_S_FMT grabdisplay w=320, h=240, format=RGB24
      [ 8090.812619] drivers/media/video/usbvision/usbvision-video.c: [usbvision_v4l2_do_ioctl:999] VIDIOC_G_FMT w=320, h=240, format=RGB24
      [ 8090.814095] drivers/media/video/usbvision/usbvision-video.c: [usbvision_v4l2_do_ioctl:1055] VIDIOC_S_FMT grabdisplay w=320, h=240, format=YUV422
      [ 8090.814575] drivers/media/video/usbvision/usbvision-video.c: [usbvision_v4l2_do_ioctl:636] VIDIOC_ENUMINPUT name=Television:0 tuners=0 type=1 norm=ffb0ff
      [ 8090.904919] drivers/media/video/usbvision/usbvision-video.c: [usbvision_v4l2_do_ioctl:707] VIDIOC_S_STD std_id=NTSC
      [ 8090.905364] drivers/media/video/usbvision/usbvision-video.c: [usbvision_v4l2_do_ioctl:999] VIDIOC_G_FMT w=320, h=240, format=YUV422
      [ 8090.905923] drivers/media/video/usbvision/usbvision-video.c: [usbvision_v4l2_do_ioctl:1055] VIDIOC_S_FMT grabdisplay w=320, h=240, format=YUV422
      [ 8090.906336] drivers/media/video/usbvision/usbvision-video.c: [usbvision_v4l2_do_ioctl:999] VIDIOC_G_FMT w=320, h=240, format=YUV422
      [ 8090.906935] drivers/media/video/usbvision/usbvision-video.c: [usbvision_v4l2_do_ioctl:1055] VIDIOC_S_FMT grabdisplay w=320, h=240, format=YUV422
      [ 8090.912910] drivers/media/video/usbvision/usbvision-video.c: [usbvision_v4l2_do_ioctl:756] VIDIOC_S_FREQUENCY freq=0x0
      [ 8090.913218] drivers/media/video/usbvision/usbvision-video.c: [usbvision_v4l2_do_ioctl:743] VIDIOC_G_FREQUENCY freq=0x0
      [ 8090.913594] drivers/media/video/usbvision/usbvision-video.c: [usbvision_v4l2_do_ioctl:743] VIDIOC_G_FREQUENCY freq=0x0
      [ 8090.913959] drivers/media/video/usbvision/usbvision-video.c: [usbvision_v4l2_do_ioctl:999] VIDIOC_G_FMT w=320, h=240, format=YUV422
      [ 8090.914422] drivers/media/video/usbvision/usbvision-video.c: [usbvision_v4l2_do_ioctl:999] VIDIOC_G_FMT w=320, h=240, format=YUV422
      [ 8090.914882] drivers/media/video/usbvision/usbvision-video.c: [usbvision_v4l2_do_ioctl:999] VIDIOC_G_FMT w=320, h=240, format=YUV422
      [ 8090.915362] drivers/media/video/usbvision/usbvision-video.c: [usbvision_v4l2_do_ioctl:829] VIDIOC_REQBUFS count=2
      [ 8090.915863] drivers/media/video/usbvision/usbvision-video.c: [usbvision_v4l2_do_ioctl:899] VIDIOC_QBUF frame #0
      [ 8090.916248] drivers/media/video/usbvision/usbvision-video.c: [usbvision_v4l2_do_ioctl:899] VIDIOC_QBUF frame #1
      [ 8090.916614] drivers/media/video/usbvision/usbvision-video.c: [usbvision_v4l2_do_ioctl:804] VIDIOC_S_CTRL id=980909 value=0
      [ 8090.917047] drivers/media/video/usbvision/usbvision-video.c: [usbvision_v4l2_do_ioctl:804] VIDIOC_S_CTRL id=980900 value=80
      [ 8090.924892] drivers/media/video/usbvision/usbvision-video.c: [usbvision_v4l2_do_ioctl:804] VIDIOC_S_CTRL id=980903 value=0
      [ 8090.930872] drivers/media/video/usbvision/usbvision-video.c: [usbvision_v4l2_do_ioctl:804] VIDIOC_S_CTRL id=980902 value=40
      [ 8090.937866] drivers/media/video/usbvision/usbvision-video.c: [usbvision_v4l2_do_ioctl:804] VIDIOC_S_CTRL id=980901 value=40
      [ 8091.114272] drivers/media/video/usbvision/usbvision-video.c: [usbvision_v4l2_do_ioctl:948] VIDIOC_STREAMON

       
      • Thierry MERLE

        Thierry MERLE - 2007-05-03

        Looks like your device is misconfigured...
        Can you have the device information under windows ?
        There is a small utility on the windows install CDROM that prints some information like the decoder version (saa7111) and the tuner type too.
        Thierry

         
    • Fábio Ranquetat

      No. i not use windows since 2004. :-) i'm have only linux machines... i will see this in another machine (with iwindows 98) and post here informations... how to obtain this information with linux??? have an utility for linux ???

       
      • Thierry MERLE

        Thierry MERLE - 2007-05-04

        Well, I did not try the program under wine, I don't know if it is able to handle USB.
        Do you have install CD? The program is on it.
        After all, I think the tuner is not correct. You should ask for your problem on the v4l mailing-list (see linuxtv.org)
        Regards,
        Thierry

         
    • Fábio Ranquetat

      Hi Thierry

      decoder version (Philips 7111)
      Tuner: Temic

      I hope this is sufficient to help-me. :-)

      Tanks,
      Fábio

       
      • Thierry MERLE

        Thierry MERLE - 2007-05-07

        hello,
        I could not get precise information about your tuner on the Internet...
        I had to open my device in order to find the correct tuner reference (MT4049FM5 for me).
        Perhaps your tuner is not a 4039FR5 as stated in the driver.
        I don't know how to guess the tuner since I did not implement the EEPROM decoding part that would do the trick...
        Do you really get a blank screen or snow with xawtv ?

        Thierry

         
    • Fábio Ranquetat

      yes. no images. only green (not red) images... in some cases, have sound, by example,  for channel 12... only radio works fine...

       
    • Fábio Ranquetat

      Thierry, from cvs of usbvision.sourceforge.net site

      http://usbvision.cvs.sourceforge.net/\*checkout*/usbvision/usbvision/src/usbvision.h?revision=1.56

      ..

      {0x2304, 0x0212, -1, CODEC_SAA7111, 3, VIDEO_MODE_NTSC,  1, 1, 1, 1, TUNER_TEMIC_4039FR5_NTSC,   -1, -1,  0,  3,  7, "Pinnacle Studio PCTV USB (NTSC) FM"},

      ....

      i think that driver included in kernel not have same code and patches that cvs from sourceforge.net code...  where i find this new code from usbvision driver (included in kernel) ??? how to recompile only this driver???

      tanks,
      Fábio Ranquetat

       
1 2 > >> (Page 1 of 2)

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks