Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Having the serial port open prevents video from streaming #14

Open
mithro opened this issue May 19, 2017 · 3 comments
Open

Having the serial port open prevents video from streaming #14

mithro opened this issue May 19, 2017 · 3 comments

Comments

@mithro
Copy link
Member

mithro commented May 19, 2017

From @xfxf on August 7, 2016 9:2

Steps to repo;

  1. Connect the HDMI2USB
  2. Connect to the serial port using flterm
  3. Try and get video from the video device

On newer Ubuntu versions you are the following output while trying to get video;

[19325.775956] uvcvideo: Failed to set UVC probe control : -110 (exp. 26).
[19330.773331] uvcvideo: Failed to set UVC probe control : -110 (exp. 26).
[19335.770452] uvcvideo: Failed to set UVC probe control : -110 (exp. 26).
[19340.767697] uvcvideo: Failed to set UVC probe control : -110 (exp. 26).

If you then kill flterm, you can then get video from the video device if you wait long enough. The kernel output will look like this;

[19424.301449] uvcvideo: Failed to set UVC probe control : -110 (exp. 26).
[19429.298562] uvcvideo: Failed to set UVC probe control : -110 (exp. 26).
[19434.295781] uvcvideo: Failed to set UVC probe control : -110 (exp. 26).
[19443.310507] usb 2-1.1: reset high-speed USB device number 24 using ehci-pci

After the reset line, the video will start streaming in.

From the point you have gotten video you can have both the serial and video running. Stopping / starting the programs (the video or serial) has no effect.

It works first time if you do;

  1. Connect the HDMI2USB
  2. Try and get video from the video device
  3. Connect to the serial port.

Copied from original issue: timvideos/HDMI2USB-litex-firmware#281

@mithro
Copy link
Member Author

mithro commented May 19, 2017

From @xfxf on August 7, 2016 9:5

The gstreamer pipeline dies with the following error;

obtained NetClientClock from host <NetClientClock object at 0x7f80747bd240 (GstNetClientClock at 0x1d98290)>
waiting for NetClientClock to sync…
starting pipeline
playing
Received Error-Signal
Error-Details: #13: gstv4l2object.c(3274): gst_v4l2_object_set_format_full (): /GstPipeline:pipeline0/GstV4l2Src:videosrc:
Call to S_FMT failed for MJPG @ 1280x720: Input/output error

@mithro
Copy link
Member Author

mithro commented May 19, 2017

From @xfxf on August 7, 2016 9:9

  1. Connect the HDMI2USB
  2. Connect to the serial port using flterm, close flterm
  3. Try and get video from the video device
  4. See -110 errors
  5. See the reset
  6. Video starts working

  1. Connect the HDMI2USB
  2. Start the video stream, stop video stream.
  3. Connect to the serial port using flterm, close flterm
  4. Try and get video from the video device
  5. See -110 errors
  6. See the reset
  7. Video starts streaming again.

@mithro
Copy link
Member Author

mithro commented May 19, 2017

It is likely the #148 issue is related here.

It is also likely this will be fixed by #149.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant