Re: Driver crash on kernel 2.6.32.7. Interaction between cx8800 (DVB-S) and USB HVR Hauppauge 950q

2010-02-09 Thread Devin Heitmueller
On Tue, Feb 9, 2010 at 10:05 PM, Richard Lemieux wrote: > Andy, > > This is a great answer!  Thanks very much.  When I get into this situation > again > I will know what to look for. > > A possible reason why I got into this problem in the first place is that I > tried > many combinations of param

Re: Driver crash on kernel 2.6.32.7. Interaction between cx8800 (DVB-S) and USB HVR Hauppauge 950q

2010-02-09 Thread Devin Heitmueller
On Tue, Feb 9, 2010 at 9:14 PM, Andy Walls wrote: > Both Ooops below are related to userspace loading of firmware for the > HVR-950Q. Very strange. The xc5000 function doesn't appear to really do anything unusual. It calls request_firmware(), pushes the code into the chip, and then call release

Re: Driver crash on kernel 2.6.32.7. Interaction between cx8800 (DVB-S) and USB HVR Hauppauge 950q

2010-02-09 Thread Richard Lemieux
Andy, This is a great answer! Thanks very much. When I get into this situation again I will know what to look for. A possible reason why I got into this problem in the first place is that I tried many combinations of parameters with mplayer and azap in order to learn how to use the USB tuner i

Re: Driver crash on kernel 2.6.32.7. Interaction between cx8800 (DVB-S) and USB HVR Hauppauge 950q

2010-02-09 Thread Andy Walls
On Mon, 2010-02-08 at 23:43 -0500, Richard Lemieux wrote: > Hi, > > I got some driver crashes after upgrading to kernel 2.6.32.7. It seems that > activating either TBS8920 (DVB-S) and HVR950Q (ATSC) after the other one has > run (and is no longer in use by an application) triggers a driver crash.

[PATCH] tw9910: use TABs for indentation

2010-02-09 Thread Guennadi Liakhovetski
Signed-off-by: Guennadi Liakhovetski --- drivers/media/video/tw9910.c |8 include/media/tw9910.h |4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/media/video/tw9910.c b/drivers/media/video/tw9910.c index 5b801a6..76be733 100644 --- a/drivers/m

[PATCH] soc-camera: update mt9v022 to take into account board signal routing

2010-02-09 Thread Guennadi Liakhovetski
Use soc_camera_apply_sensor_flags() in mt9v022 to account for any inverters in video signal paths. Signed-off-by: Guennadi Liakhovetski --- drivers/media/video/mt9v022.c | 17 - 1 files changed, 8 insertions(+), 9 deletions(-) diff --git a/drivers/media/video/mt9v022.c b/drive

[PATCH] dvb: l64781.ko broken with gcc 4.5

2010-02-09 Thread Greg KH
From: Richard Guenther I'm trying to fix it on the GCC side (PR43007), but the module is quite stupid in using ULL constants to operate on u32 values: static int apply_frontend_param (struct dvb_frontend* fe, struct dvb_frontend_parameters *param) { ... static const u32 ppm = 8000; u32 spi_bia

[PATCH] dvb: l64781.ko broken with gcc 4.5

2010-02-09 Thread Greg KH
From: Richard Guenther I'm trying to fix it on the GCC side (PR43007), but the module is quite stupid in using ULL constants to operate on u32 values: static int apply_frontend_param (struct dvb_frontend* fe, struct dvb_frontend_parameters *param) { ... static const u32 ppm = 8000; u32 spi_bia

Re: Kworld ATSC usb 435Q device and RF tracking filter calibration

2010-02-09 Thread Robert Cicconetti
I have this stick running on my Mythtv box with the patch and a quick hack to disable the additional calibrations. It works, most of the time, but will occasionally stop working until I reboot. The frequency of this is reduced if I tell Mythbackend to only grab the tuner when it needs it... might b

Re: [PATCH] dvb-core: fix initialization of feeds list in demux filter (Was: Videotext application crashes the kernel due to DVB-demux patch)

2010-02-09 Thread Chicken Shack
Am Dienstag, den 09.02.2010, 17:09 -0500 schrieb Richard Stallman: > "Banning you as a punishment seems foolishly harsh, too." > > The word "too" is there because, in my previous paragraph, I said it > seemed you had been overly harsh in your criticism. Everyone makes > mistakes. Being busy is n

Re: Kworld ATSC usb 435Q device and RF tracking filter calibration

2010-02-09 Thread Jarod Wilson
On Tue, Feb 9, 2010 at 5:16 PM, Amy Overmyer wrote: > I have one of these devices. It works OK in windows, but I'd like to stick it > on my myth backend as a 3rd tuner, just in case. I'm using it for 8VSB OTA. I > took a patch put forth a while back on this list and was able to put that on > th

Kworld ATSC usb 435Q device and RF tracking filter calibration

2010-02-09 Thread Amy Overmyer
I have one of these devices. It works OK in windows, but I'd like to stick it on my myth backend as a 3rd tuner, just in case. I'm using it for 8VSB OTA. I took a patch put forth a while back on this list and was able to put that on the kernel 2.6.31.6. I am able to tune and lock channels with i

Re: [PATCH] mfd: Add support for the timberdale FPGA.

2010-02-09 Thread Richard Röjfors
On 2/4/10 10:28 AM, Samuel Ortiz wrote: > On Wed, Feb 03, 2010 at 05:23:57PM +, Mauro Carvalho Chehab wrote: >>> Ok, thanks again for your understanding. This is definitely material for the >>> next merge window, so I'll merge it into my for-next branch. >> >> The last version of the driver is

Re: [PATCH] em28xx: add Dikom DK300 hybrid USB tuner

2010-02-09 Thread Mauro Carvalho Chehab
andrea.amoros...@gmail.com wrote: > Mauro Carvalho Chehab ha scritto: >> andrea.amoros...@gmail.com wrote: >>> This patch add the Dikom DK300 hybrid usb card. >>> >>> The patch adds digital and analogue tv support. >>> >>> Not working: remote controller >> >>> diff -r d6520e486ee6 linux/drivers/med

Re: soc-camera: patches for 2.6.34

2010-02-09 Thread Guennadi Liakhovetski
On Tue, 9 Feb 2010, Valentin Longchamp wrote: > Guennadi Liakhovetski wrote: > > Hi all > > > > Nothing exciting for soc-camera this time for a change, just a couple of > > small improvements. These patches are already in my local tree, waiting to > > be pushed up: > > > > Antonio Ospite (1): >

Re: [PATCH] em28xx: add Dikom DK300 hybrid USB tuner

2010-02-09 Thread Mauro Carvalho Chehab
andrea.amoros...@gmail.com wrote: > Mauro Carvalho Chehab ha scritto: >> andrea.amoros...@gmail.com wrote: >> >>> This patch add the Dikom DK300 hybrid usb card. >>> >>> The patch adds digital and analogue tv support. >>> >>> Not working: remote controller >>> >> >> >>> diff -r d6520e486ee

Re: [PATCH] em28xx: add Dikom DK300 hybrid USB tuner

2010-02-09 Thread andrea.amoros...@gmail.com
Mauro Carvalho Chehab ha scritto: andrea.amoros...@gmail.com wrote: This patch add the Dikom DK300 hybrid usb card. The patch adds digital and analogue tv support. Not working: remote controller diff -r d6520e486ee6 linux/drivers/media/video/em28xx/em28xx-cards.c --- a/linux/drivers/media/v

Re: [PATCH] em28xx: add Dikom DK300 hybrid USB tuner

2010-02-09 Thread andrea.amoros...@gmail.com
Mauro Carvalho Chehab ha scritto: andrea.amoros...@gmail.com wrote: This patch add the Dikom DK300 hybrid usb card. The patch adds digital and analogue tv support. Not working: remote controller diff -r d6520e486ee6 linux/drivers/media/video/em28xx/em28xx-cards.c --- a/linux/driv

[cron job] v4l-dvb daily build 2.6.22 and up: ERRORS, 2.6.16-2.6.21: ERRORS

2010-02-09 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 Feb 9 19:00:02 CET 2010 path:http://www.linuxtv.org/hg/v4l-dvb changeset: 14164:690055993011 gcc version: i686-

Re: [PATCH] em28xx: add Dikom DK300 hybrid USB tuner

2010-02-09 Thread Mauro Carvalho Chehab
andrea.amoros...@gmail.com wrote: > This patch add the Dikom DK300 hybrid usb card. > > The patch adds digital and analogue tv support. > > Not working: remote controller > diff -r d6520e486ee6 linux/drivers/media/video/em28xx/em28xx-cards.c > --- a/linux/drivers/media/video/em28xx/em28xx-cards.

Re: soc-camera: patches for 2.6.34

2010-02-09 Thread Valentin Longchamp
Guennadi Liakhovetski wrote: Hi all Nothing exciting for soc-camera this time for a change, just a couple of small improvements. These patches are already in my local tree, waiting to be pushed up: Antonio Ospite (1): pxa_camera: remove init() callback Guennadi Liakhovetski (3):

[PATCH] em28xx: add Dikom DK300 hybrid USB tuner

2010-02-09 Thread andrea.amoros...@gmail.com
This patch add the Dikom DK300 hybrid usb card. The patch adds digital and analogue tv support. Not working: remote controller To be done: it seems that with the proposed patch the digital demodulator remains activated if the tuner is switched from digital to analogue mode. Workaorund is to unp

Re: Driver crash on kernel 2.6.32.7. Interaction between cx8800 (DVB-S) and USB HVR Hauppauge 950q

2010-02-09 Thread Richard Lemieux
Hi, I tried something simple with three kernel versions: 2.6.30, 2.6.31, and 2.6.32.7. But I can't reproduce the problem that way. Just after booting I run alternatively /opt/dvb-apps/bin/szap -a 0 -r "CCTV 4" /opt/dvb-apps/bin/azap -a 1 -r "57.1" and then I run them concurrently and finall

[PATCH v3 3/7] V4L: Events: Support event handling in do_ioctl

2010-02-09 Thread Sakari Ailus
Add support for event handling to do_ioctl. Signed-off-by: Sakari Ailus --- drivers/media/video/Makefile |2 +- drivers/media/video/v4l2-ioctl.c | 48 ++ include/media/v4l2-ioctl.h |9 +++ 3 files changed, 58 insertions(+), 1 deletions(

[PATCH v3 6/7] V4L: Events: Sequence numbers

2010-02-09 Thread Sakari Ailus
Add sequence numbers to events. Signed-off-by: Sakari Ailus --- drivers/media/video/v4l2-event.c | 15 --- include/media/v4l2-event.h |1 + 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/drivers/media/video/v4l2-event.c b/drivers/media/video/v4l2-event.c

[PATCH v3 5/7] V4L: Events: Count event queue length

2010-02-09 Thread Sakari Ailus
Update the count field properly by setting it to exactly to number of further available events. Signed-off-by: Sakari Ailus --- drivers/media/video/v4l2-event.c | 27 +++ include/media/v4l2-event.h |6 +- 2 files changed, 20 insertions(+), 13 deletions(-)

[PATCH v3 4/7] V4L: Events: Add backend

2010-02-09 Thread Sakari Ailus
Add event handling backend to V4L2. The backend handles event subscription and delivery to file handles. Event subscriptions are based on file handle. Events may be delivered to all subscribed file handles on a device independent of where they originate from. Signed-off-by: Sakari Ailus --- driv

[PATCH v3 7/7] V4L: Events: Support all events

2010-02-09 Thread Sakari Ailus
Add support for subscribing all events with a special id V4L2_EVENT_ALL. If V4L2_EVENT_ALL is subscribed, no other events may be subscribed. Otherwise V4L2_EVENT_ALL is considered just as any other event. Signed-off-by: Sakari Ailus --- drivers/media/video/v4l2-event.c | 13 - incl

[PATCH v3 1/7] V4L: File handles

2010-02-09 Thread Sakari Ailus
This patch adds a list of v4l2_fh structures to every video_device. It allows using file handle related information in V4L2. The event interface is one example of such use. Video device drivers should use the v4l2_fh pointer as their file->private_data. Signed-off-by: Sakari Ailus --- drivers/m

[PATCH v3 2/7] V4L: Events: Add new ioctls for events

2010-02-09 Thread Sakari Ailus
This patch adds a set of new ioctls to the V4L2 API. The ioctls conform to V4L2 Events RFC version 2.3: http://www.spinics.net/lists/linux-media/msg12033.html> Signed-off-by: Sakari Ailus --- drivers/media/video/v4l2-compat-ioctl32.c |3 +++ drivers/media/video/v4l2-ioctl.c |3

[PATCH v3 0/7] V4L2 file handles and event interface

2010-02-09 Thread Sakari Ailus
Hi, Here's the fifth version of the V4L2 file handle and event interface patchset. The first patch adds the V4L2 file handle support and the rest are for V4L2 events. The patchset has been tested with the OMAP 3 ISP driver. Patches for OMAP 3 ISP are not part of this patchset but are available i

Re: DTV2000 H Plus issues

2010-02-09 Thread istva...@mailbox.hu
I have an updated version now, with these changes: - the firmware file name can be specified with the "firmware_name" module parameter; it defaults to "xc4000.fw" - there is another new module parameter ("audio_std") for configuring the audio standard (NICAM, A2, etc.), and switching FM

Re: soc-camera: patches for 2.6.34

2010-02-09 Thread Guennadi Liakhovetski
On Tue, 9 Feb 2010, Guennadi Liakhovetski wrote: > Hi all Ok, add two more to these: Guennadi Liakhovetski (2): soc-camera: add support for VIDIOC_S_PARM and VIDIOC_G_PARM ioctls sh_mobile_ceu_camera: pass .set_parm and .get_parm down to subdevices * status: pending confi

soc-camera: patches for 2.6.34

2010-02-09 Thread Guennadi Liakhovetski
Hi all Nothing exciting for soc-camera this time for a change, just a couple of small improvements. These patches are already in my local tree, waiting to be pushed up: Antonio Ospite (1): pxa_camera: remove init() callback Guennadi Liakhovetski (3): soc-camera: update mt9v022 to t

Re: [linux-pm] [PATCH/RESEND] soc-camera: add runtime pm support for subdevices

2010-02-09 Thread Alan Stern
On Tue, 9 Feb 2010, Guennadi Liakhovetski wrote: > On Tue, 9 Feb 2010, Alan Stern wrote: > > > On Mon, 8 Feb 2010, Guennadi Liakhovetski wrote: > > > > > To save power soc-camera powers subdevices down, when they are not in > > > use, > > > if this is supported by the platform. However, the V4

[PATCH] v4l: Fix a memory leak caused by zeroing struct device

2010-02-09 Thread Laurent Pinchart
Commit fb069a5d132fb926ed17af3211a114ac7cf27d7a introduced a private portion in struct device that is dynamically allocated on demand, such as when a driver stores a private pointer in the device's structure using dev_set_drvdata. video_register_device memsets the device structure embedded in the

Re: [linux-dvb] gotoX program?

2010-02-09 Thread Goga777
> I'm looking for the gotoX program mentioned in this message: > > http://www.linuxtv.org/pipermail/linux-dvb/2007-May/017748.html > > It is supposed to be here: > >http://www.verbraak.org/wiki/index.php/Goto_X_program > > ...but alas, that wiki would appear to be broken. :( > > Also, I do

Re: [PATCH/RESEND] soc-camera: add runtime pm support for subdevices

2010-02-09 Thread Guennadi Liakhovetski
On Tue, 9 Feb 2010, Hans Verkuil wrote: > 1) is someone using the driver (i.e. is a device node open, which is not > necessarily limited to v4l2-type device nodes)? > 2) are we actively streaming from or to some particular input or output? > > And we probably need some easy way to detect and set

Re: Driver crash on kernel 2.6.32.7. Interaction between cx8800 (DVB-S) and USB HVR Hauppauge 950q

2010-02-09 Thread Devin Heitmueller
On Tue, Feb 9, 2010 at 8:44 AM, Richard Lemieux wrote: > Hi Devin, > > I was previously running kernel vmlinux-2.6.29.5.  I notice there was a > major > reorganization of some of the media structure between 2.6.29 and 2.6.32. > Can you tell me at wich kernel version the change occured so I can sta

Re: [linux-pm] [PATCH/RESEND] soc-camera: add runtime pm support for subdevices

2010-02-09 Thread Guennadi Liakhovetski
On Tue, 9 Feb 2010, Alan Stern wrote: > On Mon, 8 Feb 2010, Guennadi Liakhovetski wrote: > > > To save power soc-camera powers subdevices down, when they are not in use, > > if this is supported by the platform. However, the V4L standard dictates, > > that video nodes shall preserve configurati

Re: Leadtek WinFast DVR3100 H zl10353_read_register: readreg error (reg=127, ret==-6)

2010-02-09 Thread Devin Heitmueller
On Tue, Feb 9, 2010 at 10:19 AM, Patrick Cairns wrote: > Hi Andy > > Andy Walls wrote: > >> >> Hi Patrick, >> >> On Tue, 2010-02-09 at 03:35 -0800, Patrick Cairns wrote: >> > Hello >> > >> > I'm testing use of multiple Leadtek WinFast DVR3100 H cards for a >> > project.  I've had large numbers of

Re: Leadtek WinFast DVR3100 H zl10353_read_register: readreg error (reg=127, ret==-6)

2010-02-09 Thread Patrick Cairns
Hi Andy Andy Walls wrote: > > Hi Patrick, > > On Tue, 2010-02-09 at 03:35 -0800, Patrick Cairns wrote: > > Hello > > > > I'm testing use of multiple Leadtek WinFast DVR3100 H cards for a > > project. I've had large numbers of them working well in the same > > machine as encoders (haven't been

Re: [linux-pm] [PATCH/RESEND] soc-camera: add runtime pm support for subdevices

2010-02-09 Thread Alan Stern
On Mon, 8 Feb 2010, Guennadi Liakhovetski wrote: > To save power soc-camera powers subdevices down, when they are not in use, > if this is supported by the platform. However, the V4L standard dictates, > that video nodes shall preserve configuration between uses. This requires > runtime power m

RE: Requested feedback on V4L2 driver design

2010-02-09 Thread Maupin, Chase
> -Original Message- > From: Hans Verkuil [mailto:hverk...@xs4all.nl] > Sent: Tuesday, February 09, 2010 1:52 AM > To: Mauro Carvalho Chehab; laurent.pinch...@ideasonboard.com > Cc: Maupin, Chase; sakari.ai...@maxwell.research.nokia.com; > vpss_driver_des...@list.ti.com - This list is to d

Re: [PATCH/RESEND] soc-camera: add runtime pm support for subdevices

2010-02-09 Thread Mauro Carvalho Chehab
Hans Verkuil wrote: >> Hans Verkuil wrote: >>> But if you have ideas to improve the core to make it easier to add pm >>> support to the drivers that need it, then I am all for it. >> IMO, the runtime pm should be supported at V4L core, but some callbacks >> are >> needed. Also, I can see some clas

RE: Requested feedback on V4L2 driver design

2010-02-09 Thread Maupin, Chase
> -Original Message- > From: Hans Verkuil [mailto:hverk...@xs4all.nl] > Sent: Tuesday, February 09, 2010 1:52 AM > To: Mauro Carvalho Chehab; laurent.pinch...@ideasonboard.com > Cc: Maupin, Chase; sakari.ai...@maxwell.research.nokia.com; > vpss_driver_des...@list.ti.com - This list is to d

Re: [PATCH/RESEND] soc-camera: add runtime pm support for subdevices

2010-02-09 Thread Hans Verkuil
> Hans Verkuil wrote: >>> On Tue, 9 Feb 2010, Hans Verkuil wrote: >>> > On Mon, 8 Feb 2010, Mauro Carvalho Chehab wrote: > >> In fact, on all drivers, there are devices that needs to be turn on only >> when >> streaming is happening: sensors, analog TV/audio demods, digita

Re: [PATCH] AVerTV MCE 116 Plus radio

2010-02-09 Thread Aleksandr V. Piskunov
On Wed, Feb 03, 2010 at 07:33:20PM -0500, Andy Walls wrote: > On Tue, 2010-02-02 at 13:29 -0200, Mauro Carvalho Chehab wrote: > > Hi Andy, > > > > This patch has never been applied or nacked. From your last comment, it > > seems that you're waiting for Aleksandr Signed-of-by:. > > > > If this is

Re: Driver crash on kernel 2.6.32.7. Interaction between cx8800 (DVB-S) and USB HVR Hauppauge 950q

2010-02-09 Thread Richard Lemieux
Hi Devin, I was previously running kernel vmlinux-2.6.29.5. I notice there was a major reorganization of some of the media structure between 2.6.29 and 2.6.32. Can you tell me at wich kernel version the change occured so I can start from there. Richard Devin Heitmueller wrote: On Mon, Feb 8,

Re: [PATCH] Fix compilation tm6000 module

2010-02-09 Thread Mauro Carvalho Chehab
Hi Dmitri, Dmitri Belimov wrote: > Hi All > > Fix compilation tm6000 module. > > diff -r 690055993011 linux/drivers/staging/tm6000/tm6000-cards.c > --- a/linux/drivers/staging/tm6000/tm6000-cards.c Sun Feb 07 22:26:10 > 2010 -0200 > +++ b/linux/drivers/staging/tm6000/tm6000-cards.c Tue

Re: Leadtek WinFast DVR3100 H zl10353_read_register: readreg error (reg=127, ret==-6)

2010-02-09 Thread Andy Walls
Hi Patrick, On Tue, 2010-02-09 at 03:35 -0800, Patrick Cairns wrote: > Hello > > I'm testing use of multiple Leadtek WinFast DVR3100 H cards for a > project. I've had large numbers of them working well in the same > machine as encoders (haven't been using the DVB-T capabilities). > > However i

Re: [PATCH/RESEND] soc-camera: add runtime pm support for subdevices

2010-02-09 Thread Mauro Carvalho Chehab
Hans Verkuil wrote: >> On Tue, 9 Feb 2010, Hans Verkuil wrote: >> On Mon, 8 Feb 2010, Mauro Carvalho Chehab wrote: > In fact, on all drivers, there are devices that needs to be turn on >>> only > when > streaming is happening: sensors, analog TV/audio demods, digital >>> demod

Re: [PATCH/RESEND] soc-camera: add runtime pm support for subdevices

2010-02-09 Thread Guennadi Liakhovetski
On Tue, 9 Feb 2010, Hans Verkuil wrote: > > Of course you're right, and it concerns not only multiple streaming modes, > > but simple cases of multiple openings of one node. I was too fast to > > transfer the implementation from soc-camera to v4l2 - in soc-camera I'm > > counting opens and closes

Re: [PATCH/RESEND] soc-camera: add runtime pm support for subdevices

2010-02-09 Thread Hans Verkuil
> On Tue, 9 Feb 2010, Hans Verkuil wrote: > >> >> > On Mon, 8 Feb 2010, Mauro Carvalho Chehab wrote: >> > >> >> In fact, on all drivers, there are devices that needs to be turn on >> only >> >> when >> >> streaming is happening: sensors, analog TV/audio demods, digital >> demods. >> >> Also, >> >>

Re: Compiling saa7134 on a CentOS 5 machine

2010-02-09 Thread Mogens Kjaer
On 02/09/2010 12:41 PM, Mogens Kjaer wrote: ... ir_core: Unknown symbol ir_unregister_class Hm, the following patch "fixes" the problem: cd linux/drivers/media/IR $ diff -urN ir-sysfs.c.orig ir-sysfs.c --- ir-sysfs.c.orig 2010-02-09 13:08:06.0 +0100 +++ ir-sysfs.c 2010-02-09 13:05

Re: [PATCH/RESEND] soc-camera: add runtime pm support for subdevices

2010-02-09 Thread Guennadi Liakhovetski
On Tue, 9 Feb 2010, Hans Verkuil wrote: > > > On Mon, 8 Feb 2010, Mauro Carvalho Chehab wrote: > > > >> In fact, on all drivers, there are devices that needs to be turn on only > >> when > >> streaming is happening: sensors, analog TV/audio demods, digital demods. > >> Also, > >> a few devices (f

[PATCH] video_device: don't free_irq() an element past array vpif_obj.dev[] and fix test

2010-02-09 Thread Roel Kluin
In vpif_get_std_info(): std_info doesn't need the NULL test, it was already dereferenced anyway. If std_info->stdid is 0 we could early return -1. In vpif_probe(): local variable q was only assigned. If we error out with either last two goto's then j equals VPIF_DISPLAY_MAX_DEVICES. So after the p

Compiling saa7134 on a CentOS 5 machine

2010-02-09 Thread Mogens Kjaer
Hello, I'm trying to compile v4l-dvb for my saa7134 card on my CentOS 5 machine, and I'm having some problems. The machine runs the 2.6.18-164.11.1.el5.centos.plus kernel. It used to work some month ago, now I can't get it to compile. During make, I get: Building modules, stage 2. MODPOST

Leadtek WinFast DVR3100 H zl10353_read_register: readreg error (reg=127, ret==-6)

2010-02-09 Thread Patrick Cairns
Hello I'm testing use of multiple Leadtek WinFast DVR3100 H cards for a project. I've had large numbers of them working well in the same machine as encoders (haven't been using the DVB-T capabilities). However if I use more than a few of these cards in the same machine then upon startup ther

Re: [PATCH/RESEND] soc-camera: add runtime pm support for subdevices

2010-02-09 Thread Hans Verkuil
> On Mon, 8 Feb 2010, Mauro Carvalho Chehab wrote: > >> In fact, on all drivers, there are devices that needs to be turn on only >> when >> streaming is happening: sensors, analog TV/audio demods, digital demods. >> Also, >> a few devices (for example: TV tuners) could eventually be on power off >

[PATCH] mt9t031: use runtime pm support to restore ADDRESS_MODE registers

2010-02-09 Thread Valentin Longchamp
If the platform hooks are provided, soc_camera powers off the device on close and powers it on on open. This resets the ADDRESS_MODE registers which then can be different to the value the driver has computed for them. This patch setups runtime pm usage for mt9t031 and uses the resume function to w

Re: [PATCH/RESEND] soc-camera: add runtime pm support for subdevices

2010-02-09 Thread Guennadi Liakhovetski
On Mon, 8 Feb 2010, Mauro Carvalho Chehab wrote: > In fact, on all drivers, there are devices that needs to be turn on only when > streaming is happening: sensors, analog TV/audio demods, digital demods. Also, > a few devices (for example: TV tuners) could eventually be on power off when > no devi

[PATCH 2/2] sh_mobile_ceu_camera: pass .set_parm and .get_parm down to subdevices

2010-02-09 Thread Guennadi Liakhovetski
Signed-off-by: Guennadi Liakhovetski --- diff --git a/drivers/media/video/sh_mobile_ceu_camera.c b/drivers/media/video/sh_mobile_ceu_camera.c index f09c714..cb34e74 100644 --- a/drivers/media/video/sh_mobile_ceu_camera.c +++ b/drivers/media/video/sh_mobile_ceu_camera.c @@ -1748,6 +1748,22 @@ stat

[PATCH 1/2] soc-camera: add support for VIDIOC_S_PARM and VIDIOC_G_PARM ioctls

2010-02-09 Thread Guennadi Liakhovetski
Just pass VIDIOC_S_PARM and VIDIOC_G_PARM down to host drivers. So far no special handling in soc-camera core. Signed-off-by: Guennadi Liakhovetski --- diff --git a/drivers/media/video/soc_camera.c b/drivers/media/video/soc_camera.c index 6b3fbcc..abce210 100644 --- a/drivers/media/video/soc_cam

Re: How to change fps on soc-camera ?

2010-02-09 Thread Guennadi Liakhovetski
On Wed, 6 Jan 2010, Kuninori Morimoto wrote: > > Hi all > > Now I have mt9t112 / ov772x soc-camera. > And it can change fps by register setting. > So, I would like to add such support to driver. > > But I don't know how to order it from user program. > Can you please teach me about it ? > > #

Re: [PATCH] soc_camera: match signedness of soc_camera_limit_side()

2010-02-09 Thread Guennadi Liakhovetski
On Thu, 28 Jan 2010, Németh Márton wrote: > Guennadi Liakhovetski wrote: > > On Wed, 27 Jan 2010, Németh Márton wrote: > > > >> Guennadi Liakhovetski wrote: > >>> You didn't reply to my most important objection: > >>> > >>> On Wed, 27 Jan 2010, Németh Márton wrote: > >>> > diff -r 31eaa9423f

[PATCH] soc-camera: return -ENODEV is sensor is missing

2010-02-09 Thread Magnus Damm
From: Magnus Damm Update the soc-camera i2c code to return -ENODEV if a camera sensor is missing instead of -ENOMEM. Signed-off-by: Magnus Damm --- drivers/media/video/soc_camera.c |8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) --- 0001/drivers/media/video/soc_camera.c +++

Re: [PATCH] dvb-core: fix initialization of feeds list in demux filter (Was: Videotext application crashes the kernel due to DVB-demux patch)

2010-02-09 Thread Chicken Shack
Am Dienstag, den 09.02.2010, 01:53 +0100 schrieb hermann pitton: > Am Montag, den 08.02.2010, 08:14 -0800 schrieb Linus Torvalds: > > > > On Mon, 8 Feb 2010, Chicken Shack wrote: > > > > > > This is a SCANDAL, not fun! This is SCANDALOUS! > > > > I agree that this whole thread has been totally i

Re: [linux-pm] [PATCH/RESEND] soc-camera: add runtime pm support for subdevices

2010-02-09 Thread Guennadi Liakhovetski
On Mon, 8 Feb 2010, Rafael J. Wysocki wrote: > On Monday 08 February 2010, Guennadi Liakhovetski wrote: > > To save power soc-camera powers subdevices down, when they are not in use, > > if this is supported by the platform. However, the V4L standard dictates, > > that video nodes shall preserve