Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Debian User (http://www.linux-archive.org/debian-user/)
-   -   Anyone got qc-usb working with kernel 2.6.28 and amd64? (http://www.linux-archive.org/debian-user/222476-anyone-got-qc-usb-working-kernel-2-6-28-amd64.html)

Micha Feigin 01-05-2009 12:24 AM

Anyone got qc-usb working with kernel 2.6.28 and amd64?
 
I'm trying to get a Logitech, Inc. QuickCam Web (lego webcam based on logitec)
working on my box running kernel 2.6.28 amd64 kernel. I managed to fix
compilation errors using a patch I found on the bug tracking system plus some
extra modifications. The resulting driver loads and recognizes the camera but
xawtv doesn't give any output (black screen), the test program that comes with
driver gives zeros for mem_map mode, it does seem to give and image for read
mode. I also tried a sample program with opencv which complains
HIGHGUI ERROR: V4L: device /dev/video0 is unable to capture video memory.
I can't downgrade the kernel since I need the newest e1000e for my network card
(anything older and the network card isn't supported).

Thanks


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Arthur Marsh 01-05-2009 01:23 AM

Anyone got qc-usb working with kernel 2.6.28 and amd64?
 
Micha Feigin wrote, on 2009-01-05 11:54:

I'm trying to get a Logitech, Inc. QuickCam Web (lego webcam based on logitec)
working on my box running kernel 2.6.28 amd64 kernel. I managed to fix
compilation errors using a patch I found on the bug tracking system plus some
extra modifications. The resulting driver loads and recognizes the camera but
xawtv doesn't give any output (black screen), the test program that comes with
driver gives zeros for mem_map mode, it does seem to give and image for read
mode. I also tried a sample program with opencv which complains
HIGHGUI ERROR: V4L: device /dev/video0 is unable to capture video memory.
I can't downgrade the kernel since I need the newest e1000e for my network card
(anything older and the network card isn't supported).

Thanks




A couple of quick pointers to help you get more help:

1) post the output of lsusb for the device, and google for it

2) if you don't mind looking at a high volume message area, subscribe to
gmane.comp.video.video4linux at gmane.org (mailing-list to newsgroup
gateway) and post a query there.


3) There are also the sites http://moinejf.free.fr/ and
http://hansdegoede.livejournal.com/


Arthur.



--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Micha Feigin 01-05-2009 02:31 AM

Anyone got qc-usb working with kernel 2.6.28 and amd64?
 
On Mon, 05 Jan 2009 12:53:41 +1030
Arthur Marsh <arthur.marsh@internode.on.net> wrote:

> Micha Feigin wrote, on 2009-01-05 11:54:
> > I'm trying to get a Logitech, Inc. QuickCam Web (lego webcam based on
> > logitec) working on my box running kernel 2.6.28 amd64 kernel. I managed to
> > fix compilation errors using a patch I found on the bug tracking system
> > plus some extra modifications. The resulting driver loads and recognizes
> > the camera but xawtv doesn't give any output (black screen), the test
> > program that comes with driver gives zeros for mem_map mode, it does seem
> > to give and image for read mode. I also tried a sample program with opencv
> > which complains HIGHGUI ERROR: V4L: device /dev/video0 is unable to capture
> > video memory. I can't downgrade the kernel since I need the newest e1000e
> > for my network card (anything older and the network card isn't supported).
> >
> > Thanks
> >
> >
>
> A couple of quick pointers to help you get more help:
>

Looks like it's a hardware or driver problem as the camera is just not
reporting that it has any capabilities. I hacked the code opencv code to ignore
that and proceed blind and now it's working.

Thanks.

> 1) post the output of lsusb for the device, and google for it
>
> 2) if you don't mind looking at a high volume message area, subscribe to
> gmane.comp.video.video4linux at gmane.org (mailing-list to newsgroup
> gateway) and post a query there.
>
> 3) There are also the sites http://moinejf.free.fr/ and
> http://hansdegoede.livejournal.com/
>
> Arthur.
>
>
>


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

subscriptions 01-06-2009 05:51 PM

Anyone got qc-usb working with kernel 2.6.28 and amd64?
 
On Mon, 2009-01-05 at 02:24 +0100, Micha Feigin wrote:
> I'm trying to get a Logitech, Inc. QuickCam Web (lego webcam based on
> logitec) working on my box running kernel 2.6.28 amd64 kernel. I
> managed to fix compilation errors using a patch I found on the bug
> tracking system plus some extra modifications. The resulting driver
> loads and recognizes the camera but
> xawtv doesn't give any output (black screen), the test program that
> comes with driver gives zeros for mem_map mode, it does seem to give
> and image for read mode. I also tried a sample program with opencv
> which complains HIGHGUI ERROR: V4L: device /dev/video0 is unable to
> capture video memory. I can't downgrade the kernel since I need the
> newest e1000e for my network card
> (anything older and the network card isn't supported).
>
> Thanks

Hi,

I got qc-usb v1.8 working under 2.6.26-1-686. It needs a patch though.

qc-usb-messenger:
http://home.mag.cx/messenger/source/qc-usb-messenger-1.8.tar.gz
patch:
http://sources.gentoo.org/viewcvs.py/*checkout*/gentoo-x86/media-video/qc-usb-messenger/files/qc-usb-messenger-1.8-kcompat-2.6.26.patch?rev=1.1
or http://tinyurl.com/6wk4sm

Best,

Rob


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

subscriptions 01-06-2009 05:55 PM

Anyone got qc-usb working with kernel 2.6.28 and amd64?
 
On Tue, 2009-01-06 at 20:51 +0200, subscriptions wrote:
> On Mon, 2009-01-05 at 02:24 +0100, Micha Feigin wrote:
> > I'm trying to get a Logitech, Inc. QuickCam Web (lego webcam based on
> > logitec) working on my box running kernel 2.6.28 amd64 kernel. I
> > managed to fix compilation errors using a patch I found on the bug
> > tracking system plus some extra modifications. The resulting driver
> > loads and recognizes the camera but
> > xawtv doesn't give any output (black screen), the test program that
> > comes with driver gives zeros for mem_map mode, it does seem to give
> > and image for read mode. I also tried a sample program with opencv
> > which complains HIGHGUI ERROR: V4L: device /dev/video0 is unable to
> > capture video memory. I can't downgrade the kernel since I need the
> > newest e1000e for my network card
> > (anything older and the network card isn't supported).
> >
> > Thanks
>
> Hi,
>
> I got qc-usb v1.8 working under 2.6.26-1-686. It needs a patch though.
>
> qc-usb-messenger:
> http://home.mag.cx/messenger/source/qc-usb-messenger-1.8.tar.gz
> patch:
> http://sources.gentoo.org/viewcvs.py/*checkout*/gentoo-x86/media-video/qc-usb-messenger/files/qc-usb-messenger-1.8-kcompat-2.6.26.patch?rev=1.1
> or http://tinyurl.com/6wk4sm
>
> Best,
>
> Rob


Forgot to mention: you can change the behaviour by loading the driver
with additional parameters. See modinfo on the module:

mycomputer:/home/myname # modinfo qcmessenger
filename: /lib/modules/2.6.26-1-686/misc/qcmessenger.ko
license: GPL
author: See README
description: Logitech QuickCam USB driver
alias: usb:v046Dp08DAd*dc*dsc*dp*ic*isc*ip*
alias: usb:v046Dp08F6d*dc*dsc*dp*ic*isc*ip*
alias: usb:v046Dp08F5d*dc*dsc*dp*ic*isc*ip*
alias: usb:v046Dp08F0d*dc*dsc*dp*ic*isc*ip*
depends: usbcore,videodev
vermagic: 2.6.26-1-686 SMP mod_unload modversions 686
parm: qcdebug:Sets the debug output (bitfield) (int)
parm: keepsettings:Keep picture settings across one open to
another (0-1) (int)
parm: settle:Maximum number of frames to wait picture
brightness to settle (0-255) (int)
parm: subsample:Sets subsampling (0-1) (int)
parm: compress:Enable compressed mode (0-1) (int)
parm: frameskip:How frequently capture frames (0-10) (int)
parm: quality:Sets the picture quality (0-5) (int)
parm: adaptive:Automatic adaptive brightness control (0-1)
(int)
parm: shutteradapt:Automatic adaptive shutter control (0-1)
(int)
parm: equalize:Equalize image (0-1) (int)
parm: userlut:Apply user-specified lookup-table (0-1) (int)
parm: retryerrors:Retry if image capture fails, otherwise
return error code (0-1) (int)
parm: compatible:Enable workaround for bugs in application
programs (bitfield) (int)
parm: video_nr:Set videodevice number (/dev/videoX) (int)


To automatically set parameters when plugging the camera, I have the
following in /etc/modprobe.d/local:

mycomputer:/home/myname# cat /etc/modprobe.d/local
options qcmessenger compatible=6 quality=2 subsample=1

Best,

Rob


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Micha Feigin 01-07-2009 11:03 AM

Anyone got qc-usb working with kernel 2.6.28 and amd64?
 
On Tue, 06 Jan 2009 20:51:00 +0200
subscriptions <subscriptions@rdegraaf.nl> wrote:

> On Mon, 2009-01-05 at 02:24 +0100, Micha Feigin wrote:
> > I'm trying to get a Logitech, Inc. QuickCam Web (lego webcam based on
> > logitec) working on my box running kernel 2.6.28 amd64 kernel. I
> > managed to fix compilation errors using a patch I found on the bug
> > tracking system plus some extra modifications. The resulting driver
> > loads and recognizes the camera but
> > xawtv doesn't give any output (black screen), the test program that
> > comes with driver gives zeros for mem_map mode, it does seem to give
> > and image for read mode. I also tried a sample program with opencv
> > which complains HIGHGUI ERROR: V4L: device /dev/video0 is unable to
> > capture video memory. I can't downgrade the kernel since I need the
> > newest e1000e for my network card
> > (anything older and the network card isn't supported).
> >
> > Thanks
>
> Hi,
>
> I got qc-usb v1.8 working under 2.6.26-1-686. It needs a patch though.
>

Thing is AFAIK I need qc-usb and not qc-usb-messenger. At least
qc-usb-messenger didn't seem to recognize the camera

> qc-usb-messenger:
> http://home.mag.cx/messenger/source/qc-usb-messenger-1.8.tar.gz
> patch:
> http://sources.gentoo.org/viewcvs.py/*checkout*/gentoo-x86/media-video/qc-usb-messenger/files/qc-usb-messenger-1.8-kcompat-2.6.26.patch?rev=1.1
> or http://tinyurl.com/6wk4sm
>
> Best,
>
> Rob
>
>


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


All times are GMT. The time now is 12:00 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.