2008-05-19, 10:46
Hello,
my problem is partially solved.
I was now able to use the r178 driver and compile uvcdynctrl of libwebcam-0.1.1.
After changing as described in http://www.lavrsen.dk/twiki/bin/view/Mot...x29x112921
motion Version 3.2.10 works.
I can now use the motor controls and do get a 320x240 sized picture.
A /dev/video device ist not needed for this.
However "uvcdynctrl -c" still dies with a segmentation fault:
Listing available controls for device video0:
Segmentation fault
-- Willi
Hello,
I am trying to get a Logitech Sphere MP (046d:08cc) working on debian etch (NSLU2, ARM architecture).
The current UVC driver from berlios works fine. I am able to get a picture using uvccapture-0.4:
./uvccapture -x640 -y480 -q100
Now I want to control the motors and spin the camera.....
However I do have problems with libwebcam-0.1.1:
- I can not compile it,, if I will use the header files from the current UVC driver:
libwebcam-0.1.1/Libs/libwebcam/libwebcam.c: In function 'get_control_id_from_v4l2':
libwebcam-0.1.1/Libs/libwebcam/libwebcam.c:1683: error: 'V4L2_CID_PANTILT_RESET' undeclared (first use in this function)
libwebcam-0.1.1/Libs/libwebcam/libwebcam.c:1683: error: (Each undeclared identifier is reported only once
libwebcam-0.1.1/Libs/libwebcam/libwebcam.c:1683: error: for each function it appears in.)
libwebcam-0.1.1/Libs/libwebcam/libwebcam.c:1688: error: 'V4L2_CID_WHITE_BALANCE_TEMPERATURE_AUTO' undeclared (first use in this function)
- If I use an older version of the UVC drivers (I habe tried r178 and r195) both UVC driver and uvcdynctrl compiles correctly, but after using the new module the camera is not longer detected and usable (not supported by r178 and r195).
- Loading the new current UVC driver module and compiling libwebcam usin g the r178 header files, I do get the following when invoking uvcdynctrl :
server2:/data1/download/webcam/libwebcam-0.1.1/build/Apps/uvcdynctrl# ./uvcdynctrl -vc
[libwebcam] Unknown V4L2 control ID encountered: 10094849
[libwebcam] Unknown V4L2 control ID encountered: 10094850
[libwebcam] Unknown V4L2 control ID encountered: 10094851
Listing available controls for device video0:
Segmentation fault
Strange is that there is no /dev/video device.
dmesg shows:
Linux video capture interface: v2.00
uvcvideo: Found UVC 1.00 device <unnamed> (046d:08cc)
input: UVC Camera (046d:08cc) as /class/input/input12
What can I do?
Any chance to get a new version for libwebcam?
Any help is appreciated.
-- Willi
my problem is partially solved.
I was now able to use the r178 driver and compile uvcdynctrl of libwebcam-0.1.1.
After changing as described in http://www.lavrsen.dk/twiki/bin/view/Mot...x29x112921
motion Version 3.2.10 works.
I can now use the motor controls and do get a 320x240 sized picture.
A /dev/video device ist not needed for this.
However "uvcdynctrl -c" still dies with a segmentation fault:
Listing available controls for device video0:
Segmentation fault
-- Willi
Hello,
I am trying to get a Logitech Sphere MP (046d:08cc) working on debian etch (NSLU2, ARM architecture).
The current UVC driver from berlios works fine. I am able to get a picture using uvccapture-0.4:
./uvccapture -x640 -y480 -q100
Now I want to control the motors and spin the camera.....
However I do have problems with libwebcam-0.1.1:
- I can not compile it,, if I will use the header files from the current UVC driver:
libwebcam-0.1.1/Libs/libwebcam/libwebcam.c: In function 'get_control_id_from_v4l2':
libwebcam-0.1.1/Libs/libwebcam/libwebcam.c:1683: error: 'V4L2_CID_PANTILT_RESET' undeclared (first use in this function)
libwebcam-0.1.1/Libs/libwebcam/libwebcam.c:1683: error: (Each undeclared identifier is reported only once
libwebcam-0.1.1/Libs/libwebcam/libwebcam.c:1683: error: for each function it appears in.)
libwebcam-0.1.1/Libs/libwebcam/libwebcam.c:1688: error: 'V4L2_CID_WHITE_BALANCE_TEMPERATURE_AUTO' undeclared (first use in this function)
- If I use an older version of the UVC drivers (I habe tried r178 and r195) both UVC driver and uvcdynctrl compiles correctly, but after using the new module the camera is not longer detected and usable (not supported by r178 and r195).
- Loading the new current UVC driver module and compiling libwebcam usin g the r178 header files, I do get the following when invoking uvcdynctrl :
server2:/data1/download/webcam/libwebcam-0.1.1/build/Apps/uvcdynctrl# ./uvcdynctrl -vc
[libwebcam] Unknown V4L2 control ID encountered: 10094849
[libwebcam] Unknown V4L2 control ID encountered: 10094850
[libwebcam] Unknown V4L2 control ID encountered: 10094851
Listing available controls for device video0:
Segmentation fault
Strange is that there is no /dev/video device.
dmesg shows:
Linux video capture interface: v2.00
uvcvideo: Found UVC 1.00 device <unnamed> (046d:08cc)
input: UVC Camera (046d:08cc) as /class/input/input12
What can I do?
Any chance to get a new version for libwebcam?
Any help is appreciated.
-- Willi