Re: [PATCH RFC v4 0/7] SDR API

2013-12-19 Thread Hans Verkuil
On 12/19/2013 04:59 AM, Antti Palosaari wrote: Here is the full set of implementation. But. API Documentation is the really hard part as it is in XML format. I have wasted already quite too much time for it :/ The reason is that I don't have any XML editor, just plain text editor. Is

Re: [PATCH RFC v4 1/7] v4l: add device type for Software Defined Radio

2013-12-19 Thread Hans Verkuil
On 12/19/2013 05:00 AM, Antti Palosaari wrote: Add new V4L device type VFL_TYPE_SDR for Software Defined Radio. It is registered as /dev/swradio0 (/dev/sdr0 was already reserved). Cc: Hans Verkuil hverk...@xs4all.nl Signed-off-by: Antti Palosaari cr...@iki.fi ---

Re: [PATCH RFC v4 6/7] v4l: enable some IOCTLs for SDR receiver

2013-12-19 Thread Hans Verkuil
On 12/19/2013 05:00 AM, Antti Palosaari wrote: Enable stream format (FMT) IOCTLs for SDR use. These are used for negotiate used data stream format. Reorganise some some IOCTL selection logic. Acked-by: Hans Verkuil hverk...@xs4all.nl Regards, Hans Signed-off-by: Antti Palosaari

Re: [PATCH RFC v4 7/7] v4l: add device capability flag for SDR receiver

2013-12-19 Thread Hans Verkuil
On 12/19/2013 05:00 AM, Antti Palosaari wrote: VIDIOC_QUERYCAP IOCTL is used to query device capabilities. Add new capability flag to inform given device supports SDR capture. Acked-by: Hans Verkuil hverk...@xs4all.nl Regards, Hans Signed-off-by: Antti Palosaari cr...@iki.fi ---

Re: [PATCH RFC v4 6/7] v4l: enable some IOCTLs for SDR receiver

2013-12-19 Thread Hans Verkuil
On 12/19/2013 05:00 AM, Antti Palosaari wrote: Enable stream format (FMT) IOCTLs for SDR use. These are used for negotiate used data stream format. Reorganise some some IOCTL selection logic. Cc: Hans Verkuil hverk...@xs4all.nl Signed-off-by: Antti Palosaari cr...@iki.fi ---

Re: [PATCH RFC v3 6/7] rtl2832_sdr: convert to SDR API

2013-12-19 Thread Hans Verkuil
On 12/16/2013 11:08 PM, Antti Palosaari wrote: It was abusing video device API. Use SDR API instead. Signed-off-by: Antti Palosaari cr...@iki.fi --- drivers/staging/media/rtl2832u_sdr/rtl2832_sdr.c | 291 ++- 1 file changed, 227 insertions(+), 64 deletions(-) A

Re: [RFC v3] [RFC] v4l2: Support for multiple selections

2013-12-19 Thread Tomasz Stanislawski
Hi Ricardo, Please refer to the comments below. On 12/10/2013 09:37 AM, Ricardo Ribalda Delgado wrote: Hello Tomasz Now is my time to say sorry for the delay, but i have been in holidays and then I had a pile of work waiting on my desk :). No problem. On Tue, Nov 12, 2013 at 3:54

Re: [PATCH] libdvbv5: more fixes in the T2 delivery descriptor handler

2013-12-19 Thread Mauro Carvalho Chehab
Em Thu, 19 Dec 2013 03:37:48 +0100 Nikolaus Schulz sch...@macnetix.de escreveu: Hi Mauro, I didn't have the time yet to look at your comments and that patch again, but: Please note that my email address sch...@macnetix.de is shut down as of today[1]. Please use my alternate address,

Re: [RFC v3] [RFC] v4l2: Support for multiple selections

2013-12-19 Thread Hans Verkuil
Hi Sylwester, On 12/19/2013 12:09 PM, Tomasz Stanislawski wrote: Hi Ricardo, Please refer to the comments below. On 12/10/2013 09:37 AM, Ricardo Ribalda Delgado wrote: Hello Tomasz Now is my time to say sorry for the delay, but i have been in holidays and then I had a pile of work

Re: [RFC v3] [RFC] v4l2: Support for multiple selections

2013-12-19 Thread Hans Verkuil
On 12/19/2013 12:45 PM, Hans Verkuil wrote: Hi Sylwester, That should be Tomasz, of course :-) Hans -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: [RFC v3] [RFC] v4l2: Support for multiple selections

2013-12-19 Thread Ricardo Ribalda Delgado
Hello Tomasz Thanks for your comments. On Thu, Dec 19, 2013 at 12:09 PM, Tomasz Stanislawski t.stanisl...@samsung.com wrote: Hi Ricardo, Please refer to the comments below. On 12/10/2013 09:37 AM, Ricardo Ribalda Delgado wrote: Hello Tomasz Now is my time to say sorry for the delay, but i

Re: [RFC v3] [RFC] v4l2: Support for multiple selections

2013-12-19 Thread Tomasz Stanislawski
Hi Ricardo, On 12/10/2013 10:46 AM, Ricardo Ribalda Delgado wrote: Hello Tomasz and Hans On Thu, Nov 14, 2013 at 4:40 PM, Tomasz Stanislawski t.stanisl...@samsung.com wrote: Hi Hans, On 11/14/2013 11:18 AM, Hans Verkuil wrote: Hi Tomasz, On 11/12/13 15:54, Tomasz Stanislawski wrote:

Re: [RFC v3] [RFC] v4l2: Support for multiple selections

2013-12-19 Thread Ricardo Ribalda Delgado
Hello Tomasz On Thu, Dec 19, 2013 at 1:34 PM, Tomasz Stanislawski t.stanisl...@samsung.com wrote: Hi Ricardo, On 12/10/2013 10:46 AM, Ricardo Ribalda Delgado wrote: Hello Tomasz and Hans On Thu, Nov 14, 2013 at 4:40 PM, Tomasz Stanislawski t.stanisl...@samsung.com wrote: Hi Hans, On

Re: [RFC v3] [RFC] v4l2: Support for multiple selections

2013-12-19 Thread Tomasz Stanislawski
Hi Hans, We've misunderstood. When I was saying 'overengineered' I did not mean your RFC. I was taking about this: #define V4L2_SEL_TGT_CROP_COMPOSE0x0200 struct v4l2_selection { __u32 type; __u32 target; __u32

Re: [RFC v3] [RFC] v4l2: Support for multiple selections

2013-12-19 Thread Hans Verkuil
On 12/19/2013 02:30 PM, Tomasz Stanislawski wrote: Hi Hans, We've misunderstood. When I was saying 'overengineered' I did not mean your RFC. I was taking about this: #define V4L2_SEL_TGT_CROP_COMPOSE0x0200 struct v4l2_selection { __u32 type; __u32

Re: stable regression: tda18271_read_regs: [1-0060|M] ERROR: i2c_transfer returned: -19

2013-12-19 Thread Luis Henriques
On Mon, Dec 16, 2013 at 08:57:48PM +0100, Frederik Himpe wrote: On za, 2013-12-14 at 09:24 -0200, Mauro Carvalho Chehab wrote: Em Fri, 13 Dec 2013 22:19:39 +0100 Frederik Himpe fhi...@telenet.be escreveu: [My excuses for multiposting, it seems gmane does not permit posting to all

[PATCH 35/38] media: bt8xx: add missing put_device call

2013-12-19 Thread Levente Kurusa
This is required so that we give up the last reference to the device. Remove the kfree() because the put_device() call will actually call release_sub_device which in turn kfrees the device. Signed-off-by: Levente Kurusa le...@linux.com --- drivers/media/pci/bt8xx/bttv-gpio.c | 2 +- 1 file

Re: [PATCH RFC v3 6/7] rtl2832_sdr: convert to SDR API

2013-12-19 Thread Antti Palosaari
Hi Hans! On 19.12.2013 11:21, Hans Verkuil wrote: On 12/16/2013 11:08 PM, Antti Palosaari wrote: It was abusing video device API. Use SDR API instead. Signed-off-by: Antti Palosaari cr...@iki.fi --- drivers/staging/media/rtl2832u_sdr/rtl2832_sdr.c | 291 ++- 1 file

Re: [PATCH RFC v3 6/7] rtl2832_sdr: convert to SDR API

2013-12-19 Thread Devin Heitmueller
I haven't looked situation more carefully yet, but one thing that must be done at the very first is to add some lock to prevent only DVB or V4L2 API could access the hardware at time. Probably worth mentioning that we have *lots* of devices that suffer from this problem. Our general tact has

Re: [PATCH v10 1/2] s5k5baf: add camera sensor driver

2013-12-19 Thread Laurent Pinchart
Hi Sylwester, On Thursday 19 December 2013 14:54:44 Sylwester Nawrocki wrote: On 05/12/13 12:38, Andrzej Hajda wrote: Driver for Samsung S5K5BAF UXGA 1/5 2M CMOS Image Sensor with embedded SoC ISP. The driver exposes the sensor as two V4L2 subdevices: - S5K5BAF-CIS - pure CMOS Image

Re: [PATCH RFC v3 6/7] rtl2832_sdr: convert to SDR API

2013-12-19 Thread Antti Palosaari
On 19.12.2013 18:59, Devin Heitmueller wrote: I haven't looked situation more carefully yet, but one thing that must be done at the very first is to add some lock to prevent only DVB or V4L2 API could access the hardware at time. Probably worth mentioning that we have *lots* of devices that

Re: [PATCH RFC v3 6/7] rtl2832_sdr: convert to SDR API

2013-12-19 Thread Devin Heitmueller
I think I could add some lock quite easily. I remember when I implemented cxd2820r DVB-T/T2/C demod driver and at the time it implements 2 frontends, one for DVB-T/T2 and one for DVB-C. I used shared lock to prevent access only for single fe at time. I think same solution works in that case

Re: [PATCH] libdvbv5: more fixes in the T2 delivery descriptor handler

2013-12-19 Thread Nikolaus Schulz
On Wed, Dec 18, 2013 at 10:49:31AM -0200, Mauro Carvalho Chehab wrote: * Properly use lengths of centre_frequency loop and subcell_info loop (they count bytes, not entries) I'm not sure about this one. On all other similar descriptors, we're storing the number of elements at the

Ciao

2013-12-19 Thread benitajohnson313
Ciao Il mio nome è BenitaJohnson ho visto il tuo profilo toda (forum.ubuntu-it.org/viewtopic.php) e si è interessata in voi, mi piacerebbe anche sapere che il più, e voglio che tu inviare una mail al mio indirizzo mail così posso darvi la mia immagine per voi sa che io am.Here è il mio

Hello dear

2013-12-19 Thread annstokesz
Hello dear I will be very happy to be your friend. My name is miss. Ann Stokes. Please i will like you to write me through my email address ( ann...@yahoo.fr ) . I will send my pictures to you and also tell you more about myself when i receive your email. I will be waiting for your mail in my mail

Re: [ivtv-users] Kernel crash with modprobe cx18

2013-12-19 Thread Andy Walls
On Thu, 2013-12-19 at 07:00 -0600, Scott Robinson wrote: Please see attachment. Many thanks for your response. On Wed, Dec 18, 2013 at 7:40 PM, Andy Walls awa...@md.metrocast.net wrote: On Wed, 2013-12-18 at 13:06 -0600, Scott Robinson wrote: I am running Fedora 18, x86_64, and recently

cron job: media_tree daily build: ERRORS

2013-12-19 Thread Hans Verkuil
This message is generated daily by a cron job that builds media_tree for the kernels and architectures in the list below. Results of the daily build of media_tree: date: Fri Dec 20 04:00:28 CET 2013 git branch: test git hash: d22d32e117c19efa1761d871d9dab5e294b7b77d gcc

[PATCH RFC v5 02/12] v4l: add new tuner types for SDR

2013-12-19 Thread Antti Palosaari
Define tuner types V4L2_TUNER_ADC and V4L2_TUNER_RF for SDR usage. ADC is used for setting sampling rate (sampling frequency) to SDR device. Another tuner type, named as V4L2_TUNER_RF, is possible RF tuner. Is is used to down-convert RF frequency to range ADC could sample. Having RF tuner is

[PATCH RFC v5 03/12] v4l: 1 Hz resolution flag for tuners

2013-12-19 Thread Antti Palosaari
Add V4L2_TUNER_CAP_1HZ for 1 Hz resolution. Cc: Hans Verkuil hverk...@xs4all.nl Signed-off-by: Antti Palosaari cr...@iki.fi Acked-by: Hans Verkuil hans.verk...@cisco.com --- include/uapi/linux/videodev2.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/uapi/linux/videodev2.h

[PATCH RFC v5 01/12] v4l: add device type for Software Defined Radio

2013-12-19 Thread Antti Palosaari
Add new V4L device type VFL_TYPE_SDR for Software Defined Radio. It is registered as /dev/swradio0 (/dev/sdr0 was already reserved). Cc: Hans Verkuil hverk...@xs4all.nl Signed-off-by: Antti Palosaari cr...@iki.fi Acked-by: Hans Verkuil hans.verk...@cisco.com ---

[PATCH RFC v5 05/12] v4l: define own IOCTL ops for SDR FMT

2013-12-19 Thread Antti Palosaari
Use own format ops for SDR data: vidioc_enum_fmt_sdr_cap vidioc_g_fmt_sdr_cap vidioc_s_fmt_sdr_cap vidioc_try_fmt_sdr_cap Cc: Hans Verkuil hverk...@xs4all.nl Signed-off-by: Antti Palosaari cr...@iki.fi Acked-by: Hans Verkuil hans.verk...@cisco.com --- include/media/v4l2-ioctl.h | 8 1

[PATCH RFC v5 09/12] DocBook: fix wait.c location

2013-12-19 Thread Antti Palosaari
Documentation did not compile as wait.c location was wrong. Signed-off-by: Antti Palosaari cr...@iki.fi --- Documentation/DocBook/device-drivers.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/DocBook/device-drivers.tmpl

[PATCH RFC v5 04/12] v4l: add stream format for SDR receiver

2013-12-19 Thread Antti Palosaari
Add new V4L2 stream format definition, V4L2_BUF_TYPE_SDR_CAPTURE, for SDR receiver. Cc: Hans Verkuil hverk...@xs4all.nl Signed-off-by: Antti Palosaari cr...@iki.fi Acked-by: Hans Verkuil hans.verk...@cisco.com --- drivers/media/v4l2-core/v4l2-ioctl.c | 1 + include/trace/events/v4l2.h

[PATCH RFC v5 12/12] v4l2-framework.txt: add SDR device type

2013-12-19 Thread Antti Palosaari
Add SDR device type to v4l2-framework.txt document. Cc: Hans Verkuil hverk...@xs4all.nl Signed-off-by: Antti Palosaari cr...@iki.fi --- Documentation/video4linux/v4l2-framework.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/video4linux/v4l2-framework.txt

[PATCH RFC v5 11/12] DocBook: Software Defined Radio Interface

2013-12-19 Thread Antti Palosaari
Document V4L2 SDR interface. Cc: Hans Verkuil hverk...@xs4all.nl Signed-off-by: Antti Palosaari cr...@iki.fi --- Documentation/DocBook/media/v4l/compat.xml | 10 +++ Documentation/DocBook/media/v4l/dev-sdr.xml | 99 Documentation/DocBook/media/v4l/io.xml

[PATCH RFC v5 10/12] DocBook: document 1 Hz flag

2013-12-19 Thread Antti Palosaari
Update documention to reflect 1 Hz frequency step flag. Cc: Hans Verkuil hverk...@xs4all.nl Signed-off-by: Antti Palosaari cr...@iki.fi --- .../DocBook/media/v4l/vidioc-enum-freq-bands.xml | 8 +--- Documentation/DocBook/media/v4l/vidioc-g-frequency.xml| 3 ++-

[PATCH RFC v5 06/12] v4l: enable some IOCTLs for SDR receiver

2013-12-19 Thread Antti Palosaari
Enable stream format (FMT) IOCTLs for SDR use. These are used for negotiate used data stream format. Reorganise some some IOCTL selection logic. Cc: Hans Verkuil hverk...@xs4all.nl Signed-off-by: Antti Palosaari cr...@iki.fi Acked-by: Hans Verkuil hverk...@xs4all.nl ---

[PATCH RFC v5 07/12] v4l: add device capability flag for SDR receiver

2013-12-19 Thread Antti Palosaari
VIDIOC_QUERYCAP IOCTL is used to query device capabilities. Add new capability flag to inform given device supports SDR capture. Cc: Hans Verkuil hverk...@xs4all.nl Signed-off-by: Antti Palosaari cr...@iki.fi Acked-by: Hans Verkuil hverk...@xs4all.nl --- include/uapi/linux/videodev2.h | 2 ++ 1

[PATCH RFC v5 08/12] v4l: do not allow modulator ioctls for non-radio devices

2013-12-19 Thread Antti Palosaari
From: Hans Verkuil hverk...@xs4all.nl Modulator ioctls could be enabled mistakenly for non-radio devices. Currently those ioctls are only valid for radio. Fix it. Signed-off-by: Hans Verkuil hans.verk...@cisco.com Signed-off-by: Antti Palosaari cr...@iki.fi ---

[PATCH RFC v5 00/12] SDR API with documentation

2013-12-19 Thread Antti Palosaari
Now with documentation and changes from Hans. Antti Palosaari (11): v4l: add device type for Software Defined Radio v4l: add new tuner types for SDR v4l: 1 Hz resolution flag for tuners v4l: add stream format for SDR receiver v4l: define own IOCTL ops for SDR FMT v4l: enable some

Questions on how to add support for DVB-C/T on HVR4400 and HVR5500

2013-12-19 Thread Matthias Schwarzott
Hi there, I am trying to also add support for for using SI2165 driver on HVR4400 and HVR5500 cards. The pci subdevice id of the HVR5500 (0x0070:0xc138) is assigned to HVR4400 in cx23885-cards.c. Is that just because the DVB-S2 part is identical, to not add redundant code? In this case I could