Re: [PATCH 0/5] media: Allwinner A10 CSI support

2018-11-13 Thread Thomas Petazzoni
touch $@ ; \ fi which correctly uses $(srcdir), so it shouldn't go "up" the libv4l build folder and pick up the latest Buildroot commit SHA1. I'll have a quick look. Best regards, Thomas -- Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com

Re: [PATCH 3/5] media: sunxi: Add A10 CSI driver

2018-11-13 Thread Thomas Petazzoni
later is the right thing to use, and GPL-2.0+ is "deprecated". But apparently Greg's feedback is "let's not used the SDPX style, as we don't want to change this all over". Best regards, Thomas -- Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com

Re: [PATCH v4l-utils] configure.ac: drop --disable-libv4l, disable plugin support instead

2017-09-02 Thread Thomas Petazzoni
Hello, On Wed, 23 Aug 2017 13:06:13 +0200, Hans Verkuil wrote: > On 08/21/17 23:02, Thomas Petazzoni wrote: > > In commit 2e604dfbcd09b93f0808cedb2a0b324c5569a599 ("configure.ac: add > > --disable-libv4l option"), an option --disable-libv4l was added. As > > pa

[PATCH v4l-utils] configure.ac: drop --disable-libv4l, disable plugin support instead

2017-08-21 Thread Thomas Petazzoni
djusts the compilation of libv4l2 so that the plugin support is not compiled in when dlopen() in static linking configuration (dlopen is not available). Signed-off-by: Thomas Petazzoni --- NOTE: this was only build-time tested, not runtime tested. --- Makefile.am

Re: [PATCH dtv-scan-tables] Rename pl-Krosno_Sucha_Gora with only ASCII characters

2016-11-18 Thread Thomas Petazzoni
y in the file name is not a good idea. File name encoding is always problematic. Instead, what would be better is to have the proper city name inside the file itself. This way, you can specify that for the entire database, the files are encoded in UTF-8. Best regards, Thomas -- Thomas Petazzoni, C

[PATCH dtv-scan-tables] Rename pl-Krosno_Sucha_Gora with only ASCII characters

2016-11-14 Thread Thomas Petazzoni
hould be written se-Laxsjö - de-Dusseldorf should be written de-Düsseldorf - vn-Thaibinh should be written vn-Thái_Bình Since there is no real standardization on the encoding of file names, we'd better be safe and use only ASCII characters. Signed-off-by: Thomas Petazzoni ---

[v4l-utils 1/5] libv4lsyscall-priv.h: Use off_t instead of __off_t

2015-11-03 Thread Thomas Petazzoni
llows the code to build properly with musl. Signed-off-by: Thomas Petazzoni --- lib/libv4l1/v4l1compat.c | 3 +-- lib/libv4l2/v4l2convert.c | 5 ++--- lib/libv4lconvert/libv4lsyscall-priv.h | 11 +++ 3 files changed, 6 insertions(+), 13 deletions(-) diff --git

[v4l-utils 4/5] libv4lsyscall-priv.h: Only define SYS_mmap2 if needed

2015-11-03 Thread Thomas Petazzoni
at by only defining SYS_mmap2 if not already defined. Signed-off-by: Thomas Petazzoni --- lib/libv4lconvert/libv4lsyscall-priv.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/libv4lconvert/libv4lsyscall-priv.h b/lib/libv4lconvert/libv4lsyscall-priv.h index f87eff4..bc18b21 100644

[v4l-utils 3/5] utils/v4l2-compliance: Include instead of

2015-11-03 Thread Thomas Petazzoni
from ./cv4l-helpers.h:5, from v4l2-compliance.h:36, from v4l2-test-controls.cpp:33: .../sysroot/usr/include/sys/fcntl.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] #warning redirecting incorrect #include to Signed-off-by: Thomas Peta

[v4l-utils 2/5] utils: Properly use ENABLE_NLS for locale related code

2015-11-03 Thread Thomas Petazzoni
such functions are not available due to not being included. In order to fix this, we add ENABLE_NLS conditionals around the calls to these functions. Signed-off-by: Thomas Petazzoni --- utils/dvb/dvb-fe-tool.c| 2 ++ utils/dvb/dvb-format-convert.c | 2 ++ utils/dvb/dvbv5-scan.c

[v4l-utils 5/5] dvb/keytable: fix missing libintl linking

2015-11-03 Thread Thomas Petazzoni
From: Peter Seiderer Signed-off-by: Peter Seiderer --- utils/dvb/Makefile.am | 8 utils/keytable/Makefile.am | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/utils/dvb/Makefile.am b/utils/dvb/Makefile.am index 6aae408..a96a1a2 100644 --- a/utils/dvb/Makefile.a

[v4l-utils 0/5] Misc build fixes

2015-11-03 Thread Thomas Petazzoni
library (which is what happens the uClibc C library is used). Thanks, Thomas Peter Seiderer (1): dvb/keytable: fix missing libintl linking Thomas Petazzoni (4): libv4lsyscall-priv.h: Use off_t instead of __off_t utils: Properly use ENABLE_NLS for locale related code utils/v4l2-compliance

Re: [PATCH 08/10] ARM: orion: use clkdev_create()

2015-03-03 Thread Thomas Petazzoni
;.0"); + clkdev_create(tclk, NULL, "%s", MV643XX_ETH_NAME ".1"); + clkdev_create(tclk, NULL, "%s", MV643XX_ETH_NAME ".2"); + clkdev_create(tclk, NULL, "%s", MV643XX_ETH_NAME ".3"); + clkdev_create(tclk, NULL, "%s"

Re: cx231xx: possible circular locking dependency detected on 3.2

2012-01-07 Thread Thomas Petazzoni
Le Fri, 6 Jan 2012 22:42:31 +0100, Thomas Petazzoni a écrit : > Hello, > > I'm running the Hauppauge USB-Live 2 device on an ARM OMAP3 platform. > After loading the cx231xx driver and launching v4l2grab, I immediately > get: > > [ 407.087158] cx231xx #0: setPower

[PATCH] em28xx: simplify argument passing to em28xx_init_dev()

2012-01-07 Thread Thomas Petazzoni
The 'struct em28xx *' pointer was passed by reference to the em28xx_init_dev() function, for no reason. Instead, just pass it by value, which is much more logical and simple. Signed-off-by: Thomas Petazzoni --- drivers/media/video/em28xx/em28xx-cards.c |5 ++--- 1 files

[PATCH 1/4] cx231xx: use URB_NO_TRANSFER_DMA_MAP on URBs allocated with usb_alloc_urb()

2012-01-07 Thread Thomas Petazzoni
list in the past: http://www.mail-archive.com/linux-media@vger.kernel.org/msg37086.html. Signed-off-by: Thomas Petazzoni --- drivers/media/video/cx231xx/cx231xx-audio.c |4 ++-- drivers/media/video/cx231xx/cx231xx-core.c |4 ++-- drivers/media/video/cx231xx/cx231xx-vbi.c |2 +- 3

[PATCH 4/4] cx231xx: simplify argument passing to cx231xx_init_dev()

2012-01-07 Thread Thomas Petazzoni
The 'struct cx231xx *' pointer was passed by reference to the cx231xx_init_dev() function, for no reason. Instead, just pass it by value, which is much more logical and simple. Signed-off-by: Thomas Petazzoni --- drivers/media/video/cx231xx/cx231xx-cards.c |5 ++--- 1 files

[PATCH 3/4] cx231xx: remove useless 'lif' variable in cx231xx_usb_probe()

2012-01-07 Thread Thomas Petazzoni
Now that we set the intfdata on the right interface, the 'lif' variable is useless. Signed-off-by: Thomas Petazzoni --- drivers/media/video/cx231xx/cx231xx-cards.c |7 --- 1 files changed, 0 insertions(+), 7 deletions(-) diff --git a/drivers/media/video/cx231xx/cx231xx-

[PATCH 2/4] cx231xx: fix crash after load/unload/load of module

2012-01-07 Thread Thomas Petazzoni
/unloading/reloading the driver allows to use the device properly. Signed-off-by: Thomas Petazzoni --- drivers/media/video/cx231xx/cx231xx-cards.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/media/video/cx231xx/cx231xx-cards.c b/drivers/media/video/cx231x

cx231xx: possible circular locking dependency detected on 3.2

2012-01-06 Thread Thomas Petazzoni
[] (do_vfs_ioctl+0x7c/0x584) from [] (sys_ioctl+0x74/0x7c) [ 407.492004] [] (sys_ioctl+0x74/0x7c) from [] (ret_fast_syscall+0x0/0x3c) [ 407.500915] cx231xx #0: cx231xx_stop_stream():: ep_mask = 8 Best regards, Thomas Petazzoni -- Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and

Re: EasyCAP with identifiers

2011-12-22 Thread Thomas Petazzoni
ly the same externally, the hardware inside is completely different and is not supported by the easycap driver in drivers/staging. Regards, Thomas -- Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com -

Re: cx231xx: DMA problem on ARM

2011-09-26 Thread Thomas Petazzoni
ese, or a simple OpenCV based application to test the V4L2 device on our ARM platform, and I have no idea which capture method those are using. Is there a very simple V4L test application that we could use to hack the buffer unmap/remap trick you're suggesting as a test ? Regards, Tho

Re: cx231xx: DMA problem on ARM

2011-09-26 Thread Thomas Petazzoni
this is related to the power manager anymore. It can > be related to cache coherency and/or to iommu support. As you suspected, increasing PWR_SLEEP_INTERVAL didn't change anything. What do you suggest to track down the potential cache coherency issues ? Best regards, Thomas -- Thomas Peta

Re: cx231xx: DMA problem on ARM

2011-09-24 Thread Thomas Petazzoni
sure if > anybody had tried already. Seems like nobody ever tried to use this device on an ARM platform, unfortunately. Regards, Thomas -- Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com --

Re: cx231xx: DMA problem on ARM

2011-09-23 Thread Thomas Petazzoni
Hello Devin, Le Thu, 22 Sep 2011 17:29:29 +0200, Thomas Petazzoni a écrit : > I guess you're talking about 44ecf1df9493e6684cd1bb34abb107a0ffe1078a, > which ensures a 10ms msleep call. We don't have this patch, but as with > CONFIG_HZ=100, msleep() calls are anyway rounded

Re: cx231xx: DMA problem on ARM

2011-09-22 Thread Thomas Petazzoni
lso try with that one. > If you cannot find it, let me know and I will dig around my archives > and find it for you (I'm actually at work right now so it would be > inopportune for me to do it right this minute). :-) Thanks for your very quick feedback! Thomas -- Thomas Petazzoni

Re: cx231xx: DMA problem on ARM

2011-09-22 Thread Thomas Petazzoni
ve any idea of where to look at for the above problems? Thanks! Thomas -- Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com -- To unsubscribe from this list: send the line "unsubscribe linux-med

Re: cx231xx: DMA problem on ARM

2011-09-21 Thread Thomas Petazzoni
g to work. Please > try that out, and assuming it works feel free to submit a patch which > can be included upstream. Ok, we'll try this out and report the results, and if those are positive, the corresponding patch. Regards, Thomas -- Thomas Petazzoni, Free Electrons Kernel, dr

cx231xx: DMA problem on ARM

2011-09-21 Thread Thomas Petazzoni
ely different ? Thanks! Thomas [1] https://github.com/torvalds/linux/commit/992299e84a4891275ea5924e30b66ce39a701e5e#drivers/media/video/cx231xx -- Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com --

Re: Using atmel-isi for direct output on framebuffer ?

2011-09-02 Thread Thomas Petazzoni
would > advice using USERPTR with framebuffer memory. Could you give a short summary of how the USERPTR mechanism works? Thanks, Thomas -- Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com -- To

Re: Using atmel-isi for direct output on framebuffer ?

2011-09-02 Thread Thomas Petazzoni
river interacts with the framebuffer driver to output the camera image into the framebuffer. > For V4L2_CAP_VIDEO_OVERLAY type driver, I don't know much about that. Hum, ok, found http://v4l2spec.bytesex.org/spec/x6570.htm which seems to explain a bit the userspace interface for this.

Using atmel-isi for direct output on framebuffer ?

2011-09-01 Thread Thomas Petazzoni
ures. Is this possible ? If so, could you provide some pointers or starting points to get me started ? If not, what is missing in the driver ? Thanks a lot, Thomas -- Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and suppor