FS#23826 - [opencv] cannot open my ov511 webcam

Attached to Project: Arch Linux
Opened by Tao Yang (9hills) - Monday, 18 April 2011, 14:23 GMT
Last edited by Ray Rashif (schivmeister) - Wednesday, 04 May 2011, 16:24 GMT
Task Type Bug Report
Category Packages: Testing
Status Closed
Assigned To Ray Rashif (schivmeister)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
First I'm sorry for my poor english.

I'm using a ov511 webcam, and after install testing/opencv, in my
program, webcam cannot be opened.

From the abs system, I found opencv have a bug for kernel 2.6.38,
see : https://code.ros.org/trac/opencv/ticket/862 , and testing/opencv use the
wrong patch:`nov4l1.patch`, it simply disable the v4l support.

After search , i found the same bug in :
https://code.ros.org/trac/opencv/ticket/937
it supply a right patch. Use it, everything is ok.

At last I use `makepkg --source` to make a `opencv-2.2.0-5.src.tar.gz`,
it fix this bug. see the attachment or http://ge.tt/6D5aI6o .

Additional info:
* package version(s)
testing/opencv 2.2.0-4
* config and/or log files etc.


Steps to reproduce:
install testing/opencv
write a webcam program,or run the opencv example which use webcam(such as facedetect)
fuction cvCaptureFromCAM() return NULL.
This task depends upon

Closed by  Ray Rashif (schivmeister)
Wednesday, 04 May 2011, 16:24 GMT
Reason for closing:  No response
Comment by Tao Yang (9hills) - Monday, 18 April 2011, 14:28 GMT
This is the right patch. also in src.tar.gz
Comment by Ray Rashif (schivmeister) - Monday, 18 April 2011, 21:01 GMT
  • Field changed: Status (Unconfirmed → Assigned)
  • Field changed: Severity (Low → Medium)
  • Task assigned to Ray Rashif (schivmeister)
Just a note:

Under normal circumstances, we would not have applied any patch in this case because upstream has neither accepted nor aknowledged the changes submitted (yet). However, since this totally breaks the build, it is an exception.

Anyway, please test -5.

Loading...