Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 12-04-2014, 06:36 PM   #1
Registered: Dec 2013
Location: Japan
Distribution: Debian...very few times Ubuntu
Posts: 51

Rep: Reputation: 0
V4L2. Select timeout??

Hello and thanks always.

I have written a program to change camera settings and take photographs with a UVC camera. For this I use V4L2.

First question:
After all the necessary preparation, I use select to take the photos.

select has a parameter for timeout.

What are the possible reasons for a timeout to occur??

the situation

Before I had a code that didnt set the settings properly but could take photographs. I modified the code and now the settings can be changed but now sometimes select finish with a timeout. I am wondering what could be the reasons for the change.

Before I set the settings before start the capturing. Now I do it after. other than that I didnt modify the code.

In any case, what could be making the timeout to occur I wonder

small question

what is VIDIOC_S_CTRL error 5???

Last edited by KansaiRobot; 12-04-2014 at 07:09 PM.
Old 12-18-2014, 06:34 PM   #2
Registered: Dec 2013
Location: Japan
Distribution: Debian...very few times Ubuntu
Posts: 51

Original Poster
Rep: Reputation: 0
No idea anyone?

Well, to comment, this time out on select keeps happening, but when I compile the same program for another architecture (Arm Cortex A) it runs without timing out...



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Call to select() does not return after timeout taylor_ma Programming 8 02-20-2012 03:07 AM
centos v5.2: occasional socket select() problem when zero timeout is specified mobrientx Linux - Networking 1 10-31-2009 01:26 PM
socket - select() timeout problem in Linux Tejesh Linux - Networking 2 06-10-2009 04:38 AM
fix tcp select() with non-zero timeout for redhat 4.5 vilnius Linux - Newbie 1 10-01-2008 07:44 PM
select function as timeout? frostmagic Programming 2 02-09-2004 11:56 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:57 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration