Fwd: uvcvideo extension controls

2017-04-20 Thread Paulo Assis
-- Forwarded message -- From: Paulo Assis Date: 2017-04-20 12:04 GMT+01:00 Subject: uvcvideo extension controls To: Laurent Pinchart Cc: Linux Media Mailing List , aUDIo Laurent Hi, I've just noticed that uvcvideo extension controls no longer work properly, for instanc

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

2014-11-05 Thread Paulo Assis
I'll have time to test anything else for the next coule of days. Regards, Paulo 2014-11-05 14:05 GMT+00:00 Laurent Pinchart : > Hi Paulo, > > On Wednesday 05 November 2014 10:13:45 Paulo Assis wrote: >> 2014-11-04 23:32 GMT+00:00 Sakari Ailus : >> > Sakari Ailus wrot

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 Ailus wrote: >> yavta does, for example, print both the monotonic timestamp from the buffer >> and the time when the buffer has been dequeued: >> >> http://git.ideasonboard.org/yavta.git> >> >> $ yavta -c /dev/video0 >> >> should do it.

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 s

Re: uvcvideo fails on 3.16 and 3.17 kernels

2014-10-01 Thread Paulo Assis
rt : > 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 Sept

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 : > 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 >> bytes

Re: uvcvideo fails on 3.16 and 3.17 kernels

2014-09-30 Thread Paulo Assis
sion 1.4.0 (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 : > > Le 2014-09-30 04:50, Paulo Assis a écrit : > >> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1362358 >> &

Re: uvcvideo fails on 3.16 and 3.17 kernels

2014-09-30 Thread Paulo Assis
Regards, Paulo 2014-09-30 9:50 GMT+01:00 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 c

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: logitech C920 resets controls during VIDIOC_STREAMON

2014-03-06 Thread Paulo Assis
Hi, 2014-03-05 23:01 GMT+00:00 William Manley : > 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 preserved. > > Min

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 : > Hi, > > I’m trying to bring up a device which sends data using

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 : > Hi Pawel, > > Thank you for the patch. > > On Friday 30 August 2013 11:17:02 Pawel Osciak wrote: >> This add

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

2013-11-11 Thread Paulo Assis
Hi, 2013/11/11 Laurent Pinchart : > 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

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

2013-10-10 Thread Paulo Assis
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 cameras like the BCC950 but for uvc 1.5 devices like the c930e it could really use some driver support. Bets Regards, Paulo 2013/8/30 Pawel Os

Re: Corrupt Raw webcam data

2013-06-12 Thread Paulo Assis
o hear them > > All the best > > Phil > > > - Original Message - > From: Paulo Assis > To: phil rosenberg > Cc: "linux-media@vger.kernel.org" > Sent: Tuesday, 11 June 2013, 11:13 > Subject: Re: Corrupt Raw webcam data > > Hi, > You should sel

Re: Corrupt Raw webcam data

2013-06-11 Thread Paulo Assis
bug 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 > To: phil rosenberg > Cc: "linux-media@vger.kernel.org" > Sent: Tuesday, 11 Jun

Fwd:

2013-06-11 Thread Paulo Assis
For the list (again) -- Forwarded message -- From: Paulo Assis Date: 2013/6/11 Subject: Re: To: phil rosenberg Cc: "linux-media@vger.kernel.org" Hi, make sure you are streaming in YUYV format and not in MJPG or any of the libv4l formats since these are decoded from

Re: [linux-uvc-devel] USB3.0 WebCam

2012-06-06 Thread Paulo Assis
Hi, I think any of these lists would do. I would probably post it to linux-media and cc linux-uvc-devel Regards, Paulo 2012/6/6 Tony.Nie : > Hi All: > > The latest UVC driver can't work well with USB3.0 WebCam for it > can't select a suitable alternate setting. > I fixed the bug. > > Can

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: logitech quickcam 9000 uvcdynctrl broken since kernel 3.2 - PING

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

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

2012-05-03 Thread Paulo Assis
h 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 : > Hi Paulo, > > On Wed 120502, Paulo Assis wrote: >> OK, so UVCIOC_CTRL_ADD is no long

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 : > Hi, > yes, libwebcam depends on uvcvideo.h, I've only added this as a patc

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

2012-05-02 Thread Paulo Assis
eeded, 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 : > On Wed 120502, Paulo Assis wrote: >> karl, >

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

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

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 : > Please can someone shed a little light on this? > > Greatly appreciated, > Karl > > On Tue 120424, Karl Kiniger wrote: >> Dear all, >> >> guv

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 : &

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 : > Hi, > > I have a UVC video device, which lsusb describes

Re: size of raw bayer data

2011-08-13 Thread Paulo Assis
Hi, 2011/8/13 Veda N : > 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 bytes, for 12

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 o

Re: Power frequency detection.

2010-12-19 Thread Paulo Assis
Hi, 2010/12/18 Theodore Kilgore : > > 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 software which requests the

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, us

Re: V4L Camera frame timestamp question

2010-06-10 Thread Paulo Assis
Hi, 2010/6/10 Jiajun Zhu : > 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 gettimeofday(). Like I ex

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 : > Hi Mauro, > > The following changes since commit e411f2

Re: V4L Camera frame timestamp question

2010-06-10 Thread Paulo Assis
2010/6/10 Jean-Francois Moine : > On Thu, 10 Jun 2010 03:24:05 + (UTC) > jiajun 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:  the buffer timestamp >> v

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

2010-05-26 Thread Paulo Assis
it integer 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 VERSION: 0.0.2 ABSTRACT This document proposes a standard for the file format used by v4l2 applications to store/restore the

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

2010-05-23 Thread Paulo Assis
Hi, 2010/5/23 Hans Verkuil : > On Sunday 23 May 2010 15:40:26 Paulo Assis wrote: >> Hans, >> >> 2010/5/23 Hans Verkuil : >> > On Thursday 20 May 2010 16:42:01 Paulo Assis wrote: >> >> Hi all, >> >> >> >> Below is a proposal for

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

2010-05-23 Thread Paulo Assis
Hans, 2010/5/23 Hans Verkuil : > 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 control

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

2010-05-21 Thread Paulo Assis
that can easily be integrated into any 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, > Mar

[RFC] V4L2 Controls State Store/Restore File Format

2010-05-20 Thread Paulo Assis
tate Store/Restore File Format To: Paulo Assis Cc: Laurent Pinchart , 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 like a good proposal to start with to me, I think it w

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 : > Dear all: > I hear UVC is change its repository to linxutv. > But I tried several possible reposit

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 > i

Re: Adaptec VideOh! DVD Media Center

2009-12-22 Thread Paulo Assis
e even use ihex directly (request_ihex_firmware), is there a optimal format for this? Regards, Paulo 2009/12/18 Mauro Carvalho Chehab : > Devin Heitmueller wrote: >> On Fri, Dec 18, 2009 at 9:05 AM, Paulo Assis wrote: >>> Hi, > >>> Is there any simpler/standar

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 s

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 W

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

2009-12-10 Thread Paulo Assis
d to > set it like this: > > $ cat /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 wrote: >> You must reload the driver, >> >> rmmod uvcvideo >> modprobe

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

2009-12-09 Thread Paulo Assis
UFS - Failed to delete buffers: Invalid argument (errno 22) > closed v4l2 strutures > free controls - vidState > cleaned allocations - 100% > Closing portaudio ...OK > Terminated. > > are you sure with the web-page? i cannot see a relationship between > dvb and uvcvideo. shouldn

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

2009-12-09 Thread Paulo Assis
, > { discrete: width = 160, height = 120 } >        Time interval between frame: 1/30, > checking format: 1196444237 > VIDIOC_S_FORMAT - Unable to set format: Input/output error > Init v4L2 failed !! > ERROR: Minimum Setup Failed. >  Exiting... > Terminated. > > > On Wed

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 : > 2009/12/9 Paulo Assis : >> 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 modprobi

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 (ct