Re: logitech quickcam 9000 uvcdynctrl broken since kernel 3.2 - PING

2012-05-04 Thread Hans de Goede

Hi Paulo,

I've also done some work on libwebcam a while ago, but have not yet had
the time to send this to Martin Rubli. Attached are git format-patch
patches against the 0.2.1 branch of svn. Note these are against what
was in that branch when I did this work some months ago, so not sure
if it will still apply cleanly.

I would really like to work together with you on getting an updated version
of libwebcam out there for use in distros (I maintain libwebcam in Fedora,
and AFAIK you maintain it in Debian, right?)

My sourceforge.net account is jwrdegoede, I hope you're willing to give
me commit access to the git repo there.

I guess if there is going to be more then 1 of us working on the git repo
we should have some review procedure. If others don't object we could post
patches to linux-media, prefixing the subject with a [PATCH libwebcam] and
then do reviews on linux-media and push only after an ack?

I guess we could start with that right away with my proposed patches,
if you can make an initial git repo available I can rebase on top
of that and then send the patches with git send-email (so 1 patch / mail)
for review?

Either way thanks for working on this!

Regards,

Hans






On 05/03/2012 04:17 PM, Paulo Assis wrote:

Karl Hi,
I'm setting up a libwebcam git repo in sourceforge, Martin Rubli from
logitech (the libwebcam developer), was kind enough to post me all
it's code and the old svn repo backup.
He had already done some fixes regarding the new ioctls for version
0.3, so I just need to go through that and add add them to 0.2.
I still need to check with him how he wants to handle the 0.3 version,
since it has a lot of new code ( and some extra apps ).

Regards,
Paulo

2012/5/3 Karl Kinigerkarl.kini...@med.ge.com:

Hi Paulo,

On Wed 120502, Paulo Assis wrote:

OK, so UVCIOC_CTRL_ADD is no longer available, now we have:

UVCIOC_CTRL_MAP and UVCIOC_CTRL_QUERY, so I guess some changes are
needed, I'll try to fix this ASAP.


compiled libwebcam-0.2.1 from Ubuntu (had to fight against
CMake - I am almost CMake agnostic so far...) and I got the
manual focus control in guvcview so things are definitely
looking better now.

So far I have got a focus slider and a LED1 frequency slider,
but not a LED mode... forgot what exactly was available in
the past.

---
LD_LIBRARY_PATH=/usr/local/lib /usr/local/bin/uvcdynctrl -i 
/usr/share/uvcdynctrl/data/046d/logitech.xml
[libwebcam] Unsupported V4L2_CID_EXPOSURE_AUTO control with a non-contiguous 
range of choice IDs found
[libwebcam] Invalid or unsupported V4L2 control encountered: ctrl_id = 
0x009A0901, name = 'Exposure, Auto'
Importing dynamic controls from file
/usr/share/uvcdynctrl/data/046d/logitech.xml.  
/usr/share/uvcdynctrl/data/046d/logitech.xml: error: video0: unable to
map 'Pan (relative)' control. ioctl(UVCIOC_CTRL_MAP) failed with return 
value -1 (error 2: No such file or directory)
/usr/share/uvcdynctrl/data/046d/logitech.xml: error: video0: unable to map 
'Tilt (relative)'
control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No 
such file or directory)
/usr/share/uvcdynctrl/data/046d/logitech.xml:354: error: Invalid V4L2 control 
type specified: 'V4L2_CTRL_TYPE_BUTTON'
/usr/share/uvcdynctrl/data/046d/logitech.xml:368: error: Invalid V4L2 control 
type specified: 'V4L2_CTRL_TYPE_BUTTON'
/usr/share/uvcdynctrl/data/046d/logitech.xml:396: error: Invalid V4L2 control 
type specified: 'V4L2_CTRL_TYPE_MENU'

Thanks again,
Karl



Regards,
Paulo



--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
From 72d835008c1712a8b19427e540de82527d75 Mon Sep 17 00:00:00 2001
From: Hans de Goede hdego...@redhat.com
Date: Sun, 16 May 2010 11:17:22 +0200
Subject: [PATCH 01/10] Support mapping button controls

---
 libwebcam/dynctrl.c |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/libwebcam/dynctrl.c b/libwebcam/dynctrl.c
index 229bdc4..78e67ff 100644
--- a/libwebcam/dynctrl.c
+++ b/libwebcam/dynctrl.c
@@ -422,6 +422,9 @@ static enum v4l2_ctrl_type get_v4l2_ctrl_type_by_name (const xmlChar *name)
 	else if(xmlStrEqual(name, BAD_CAST(V4L2_CTRL_TYPE_BOOLEAN))) {
 		type = V4L2_CTRL_TYPE_BOOLEAN;
 	}
+	else if(xmlStrEqual(name, BAD_CAST(V4L2_CTRL_TYPE_BUTTON))) {
+		type = V4L2_CTRL_TYPE_BUTTON;
+	}
 #ifdef ENABLE_RAW_CONTROLS
 	else if(xmlStrEqual(name, BAD_CAST(V4L2_CTRL_TYPE_STRING))) {
 		type = V4L2_CTRL_TYPE_STRING;
@@ -431,9 +434,6 @@ static enum v4l2_ctrl_type get_v4l2_ctrl_type_by_name (const xmlChar *name)
 	else if(xmlStrEqual(name, BAD_CAST(V4L2_CTRL_TYPE_MENU))) {
 		type = V4L2_CTRL_TYPE_MENU;
 	}
-	else if(xmlStrEqual(name, BAD_CAST(V4L2_CTRL_TYPE_BUTTON))) {
-		type = V4L2_CTRL_TYPE_BUTTON;
-	}
 	else if(xmlStrEqual(name, BAD_CAST(V4L2_CTRL_TYPE_INTEGER64))) {
 		type = V4L2_CTRL_TYPE_INTEGER64;
 	}
-- 
1.7.10

From 

Re: logitech quickcam 9000 uvcdynctrl broken since kernel 3.2 - PING

2012-05-04 Thread Hans de Goede

p.s.

Some of my commit messages talk about them needing some
kernel changes / fixes. These are all long in place now
(since before the uvcvideo.h header become an official
userspace available kernel header).

Regards,

Hans
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: logitech quickcam 9000 uvcdynctrl broken since kernel 3.2 - PING

2012-05-04 Thread Paulo Assis
Hans,

I've add you has a developer to the project, so you should be able to
commit these patches yourself,
I would suggest that you pushed a new branch with your changes and
after testing we merge them into the master.
I'm doing the same for some fixes I have planned and also for the code
for version 0.3 that Martin kindly send me (it has a lot of new apps,
including a qt interface, and video capture support).

This is the project page:
https://sourceforge.net/p/libwebcam/code

currently master is not building against the new uvcvideo.h, I'll try
to fix that today, also the check for this header during configuration
is unnecessary since it's now in linux headers (just need to include
it with linux/uvcvideo.h)

Regards,
Paulo

2012/5/4 Hans de Goede hdego...@redhat.com:
 Hi Paulo,

 I've also done some work on libwebcam a while ago, but have not yet had
 the time to send this to Martin Rubli. Attached are git format-patch
 patches against the 0.2.1 branch of svn. Note these are against what
 was in that branch when I did this work some months ago, so not sure
 if it will still apply cleanly.

 I would really like to work together with you on getting an updated version
 of libwebcam out there for use in distros (I maintain libwebcam in Fedora,
 and AFAIK you maintain it in Debian, right?)

 My sourceforge.net account is jwrdegoede, I hope you're willing to give
 me commit access to the git repo there.

 I guess if there is going to be more then 1 of us working on the git repo
 we should have some review procedure. If others don't object we could post
 patches to linux-media, prefixing the subject with a [PATCH libwebcam] and
 then do reviews on linux-media and push only after an ack?

 I guess we could start with that right away with my proposed patches,
 if you can make an initial git repo available I can rebase on top
 of that and then send the patches with git send-email (so 1 patch / mail)
 for review?

 Either way thanks for working on this!

 Regards,

 Hans







 On 05/03/2012 04:17 PM, Paulo Assis wrote:

 Karl Hi,
 I'm setting up a libwebcam git repo in sourceforge, Martin Rubli from
 logitech (the libwebcam developer), was kind enough to post me all
 it's code and the old svn repo backup.
 He had already done some fixes regarding the new ioctls for version
 0.3, so I just need to go through that and add add them to 0.2.
 I still need to check with him how he wants to handle the 0.3 version,
 since it has a lot of new code ( and some extra apps ).

 Regards,
 Paulo

 2012/5/3 Karl Kinigerkarl.kini...@med.ge.com:

 Hi Paulo,

 On Wed 120502, Paulo Assis wrote:

 OK, so UVCIOC_CTRL_ADD is no longer available, now we have:

 UVCIOC_CTRL_MAP and UVCIOC_CTRL_QUERY, so I guess some changes are
 needed, I'll try to fix this ASAP.


 compiled libwebcam-0.2.1 from Ubuntu (had to fight against
 CMake - I am almost CMake agnostic so far...) and I got the
 manual focus control in guvcview so things are definitely
 looking better now.

 So far I have got a focus slider and a LED1 frequency slider,
 but not a LED mode... forgot what exactly was available in
 the past.

 ---
 LD_LIBRARY_PATH=/usr/local/lib /usr/local/bin/uvcdynctrl -i
 /usr/share/uvcdynctrl/data/046d/logitech.xml
 [libwebcam] Unsupported V4L2_CID_EXPOSURE_AUTO control with a
 non-contiguous range of choice IDs found
 [libwebcam] Invalid or unsupported V4L2 control encountered: ctrl_id =
 0x009A0901, name = 'Exposure, Auto'
 Importing dynamic controls from file
 /usr/share/uvcdynctrl/data/046d/logitech.xml.
  /usr/share/uvcdynctrl/data/046d/logitech.xml: error: video0: unable to
    map 'Pan (relative)' control. ioctl(UVCIOC_CTRL_MAP) failed with
 return value -1 (error 2: No such file or directory)
 /usr/share/uvcdynctrl/data/046d/logitech.xml: error: video0: unable to
 map 'Tilt (relative)'
    control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2:
 No such file or directory)
 /usr/share/uvcdynctrl/data/046d/logitech.xml:354: error: Invalid V4L2
 control type specified: 'V4L2_CTRL_TYPE_BUTTON'
 /usr/share/uvcdynctrl/data/046d/logitech.xml:368: error: Invalid V4L2
 control type specified: 'V4L2_CTRL_TYPE_BUTTON'
 /usr/share/uvcdynctrl/data/046d/logitech.xml:396: error: Invalid V4L2
 control type specified: 'V4L2_CTRL_TYPE_MENU'

 Thanks again,
 Karl


 Regards,
 Paulo


 --
 To unsubscribe from this list: send the line unsubscribe linux-media in
 the body of a message to majord...@vger.kernel.org
 More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: logitech quickcam 9000 uvcdynctrl broken since kernel 3.2 - PING

2012-05-03 Thread Karl Kiniger
Hi Paulo,

On Wed 120502, Paulo Assis wrote:
 OK, so UVCIOC_CTRL_ADD is no longer available, now we have:
 
 UVCIOC_CTRL_MAP and UVCIOC_CTRL_QUERY, so I guess some changes are
 needed, I'll try to fix this ASAP.

compiled libwebcam-0.2.1 from Ubuntu (had to fight against
CMake - I am almost CMake agnostic so far...) and I got the
manual focus control in guvcview so things are definitely
looking better now.

So far I have got a focus slider and a LED1 frequency slider,
but not a LED mode... forgot what exactly was available in
the past.

---
LD_LIBRARY_PATH=/usr/local/lib /usr/local/bin/uvcdynctrl -i 
/usr/share/uvcdynctrl/data/046d/logitech.xml
[libwebcam] Unsupported V4L2_CID_EXPOSURE_AUTO control with a non-contiguous 
range of choice IDs found
[libwebcam] Invalid or unsupported V4L2 control encountered: ctrl_id = 
0x009A0901, name = 'Exposure, Auto'
Importing dynamic controls from file
/usr/share/uvcdynctrl/data/046d/logitech.xml.  
/usr/share/uvcdynctrl/data/046d/logitech.xml: error: video0: unable to
map 'Pan (relative)' control. ioctl(UVCIOC_CTRL_MAP) failed with return 
value -1 (error 2: No such file or directory)
/usr/share/uvcdynctrl/data/046d/logitech.xml: error: video0: unable to map 
'Tilt (relative)'
control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No 
such file or directory)
/usr/share/uvcdynctrl/data/046d/logitech.xml:354: error: Invalid V4L2 control 
type specified: 'V4L2_CTRL_TYPE_BUTTON'
/usr/share/uvcdynctrl/data/046d/logitech.xml:368: error: Invalid V4L2 control 
type specified: 'V4L2_CTRL_TYPE_BUTTON'
/usr/share/uvcdynctrl/data/046d/logitech.xml:396: error: Invalid V4L2 control 
type specified: 'V4L2_CTRL_TYPE_MENU'

Thanks again,
Karl

 
 Regards,
 Paulo

--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: logitech quickcam 9000 uvcdynctrl broken since kernel 3.2 - PING

2012-05-03 Thread Paulo Assis
Karl Hi,
I'm setting up a libwebcam git repo in sourceforge, Martin Rubli from
logitech (the libwebcam developer), was kind enough to post me all
it's code and the old svn repo backup.
He had already done some fixes regarding the new ioctls for version
0.3, so I just need to go through that and add add them to 0.2.
I still need to check with him how he wants to handle the 0.3 version,
since it has a lot of new code ( and some extra apps ).

Regards,
Paulo

2012/5/3 Karl Kiniger karl.kini...@med.ge.com:
 Hi Paulo,

 On Wed 120502, Paulo Assis wrote:
 OK, so UVCIOC_CTRL_ADD is no longer available, now we have:

 UVCIOC_CTRL_MAP and UVCIOC_CTRL_QUERY, so I guess some changes are
 needed, I'll try to fix this ASAP.

 compiled libwebcam-0.2.1 from Ubuntu (had to fight against
 CMake - I am almost CMake agnostic so far...) and I got the
 manual focus control in guvcview so things are definitely
 looking better now.

 So far I have got a focus slider and a LED1 frequency slider,
 but not a LED mode... forgot what exactly was available in
 the past.

 ---
 LD_LIBRARY_PATH=/usr/local/lib /usr/local/bin/uvcdynctrl -i 
 /usr/share/uvcdynctrl/data/046d/logitech.xml
 [libwebcam] Unsupported V4L2_CID_EXPOSURE_AUTO control with a non-contiguous 
 range of choice IDs found
 [libwebcam] Invalid or unsupported V4L2 control encountered: ctrl_id = 
 0x009A0901, name = 'Exposure, Auto'
 Importing dynamic controls from file
 /usr/share/uvcdynctrl/data/046d/logitech.xml.  
 /usr/share/uvcdynctrl/data/046d/logitech.xml: error: video0: unable to
    map 'Pan (relative)' control. ioctl(UVCIOC_CTRL_MAP) failed with return 
 value -1 (error 2: No such file or directory)
 /usr/share/uvcdynctrl/data/046d/logitech.xml: error: video0: unable to map 
 'Tilt (relative)'
    control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No 
 such file or directory)
 /usr/share/uvcdynctrl/data/046d/logitech.xml:354: error: Invalid V4L2 control 
 type specified: 'V4L2_CTRL_TYPE_BUTTON'
 /usr/share/uvcdynctrl/data/046d/logitech.xml:368: error: Invalid V4L2 control 
 type specified: 'V4L2_CTRL_TYPE_BUTTON'
 /usr/share/uvcdynctrl/data/046d/logitech.xml:396: error: Invalid V4L2 control 
 type specified: 'V4L2_CTRL_TYPE_MENU'

 Thanks again,
 Karl


 Regards,
 Paulo

--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: logitech quickcam 9000 uvcdynctrl broken since kernel 3.2 - PING

2012-05-02 Thread Karl Kiniger
Please can someone shed a little light on this?

Greatly appreciated,
Karl

On Tue 120424, Karl Kiniger wrote:
 Dear all,
 
 guvcview does not display the extra controls (focus, led etc)
 any more since kernel 3.2 an higher (Fedora 16, x86_64).
 
 after the various video modes it says:
 
 vid:046d
 pid:0990
 driver:uvcvideo
 Adding control for Pan (relative)
 UVCIOC_CTRL_ADD - Error: Inappropriate ioctl for device
 checking format: 1196444237
 VIDIOC_G_COMP:: Inappropriate ioctl for device
 fps is set to 1/25
 drawing controls
 
 Checking video mode 640x480@32bpp : OK
 
 --
 
 /usr/bin/uvcdynctrl -i /usr/share/uvcdynctrl/data/046d/logitech.xml
 [libwebcam] Unsupported V4L2_CID_EXPOSURE_AUTO control with a non-contiguous 
 range of choice IDs found
 [libwebcam] Invalid or unsupported V4L2 control encountered: ctrl_id = 
 0x009A0901, name = 'Exposure, Auto'
 Importing dynamic controls from file 
 /usr/share/uvcdynctrl/data/046d/logitech.xml.
 ERROR: Unable to import dynamic controls: Invalid device or device cannot be 
 opened. (Code: 5)
 /usr/share/uvcdynctrl/data/046d/logitech.xml: error: device 'video0' \
 skipped because the driver 'uvcvideo' behind it does not seem to support \
 dynamic controls.
 
 --
 
 Is there work in progess to get the missing functionality back?
 
 Can I help somehow?
 
 Greetings,
 Karl
 
 
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: logitech quickcam 9000 uvcdynctrl broken since kernel 3.2 - PING

2012-05-02 Thread Paulo Assis
Karl Hi,
I'm using a 3.2 kernel and I haven't notice this problem, can you
check the exact version that causes it.

Regards,
Paulo

2012/5/2 Karl Kiniger karl.kini...@med.ge.com:
 Please can someone shed a little light on this?

 Greatly appreciated,
 Karl

 On Tue 120424, Karl Kiniger wrote:
 Dear all,

 guvcview does not display the extra controls (focus, led etc)
 any more since kernel 3.2 an higher (Fedora 16, x86_64).

 after the various video modes it says:

 vid:046d
 pid:0990
 driver:uvcvideo
 Adding control for Pan (relative)
 UVCIOC_CTRL_ADD - Error: Inappropriate ioctl for device
 checking format: 1196444237
 VIDIOC_G_COMP:: Inappropriate ioctl for device
 fps is set to 1/25
 drawing controls

 Checking video mode 640x480@32bpp : OK

 --

 /usr/bin/uvcdynctrl -i /usr/share/uvcdynctrl/data/046d/logitech.xml
 [libwebcam] Unsupported V4L2_CID_EXPOSURE_AUTO control with a non-contiguous 
 range of choice IDs found
 [libwebcam] Invalid or unsupported V4L2 control encountered: ctrl_id = 
 0x009A0901, name = 'Exposure, Auto'
 Importing dynamic controls from file 
 /usr/share/uvcdynctrl/data/046d/logitech.xml.
 ERROR: Unable to import dynamic controls: Invalid device or device cannot be 
 opened. (Code: 5)
 /usr/share/uvcdynctrl/data/046d/logitech.xml: error: device 'video0' \
     skipped because the driver 'uvcvideo' behind it does not seem to support 
 \
         dynamic controls.

 --

 Is there work in progess to get the missing functionality back?

 Can I help somehow?

 Greetings,
 Karl


 --
 To unsubscribe from this list: send the line unsubscribe linux-media in
 the body of a message to majord...@vger.kernel.org
 More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: logitech quickcam 9000 uvcdynctrl broken since kernel 3.2 - PING

2012-05-02 Thread Karl Kiniger
Hi Paulo,

I am running plain Fedora 16 on x86_64.

The last kernel where UVC dyncontrols worked was 3.1.10-2.
(If I remember correctly...) The first kernel with failing
dyncontrols was 3.2.1-1 and all later kernels up to 3.3.2-6
fail as well.

libwebcam version is libwebcam-0.2.0-4.20100322svn and guvcview
is guvcview-1.5.1-1.

http://www.quickcamteam.net/software/libwebcam seems to be offline/
discontinued since a few months.

what software versions are you running? Is there a later libwebcam
available from somewhere else?

pls look also at:
http://permalink.gmane.org/gmane.linux.kernel/1257500

Greetings,
Karl

On Wed 120502, Paulo Assis wrote:
 Karl Hi,
 I'm using a 3.2 kernel and I haven't notice this problem, can you
 check the exact version that causes it.
 
 Regards,
 Paulo
 
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: logitech quickcam 9000 uvcdynctrl broken since kernel 3.2 - PING

2012-05-02 Thread Paulo Assis
karl,
I've run some tests under ubuntu 12.04 with kernel 3.2.0 and
everything seems to be working fine.
I know some changes were made to the uvcvideo module regarding XU
controls, but I was under the impression that they wouldn't break
userspace.

Logitech shutdown the quickcamteam site, so you won't be able to
download libwebcam from there.
I'm currently the debian mantainer of that package, so I'll try to
test it on a newer kernel and patch it as necessary.
I'll also fix guvcview if needed.

Regards,
Paulo

2012/5/2 Karl Kiniger karl.kini...@med.ge.com:
 Hi Paulo,

 I am running plain Fedora 16 on x86_64.

 The last kernel where UVC dyncontrols worked was 3.1.10-2.
 (If I remember correctly...) The first kernel with failing
 dyncontrols was 3.2.1-1 and all later kernels up to 3.3.2-6
 fail as well.

 libwebcam version is libwebcam-0.2.0-4.20100322svn and guvcview
 is guvcview-1.5.1-1.

 http://www.quickcamteam.net/software/libwebcam seems to be offline/
 discontinued since a few months.

 what software versions are you running? Is there a later libwebcam
 available from somewhere else?

 pls look also at:
 http://permalink.gmane.org/gmane.linux.kernel/1257500

 Greetings,
 Karl

 On Wed 120502, Paulo Assis wrote:
 Karl Hi,
 I'm using a 3.2 kernel and I haven't notice this problem, can you
 check the exact version that causes it.

 Regards,
 Paulo

--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: logitech quickcam 9000 uvcdynctrl broken since kernel 3.2 - PING

2012-05-02 Thread Karl Kiniger
On Wed 120502, Paulo Assis wrote:
 karl,
 I've run some tests under ubuntu 12.04 with kernel 3.2.0 and
 everything seems to be working fine.
 I know some changes were made to the uvcvideo module regarding XU
 controls, but I was under the impression that they wouldn't break
 userspace.
 
 Logitech shutdown the quickcamteam site, so you won't be able to
 download libwebcam from there.
 I'm currently the debian mantainer of that package, so I'll try to
 test it on a newer kernel and patch it as necessary.
 I'll also fix guvcview if needed.

Very much appreciated, Paulo!

In the meantime I poked  around at Ubuntu and found
libwebcam_0.2.1.orig.tar.gz - will try to compiled it but they
have a couple of kernel patches to 3.2.x as well and perhaps there
is a depency.

Karl

 
 Regards,
 Paulo

--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: logitech quickcam 9000 uvcdynctrl broken since kernel 3.2 - PING

2012-05-02 Thread Paulo Assis
Hi,
yes, libwebcam depends on uvcvideo.h, I've only added this as a patch
since it was missing from debian kernel headers at the time. I think
you should be able to get it from there now, not sure if the new
header breaks anything, I'll have to run some tests.
The other patches are not needed, but they do increase functionality
to some extent.

Anyway if this was just a libwebcam issue, guvcview should still be
able to add the controls, and apparently that's failing also.

Best regards,
Paulo

2012/5/2 Karl Kiniger karl.kini...@med.ge.com:
 On Wed 120502, Paulo Assis wrote:
 karl,
 I've run some tests under ubuntu 12.04 with kernel 3.2.0 and
 everything seems to be working fine.
 I know some changes were made to the uvcvideo module regarding XU
 controls, but I was under the impression that they wouldn't break
 userspace.

 Logitech shutdown the quickcamteam site, so you won't be able to
 download libwebcam from there.
 I'm currently the debian mantainer of that package, so I'll try to
 test it on a newer kernel and patch it as necessary.
 I'll also fix guvcview if needed.

 Very much appreciated, Paulo!

 In the meantime I poked  around at Ubuntu and found
 libwebcam_0.2.1.orig.tar.gz - will try to compiled it but they
 have a couple of kernel patches to 3.2.x as well and perhaps there
 is a depency.

 Karl


 Regards,
 Paulo

--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: logitech quickcam 9000 uvcdynctrl broken since kernel 3.2 - PING

2012-05-02 Thread Paulo Assis
OK, so UVCIOC_CTRL_ADD is no longer available, now we have:

UVCIOC_CTRL_MAP and UVCIOC_CTRL_QUERY, so I guess some changes are
needed, I'll try to fix this ASAP.

Regards,
Paulo

2012/5/2 Paulo Assis pj.as...@gmail.com:
 Hi,
 yes, libwebcam depends on uvcvideo.h, I've only added this as a patch
 since it was missing from debian kernel headers at the time. I think
 you should be able to get it from there now, not sure if the new
 header breaks anything, I'll have to run some tests.
 The other patches are not needed, but they do increase functionality
 to some extent.

 Anyway if this was just a libwebcam issue, guvcview should still be
 able to add the controls, and apparently that's failing also.

 Best regards,
 Paulo

 2012/5/2 Karl Kiniger karl.kini...@med.ge.com:
 On Wed 120502, Paulo Assis wrote:
 karl,
 I've run some tests under ubuntu 12.04 with kernel 3.2.0 and
 everything seems to be working fine.
 I know some changes were made to the uvcvideo module regarding XU
 controls, but I was under the impression that they wouldn't break
 userspace.

 Logitech shutdown the quickcamteam site, so you won't be able to
 download libwebcam from there.
 I'm currently the debian mantainer of that package, so I'll try to
 test it on a newer kernel and patch it as necessary.
 I'll also fix guvcview if needed.

 Very much appreciated, Paulo!

 In the meantime I poked  around at Ubuntu and found
 libwebcam_0.2.1.orig.tar.gz - will try to compiled it but they
 have a couple of kernel patches to 3.2.x as well and perhaps there
 is a depency.

 Karl


 Regards,
 Paulo

--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html