Re: V4L2 and framebuffer for the same controller

2010-11-14 Thread Guennadi Liakhovetski
On Mon, 15 Nov 2010, Jun Nie wrote: > 2010/11/8 Jun Nie : > > 2010/11/2 Guennadi Liakhovetski : > >> Hi Jun > >> > >> On Fri, 29 Oct 2010, Jun Nie wrote: > >> > >>> Hi Guennadi, > >>>     I find that your idea of "provide a generic framebuffer driver > >>> that could sit on top of a v4l output dri

Re: For those that uses Pinnacle PCTV 340e

2010-11-14 Thread Mohammad Bahathir Hashim
On 2010-11-14, Magnus Alm wrote: > --00504502b04953b108049503ec60 > Content-Type: text/plain; charset=ISO-8859-1 > > Hi! > > I've merged the code for the 340e, that Devin Heitmueller made over at > Kernellabs, with the latest HG tree and tested it on Ubuntu 10.10 > today (2.6.35-22-generic). > > I

Re: [RFC PATCH 0/2] Apple remote support

2010-11-14 Thread Jarod Wilson
On Fri, Nov 5, 2010 at 9:27 AM, David Härdeman wrote: > On Thu, 04 Nov 2010 15:43:33 -0400, Mauro Carvalho Chehab > wrote: >> Em 04-11-2010 15:38, David Härdeman escreveu: >>> On Thu, Nov 04, 2010 at 11:54:25AM -0400, Jarod Wilson wrote: Okay, so we seem to be in agreement for an approach to

[PATCH 09/44] drivers/media/video: Remove unnecessary semicolons

2010-11-14 Thread Joe Perches
Signed-off-by: Joe Perches --- drivers/media/video/cx88/cx88-blackbird.c |2 +- drivers/media/video/davinci/vpfe_capture.c |2 +- drivers/media/video/em28xx/em28xx-cards.c |2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/media/video/cx88/cx88-blackbird.c

[PATCH 00/44] remove unnecessary semicolons

2010-11-14 Thread Joe Perches
ya trivial series... Joe Perches (44): arch/arm: Remove unnecessary semicolons arch/microblaze: Remove unnecessary semicolons arch/um: Remove unnecessary semicolons drivers/cpufreq: Remove unnecessary semicolons drivers/gpio: Remove unnecessary semicolons drivers/i2c: Remove unnecessar

Re: V4L2 and framebuffer for the same controller

2010-11-14 Thread Jun Nie
2010/11/8 Jun Nie : > 2010/11/2 Guennadi Liakhovetski : >> Hi Jun >> >> On Fri, 29 Oct 2010, Jun Nie wrote: >> >>> Hi Guennadi, >>>     I find that your idea of "provide a generic framebuffer driver >>> that could sit on top of a v4l output driver", which may be a good >>> solution of our LCD contr

Re: [PATCH 2/3] [media] saa7134: Remove legacy IR decoding logic inside the module

2010-11-14 Thread Jarod Wilson
On Nov 13, 2010, at 2:33 PM, Mauro Carvalho Chehab wrote: > The only IR left still using the old raw decoders on saa7134 is ENCORE > FM 5.3. As it is now using the standard rc-core raw decoders, lots > of old code can be removed from saa7134. > > Signed-off-by: Mauro Carvalho Chehab Acked-by: J

Re: [PATCH 3/3] [media] rc: Remove ir-common module

2010-11-14 Thread Jarod Wilson
On Nov 13, 2010, at 2:33 PM, Mauro Carvalho Chehab wrote: > Now, just one old bttv board uses the old RC5 raw decoding routines. > Its conversion to rc-core requires the generation of IRQ data for both > positive and negative transitions at the IRQ line. I'm not sure if > bttv driver supports it o

Re: [PATCH 1/3] [media] saa7134: use rc-core raw decoders for Encore FM 5.3

2010-11-14 Thread Jarod Wilson
On Nov 13, 2010, at 2:33 PM, Mauro Carvalho Chehab wrote: > Signed-off-by: Mauro Carvalho Chehab Acked-by: Jarod Wilson -- Jarod Wilson ja...@wilsonet.com -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majord...@vger.kernel.org More ma

Re: HVR900H : IR Remote Control

2010-11-14 Thread Jarod Wilson
On Nov 14, 2010, at 2:22 PM, Massis Sirapian wrote: > Le 14/11/2010 16:47, Stefan Ringel a écrit : >> Am 14.11.2010 15:37, schrieb Massis Sirapian: >>> Hi, >>> >>> I have discovered, upgrading my old WinTV PCI Hauppauge card to a >>> HVR-900H USB stick how much the IR userspace has evolved. >>>

Re: [RFC PATCH 0/8] V4L BKL removal: first round

2010-11-14 Thread Hans Verkuil
On Sunday, November 14, 2010 22:53:29 Arnd Bergmann wrote: > On Sunday 14 November 2010, Hans Verkuil wrote: > > This patch series converts 24 v4l drivers to unlocked_ioctl. These are low > > hanging fruit but you have to start somewhere :-) > > > > The first patch replaces mutex_lock in the V4L2

Re: HVR900H : IR Remote Control

2010-11-14 Thread Massis Sirapian
Le 14/11/2010 21:49, Mariusz Bialonczyk a écrit : Hello Massis, On 11/14/2010 08:22 PM, Massis Sirapian wrote: Thanks Stefan. I've checked the /drivers/media/IR/keymaps of the kernel source directory, but nothing seems to fit my remote, which is a DSR-0012 : http://lirc.sourceforge.net/remotes/

Re: new_build on ubuntu (dvbdev.c)

2010-11-14 Thread Mauro Carvalho Chehab
Em 14-11-2010 10:12, Andy Walls escreveu: > On Sun, 2010-11-14 at 20:26 +1100, Vincent McIntyre wrote: >> On 11/14/10, Andy Walls wrote: >>> On Sun, 2010-11-14 at 09:08 +1100, Vincent McIntyre wrote: > > >>> noop_llseek() is a newer kernl function that provided a trivial llseek() >>> implmenetat

Re: [RFC PATCH 0/8] V4L BKL removal: first round

2010-11-14 Thread Arnd Bergmann
On Sunday 14 November 2010, Hans Verkuil wrote: > This patch series converts 24 v4l drivers to unlocked_ioctl. These are low > hanging fruit but you have to start somewhere :-) > > The first patch replaces mutex_lock in the V4L2 core by > mutex_lock_interruptible > for most fops. The patches all

Re: [PATCH] faster DVB-S lock with cards using stb0899 demod

2010-11-14 Thread Manu Abraham
On Mon, Sep 20, 2010 at 8:03 AM, Emmanuel wrote: > SE a écrit : >> >> hi list >> >> v4l-dvb still lacks fast and reliable dvb-s lock for stb08899 chipsets. Can you please try again from here; http://202.88.242.108:8000/hg/var/www/hg/v4l-dvb/ Regards, Manu -- To unsubscribe from this list: send

Re: [linux-dvb] USALS support for TechniSat SkyStar HD/TechnoTrend TT-Budget S2-3200

2010-11-14 Thread Manu Abraham
Hi, On Mon, Nov 8, 2010 at 2:26 AM, wrote: > Hello, I have SkyStar HD card with SG2100 positioner but USALS is not working > with vdr and mythtv. I am using gentoo Linux and checked vdr: 1.6,(gotox > patch) 1.7.9(vdr-rotor), 1.7.12, 1.7.13, 1.7.14(gotox patch) and mythtv 0.22 > with no succes

Re: HVR900H : IR Remote Control

2010-11-14 Thread Mariusz Bialonczyk
Hello Massis, On 11/14/2010 08:22 PM, Massis Sirapian wrote: Thanks Stefan. I've checked the /drivers/media/IR/keymaps of the kernel source directory, but nothing seems to fit my remote, which is a DSR-0012 : http://lirc.sourceforge.net/remotes/hauppauge/DSR-0112.jpg. > Were you talking about

hg pull http://202.88.242.108:8000/hg/var/www/hg/v4l-dvb/

2010-11-14 Thread Manu Abraham
Mauro, Please pull from http://202.88.242.108:8000/hg/var/www/hg/v4l-dvb/ for the following changes. changeset 15168:baa4e8008db5 Mantis, hopper: use MODULE_DEVICE_TABLE http://202.88.242.108:8000/hg/var/www/hg/v4l-dvb/rev/baa4e8008db5 changeset 15169:f04605948fdc Mantis: append tasklet mainte

Re: sh_vou: proposed patch to convert to unlocked_ioctl

2010-11-14 Thread Guennadi Liakhovetski
Hi Hans On Sun, 14 Nov 2010, Hans Verkuil wrote: > Hi Guennadi, > > Below is my proposed patch to convert sh_vou to unlocked_ioctl. It uses the > V4L2 core locking method. > > I didn't see any synchronization mechanisms other than the implicit BKL in > this driver, so using the core locking met

Re: HVR900H : IR Remote Control

2010-11-14 Thread Massis Sirapian
Le 14/11/2010 16:47, Stefan Ringel a écrit : Am 14.11.2010 15:37, schrieb Massis Sirapian: Hi, I have discovered, upgrading my old WinTV PCI Hauppauge card to a HVR-900H USB stick how much the IR userspace has evolved. I'm using the 2.6.36 kernel provided by Debian in its experimental reposito

[cron job] v4l-dvb daily build: WARNINGS

2010-11-14 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:Sun Nov 14 19:00:13 CET 2010 path:http://www.linuxtv.org/hg/v4l-dvb changeset: 15167:abd3aac6644e git master:

Re: RTL2832U version 2.0.1 by Realtek

2010-11-14 Thread poma
Zdenek Styblik wrote: On 11/12/2010 02:57 PM, poma wrote: Zdenek Styblik wrote: ... I'm also glad to see I'm not the only one whom has been contacted by Realtek. And since you're V4L developer; how is it going with integrating RTL driver into V4L? Linux user, not V4L developer. Ok. Realte

Re: cafe_ccic: can ioctl be replaced by unlocked_ioctl?

2010-11-14 Thread Jonathan Corbet
On Sun, 14 Nov 2010 14:44:52 +0100 Hans Verkuil wrote: > Unless you have any objections I'd like to replace .ioctl by .unlocked_ioctl > in this driver. No objections, it should have been that way from the beginning. In fact, I thought it *was* that way...oh well, better late than never. jon --

Re: HVR900H : IR Remote Control

2010-11-14 Thread Stefan Ringel
Am 14.11.2010 15:37, schrieb Massis Sirapian: Hi, I have discovered, upgrading my old WinTV PCI Hauppauge card to a HVR-900H USB stick how much the IR userspace has evolved. I'm using the 2.6.36 kernel provided by Debian in its experimental repository. Loading the tm6000_dvb works fine (e

HVR900H : IR Remote Control

2010-11-14 Thread Massis Sirapian
Hi, I have discovered, upgrading my old WinTV PCI Hauppauge card to a HVR-900H USB stick how much the IR userspace has evolved. I'm using the 2.6.36 kernel provided by Debian in its experimental repository. Loading the tm6000_dvb works fine (even if it takes a while when I modprobe it whil

sh_vou: proposed patch to convert to unlocked_ioctl

2010-11-14 Thread Hans Verkuil
Hi Guennadi, Below is my proposed patch to convert sh_vou to unlocked_ioctl. It uses the V4L2 core locking method. I didn't see any synchronization mechanisms other than the implicit BKL in this driver, so using the core locking method seemed the right thing to do here. Regards, Hans d

radio-timb: proposed patch to convert to unlocked_ioctl

2010-11-14 Thread Hans Verkuil
Hi Richard, Can you check if this patch is OK? It's against the v2.6.38 media_tree branch. It converts .ioctl to unlocked_ioctl by using the new v4l2 core locking. Before it relied on the BKL to do the locking, but that is being phased out. Regards, Hans diff --git a/drivers/media/radi

cafe_ccic: can ioctl be replaced by unlocked_ioctl?

2010-11-14 Thread Hans Verkuil
Hi Jon, I looked through the cafe_ccic.c source code and as far as I can tell the s_mutex lock is used in all the right places. Unless you have any objections I'd like to replace .ioctl by .unlocked_ioctl in this driver. Regards, Hans -- Hans Verkuil - video4linux developer - sponsore

[RFC PATCH 7/8] dsbr100: convert to unlocked_ioctl.

2010-11-14 Thread Hans Verkuil
Trivial conversion to unlocked_ioctl. Signed-off-by: Hans Verkuil --- drivers/media/radio/dsbr100.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/media/radio/dsbr100.c b/drivers/media/radio/dsbr100.c index ed9cd7a..c3e952f 100644 --- a/drivers/media/radio/dsbr

[RFC PATCH 8/8] BKL: trivial ioctl -> unlocked_ioctl video driver conversions

2010-11-14 Thread Hans Verkuil
These drivers could be trivially converted to unlocked_ioctl since they already did locking. Signed-off-by: Hans Verkuil --- drivers/media/video/arv.c |2 +- drivers/media/video/bw-qcam.c |2 +- drivers/media/video/c-qcam.c |2 +- drivers/media/video/meye.c| 14 +++

[PATCH] terratec cinergy t-stick RC (with TDA18218)

2010-11-14 Thread Davor Emard
HI This patch applies to lates v4l tree and seems to work for me. I created it with diff -pur --new-file No time to read docs about submitting patches yet for me, i'm sorrry... Best regards, Davor diff -pur --new-file v4l-dvb.orig/linux/drivers/media/common/tuners/Kconfig v4l-dvb/linux/drivers

[RFC PATCH 6/8] typhoon: convert to unlocked_ioctl.

2010-11-14 Thread Hans Verkuil
Convert the typhoon driver from ioctl to unlocked_ioctl. When doing this I noticed a bug where curfreq was not initialized correctly to mutefreq (it wasn't multiplied by 16). The initialization is now also done before the device node is created. Signed-off-by: Hans Verkuil --- drivers/media/ra

[RFC PATCH 5/8] si4713: convert to unlocked_ioctl

2010-11-14 Thread Hans Verkuil
Convert ioctl to unlocked_ioctl. Note that for this driver the locking is done inside the sub-device. Signed-off-by: Hans Verkuil --- drivers/media/radio/radio-si4713.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/drivers/media/radio/radio-si4713.c b/drivers/media/

[RFC PATCH 4/8] tea5764: convert to unlocked_ioctl

2010-11-14 Thread Hans Verkuil
Convert from ioctl to unlocked_ioctl using the v4l2 core lock. Also removed the 'exclusive access' limitation. There was no need for it and it violates the v4l2 spec as well. Signed-off-by: Hans Verkuil --- drivers/media/radio/radio-tea5764.c | 49 ++ 1 files c

[RFC PATCH 2/8] BKL: trivial BKL removal from V4L2 radio drivers

2010-11-14 Thread Hans Verkuil
The patch converts a bunch of V4L2 radio drivers to unlocked_ioctl. These are all simple conversions: most already had a lock and so the ioctl fop could simply be replaced by unlocked_ioctl. radio-miropcm20.c was converted to use the new V4L2 core lock. While doing this work I noticed that many

[RFC PATCH 3/8] cadet: use unlocked_ioctl

2010-11-14 Thread Hans Verkuil
Converted from ioctl to unlocked_ioctl. This driver already used an internal lock, but it was missing in cadet_open and cadet_release and it was not used correctly in cadet_read. Signed-off-by: Hans Verkuil --- drivers/media/radio/radio-cadet.c | 12 +--- 1 files changed, 9 insertions

[RFC PATCH 1/8] v4l2-dev: use mutex_lock_interruptible instead of plain mutex_lock

2010-11-14 Thread Hans Verkuil
Where reasonable use mutex_lock_interruptible instead of mutex_lock. Signed-off-by: Hans Verkuil --- drivers/media/video/v4l2-dev.c | 44 +-- 1 files changed, 32 insertions(+), 12 deletions(-) diff --git a/drivers/media/video/v4l2-dev.c b/drivers/media/vide

[RFC PATCH 0/8] V4L BKL removal: first round

2010-11-14 Thread Hans Verkuil
This patch series converts 24 v4l drivers to unlocked_ioctl. These are low hanging fruit but you have to start somewhere :-) The first patch replaces mutex_lock in the V4L2 core by mutex_lock_interruptible for most fops. Hans Verkuil (8): v4l2-dev: use mutex_lock_interruptible instead of plain

Re: new_build on ubuntu (dvbdev.c)

2010-11-14 Thread Andy Walls
On Sun, 2010-11-14 at 20:26 +1100, Vincent McIntyre wrote: > On 11/14/10, Andy Walls wrote: > > On Sun, 2010-11-14 at 09:08 +1100, Vincent McIntyre wrote: > > noop_llseek() is a newer kernl function that provided a trivial llseek() > > implmenetation for drivers that don't support llseek() but s

Re: new_build on ubuntu (dvbdev.c)

2010-11-14 Thread Vincent McIntyre
Apologies, I replied off-list. On 11/14/10, Andy Walls wrote: > On Sun, 2010-11-14 at 09:08 +1100, Vincent McIntyre wrote: >> Hi, >> I'm trying to build on 2.6.32 (ubuntu lucid i386). >> >> I followed the instructions for building from git[1] > > Shouldn't you be building from: > > http://g