Re: [Linux-uvc-devel] searching a way to get an image from webcam

2009-07-21 Thread Philip Heron
Hi Jens, Jens Kapitza wrote: > I have not found a way to enabled the cam, and i found no doku (example) > Is this a V4L2 problem or a driver problem? can someone give me a hint > where i should go next? Check the BIOS, there is an option to disable/enable it there. -Phil ___

Re: [Linux-uvc-devel] searching a way to get an image from webcam

2009-07-21 Thread Jon Fairbairn
Jens Kapitza writes: > hi, > > i'm trying to get an image from my webcam > (eeepc 1000H - Bus 001 Device 002: ID 04f2:b071 Chicony Electronics Co., > Ltd 2.0M UVC WebCam / CNF7129) > > i'm searching a way to enable the webcam but i can't find the right > order for a call (ioctl) > > i've tried

Re: [Linux-uvc-devel] searching a way to get an image from webcam

2009-07-21 Thread Laurent Pinchart
Hi Jens, On Tuesday 21 July 2009 01:17:37 Jens Kapitza wrote: > hi, > > i'm trying to get an image from my webcam > (eeepc 1000H - Bus 001 Device 002: ID 04f2:b071 Chicony Electronics Co., > Ltd 2.0M UVC WebCam / CNF7129) > > i'm searching a way to enable the webcam but i can't find the right > or

Re: [Linux-uvc-devel] searching a way to get an image from webcam

2009-07-21 Thread Jens Kapitza
> Did you try here: ? The camera is enabled - skype or luvcview is working. But i can't get it work in my app. I'm able to open the dev but if i tries to request the buffer i get -1 from ioctl i see a green led if an application is reading from ca

Re: [Linux-uvc-devel] searching a way to get an image from webcam

2009-07-21 Thread Laurent Pinchart
On Tuesday 21 July 2009 11:55:09 Jens Kapitza wrote: > > Did you try here: ? > > The camera is enabled - skype or luvcview is working. But i can't get it > work in my app. > > I'm able to open the dev but if i tries to request the buffer i get -1 > from

Re: [Linux-uvc-devel] [SOLVED] searching a way to get an image from webcam

2009-07-21 Thread Jens Kapitza
http://v4l2spec.bytesex.org/spec/capture-example.html thx, for the link, know it works (the cam. led turns on) - just need to change the device_name i'll evaluate the source now, i think i've forget to copy one line --- Jens Kapitza thanks @all ___

[Linux-uvc-devel] settings for Device 002: ID 0402:5606 ALi Corp

2009-07-21 Thread Tommaso
Hello, I've been trying to solve this problem by myself for a long time without success, so here I am looking for some help. My laptop has a webcam that was working perfectly before some kernel update, i guess it happened after upgrading to ubuntu 8.04. lsusb gives me this device: Bus 001 Device 00

Re: [Linux-uvc-devel] settings for Device 002: ID 0402:5606 ALi Corp

2009-07-21 Thread Paulo Assis
Hi, Could you post the output of "guvcview --verbose" and dmesg, also could you try different resolutions and fps values? Best regards, Paulo 2009/7/21 Tommaso > Hello, I've been trying to solve this problem by myself for a long > time without success, so here I am looking for some help. > M

Re: [Linux-uvc-devel] settings for Device 002: ID 0402:5606 ALi Corp

2009-07-21 Thread Paulo Assis
Tommaso, guvcview presents a standard output, as for dmesg: uvcvideo: Failed to query (129) UVC control 3 (unit 1) : -32 (exp. 1). uvcvideo: device USB2.0 Camera requested null bandwidth, defaulting to lowest. I'm not sure if this could be the cause for the problems you are experiencing. If you

Re: [Linux-uvc-devel] settings for Device 002: ID 0402:5606 ALi Corp

2009-07-21 Thread Paulo Assis
Also make sure to set an appropriate value to exposure and white balance. hue also seems to be set at an invalid value!!! guvcview output: Hue, -4:1:4, default 0 Best regards, Paulo 2009/7/21 Paulo Assis : > Tommaso, > > guvcview presents a standard output, as for dmesg: > > uvcvideo: Failed to

Re: [Linux-uvc-devel] settings for Device 002: ID 0402:5606 ALi Corp

2009-07-21 Thread Laurent Pinchart
On Tuesday 21 July 2009 17:02:37 Paulo Assis wrote: > Also make sure to set an appropriate value to exposure and white balance. > hue also seems to be set at an invalid value!!! > > guvcview output: > Hue, -4:1:4, default 0 As this is consecutive to an Ubuntu upgrade, my guess is that libv4l2 mig

Re: [Linux-uvc-devel] settings for Device 002: ID 0402:5606 ALi Corp

2009-07-21 Thread Paulo Assis
No, my mistake sorry, it is an unusual value but still it should be valid. guvcview doesn't use any libv4l2 stuff it gets is values directly from the the driver (at least it should): ioctl (fd, VIDIOC_QUERYCTRL, &queryctrl) In this case Hue only has 8 possible values, in my cameras I believe I hav

Re: [Linux-uvc-devel] settings for Device 002: ID 0402:5606 ALi Corp

2009-07-21 Thread Paulo Assis
Hi, The colors are completly wrong it looks like a color channel is missing or maybe switched. Are you sure this is not a graphic card issue ? Could you try disabling hardware acceleration: guvcview --hwd_acel=0 This prevents the use of hardware overlays, it decreases performance but could if the c