Re: [PATCH 2.6.39] soc_camera: OMAP1: fix missing bytesperline and sizeimage initialization

2011-04-12 Thread Guennadi Liakhovetski
Hi On Tue, 12 Apr 2011, Kassey Lee wrote: hi, Guennadi: a lot of sensors support JPEG output. 1) bytesperline is defined by sensor timing. 2) and sizeimage is unknow for jpeg. how about for JPEG 1) host driver gets bytesperline from sensor driver. 2) sizeimage

Re: OMAP3 isp single-shot

2011-04-12 Thread Daniel Lundborg
Hi Laurent, On Friday 25 March 2011 14:10:28 Daniel Lundborg wrote: On Thursday 24 March 2011 11:26:01 Daniel Lundborg wrote: [snip] I can see on the oscilloscope that the sensor is sending something when I trigger it, but no picture is received.. something is a bit

Re: [PATCH 2.6.39] soc_camera: OMAP1: fix missing bytesperline and sizeimage initialization

2011-04-12 Thread Sylwester Nawrocki
Hi, On 04/12/2011 08:28 AM, Guennadi Liakhovetski wrote: Hi On Tue, 12 Apr 2011, Kassey Lee wrote: hi, Guennadi: a lot of sensors support JPEG output. 1) bytesperline is defined by sensor timing. Im not sure whether this is the case. Doesn't bytesperline refer only to the data

Re: [PATCH 2.6.39] soc_camera: OMAP1: fix missing bytesperline and sizeimage initialization

2011-04-12 Thread Kassey Lee
2011/4/12 Kassey Lee kassey1...@gmail.com: Hi, Guennadi;           for sizeimage , I agree with you. that we can overwrite it after a frame is done.    for byteperline: on Marvell soc.    it needs to know the bytesperline before receive frame from sensor.    what we did now is hardcode  in

Re: [RFCv1 PATCH 4/9] v4l2-ctrls: add per-control events.

2011-04-12 Thread Sakari Ailus
Hi Hans, Hans Verkuil wrote: [clip] diff --git a/drivers/media/video/v4l2-fh.c b/drivers/media/video/v4l2-fh.c index 8635011..c6aef84 100644 --- a/drivers/media/video/v4l2-fh.c +++ b/drivers/media/video/v4l2-fh.c @@ -93,10 +93,8 @@ void v4l2_fh_exit(struct v4l2_fh *fh) { if (fh-vdev

Re: [PATCH 2.6.39] soc_camera: OMAP1: fix missing bytesperline and sizeimage initialization

2011-04-12 Thread Guennadi Liakhovetski
On Tue, 12 Apr 2011, Kassey Lee wrote: 2011/4/12 Kassey Lee kassey1...@gmail.com: Hi, Guennadi;           for sizeimage , I agree with you. that we can overwrite it after a frame is done.    for byteperline: on Marvell soc.    it needs to know the bytesperline before receive frame

Re: [PATCH 2.6.39] soc_camera: OMAP1: fix missing bytesperline and sizeimage initialization

2011-04-12 Thread Kassey Lee
Yes, thank you very much! 2011/4/12 Guennadi Liakhovetski g.liakhovet...@gmx.de: On Tue, 12 Apr 2011, Kassey Lee wrote: 2011/4/12 Kassey Lee kassey1...@gmail.com: Hi, Guennadi;           for sizeimage , I agree with you. that we can overwrite it after a frame is done.    for

Re: [PATCH 0/2] V4L: Extended crop/compose API, ver2

2011-04-12 Thread Laurent Pinchart
Hi Hans, Tomasz, On Monday 11 April 2011 12:42:10 Tomasz Stanislawski wrote: Hans Verkuil wrote: On Wednesday, April 06, 2011 10:44:17 Tomasz Stanislawski wrote: Hello everyone, This patch-set introduces new ioctls to V4L2 API. The new method for configuration of cropping and

[PATCH v3] v4l: Add v4l2 subdev driver for S5P/EXYNOS4 MIPI-CSI receivers

2011-04-12 Thread Sylwester Nawrocki
Add the subdev driver for the MIPI CSIS units available in S5P and Exynos4 SoC series. This driver supports both CSIS0 and CSIS1 MIPI-CSI2 receivers. The driver requires Runtime PM to be enabled for proper operation. Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com Signed-off-by: Kyungmin

Prolink PixelView PlayTV D235U (DVB-T USB)

2011-04-12 Thread Mikhail Ramendik
Hello, Is there any way to find out whether the Prolink PixelView PlayTV D235U DVB-T USB device is supported in Linux? http://www.linuxtv.org/wiki/index.php/DVB-T_USB_Devices only has the Prolink Pixelview SBTVD; according to the Prolink website that is the D231U model. I wonder if these use the

[PATCH] media: fsl_viu: fix bug in streamon routine

2011-04-12 Thread Anatolij Gustschin
Currently video capturing using streaming I/O method doesn't work if capturing to overlay buffer took place before. When enabling the stream we have to check the overlay enable driver flag and reset it so that the interrupt handler won't execute the overlay interrupt path after enabling DMA in

Re: Antwort: Re: [PATCH 1/2] mt9v022: fix pixel clock

2011-04-12 Thread Teresa Gamez
Am Freitag, den 08.04.2011, 15:27 +0200 schrieb Teresa Gamez: Hello Guennadi, Am Donnerstag, den 07.04.2011, 14:41 +0200 schrieb Guennadi Liakhovetski: Hello Teresa On Thu, 7 Apr 2011, Teresa Gamez wrote: Hello Guennadi, the datasheet also says (see table 3): quote

Re: [PATCH] tm6000: fix vbuf may be used uninitialized (Dmitri please read)

2011-04-12 Thread Dan Carpenter
On 4/11/11, Jarod Wilson ja...@wilsonet.com wrote: So I was just circling back around on this one, and took some time to read the actual code and the radio support addition. After doing so, I don't see why the patch I proposed wouldn't do. The buffer is only manipulated if !dev-radio or if

Re: [PATCHES] Misc. trivial fixes

2011-04-12 Thread Andreas Oberritter
On 04/12/2011 04:10 AM, Robby Workman wrote: --- a/Make.rules +++ b/Make.rules @@ -11,6 +11,7 @@ PREFIX = /usr/local LIBDIR = $(PREFIX)/lib # subdir below LIBDIR in which to install the libv4lx libc wrappers LIBSUBDIR = libv4l +MANDIR = /usr/share/man Why did you hardcode /usr instead

RFQ3133:P/N: cxd2820 Q-ty: 10000 pcs

2011-04-12 Thread Gintare
If you reply to this e-mail, please don't change the subject line content!!! Thank you in advance. Dear Sales, We are looking for the following: P/N: cxd2820 Q-ty: 1 pcs pls advise your best price. Pls advise the approximate shipping weight and delivery time. I appreciate your feedback.

Re: [PATCH] v4l: Don't register media entities for subdev device nodes

2011-04-12 Thread Sakari Ailus
Laurent Pinchart wrote: Subdevs already have their own entity, don't register as second one when registering the subdev device node. Thanks for the patch! Acked-by: Sakari Ailus sakari.ai...@maxwell.research.nokia.com Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com ---

[GIT PULL FOR 2.6.39] MC, V4L2 and OMAP3 ISP fixes

2011-04-12 Thread Laurent Pinchart
Hi Mauro, The following changes since commit 28df73703e738d8ae7a958350f74b08b2e9fe9ed: [media] xc5000: Improve it to work better with 6MHz-spaced channels (2011-03-28 15:49:28 -0300) are available in the git repository at: git://linuxtv.org/pinchartl/media.git omap3isp-next-omap3isp Those

Re: [RFCv1 PATCH 4/9] v4l2-ctrls: add per-control events.

2011-04-12 Thread Hans Verkuil
Hi Hans, Hans Verkuil wrote: + union { + __s32 value; + __s64 value64; + }; +} __attribute__ ((packed)); + struct v4l2_event { __u32 type; union { struct v4l2_event_vsync vsync; + struct

Re: [PATCHES] Misc. trivial fixes

2011-04-12 Thread Robby Workman
On Tue, 12 Apr 2011, Andreas Oberritter wrote: On 04/12/2011 04:10 AM, Robby Workman wrote: --- a/Make.rules +++ b/Make.rules @@ -11,6 +11,7 @@ PREFIX = /usr/local LIBDIR = $(PREFIX)/lib # subdir below LIBDIR in which to install the libv4lx libc wrappers LIBSUBDIR = libv4l +MANDIR =

Re: [PATCH] V4L: soc-camera: regression fix: calculate .sizeimage in soc_camera.c

2011-04-12 Thread Aguirre, Sergio
On Mon, Apr 11, 2011 at 4:52 PM, Janusz Krzysztofik jkrzy...@tis.icnet.pl wrote: Dnia poniedziałek 11 kwiecień 2011 o 22:05:35 Aguirre, Sergio napisał(a): Please find below a refreshed patch, which should be based on mainline commit: Hi, This version works for me, and fixes the regression.

Re: [PATCH 0/2] V4L: Extended crop/compose API, ver2

2011-04-12 Thread Tomasz Stanislawski
Hi Laurent, Thank you for your comments. Hi Hans, Tomasz, On Monday 11 April 2011 12:42:10 Tomasz Stanislawski wrote: Hans Verkuil wrote: On Wednesday, April 06, 2011 10:44:17 Tomasz Stanislawski wrote: Hello everyone, This patch-set introduces new ioctls to V4L2 API. The new method

Re: cx231xx: add support for Kworld..

2011-04-12 Thread Jarod Wilson
On Apr 11, 2011, at 6:57 PM, Márcio Alves wrote: patch to cx231xx: add support for Kworld UB430 Signed-off-by: Márcio A Alves fr...@gmail.com diff -upr ../new_build2/linux//drivers/media/dvb/dvb-usb/dvb-usb-ids.h linux//drivers/media/dvb/dvb-usb/dvb-usb-ids.h ---

Genius webcam problem on ARM

2011-04-12 Thread Zdeněk Materna
Hello, I have problem with UVC webcam. It's Genius Facecam 1000. I would like to use it with mjpg-streamer. Before this model, I had Facecam 1320, but it wasn't mjpeg capable, so mjpg-streamer had to do jpeg compresion and it was quite slow. Facecam 1000 can provide mjpg stream by itself and it

Re: [PATCH] V4L: soc-camera: regression fix: calculate .sizeimage in soc_camera.c

2011-04-12 Thread Janusz Krzysztofik
Dnia wtorek 12 kwiecień 2011 o 17:39:35 Aguirre, Sergio napisał(a): On Mon, Apr 11, 2011 at 4:52 PM, Janusz Krzysztofik jkrzy...@tis.icnet.pl wrote: Dnia poniedziałek 11 kwiecień 2011 o 22:05:35 Aguirre, Sergio napisał(a): Please find below a refreshed patch, which should be based on

Re: [PATCH] V4L: soc-camera: regression fix: calculate .sizeimage in soc_camera.c

2011-04-12 Thread Aguirre, Sergio
2011/4/12 Janusz Krzysztofik jkrzy...@tis.icnet.pl: Dnia wtorek 12 kwiecień 2011 o 17:39:35 Aguirre, Sergio napisał(a): On Mon, Apr 11, 2011 at 4:52 PM, Janusz Krzysztofik jkrzy...@tis.icnet.pl wrote: Dnia poniedziałek 11 kwiecień 2011 o 22:05:35 Aguirre, Sergio napisał(a): Please find

Re: Genius webcam problem on ARM

2011-04-12 Thread Zdeněk Materna
Hello again, now I discovered, that it's possible to change module parameters even if they are compiled in kernel... So I did: echo 2 /sys/module/uvcvideo/parameters/quirks And v4l example now ends like this: VIDIOC_S_FMT error 28, No space left on device Error No space left indicates

Re: Genius webcam problem on ARM

2011-04-12 Thread Zdeněk Materna
Hello, I'm sorry for another mail. It works with quirks 128 and uncompressed YUV format. Is there any way how to use compressed MJPEG? Should I try compile never uvcvideo driver? Dne 12. dubna 2011 18:55 Zdeněk Materna zdenek.mate...@gmail.com napsal(a): Hello again, now I discovered, that

[cron job] v4l-dvb daily build: ERRORS

2011-04-12 Thread Hans Verkuil
This message is generated daily by a cron job that builds v4l-dvb for the kernels and architectures in the list below. Results of the daily build of v4l-dvb: date:Tue Apr 12 19:00:30 CEST 2011 git hash:d9954d8547181f9a6a23f835cc1413732700b785 gcc version: i686-linux-gcc (GCC)

[PATCH v2] tm6000: fix vbuf may be used uninitialized

2011-04-12 Thread Jarod Wilson
In commit 8aff8ba95155df, most of the manipulations to vbuf inside copy_streams were gated on if !dev-radio, but one place that touches vbuf lays outside those gates -- a memcpy of vbuf isn't NULL. If we initialize vbuf to NULL, that memcpy will never happen in the case where we do have dev-radio,

Re: [RFC] V4L2 API for flash devices

2011-04-12 Thread Sung Hee Park
Here are two more use-cases for flash that might help inform the API design. Sakari encouraged me to post these. The person writing this is Andrew Adams, but I'm sending this from Sung Hee's account, because I only just subscribed to linux-media and can't immediately figure out how to reply to

[RFC PATCH] input: add KEY_IMAGES specifically for AL Image Browser

2011-04-12 Thread Jarod Wilson
Many media center remotes have buttons intended for jumping straight to one type of media browser or another -- commonly, images/photos/pictures, audio/music, television, and movies. At present, remotes with an images or photos or pictures button use any number of different keycodes which sort of

[PATCH 0/2] [media] nuvoton-cir: support more hardware variants

2011-04-12 Thread Jarod Wilson
There are some additional Nuvoton LPC Super I/O chips that report the PNP device ID the nuvoton-cir driver binds to, and we *should* be able to support them all. This gets us closer... Jarod Wilson (2): [media] rc/nuvoton-cir: only warn about unknown chips [media] rc/nuvoton-cir: enable CIR

[PATCH 1/2] [media] rc/nuvoton-cir: only warn about unknown chips

2011-04-12 Thread Jarod Wilson
There are additional chip IDs that report a PNP ID of NTN0530, which we were refusing to load on. Instead, lets just warn if we encounter an unknown chip, as there's a chance it will work just fine. Also, expand the list of known hardware to include both an earlier and a later generation chip

[PATCH 2/2] [media] rc/nuvoton-cir: enable CIR on w83667hg chip variant

2011-04-12 Thread Jarod Wilson
Thanks to some excellent investigative work by Douglas Clowes, it was uncovered that the older w83667hg Nuvoton chip functions with this driver after actually enabling the CIR function via its multi-function chip config register. The already-supported w83677hg hardware has CIR enabled out of the

Re: [RFC PATCH] input: add KEY_IMAGES specifically for AL Image Browser

2011-04-12 Thread Andy Walls
Jarod Wilson ja...@redhat.com wrote: Many media center remotes have buttons intended for jumping straight to one type of media browser or another -- commonly, images/photos/pictures, audio/music, television, and movies. At present, remotes with an images or photos or pictures button use any

Re: [RFC PATCH] input: add KEY_IMAGES specifically for AL Image Browser

2011-04-12 Thread Jarod Wilson
Andy Walls wrote: Jarod Wilsonja...@redhat.com wrote: Many media center remotes have buttons intended for jumping straight to one type of media browser or another -- commonly, images/photos/pictures, audio/music, television, and movies. At present, remotes with an images or photos or pictures

[PATCH 2.6.39 v2] V4L: videobuf-dma-contig: fix mmap_mapper broken on ARM

2011-04-12 Thread Janusz Krzysztofik
After switching from mem-dma_handle to virt_to_phys(mem-vaddr) used for obtaining page frame number passed to remap_pfn_range() (commit 35d9f510b67b10338161aba6229d4f55b4000f5b), videobuf-dma-contig stopped working on my ARM based board. The ARM architecture maintainer, Russell King, confirmed

Re: [RFC PATCH] input: add KEY_IMAGES specifically for AL Image Browser

2011-04-12 Thread Dmitry Torokhov
On Tuesday, April 12, 2011 02:00:53 PM Jarod Wilson wrote: Andy Walls wrote: Jarod Wilsonja...@redhat.com wrote: Many media center remotes have buttons intended for jumping straight to one type of media browser or another -- commonly, images/photos/pictures, audio/music, television,

Re: [RFC PATCH] input: add KEY_IMAGES specifically for AL Image Browser

2011-04-12 Thread Jarod Wilson
Dmitry Torokhov wrote: On Tuesday, April 12, 2011 02:00:53 PM Jarod Wilson wrote: Andy Walls wrote: Jarod Wilsonja...@redhat.com wrote: Many media center remotes have buttons intended for jumping straight to one type of media browser or another -- commonly, images/photos/pictures,

Re: [PATCH 2.6.39 v2] V4L: videobuf-dma-contig: fix mmap_mapper broken on ARM

2011-04-12 Thread Russell King - ARM Linux
On Tue, Apr 12, 2011 at 11:06:34PM +0200, Janusz Krzysztofik wrote: The patch tries to solve this regression by using virt_to_phys(bus_to_virt(mem-dma_handle)) instead of problematic virt_to_phys(mem-vaddr). Who says that DMA handles are bus addresses in the strictest sense? DMA handles on

em28xx: idVendor=eb1a, idProduct=e301

2011-04-12 Thread port20031
Hi, I've made tests with my board: Model: Kaiomy TVnPC U2 http://www.kaiomy.com/products_feat.aspx?id=56 idVendor=eb1a, idProduct=e301 uname -r 2.6.35.12-88.fc14.i686.PAE -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to

Re: em28xx: idVendor=eb1a, idProduct=e301

2011-04-12 Thread Douglas Schilling Landgraf
Hi, port20031 wrote: Hi, I've made tests with my board: Model: Kaiomy TVnPC U2 http://www.kaiomy.com/products_feat.aspx?id=56 idVendor=eb1a, idProduct=e301 uname -r 2.6.35.12-88.fc14.i686.PAE What happened? You can share the dmesg as well. Cheers Douglas -- To unsubscribe from this

Re: [PATCH 2.6.39 v2] V4L: videobuf-dma-contig: fix mmap_mapper broken on ARM

2011-04-12 Thread Theodore Kilgore
On Tue, 12 Apr 2011, Russell King - ARM Linux wrote: On Tue, Apr 12, 2011 at 11:06:34PM +0200, Janusz Krzysztofik wrote: The patch tries to solve this regression by using virt_to_phys(bus_to_virt(mem-dma_handle)) instead of problematic virt_to_phys(mem-vaddr). Who says that DMA

[soc_camera] Dynamic crop window change while streaming (Zoom case)?

2011-04-12 Thread Aguirre, Sergio
Hi Guennadi, I was wondering what's the stand on allowing soc_camera host drivers to have internal scalers... It looks possible, but however I see one important blocker for being able to change window rectangle while streaming (for example, when attempting to do zoom in/out during streaming).

[PATCH dvb-apps] Avoid buffer overflow with UTF-8 32-bit strings

2011-04-12 Thread Mauro Carvalho Chehab
As Winfried handygewinnsp...@gmx.de pointed, me UTF-8 can have up to 32 bits. Also, someone might want to convert data to UCS-4, So, the buffer need to have 4 bytes per char, to be safe. Signed-off-by: Mauro Carvalho Chehab mche...@redhat.com diff --git a/util/scan/scan.c b/util/scan/scan.c

[PATCH dvb-utils] Use ISO6937 instead of ISO-6937

2011-04-12 Thread Mauro Carvalho Chehab
Altrough iconv seems to recognize also ISO-6937, and scan uses its own table for it, as iconv --list shows it as ISO6937, use the name provided by iconv. Thanks to Winfried handygewinnsp...@gmx.de to point this issue to me. While here, improve the help message for the -C parameter, and show the

[PATCH dvb-apps] Allow LANG/LC_TYPE with @ symbol

2011-04-12 Thread Mauro Carvalho Chehab
According to IEEE Std 1003.1[1], the common way to specify LANG/LC_TYPE is: language[_territory][.codeset] However, a variant may also be used, like: [language[_territory][.codeset][@modifier]] Change the logic to allow getting the charset also with the extended syntax. [1]