5 Replies Latest reply on Aug 26, 2017 6:39 AM by user_438021184

    How to stream fx3 super speed from Linux

    santosh.kumar_1747851

      I Tried to stream through gucview  from linux but i am not able to do it.

         

      Kindly help... i Have give the logs below:

        • 1. Re: How to stream fx3 super speed from Linux
          Madhu Lakshmipathy

          Hi,

             

          I do not see any logs here. Please attach again.

             

          Regards,

             

          -Madhu Sudhan

          • 2. Re: How to stream fx3 super speed from Linux
            santosh.kumar_1747851

            Hi, The below are the logs from UART while trying to run guvcview.

               

            [31767.112045] usb 1-7: USB disconnect, device number 33
            [31776.348048] usb 1-7: new high-speed USB device number 34 using ehci-pci
            [31776.483438] usb 1-7: New USB device found, idVendor=04b4, idProduct=00f8
            [31776.483447] usb 1-7: New USB device strings: Mfr=1, Product=2, SerialNumber=0
            [31776.483451] usb 1-7: Product: FX3
            [31776.483454] usb 1-7: Manufacturer: Cypress
            [31776.485752] uvcvideo: Found UVC 1.00 device FX3 (04b4:00f8)
            [31776.485758] uvcvideo: Forcing device quirks to 0x102 by module parameter for testing purpose.
            [31776.485760] uvcvideo: Please report required quirks to the linux-uvc-devel mailing list.
            [31776.486702] input: FX3 as /devices/pci0000:00/0000:00:1d.7/usb1/1-7/1-7:1.0/input/input35
            [31776.566061] uvcvideo: Failed to query (GET_DEF) UVC control 2 on unit 2: 1 (exp. 2).
            [31776.566300] uvcvideo: Failed to query (GET_DEF) UVC control 2 on unit 2: 1 (exp. 2).
            [31776.566548] uvcvideo: Failed to query (GET_DEF) UVC control 2 on unit 2: 1 (exp. 2).
            [31776.566798] uvcvideo: Failed to query (GET_DEF) UVC control 2 on unit 2: 1 (exp. 2).
            [31776.624069] uvcvideo: Failed to query (GET_DEF) UVC control 2 on unit 2: 1 (exp. 2).
            [31777.550316] uvcvideo: Failed to query (GET_DEF) UVC control 2 on unit 2: 1 (exp. 2).

            • 3. Re: How to stream fx3 super speed from Linux
              santosh.kumar_1747851

              And while running guvcview i get the below errors i have given the logs:

                 

              santosh@FSETBLR1LX014:~/Desktop$ guvcview
              GUVCVIEW: version 2.0.3
              GUVCVIEW: couldn't open /home/santosh/.config/guvcview2/video0 for read: No such file or directory
              V4L2_CORE: (UVCIOC_CTRL_MAP) Error: No such file or directory
              V4L2_CORE: (UVCIOC_CTRL_MAP) Error: No such file or directory
              V4L2_CORE: (UVCIOC_CTRL_MAP) Error: No such file or directory
              V4L2_CORE: (UVCIOC_CTRL_MAP) Error: No such file or directory
              V4L2_CORE: (UVCIOC_CTRL_MAP) Error: No such file or directory
              V4L2_CORE: (UVCIOC_CTRL_MAP) Error: No such file or directory
              V4L2_CORE: (UVCIOC_CTRL_MAP) Error: No such file or directory
              V4L2_CORE: (UVCIOC_CTRL_MAP) Error: No such file or directory
              V4L2_CORE: (UVCIOC_CTRL_MAP) Error: No such file or directory
              { VIDIOC_TRY_FMT (invalid values): width = 0, height = 0 }
              v4L2_CORE: Unable to enumerate frame sizes :Invalid argument
              { VIDIOC_TRY_FMT (invalid values): width = 0, height = 0 }
              v4L2_CORE: Unable to enumerate frame sizes :Invalid argument
              { VIDIOC_TRY_FMT (invalid values): width = 0, height = 0 }
              v4L2_CORE: Unable to enumerate frame sizes :Invalid argument
              { VIDIOC_TRY_FMT (invalid values): width = 0, height = 0 }
              v4L2_CORE: Unable to enumerate frame sizes :Invalid argument
              V4L2_CORE: Control 0x80000000 failed to query with error -1

              • 4. Re: How to stream fx3 super speed from Linux
                santosh.kumar_1747851

                buggy V4L2_CTRL_FLAG_NEXT_CTRL flag implementation (workaround enabled)
                V4L2_CORE: (get control values) empty control list
                ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
                ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
                ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
                ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround71
                ALSA lib setup.c:548:(add_elem) Cannot obtain info for CTL elem (MIXER,'IEC958 Playback Default',0,0,0): No such file or directory
                ALSA lib setup.c:548:(add_elem) Cannot obtain info for CTL elem (MIXER,'IEC958 Playback Default',0,0,0): No such file or directory
                ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
                ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
                ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
                ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
                ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
                ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
                bt_audio_service_open: connect() failed: Connection refused (111)
                bt_audio_service_open: connect() failed: Connection refused (111)
                bt_audio_service_open: connect() failed: Connection refused (111)
                bt_audio_service_open: connect() failed: Connection refused (111)
                Cannot connect to server socket err = No such file or directory
                Cannot connect to server request channel
                jack server is not running or cannot be started
                V4L2_CORE: (VIDIOC_S_FORMAT) Unable to set format: Input/output error
                GUCVIEW: could not set the defined stream format
                GUCVIEW: trying first listed stream format
                V4L2_CORE: (VIDIOC_S_FORMAT) Unable to set format: Input/output error
                GUCVIEW: also could not set the first listed stream format
                GUVCVIEW: Video capture failed
                GUVCVIEW (1): Guvcview error
                     could not start a video stream in the device

                • 5. Re: How to stream fx3 super speed from Linux
                  user_438021184

                  Did you manage to resolve this issue?

                   

                  I also get the same message:

                  [19617.071108] uvcvideo: Failed to query (GET_DEF) UVC control 2 on unit 2: 1 (exp. 2).

                  When I try to run

                   

                  v4l2grab -m -q 100 -d /dev/video3 -o /tmp/grab.jpg