[PATCH 4/4] IR/imon: set up mce-only devices w/mce keytable

2010-09-15 Thread Jarod Wilson
>From 321eb136b4c933a6a2e6583ccf110c22874c02fe Mon Sep 17 00:00:00 2001 From: Jarod Wilson Date: Tue, 14 Sep 2010 23:28:41 -0400 Subject: [PATCH 4/4] IR/imon: set up mce-only devices w/mce keytable Currently, they get set up with the pad keytable, which they can't actually use at all. Also add an

[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 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 to actually matte

[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?= 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 Content-Transfer-Enc

[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 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 Content-Transfer-Encoding: 8bit Th

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

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 S

[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: drivers/media/vide

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

2010-09-15 Thread Andy Walls
Acked-by: Andy Walls By tomorrow evening I'll put this in my repo and ask for Mauro to pull it. Regards, Andy Dan Rosenberg wrote: >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

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

2010-09-15 Thread Mauro Carvalho Chehab
Signed-off-by: Mauro Carvalho Chehab 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 +1057,7 @@ static int m

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

2010-09-15 Thread Mauro Carvalho Chehab
Signed-off-by: Mauro Carvalho Chehab 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 +++ b/drivers/media/radio/si470x/radio-si470x-common.c @@ -40

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

2010-09-15 Thread Mauro Carvalho Chehab
Signed-off-by: Mauro Carvalho Chehab 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 @@ bttv_mmap(struct f

[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 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 @@ static int bttv_s_

[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 diff --git a/drivers/media/video/bt8x

[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 *fil

[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 Rose

[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

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

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 retrievin

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 al

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 mult

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

[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: 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,

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 wrote: > Tommy Jonsson wrote: >> --- a/linux/drivers/media/dvb/firewire/firedtv-avc.c  Fri Sep 03 >> 00:28:05 2010 -0300

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

2010-09-15 Thread Tommy Jonsson
Sorry, that's the only values i was able to find out. The _AUTO for both ROLLOFF and PILOT are my own as there where no auto in the scanning program i used to scan with. I set them to what i thought was best. About the set_property and get_property i don't know if you need to define them, i just s

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 th

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 b

[cron job] v4l-dvb daily build 2.6.26 and up: ERRORS

2010-09-15 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:Wed Sep 15 19:00:13 CEST 2010 path:http://www.linuxtv.org/hg/v4l-dvb changeset: 15156:3d5785fe11c9 git master:

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 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. Moving the creation

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 nev

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

2010-09-15 Thread Christopher Friedt
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 single is

Re: [PATCH] ir-core: Fix null dereferences in the protocols sysfs interface

2010-09-15 Thread Jarod Wilson
On Wed, Sep 15, 2010 at 05:57:10AM -0700, Brian Rogers wrote: > On 09/08/2010 07:16 AM, Jarod Wilson wrote: > >On Wed, Sep 08, 2010 at 07:04:03AM -0700, Brian Rogers wrote: > >>ir_dev->raw is also null. If I check these pointers before using > >>them, and bail out if both are null, then I get a wo

[PATCH] ir-core: Fix null dereferences in the protocols sysfs interface

2010-09-15 Thread Brian Rogers
On 09/08/2010 07:16 AM, Jarod Wilson wrote: On Wed, Sep 08, 2010 at 07:04:03AM -0700, Brian Rogers wrote: ir_dev->raw is also null. If I check these pointers before using them, and bail out if both are null, then I get a working lircd, but of course the file /sys/devices/virtual/rc/rc0/protocol

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 == FIRED

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 PSK

Re: [PATCH v9 3/4] V4L2: WL1273 FM Radio: Controls for the FM radio.

2010-09-15 Thread Matti J. Aaltonen
Hi. On Wed, 2010-09-08 at 21:09 +0200, ext Mauro Carvalho Chehab wrote: > > +static int wl1273_fm_vidioc_s_tuner(struct file *file, void *priv, > > + struct v4l2_tuner *tuner) > > +{ > > + struct wl1273_device *radio = video_get_drvdata(video_devdata(file)); > >

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

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 : > Add support for the CMA contiguous memory allocator to videobuf2. > > Signed-o

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

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 wor

[GIT PATCHES FOR 2.6.37] V4L documentation fixes

2010-09-15 Thread Hans Verkuil
The following changes since commit 57fef3eb74a04716a8dd18af0ac510ec4f71bc05: Richard Zidlicky (1): V4L/DVB: dvb: fix smscore_getbuffer() logic are available in the git repository at: ssh://linuxtv.org/git/hverkuil/v4l-dvb.git misc2 Hans Verkuil (6): V4L Doc: removed duplicate l