Re: Linux V4L2 support dual stream video capture device

2010-09-15 Thread Hans Verkuil
On Wednesday, September 15, 2010 07:57:22 Kim, HeungJun wrote: Hi Laurent, and Hans, I checked media frameworks, it was helpful for me, but It's not usable on my case. Because, before defining the device for using media frameworks, the device must be defined by some other device like FB,

RE: how can deal with the stream in only on-the-fly-output available HW block??

2010-09-15 Thread Kim, HeungJun
Sorry, I miss sending msg into any other thread. Send with the right thread, Again. Thanks, HeungJun Kim -- Hi Laurent, and Hans, I checked media frameworks, it was helpful for me, but It's not usable on

Re: Leadtek DTV2000DS remote

2010-09-15 Thread Gregory Orange
Shall I assume that noone has had any experience with one of these devices? From some input from other sources, I'm now not sure if I lack a kernel module, or perhaps the firmware for this device isn't supported (or somesuch - a bit confused on that). In any case, pretty well everything is now

RE: how can deal with the stream in only on-the-fly-output available HW block??

2010-09-15 Thread Kim, HeungJun
Hi Hans, I mistake to send msg on the wrong threads, and also there is mis- understanding cause of a lack of my explanation about this. so I wanna fix up the agenda about this on this thread, again. Yes, there is. You missed the important part about how the media framework models sub-devices.

Re: [PATCH v1 7/7] v4l: videobuf2: add CMA allocator

2010-09-15 Thread han jonghun
Hello, In vb2_cma_put if buf-refcount is 0, cma_free is called. But vb2_cma_put is usually called from munmap. In my opinion cma_free should be called from VIDIOC_REQBUFS(0) not munmap. BRs, 2010/9/9 Pawel Osciak p.osc...@samsung.com: Add support for the CMA contiguous memory allocator to

Re: [PATCH v9 1/4] V4L2: Add seek spacing and FM RX class.

2010-09-15 Thread Matti J. Aaltonen
Hello. On Wed, 2010-09-08 at 20:35 +0200, ext Mauro Carvalho Chehab wrote: + case V4L2_CID_FM_BAND: return FM Band; There's no need for a FM control, as there's already an ioctl pair that allows get/set the frequency bandwidth: VIDIOC_S_TUNER and VIDIOC_G_TUNER. So,

Re: [linux-dvb] DSM-CC question

2010-09-15 Thread Simon Kilvington
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 also have a look at my rb-download code, http://redbutton.sourceforge.net/ this gets around the problem of having to know the directory structure before you download files by using symlinks - ie you download the files as they arrive on the carousel,

Re: [PATCH] firedtv driver: support for PSK8 for S2 devices. To watch HD.

2010-09-15 Thread Stefan Richter
Tommy Jonsson wrote at linux-media: This is the first i have ever developed for linux, cant really wrap my head around how to submit this.. Hope im sending this correctly, diff made with 'hg diff' from latest hg clone http://linuxtv.org/hg/v4l-dvb; It adds support for tuning with PSK8

Re: [PATCH] firedtv driver: support for PSK8 for S2 devices. To watch HD.

2010-09-15 Thread Stefan Richter
Tommy Jonsson wrote: --- a/linux/drivers/media/dvb/firewire/firedtv-avc.c Fri Sep 03 00:28:05 2010 -0300 +++ b/linux/drivers/media/dvb/firewire/firedtv-avc.c Sun Sep 12 06:52:02 2010 +0200 [...] @@ -368,10 +369,30 @@ c-operand[12] = 0; if (fdtv-type ==

Re: pwc driver breakage in recent(ish) kernels (for old hardware)

2010-09-15 Thread Hans Verkuil
Hi everyone, I've been using a Logitech Sphere for years on various projects. This model is probably from the first batch ever made. In lsusb it shows up as 046d:08b5 Logitech, Inc. QuickCam Sphere It's a bit troublesome, because on older kernel versions (~2.4.x, ~2.6.2x) I never had a

Re: pwc driver breakage in recent(ish) kernels (for old hardware)

2010-09-15 Thread Devin Heitmueller
On Wed, Sep 15, 2010 at 11:59 AM, Hans Verkuil hverk...@xs4all.nl wrote: You're in luck. I fixed this last weekend. It turns out that the /dev/videoX device is created too soon and the HAL daemon starts to use it immediately causing some initialization to go wrong or something like that.

Re: [PATCH] firedtv driver: support for PSK8 for S2 devices. To watch HD.

2010-09-15 Thread Tommy Jonsson
Nice, thanks! I used gmail, never used a mailing-list or dealt with patches before. Never developed or even looked at the Linux source, so there might be some strangeness in the code :] I recently fixed a server-box and started using TvHeadend. Noticed that the psk8 didn't work, so i put the card

Re: [GIT PATCHES FOR 2.6.37] Remove V4L1 support from the pwc driver

2010-09-15 Thread Hans Verkuil
On Sunday, September 12, 2010 22:26:11 Hans Verkuil wrote: Thanks to Hans de Goede for supplying me with a Philips webcam to test this driver with! And other news on the V4L1 front: I have since learned that the stradis driver has only ever worked for kernel 2.2. I did contact the

Re: [PATCH] firedtv driver: support for PSK8 for S2 devices. To watch HD.

2010-09-15 Thread Tommy Jonsson
Oh, read the first question a bit wrong, yeah i have missed the default case for 14 15. Should probably be AUTO/35 AUTO/OFF. On Wed, Sep 15, 2010 at 1:58 PM, Stefan Richter stef...@s5r6.in-berlin.de wrote: Tommy Jonsson wrote: --- a/linux/drivers/media/dvb/firewire/firedtv-avc.c  Fri Sep 03

Re: Fw: [linux-dvb] DSM-CC question

2010-09-15 Thread Peter Evertz
Or take a look at mhp or dsmcc plugins for vdr. Both not activ projects, but both have a dsmcc implementation. Are you working on a hbbtv solution ? Simon Liddicott schrieb: Have you had a look at the code for redbutton? http://redbutton.sourceforge.net/ Si On 14 September 2010 21:32,

[GIT PATCHES FOR 2.6.37] Remove v4l2-i2c-drv.h and most of i2c-id.h

2010-09-15 Thread Hans Verkuil
Mauro, Jean, Janne, This patch series finally retires the hackish v4l2-i2c-drv.h. It served honorably, but now that the hg repository no longer supports kernels 2.6.26 it is time to remove it. Note that this patch series builds on the vtx-removal patch series. Several patches at the end remove

Re: Leadtek DTV2000DS remote

2010-09-15 Thread Antti Palosaari
Leadtek WinFast DTV2000DS remote is not supported at all. Leadtek WinFast DTV Dongle Gold remote is. If you can compile and install latest drivers from http://git.linuxtv.org/anttip/media_tree.git af9015 tree I can add support for that remote rather easily. Antti On 09/15/2010 10:45 AM,

Re: [PATCH v1 1/7] v4l: add videobuf2 Video for Linux 2 driver framework

2010-09-15 Thread Pawel Osciak
Hello Mauro, Thank you for the review. Please see my responses inline. Please also note that my e-mail address has changed. On 09/09/2010 07:29 PM, Mauro Carvalho Chehab wrote: Em 09-09-2010 06:19, Pawel Osciak escreveu: Videobuf2 is a Video for Linux 2 API-compatible driver framework for

Re: [PATCH v1 7/7] v4l: videobuf2: add CMA allocator

2010-09-15 Thread Pawel Osciak
Hello, On 09/15/2010 10:55 AM, han jonghun wrote: Hello, In vb2_cma_put if buf-refcount is 0, cma_free is called. But vb2_cma_put is usually called from munmap. In my opinion cma_free should be called from VIDIOC_REQBUFS(0) not munmap. cma_free has to be called from both, since we do not

Re: [PATCH 5/6] Input: ati-remote2 - switch to using new keycode interface

2010-09-15 Thread Ville Syrjälä
On Mon, Sep 13, 2010 at 09:28:07AM -0700, Dmitry Torokhov wrote: On Thu, Sep 09, 2010 at 03:40:04PM +0300, Ville Syrjälä wrote: On Wed, Sep 08, 2010 at 12:42:05AM -0700, Dmitry Torokhov wrote: Switch the code to use new style of getkeycode and setkeycode methods to allow retrieving and

Re: [PATCH 5/6] Input: ati-remote2 - switch to using new keycode interface

2010-09-15 Thread Dmitry Torokhov
On Thu, Sep 16, 2010 at 12:04:19AM +0300, Ville Syrjälä wrote: On Mon, Sep 13, 2010 at 09:28:07AM -0700, Dmitry Torokhov wrote: On Thu, Sep 09, 2010 at 03:40:04PM +0300, Ville Syrjälä wrote: On Wed, Sep 08, 2010 at 12:42:05AM -0700, Dmitry Torokhov wrote: Switch the code to use new style

[PATCH] V4L/DVB: v4l: fsl-viu.c: add slab.h include to fix compile breakage

2010-09-15 Thread Anatolij Gustschin
mpc512x kernel configurations without SPI support do not build: drivers/media/video/fsl-viu.c: In function 'viu_open': drivers/media/video/fsl-viu.c:1248: error: implicit declaration of function 'kzalloc' drivers/media/video/fsl-viu.c:1248: warning: assignment makes pointer from integer without

[PATCH] drivers/media/video/ivtv/ivtvfb.c: prevent reading uninitialized stack memory

2010-09-15 Thread Dan Rosenberg
The FBIOGET_VBLANK device ioctl allows unprivileged users to read 16 bytes of uninitialized stack memory, because the reserved member of the fb_vblank struct declared on the stack is not altered or zeroed before being copied back to the user. This patch takes care of it. Signed-off-by: Dan

[PATCH 1/8] V4L/DVB: radio-si470x: remove the BKL lock used internally at the driver

2010-09-15 Thread Mauro Carvalho Chehab
diff --git a/drivers/media/radio/si470x/radio-si470x-usb.c b/drivers/media/radio/si470x/radio-si470x-usb.c index 5ec13e5..392e84f 100644 --- a/drivers/media/radio/si470x/radio-si470x-usb.c +++ b/drivers/media/radio/si470x/radio-si470x-usb.c @@ -517,7 +517,7 @@ int si470x_fops_open(struct file

[PATCH 3/8] V4L/DVB: bttv-driver: document functions using mutex_lock

2010-09-15 Thread Mauro Carvalho Chehab
There are a few ancillary static routines used by ioctl functions that takes bttv lock internally. As we'll be adding the same lock for all ioctl's that need, we need to properly document them, to avoid doing double locks Signed-off-by: Mauro Carvalho Chehab mche...@redhat.com diff --git

[PATCH 4/8] V4L/DVB: bttv: fix driver lock and remove explicit calls to BKL

2010-09-15 Thread Mauro Carvalho Chehab
Signed-off-by: Mauro Carvalho Chehab mche...@redhat.com diff --git a/drivers/media/video/bt8xx/bttv-driver.c b/drivers/media/video/bt8xx/bttv-driver.c index fcafe2f..5f5cd4a 100644 --- a/drivers/media/video/bt8xx/bttv-driver.c +++ b/drivers/media/video/bt8xx/bttv-driver.c @@ -1859,21 +1859,25 @@

[PATCH 5/8] V4L/DVB: bttv: use unlocked ioctl

2010-09-15 Thread Mauro Carvalho Chehab
Signed-off-by: Mauro Carvalho Chehab mche...@redhat.com diff --git a/drivers/media/video/bt8xx/bttv-driver.c b/drivers/media/video/bt8xx/bttv-driver.c index 5f5cd4a..8d1b222 100644 --- a/drivers/media/video/bt8xx/bttv-driver.c +++ b/drivers/media/video/bt8xx/bttv-driver.c @@ -3419,13 +3419,13 @@

[PATCH 2/8] V4L/DVB: radio-si470x: use unlocked ioctl

2010-09-15 Thread Mauro Carvalho Chehab
Signed-off-by: Mauro Carvalho Chehab mche...@redhat.com diff --git a/drivers/media/radio/si470x/radio-si470x-common.c b/drivers/media/radio/si470x/radio-si470x-common.c index 9927a59..61be988 100644 --- a/drivers/media/radio/si470x/radio-si470x-common.c +++

[PATCH 6/8] V4L/DVB: cx88: Remove BKL

2010-09-15 Thread Mauro Carvalho Chehab
Signed-off-by: Mauro Carvalho Chehab mche...@redhat.com diff --git a/drivers/media/video/cx88/cx88-blackbird.c b/drivers/media/video/cx88/cx88-blackbird.c index e46e1ce..ec32995 100644 --- a/drivers/media/video/cx88/cx88-blackbird.c +++ b/drivers/media/video/cx88/cx88-blackbird.c @@ -1057,7

Re: [PATCH] drivers/media/video/ivtv/ivtvfb.c: prevent reading uninitialized stack memory

2010-09-15 Thread Andy Walls
Acked-by: Andy Walls awa...@md.metrocast.net By tomorrow evening I'll put this in my repo and ask for Mauro to pull it. Regards, Andy Dan Rosenberg drosenb...@vsecurity.com wrote: The FBIOGET_VBLANK device ioctl allows unprivileged users to read 16 bytes of uninitialized stack memory, because

[PATCH 0/8] Removal of BKL part 1

2010-09-15 Thread Mauro Carvalho Chehab
This patch series remove direct calls for BKL on some V4L drivers. It also uses .unlocked_ioctl for some of those drivers. This is a work in progress, as I'm doing the conversion manually. We still need to touch on the drivers bellow, just due to explicit call to BKL:

HVR 1600 Distortion

2010-09-15 Thread Josh Borke
I've recently noticed some distortion coming from my hvr1600 when viewing analog channels. It happens to all analog channels with some slightly better than others. I am running Fedora 12 linux with kernel version 2.6.32.21-166. Output of lspci -v: 02:0a.0 Multimedia video controller: Conexant

[PATCH 0/4] IR/imon: split out mouse events and fix bugs

2010-09-15 Thread Jarod Wilson
These patches make the imon driver slightly less distasteful. The meat of the changes are from David's patch to split the IR mouse mode and panel/knob events out onto their own input device, leaving just IR keys to come through the IR device. This facilitates further abstraction of the ir/rc-core

[PATCH 1/4] IR: export ir_keyup so imon driver can use it directly

2010-09-15 Thread Jarod Wilson
From d31919ac08ba9a203bd673bbed18e78293ceaa68 Mon Sep 17 00:00:00 2001 From: Jarod Wilson ja...@redhat.com Date: Wed, 15 Sep 2010 14:31:12 -0400 Subject: [PATCH 1/4] IR: export ir_keyup so imon driver can use it directly MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8

[PATCH 2/4] imon: split mouse events to a separate input dev

2010-09-15 Thread Jarod Wilson
From 4ceb1642b756e7a11753c6fae645806d2514c54a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20H=C3=A4rdeman?= da...@hardeman.nu Date: Wed, 15 Sep 2010 14:42:07 -0400 Subject: [PATCH 2/4] imon: split mouse events to a separate input dev MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8

[PATCH 3/4] IR/imon: protect ictx's kc and last_keycode w/spinlock

2010-09-15 Thread Jarod Wilson
From 1fd62121d93ca507ec6f2f692121f853a2c46889 Mon Sep 17 00:00:00 2001 From: Jarod Wilson ja...@redhat.com Date: Wed, 15 Sep 2010 14:56:03 -0400 Subject: [PATCH 3/4] IR/imon: protect ictx's kc and last_keycode w/spinlock Lest we get our keycodes wrong... Thus far, in practice, I've not found it