sam002 / pam-face-authentication

Automatically exported from code.google.com/p/pam-face-authentication
0 stars 0 forks source link

Unable to get hold of your webcam #21

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Installation (ok)
2. qt-facetrainer ("No camera" solved by adding : export
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so)
3. Adding "auth sufficient pam_face_authentication.so" to /etc/pam.d/sudo

What is the expected output? What do you see instead?
When trying the sudo command, I should get the face recognition screen but
I got this message instead : "Unable to get hold of your webcam. Please
check if it is plugged in." (webcam led is not on and it should)
Webcam is pluged in and works successful with gstreamer-properties and
qt-facetrainer.

What version of the product are you using? On what operating system?
- Ubuntu karmic koala (last update)
- Webcam isight V4l2 (/dev/video0)
Or Webcam labtec (same issue)

Please provide any additional information below.
Bus 001 Device 008: ID 05ac:8501 Apple, Inc. Built-in iSight [Micron]
Bus 003 Device 003: ID 046d:092b Logitech, Inc. Labtec WebCam Plus
pam-face-authentication-0.3
OpenCV-2.0.0

Original issue reported on code.google.com by mysterc...@gmail.com on 23 Jan 2010 at 6:59

GoogleCodeExporter commented 8 years ago
add this in the root env 
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so

it should work then

Original comment by rohan.a...@gmail.com on 23 Jan 2010 at 7:05

GoogleCodeExporter commented 8 years ago
Yes it works know.
I created the file : /etc/ld.so.preload
and writed "/usr/lib/libv4l/v4l1compat.so" into it.
(sudo gedit /etc/ld.so.preload)
And then i have update ldconfig : sudo ldconfig
My error was to put the path in ld.so.conf first.

Thank you ;)

Original comment by mysterc...@gmail.com on 23 Jan 2010 at 8:25

GoogleCodeExporter commented 8 years ago
no problem.
We should get this up on a wiki soon. in FAQ's.

I will add this soon.

Original comment by rohan.a...@gmail.com on 23 Jan 2010 at 8:29

GoogleCodeExporter commented 8 years ago

Original comment by rohan.a...@gmail.com on 23 Jan 2010 at 8:30