Re: [GIT PATCHES FOR 2.6.37] V4L documentation fixes

2010-09-23 Thread Paulo Assis
Hi, Since we are talking about V4L documentation, I would like to remind of the timestamps subject since this is a recurrent issue. The current spec refers to gettimeofday return value for the buffer timestamps and as already discussed in previous posts, gettimeofday, introduces a lot of issues,

Re: Power frequency detection.

2010-12-19 Thread Paulo Assis
Hi, 2010/12/18 Theodore Kilgore kilg...@banach.math.auburn.edu: Does anyone know whether, somewhere in the kernel, there exists a scheme for detecting whether the external power supply of the computer is using 50hz or 60hz? The reason I ask: A certain camera is marketed with Windows

Re: size of raw bayer data

2011-08-13 Thread Paulo Assis
Hi, 2011/8/13 Veda N ved...@gmail.com: what should be the size of a raw bayer data from the driver. for 640x480 = i get 640x480x2. Is this in bytes? Shouldnt i get more? It shoule be more than yuv422/rgb565 No, that depends on the pixel size, so for 8 bit pixel you should get 640x480

Re: [Linux-uvc-devel] Logitech C910 driver problem

2011-01-14 Thread Paulo Assis
Radek, Please attach the full dmesg output when starting video capture with the second camera. Also increase log verbosity first: something like this: rmmod uvcvideo modprobe uvcvideo trace=65535 You should also refer your capture settings (if I remember MJPG 640x480@24 fps) and that if you use

Re: v4l-dvb from source on 2.6.31.5 opensuse kernel - not working

2009-12-09 Thread Paulo Assis
2009/12/9 Valerio Bontempi valerio.bonte...@gmail.com: 2009/12/9 Paulo Assis pj.as...@gmail.com: Hi, I've just responded to a similar issue in the linux-uvc list: https://lists.berlios.de/pipermail/linux-uvc-devel/2009-December/005391.html Do you also have insertion errors when modprobing

Re: MSI StarCam working in vlc only (with poor colors)

2009-12-09 Thread Paulo Assis
at 10:53 PM, Paulo Assis pj.as...@gmail.com wrote: Hi, Could you please try guvcview ( http://guvcview.berlios.de ) Please post me the output of guvcview --verbose Best regards, Paulo 2009/12/9 Jozef Riha jose1...@gmail.com: Jozef Riha jose1711 at gmail.com writes: Hello dear ML members

Re: MSI StarCam working in vlc only (with poor colors)

2009-12-09 Thread Paulo Assis
-uvc.berlios.de/#download ? thank you, joe On Wed, Dec 9, 2009 at 11:20 PM, Paulo Assis pj.as...@gmail.com wrote: Hi, could you try the following: echo 2 /sys/module/uvcvideo/parameters/quirks this will set uvcvideo quirks to 2 or you can also try the latest uvcvideo: http://www.linuxtv.org

Re: MSI StarCam working in vlc only (with poor colors)

2009-12-10 Thread Paulo Assis
/etc/modprobe.d/uvcvideo.conf options uvcvideo trace=15 quirks=2 regards all, joe On Wed, Dec 9, 2009 at 11:53 PM, Paulo Assis pj.as...@gmail.com wrote: You must reload the driver, rmmod uvcvideo modprobe uvcvideo otherwise the quirks want have any effect. uvcvideo is now mantained

Re: problems compiling webcam driver

2009-12-14 Thread Paulo Assis
Hi, You have to unload the all the old modules before loading the new ones: http://www.linuxtv.org/wiki/index.php/How_to_Obtain,_Build_and_Install_V4L-DVB_Device_Drivers#First_Use:_Out_with_the_Old.2C_In_with_the_New otherwise you will get that type of errors. Regards, Paulo 2009/12/14 Nicolau

Adaptec VideOh! DVD Media Center

2009-12-18 Thread Paulo Assis
Hi, I'm currently porting the GPL linux-avc2210k driver ( http://www.freelists.org/archive/linux-avc2210k/ ) to V4L2. The current version has it's own API that makes it incompatible with any software except for specific user space apps (avcctrl, avctune) bundled with the driver. Since development

Re: Adaptec VideOh! DVD Media Center

2009-12-22 Thread Paulo Assis
ihex directly (request_ihex_firmware), is there a optimal format for this? Regards, Paulo 2009/12/18 Mauro Carvalho Chehab mauroche...@gmail.com: Devin Heitmueller wrote: On Fri, Dec 18, 2009 at 9:05 AM, Paulo Assis pj.as...@gmail.com wrote: Hi, Is there any simpler/standard way of handling

[RFC] V4L2 Controls State Store/Restore File Format

2010-05-20 Thread Paulo Assis
Controls State Store/Restore File Format To: Paulo Assis pj.as...@gmail.com Cc: Laurent Pinchart laurent.pinch...@ideasonboard.com, martin_ru...@logitech.com Hi Paulo, Clearly you've though quite a bit about this I had not realized this would be this complex (with ordering issues etc.). This looks

Re: [RFC] V4L2 Controls State Store/Restore File Format

2010-05-21 Thread Paulo Assis
application, so I would rather not use any external libs. IMHO xml would be an overkill in this case, but if the general opinion is that such format should be used instead I can easily change the proposal to a xml format. Regards, Paulo Cheers, Martin Paulo Assis pj.as...@gmail.com wrote

Re: [RFC] V4L2 Controls State Store/Restore File Format

2010-05-23 Thread Paulo Assis
Hans, 2010/5/23 Hans Verkuil hverk...@xs4all.nl: On Thursday 20 May 2010 16:42:01 Paulo Assis wrote: Hi all, Below is a proposal for the file format to use when storing/restoring v4l2 controls state. I've some doubts concerning atomically set controls and string controls (see below

Re: [RFC] V4L2 Controls State Store/Restore File Format

2010-05-23 Thread Paulo Assis
Hi, 2010/5/23 Hans Verkuil hverk...@xs4all.nl: On Sunday 23 May 2010 15:40:26 Paulo Assis wrote: Hans, 2010/5/23 Hans Verkuil hverk...@xs4all.nl: On Thursday 20 May 2010 16:42:01 Paulo Assis wrote: Hi all, Below is a proposal for the file format to use when storing/restoring v4l2

[RFC] V4L2 Controls State Store/Restore File Format v.0.0.2 and test app

2010-05-26 Thread Paulo Assis
controls since i don't have any hardware that supports them. Best Regards, Paulo [RFC] V4L2 Controls State Store/Restore File Format AUTHORS: Paulo Assis pj.as...@gmail.com VERSION: 0.0.2 ABSTRACT This document proposes a standard for the file format used by v4l2 applications to store/restore

Re: V4L Camera frame timestamp question

2010-06-10 Thread Paulo Assis
2010/6/10 Jean-Francois Moine moin...@free.fr: On Thu, 10 Jun 2010 03:24:05 + (UTC) jiajun zhujia...@gmail.com wrote: I'm currently using the V4L-DVB driver to control a few logitech webcams and playstation eye cameras on a Gubuntu system. Everything works just fine except one thing:  

Re: [GIT PATCHES FOR 2.6.35] gspca for_2.6.35

2010-06-10 Thread Paulo Assis
PLEASE NO, The current use of ktime is much better, timestamps are perfectly in sync and will not suffer from time shifts if the clock value changes. PLEASE just leave it like it is now. Best Regards, Paulo 2010/6/10 Jean-Francois Moine moin...@free.fr: Hi Mauro, The following changes since

Re: V4L Camera frame timestamp question

2010-06-10 Thread Paulo Assis
Hi, 2010/6/10 Jiajun Zhu zhujia...@gmail.com: Thanks for the discussion. Based on my testing, the image timestamps or ktime is the system uptime in nanosecond, is this correct? For my application, I need to synchronize the camera image with other data which are all timestamped by

Fwd:

2013-06-11 Thread Paulo Assis
For the list (again) -- Forwarded message -- From: Paulo Assis pj.as...@gmail.com Date: 2013/6/11 Subject: Re: To: phil rosenberg philip_rosenb...@yahoo.com Cc: linux-media@vger.kernel.org linux-media@vger.kernel.org Hi, make sure you are streaming in YUYV format and not in MJPG

Re: Corrupt Raw webcam data

2013-06-11 Thread Paulo Assis
in either the webcam's UVC support or the UVC driver? If so I presume there is no likely quick workaround. Phil From: Paulo Assis pj.as...@gmail.com To: phil rosenberg philip_rosenb...@yahoo.com Cc: linux-media@vger.kernel.org linux-media@vger.kernel.org

Re: Corrupt Raw webcam data

2013-06-12 Thread Paulo Assis
- From: Paulo Assis pj.as...@gmail.com To: phil rosenberg philip_rosenb...@yahoo.com Cc: linux-media@vger.kernel.org linux-media@vger.kernel.org Sent: Tuesday, 11 June 2013, 11:13 Subject: Re: Corrupt Raw webcam data Hi, You should select YUYV before disabling the video processing. So

Re: UVC video output problem with 3.3.1 kernel

2012-04-05 Thread Paulo Assis
Hi, BGR3, RGB3, YU12 and YV12 are provided through libv4l, the original unconverted stream format provided through uvcvideo driver is YUYV, if this is fine then this is probably an issue with libv4l. Regards, Paulo 2012/4/5 Chris Rankin ranki...@googlemail.com: Hi, I have a UVC video device,

Re: UVC video output problem with 3.3.1 kernel

2012-04-05 Thread Paulo Assis
Hi, From what you describe I would say that during conversion a YUYV (2 bytes per pixel) size (be it a buffer or loop iterations) is being used for RGB3 (3 bytes per pixel), so you only get 2/3 of the picture. Does this happen in any resolution ? Regards, Paulo 2012/4/5 Paulo Assis pj.as

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:

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

2012-05-02 Thread Paulo Assis
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

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

2012-05-02 Thread Paulo Assis
, 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

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

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

2012-05-03 Thread Paulo Assis
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

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

2012-05-04 Thread Paulo Assis
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

Re: Problems with the gspca_ov519 driver

2012-05-22 Thread Paulo Assis
Hi, This bug also causes the camera to crash when changing fps in guvcview, uvc devices (at least all the ones I tested) require the stream to be restarted for fps to change, so in the case of this driver after STREAMOFF the camera just becomes unresponsive. Regards, Paulo 2012/5/22 Lluís Batlle

Re: [PATCH v1 00/19] UVC 1.5 VP8 support for uvcvideo

2013-11-11 Thread Paulo Assis
Hi, 2013/11/11 Laurent Pinchart laurent.pinch...@ideasonboard.com: Hi Paulo, On Thursday 10 October 2013 11:27:37 Paulo Assis wrote: Hi, just want t know the current state on this series. I'm currently adding h264 stream preview support to guvcview. It's already working fine on uvc 1.1

Re: [PATCH v1 03/19] uvcvideo: Add support for multiple chains with common roots.

2013-11-11 Thread Paulo Assis
Hi, I'm repeating myself, but this seems the proper place to post this. This patch causes a regression with the logitech c930e. Please see comments below: 2013/11/10 Laurent Pinchart laurent.pinch...@ideasonboard.com: Hi Pawel, Thank you for the patch. On Friday 30 August 2013 11:17:02

Re: [ANNOUNCE] git tree repositories libv4l

2010-01-20 Thread Paulo Assis
Hi, The uvcdynctrl utility is part of the libwebcam project: http://www.quickcamteam.net/software/libwebcam But given that libwebcam is unmaintained and not used by anything AFAIK, I'm patching uvcdynctrl to no longer need it. The plan is to add uvcdynctrl to libv4l soon, as that is

Re: where I can get UVC svn repository

2010-02-08 Thread Paulo Assis
Hi, linuxtv uses mercurial (or git) not svn, please check the how-to: http://www.linuxtv.org/wiki/index.php/How_to_Obtain,_Build_and_Install_V4L-DVB_Device_Drivers regards, Paulo 2010/2/8 loody milo...@gmail.com: Dear all: I hear UVC is change its repository to linxutv. But I tried several

Re: [Linux-uvc-devel] [PATCH] uvc: kmalloc failure ignored in uvc_ctrl_add_ctrl()

2009-09-24 Thread Paulo Assis
Laurent, That's not enough to prevent a kernel crash. The driver can try to dereference ctrl-data if ctrl-info isn't NULL. You should only set ctrl-info if allocationg succeeds. Something like        ctrl-data = kmalloc(ctrl-info-size * UVC_CTRL_NDATA, GFP_KERNEL);        if (ctrl-data ==

Re: [linux-uvc-devel] Closing Bulk Stream in V4L2 UVC Linux driver

2014-01-02 Thread Paulo Assis
Hi, guvcview just handles this like any other V4L2 device. You should look at the driver in this case, and check what it does when a VIDIOC_STREAMOFF is received. Regards, Paulo PS: adding linux media to CC 2014/1/1 Ayoub, Hani hani.ay...@intel.com: Hi, I’m trying to bring up a device which

Re: uvcvideo: logitech C920 resets controls during VIDIOC_STREAMON

2014-03-06 Thread Paulo Assis
Hi, 2014-03-05 23:01 GMT+00:00 William Manley w...@williammanley.net: Hi All I've been attempting to use the Logitech C920 with the uvcvideo driver. I set the controls with v4l2-ctl but some of them change during VIDIOC_STREAMON. My understanding is that the values of controls should be

uvcvideo fails on 3.16 and 3.17 kernels

2014-09-30 Thread Paulo Assis
I referring to the following bug: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1362358 I've run some tests and after increasing verbosity for uvcvideo, I get: EOF on empty payload this seems consistent with the zero size frames returned by the driver. After VIDIOC_DQBUF | VIDIOC_QBUF, I

Re: uvcvideo fails on 3.16 and 3.17 kernels

2014-09-30 Thread Paulo Assis
2014-09-30 9:50 GMT+01:00 Paulo Assis pj.as...@gmail.com: I referring to the following bug: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1362358 I've run some tests and after increasing verbosity for uvcvideo, I get: EOF on empty payload this seems consistent with the zero size frames

Re: uvcvideo fails on 3.16 and 3.17 kernels

2014-09-30 Thread Paulo Assis
(debian), virtual formats (rgb3, bgr3, yu12, yv12) are not working with that version. Regards, Paulo 2014-09-30 14:12 GMT+01:00 Nicolas Dufresne nicolas.dufre...@collabora.com: Le 2014-09-30 04:50, Paulo Assis a écrit : https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1362358 I've run some

Re: uvcvideo fails on 3.16 and 3.17 kernels

2014-10-01 Thread Paulo Assis
Laurent hi, 2014-09-30 23:31 GMT+01:00 Laurent Pinchart laurent.pinch...@ideasonboard.com: Hi Paulo, Thank you for investigation this. On Tuesday 30 September 2014 13:56:15 Paulo Assis wrote: Ok, so I've set a workaround in guvcview, it now uses the length filed if bytesused is set

Re: uvcvideo fails on 3.16 and 3.17 kernels

2014-10-01 Thread Paulo Assis
...@ideasonboard.com: Hi Paulo, On Wednesday 01 October 2014 11:48:26 Paulo Assis wrote: Laurent hi, 2014-09-30 23:31 GMT+01:00 Laurent Pinchart: Hi Paulo, Thank you for investigation this. On Tuesday 30 September 2014 13:56:15 Paulo Assis wrote: Ok, so I've set a workaround

Re: (bisected) Logitech C920 (uvcvideo) stutters since 3.9

2014-11-04 Thread Paulo Assis
I've add to change guvcview so that it now generates it's own monotonic timestamps, kernel timestamps (uvcvideo at least), caused a similar problem, e.g: I would get a couple of frames with correct timestamps, then I would get at least one with a value lower than the rest, this caused playback to

Re: (bisected) Logitech C920 (uvcvideo) stutters since 3.9

2014-11-05 Thread Paulo Assis
Hi, 2014-11-04 23:32 GMT+00:00 Sakari Ailus sakari.ai...@iki.fi: Sakari Ailus wrote: yavta does, for example, print both the monotonic timestamp from the buffer and the time when the buffer has been dequeued: URL:http://git.ideasonboard.org/yavta.git $ yavta -c /dev/video0 should

Re: (bisected) Logitech C920 (uvcvideo) stutters since 3.9

2014-11-05 Thread Paulo Assis
to test anything else for the next coule of days. Regards, Paulo 2014-11-05 14:05 GMT+00:00 Laurent Pinchart laurent.pinch...@ideasonboard.com: Hi Paulo, On Wednesday 05 November 2014 10:13:45 Paulo Assis wrote: 2014-11-04 23:32 GMT+00:00 Sakari Ailus sakari.ai...@iki.fi: Sakari Ailus wrote

Fwd: uvcvideo extension controls

2017-04-20 Thread Paulo Assis
-- Forwarded message -- From: Paulo Assis <pj.as...@gmail.com> Date: 2017-04-20 12:04 GMT+01:00 Subject: uvcvideo extension controls To: Laurent Pinchart <laurent.pinch...@ideasonboard.com> Cc: Linux Media Mailing List <linux-media@vger.kernel.org>, aUDIo <