Hello
I am not happy with that new module parameter as I cannot see real need
for it. So get rid of it.
Better to compare both VID and PID when enabling that work-around.
Driver supports currently quite many different USB IDs and there is
still small risk duplicate PID will exists at some
Can you look that bug as I think it is media controller related.
regards
Antti
Forwarded Message
Subject: [Bug 116551] media_gobj_create NULL pointer dereference
Date: Sat, 16 Apr 2016 20:40:18 +
From: bugzilla-dae...@bugzilla.kernel.org
To: cr...@iki.fi
That is actually bug fix for 3.19+, but according to my tests its effect
is very minor, so no need for stable. It fixes demod carrier offset
calculation.
The following changes since commit da470473c9cf9c4ebb40d046b306c76427b6df94:
[media] media: au0828 fix to clear enable/disable/change
On 04/09/2016 07:11 PM, Alessandro Radicati wrote:
On Sat, Apr 9, 2016 at 4:25 PM, Antti Palosaari <cr...@iki.fi> wrote:
On 04/09/2016 11:13 AM, Alessandro Radicati wrote:
On Sat, Apr 9, 2016 at 4:17 AM, Antti Palosaari <cr...@iki.fi> wrote:
On 04/09/2016 04:52 AM, Alessan
On 04/09/2016 11:13 AM, Alessandro Radicati wrote:
On Sat, Apr 9, 2016 at 4:17 AM, Antti Palosaari <cr...@iki.fi> wrote:
On 04/09/2016 04:52 AM, Alessandro Radicati wrote:
On Sat, Apr 9, 2016 at 3:22 AM, Antti Palosaari <cr...@iki.fi> wrote:
Here is patches to test:
http://git
On 04/09/2016 04:52 AM, Alessandro Radicati wrote:
On Sat, Apr 9, 2016 at 3:22 AM, Antti Palosaari <cr...@iki.fi> wrote:
Here is patches to test:
http://git.linuxtv.org/anttip/media_tree.git/log/?h=af9035
I've done this already in my testing, and it works for getting a
correct c
on I2C bus?
If it starts working then have to find out way to fix it properly so
that any earlier device didn't broke.
regards
Antti
On 04/09/2016 03:50 AM, Antti Palosaari wrote:
uh, how it could be so hard?
I just made few tests and found 3 ways to read it. OK, one is that
Alessandro
M, Jose Alberto Reguero
<jaregu...@telefonica.net> wrote:
I made a patch long time ago, but it was not accepted.
https://patchwork.linuxtv.org/patch/16242/
Jose Alberto
El 06/04/2016 01:00, Alessandro Radicati <alessan...@radicati.net> escribió:
On Wed, Apr 6, 2016 at 12:33 A
I found one stick having AF9035 + MXL5007T. It is HP branded A867, so it
should be similar. It seems to work all three 12.13.15.0 6.20.15.0
firmwares:
http://palosaari.fi/linux/v4l-dvb/firmware/af9035/
mxl5007t 5-0060: creating new instance
mxl5007t_get_chip_id: unknown rev (3f)
On 04/02/2016 01:44 PM, Alessandro Radicati wrote:
Hi,
In trying to understand why my DVB USB tuner doesn't work with stock
kernel drivers (4.2.0), I decided to pull out my logic analyser and
sniff the I2C bus between the AF9035 and MXL5007T. I seem to have
uncovered a couple of issues:
1)
On 03/23/2016 06:58 PM, Peter Rosin wrote:
On 2016-01-06 06:42, Antti Palosaari wrote:
Recent i2c mux locking update offers support for i2c controlled i2c
muxes. Use it and get the rid of homemade hackish i2c adapter
locking code.
[actual patch elided]
I had a 2nd look and it seems
lare that the i2c gate is self-locked
b52f766 [media] si2168: convert to use an explicit i2c mux core
4ba9115 [media] rtl2832: convert to use an explicit i2c mux core
3f1778b [media] rtl2830: convert to use an explicit i2c mux core
5c8bfc8 [media] m88ds3103: convert to use an explicit i2c mux core
Re
which did
the same job.
Cc: Peter Rosin <p...@axentia.se>
Signed-off-by: Antti Palosaari <cr...@iki.fi>
---
drivers/media/dvb-frontends/si2168.c | 21 ++---
drivers/media/dvb-frontends/si2168_priv.h | 1 +
2 files changed, 15 insertions(+), 7 deletions(-)
diff --g
/media_tree.git mn88473_pull
for you to fetch changes up to 05886118dd140b4d96cf4de5c76b4fb6155316f5:
rtl2832: move stats polling to read status (2016-02-14 04:29:33 +0200)
Antti Palosaari (4):
mn88473: move out of staging
the issue by repeating failed
message. Another solution which also works is to add ~100us delay
between i2c messages - but repeating sounds more elegant and does
not cause any extra delay for success cases.
Signed-off-by: Antti Palosaari <cr...@iki.fi>
---
drivers/media/usb/dvb-usb-v2/rtl28xxu
On 01/05/2016 05:57 PM, Peter Rosin wrote:
From: Peter Rosin
Hi!
I have a pair of boards with this i2c topology:
GPIO ---| -- BAT1
| v /
I2C -+--B---+ MUX
| \
Moikka!
On 01/06/2016 09:14 AM, Peter Rosin wrote:
Hi Antti,
On 2016-01-06 06:42, Antti Palosaari wrote:
Recent i2c mux locking update offers support for i2c controlled i2c
muxes. Use it and get the rid of homemade hackish i2c adapter
locking code.
That looks good on a first glance, and I'm
Recent i2c mux locking update offers support for i2c controlled i2c
muxes. Use it and get the rid of homemade hackish i2c adapter
locking code.
Cc: Peter Rosin <p...@axentia.se>
Cc: Peter Rosin <p...@lysator.liu.se>
Signed-off-by: Antti Palosaari <cr...@iki.fi>
---
drivers/m
to bbed859d68218c043fa88ccdd9785d9567d8fb5d:
rtl2832: do not filter out slave TS null packets (2015-12-20 04:57:20
+0200)
Antti Palosaari (3):
rtl28xxu: return demod reg page from driver cache
rtl2832: print reg
Hello
I am not sure if problem is I2C adapter/bus or that demodulator I2C
slave. If it is demod, then that workaround is correct place, but if it
is not, then that is wrong and I2C adapter repeating logic should be used.
I did some testing again... Loading mn88472 firmware 1000 times, it
Patch looks acceptable, but it is broken in a mean it does not apply :(
$ wget -O - https://patchwork.linuxtv.org/patch/32030/mbox/ | git am -3 -s
--2015-12-21 04:40:46-- https://patchwork.linuxtv.org/patch/32030/mbox/
Resolving patchwork.linuxtv.org (patchwork.linuxtv.org)... 130.149.80.248
Do not remove slave TS NULL padding PID (0x1fff) by default as
there is no real need. After that whole TS is passed to kernel sw
PID filter.
Signed-off-by: Antti Palosaari <cr...@iki.fi>
---
drivers/media/dvb-frontends/rtl2832.c | 12
1 file changed, 12 deletions(-)
diff
Return current active rtl2830/rtl2832 register page from the driver
cache in order to reduce I2C I/O. Register page is already cached
due to I2C write needs.
Signed-off-by: Antti Palosaari <cr...@iki.fi>
---
drivers/media/usb/dvb-usb-v2/rtl28xxu.c | 16 +++-
1 file chang
It is hard to debug possible I2C failures without knowing the
possible register itself. Add register number to error printing.
Signed-off-by: Antti Palosaari <cr...@iki.fi>
---
drivers/media/dvb-frontends/rtl2832.c | 9 ++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff
Moikka!
I did some testing and I cannot see reason to force hw pid filter for
that device. I assume you somehow think it does not work without
filtering, but I think it does.
I tested streaming with mn88472 demod DVB-C and DVB-T2 modes without
stream errors. DVB-T2 (live) datarate 45Mbps and
On 11/26/2015 12:53 AM, Mark Croft wrote:
hi
hope this is the correct list about trying to get linux to talk to
dvb-t usb stick?
check out all the logs etc here http://pastebin.com/V3RQ17hz
and antenna is plugged and it is good antenna with strong signal? Test
it first using windows. Logs
On 11/26/2015 12:57 AM, Antti Palosaari wrote:
On 11/26/2015 12:53 AM, Mark Croft wrote:
hi
hope this is the correct list about trying to get linux to talk to
dvb-t usb stick?
check out all the logs etc here http://pastebin.com/V3RQ17hz
and antenna is plugged and it is good antenna
)
cx23885_dvb_register() dvb_register failed err = -22
cx23885_dev_setup() Failed to register dvb adapters on VID_B
Signed-off-by: Matthias Schwarzott <z...@gentoo.org>
Reviewed-by: Antti Palosaari <cr...@iki.fi>
---
drivers/media/dvb-frontends/Kconfig | 2 +-
1 file changed, 1 ins
Moikka!
On 11/19/2015 01:36 AM, Stephan Eisvogel wrote:
Hey Olli, Antti,
culprit is:
http://git.linuxtv.org/cgit.cgi/linux.git/commit/drivers/media/dvb-frontends/si2168.c?id=7adf99d20ce0e96a70755f452e3a63824b14060f
I removed it like this:
/* error bit set? */
/*
if
On 11/20/2015 04:25 PM, Benjamin Larsson wrote:
On 11/20/2015 02:27 PM, Honza Petrouš wrote:
2015-11-20 12:00 GMT+01:00 Benjamin Larsson :
Hi, what tools can I use to test pid filter support in the drivers ?
Zap utility from dvbapps seems to be some simpler way - you
On 11/20/2015 01:00 PM, Benjamin Larsson wrote:
Hi, what tools can I use to test pid filter support in the drivers ?
dvbtraffic shows all the pids from tuned stream, but IIRC it does not
work with dvbv5-zap as it opens device blocked mode. dvbv5-zap has
itself quite similar mode than
On 09/08/2015 10:43 AM, Manuel Kampert wrote:
Register INTP1 (0x12) Bit POCLKP (bit 0) sets the output clock polarity
of tda10023 . However, the driver tries to set the parallel output mode
in this register which is not correct.
Parallel output mode is set on register INTP2 (0x20) INTPSEL (bit
On 11/18/2015 05:01 PM, Mauro Carvalho Chehab wrote:
Em Mon, 27 Jul 2015 14:22:05 +0300
Antti Palosaari <cr...@iki.fi> escreveu:
Add proper i2c driver model bindings.
Hi Antti,
What's the status of this patch series? You submitted them on July, but
never sent me a pull request.
On 11/11/2015 05:05 PM, Colin King wrote:
From: Colin Ian King
Static analysis with smatch detected a couple of issues:
drivers/media/usb/hackrf/hackrf.c:1533 hackrf_probe()
error: we previously assumed 'dev' could be null (see line 1366)
current and future version strings.
Cc: <sta...@vger.kernel.org> # 3.17+
Link: https://github.com/airspy/host/issues/27
Reported-by: Benjamin Vernoux <bvern...@gmail.com>
Signed-off-by: Antti Palosaari <cr...@iki.fi>
---
drivers/media/usb/airspy/airspy.c | 2 +-
1 file changed,
changes up to 79d7c879f3a994da146d7c19feb71cd2ab6b2215:
airspy: increase USB control message buffer size (2015-11-05 05:01:30
+0200)
Antti Palosaari (1):
airspy: increase USB control message buffer size
drivers/media/usb
changes up to 15b651b5e0a0f45a770ed1cd0f2b5511c8c103eb:
hackrf: move RF gain ctrl enable behind module parameter (2015-10-24
01:01:31 +0300)
Antti Palosaari (2):
hackrf: fix possible null ptr on debug printing
hackrf
which prevents setting
value to the control.
Signed-off-by: Antti Palosaari <cr...@iki.fi>
---
drivers/media/usb/hackrf/hackrf.c | 11 +++
1 file changed, 11 insertions(+)
diff --git a/drivers/media/usb/hackrf/hackrf.c
b/drivers/media/usb/hackrf/hackrf.c
index 84e8a42..0fe5cb2
drivers/media/usb/hackrf/hackrf.c:1533 hackrf_probe()
error: we previously assumed 'dev' could be null (see line 1366)
Reported-by: Dan Carpenter <dan.carpen...@oracle.com>
Signed-off-by: Antti Palosaari <cr...@iki.fi>
---
drivers/media/usb/hackrf/hackrf.c | 2 +-
1 file changed,
On 10/16/2015 11:53 AM, Hans Verkuil wrote:
On 09/04/2015 12:06 PM, Hans Verkuil wrote:
Hi Antti,
Two comments, see below:
On 09/01/2015 11:59 PM, Antti Palosaari wrote:
HackRF SDR device has both receiver and transmitter. There is limitation
that receiver and transmitter cannot be used
On 10/15/2015 01:11 AM, Daniel Glöckner wrote:
On Sat, Oct 10, 2015 at 07:45:30PM +0300, Antti Palosaari wrote:
Add lock to prevent concurrent access for control message as control
message function uses shared buffer. Without the lock there may be
remote control polling which messes the buffer
Moikka!
IMHO it is false positive. Variable which is defined on line 777 is used
just few lines later on line 782 as can be seen easily. I think it is
because option CONFIG_DYNAMIC_DEBUG is not set => dev_dbg_ratelimited()
macro is likely just NOP and gives that warning. Maybe some more logic
SDR receiver has ADC (Analog-to-Digital Converter) and SDR transmitter
has DAC (Digital-to-Analog Converter). Originally I though it could
be good idea to have own type for receiver and transmitter, but now I
feel one common type for SDR is enough. So lets rename it.
Signed-off-by: Antti
HackRF SDR device has both receiver and transmitter. There is limitation
that receiver and transmitter cannot be used at the same time
(half-duplex operation). That patch implements transmitter support to
existing receiver only driver.
Signed-off-by: Antti Palosaari <cr...@iki.fi>
---
d
New IOCTL ops:
vidioc_enum_fmt_sdr_out
vidioc_g_fmt_sdr_out
vidioc_s_fmt_sdr_out
vidioc_try_fmt_sdr_out
New vb2 buffertype:
V4L2_BUF_TYPE_SDR_OUTPUT
New v4l2 capability:
V4L2_CAP_SDR_OUTPUT
Acked-by: Hans Verkuil <hans.verk...@cisco.com>
Signed-off-by: Antti Palosaari <cr.
Add SDR specific notes to G_MODULATOR / S_MODULATOR documentation.
Signed-off-by: Antti Palosaari <cr...@iki.fi>
---
Documentation/DocBook/media/v4l/vidioc-g-modulator.xml | 6 ++
1 file changed, 6 insertions(+)
diff --git a/Documentation/DocBook/media/v4l/vidioc-g-modulator.
Format names are set by core nowadays. Remove name from driver.
Signed-off-by: Antti Palosaari <cr...@iki.fi>
Acked-by: Hans Verkuil <hans.verk...@cisco.com>
---
drivers/media/usb/hackrf/hackrf.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/drivers/media/usb/hackrf/hackrf.
There is Avago MGA-81563 amplifier just right after antenna connector.
It could be turned on/off and its gain is around 12dB.
Acked-by: Hans Verkuil <hans.verk...@cisco.com>
Signed-off-by: Antti Palosaari <cr...@iki.fi>
---
drivers/media/usb/hackrf/hackrf.c | 26 +
Add documentation for V4L SDR transmitter (output) devices.
Signed-off-by: Antti Palosaari <cr...@iki.fi>
Acked-by: Hans Verkuil <hans.verk...@cisco.com>
---
Documentation/DocBook/media/v4l/compat.xml | 4 +++
Documentation/DocBook/media/v4l/dev-sdr.xml
Add type field to that struct like it counterpart v4l2_tuner
already has. We need type field to distinguish different tuner
types from each others for transmitter too.
Acked-by: Hans Verkuil <hans.verk...@cisco.com>
Signed-off-by: Antti Palosaari <cr...@iki.fi>
---
drivers/media/v4
://bugzilla.kernel.org/show_bug.cgi?id=103391
Fixes: c56222a6b25c ("[media] rtl28xxu: move usb buffers to state")
Cc: <sta...@vger.kernel.org> # 4.0+
Signed-off-by: Antti Palosaari <cr...@iki.fi>
---
drivers/media/usb/dvb-usb-v2/rtl28xxu.c | 15 +--
drivers/media/usb/dvb-
has integrated LNA/RF
amplifier in any case.
Acked-by: Hans Verkuil <hans.verk...@cisco.com>
Signed-off-by: Antti Palosaari <cr...@iki.fi>
---
drivers/media/v4l2-core/v4l2-ctrls.c | 2 ++
include/uapi/linux/v4l2-controls.h | 1 +
2 files changed, 3 insertions(+)
diff --git a/driver
Add new modulator type field to documentation.
Acked-by: Hans Verkuil <hans.verk...@cisco.com>
Signed-off-by: Antti Palosaari <cr...@iki.fi>
---
Documentation/DocBook/media/v4l/vidioc-g-modulator.xml | 8 +++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/Documenta
Add SDR specific notes to G_TUNER / S_TUNER documentation.
Add V4L2_TUNER_SDR and V4L2_TUNER_RF to supported tuner types to
table.
Signed-off-by: Antti Palosaari <cr...@iki.fi>
---
Documentation/DocBook/media/v4l/vidioc-g-tuner.xml | 16
1 file changed, 16 insertions(+)
<hans.verk...@cisco.com>
Signed-off-by: Antti Palosaari <cr...@iki.fi>
---
drivers/media/usb/hackrf/hackrf.c | 323 +-
1 file changed, 175 insertions(+), 148 deletions(-)
diff --git a/drivers/media/usb/hackrf/hackrf.c
b/drivers/media/usb/hackrf/hackrf.c
i
device node is active. This means you
could use transmitter device even receiver is active and other way
around, just streaming is blocked to single node.
* Removed V4L2_CID_RF_TUNER_RF_GAIN_AUTO control as it was not used.
* Changed RF gain documentation.
Antti Palosaari (13):
v4l2: rename V4L2
Add brief description for tuner RF gain control.
Acked-by: Hans Verkuil <hans.verk...@cisco.com>
Signed-off-by: Antti Palosaari <cr...@iki.fi>
---
Documentation/DocBook/media/v4l/compat.xml | 4
Documentation/DocBook/media/v4l/controls.xml | 14 ++
Documentation/D
to fetch changes up to 24df7254d49dc6edd653b3fb412192a9696b92c7:
rtl28xxu: fix control message flaws (2015-10-08 03:49:06 +0300)
Antti Palosaari (1):
rtl28xxu: fix control message flaws
drivers/media/usb/dvb-usb-v2
u to fetch changes up to 52a1d419371a2f8d3cd76d59d5b27309c86d65af:
m88ds3103: use own reg update_bits() implementation (2015-10-04
00:59:24 +0300)
--------
Antti Palosaari (1):
m88ds3103: use own reg update_bits() implementation
drivers
sta...@kernel.org> # 4.2+
Reported-by: Mark Clarkstone <he...@markclarkstone.co.uk>
Tested-by: Mark Clarkstone <he...@markclarkstone.co.uk>
Signed-off-by: Antti Palosaari <cr...@iki.fi>
---
drivers/media/dvb-frontends/m88ds3103.c | 73 +
1 file chang
sta...@kernel.org> # 4.2+
Reported-by: Mark Clarkstone <he...@markclarkstone.co.uk>
Tested-by: Mark Clarkstone <he...@markclarkstone.co.uk>
Signed-off-by: Antti Palosaari <cr...@iki.fi>
---
drivers/media/dvb-frontends/m88ds3103.c | 73 +
1 file chang
Moikka!
I wonder if that has something to do with m88ds3103 driver conversion to
I2C binding I did...
But there is some things I do not understand. According to log it is
DVBSky S952 device, cx23885 + m88ds3103, which crash. I see no comments
on cx23885 code any Satix S2 model. Also log says
On 09/04/2015 01:26 PM, Hans Verkuil wrote:
On 09/01/2015 11:59 PM, Antti Palosaari wrote:
Add SDR specific notes to G_MODULATOR / S_MODULATOR documentation.
Signed-off-by: Antti Palosaari <cr...@iki.fi>
---
Documentation/DocBook/media/v4l/vidioc-g-modulator.xml | 9 +
HackRF SDR device has both receiver and transmitter. There is limitation
that receiver and transmitter cannot be used at the same time
(half-duplex operation). That patch implements transmitter support to
existing receiver only driver.
Signed-off-by: Antti Palosaari <cr...@iki.fi>
---
d
Add type field to that struct like it counterpart v4l2_tuner
already has. We need type field to distinguish different tuner
types from each others for transmitter too.
Acked-by: Hans Verkuil <hans.verk...@cisco.com>
Signed-off-by: Antti Palosaari <cr...@iki.fi>
---
drivers/media/v4
has integrated LNA/RF
amplifier in any case.
Acked-by: Hans Verkuil <hans.verk...@cisco.com>
Signed-off-by: Antti Palosaari <cr...@iki.fi>
---
drivers/media/v4l2-core/v4l2-ctrls.c | 2 ++
include/uapi/linux/v4l2-controls.h | 1 +
2 files changed, 3 insertions(+)
diff --git a/driver
se transmitter device even receiver is active and other way
around, just streaming is blocked to single node.
* Removed V4L2_CID_RF_TUNER_RF_GAIN_AUTO control as it was not used.
* Changed RF gain documentation.
Antti Palosaari (13):
v4l2: rename V4L2_TUNER_ADC to V4L2_TUNER_SDR
v4l2: add RF
Add SDR specific notes to G_MODULATOR / S_MODULATOR documentation.
Signed-off-by: Antti Palosaari <cr...@iki.fi>
---
Documentation/DocBook/media/v4l/vidioc-g-modulator.xml | 9 +
1 file changed, 9 insertions(+)
diff --git a/Documentation/DocBook/media/v4l/vidioc-g-modulator.
Add brief description for tuner RF gain control.
Acked-by: Hans Verkuil <hans.verk...@cisco.com>
Signed-off-by: Antti Palosaari <cr...@iki.fi>
---
Documentation/DocBook/media/v4l/compat.xml | 4
Documentation/DocBook/media/v4l/controls.xml | 14 ++
Documentation/D
There is Avago MGA-81563 amplifier just right after antenna connector.
It could be turned on/off and its gain is around 12dB.
Acked-by: Hans Verkuil <hans.verk...@cisco.com>
Signed-off-by: Antti Palosaari <cr...@iki.fi>
---
drivers/media/usb/hackrf/hackrf.c | 26 +
Format names are set by core nowadays. Remove name from driver.
Signed-off-by: Antti Palosaari <cr...@iki.fi>
Acked-by: Hans Verkuil <hans.verk...@cisco.com>
---
drivers/media/usb/hackrf/hackrf.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/drivers/media/usb/hackrf/hackrf.
Add new modulator type field to documentation.
Signed-off-by: Antti Palosaari <cr...@iki.fi>
---
Documentation/DocBook/media/v4l/vidioc-g-modulator.xml | 8 +++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/Documentation/DocBook/media/v4l/vidioc-g-modulator.
<hans.verk...@cisco.com>
Signed-off-by: Antti Palosaari <cr...@iki.fi>
---
drivers/media/usb/hackrf/hackrf.c | 323 +-
1 file changed, 175 insertions(+), 148 deletions(-)
diff --git a/drivers/media/usb/hackrf/hackrf.c
b/drivers/media/usb/hackrf/hackrf.c
i
Add SDR specific notes to G_TUNER / S_TUNER documentation.
Add V4L2_TUNER_SDR and V4L2_TUNER_RF to supported tuner types to
table.
Signed-off-by: Antti Palosaari <cr...@iki.fi>
---
Documentation/DocBook/media/v4l/vidioc-g-tuner.xml | 19 +++
1 file changed, 19 insertions(+)
Add documentation for V4L SDR transmitter (output) devices.
Signed-off-by: Antti Palosaari <cr...@iki.fi>
Acked-by: Hans Verkuil <hans.verk...@cisco.com>
---
Documentation/DocBook/media/v4l/compat.xml | 4 +++
Documentation/DocBook/media/v4l/dev-sdr.xml
SDR receiver has ADC (Analog-to-Digital Converter) and SDR transmitter
has DAC (Digital-to-Analog Converter). Originally I though it could
be good idea to have own type for receiver and transmitter, but now I
feel one common type for SDR is enough. So lets rename it.
Signed-off-by: Antti
New IOCTL ops:
vidioc_enum_fmt_sdr_out
vidioc_g_fmt_sdr_out
vidioc_s_fmt_sdr_out
vidioc_try_fmt_sdr_out
New vb2 buffertype:
V4L2_BUF_TYPE_SDR_OUTPUT
New v4l2 capability:
V4L2_CAP_SDR_OUTPUT
Signed-off-by: Antti Palosaari <cr...@iki.fi>
Acked-by: Hans Verkuil <hans.verk...@
Add user control to adjust generated FM deviation.
Default it to 75kHz like public FM radio broadcast.
Signed-off-by: Antti Palosaari <cr...@iki.fi>
---
drivers/media/platform/vivid/vivid-core.h| 1 +
drivers/media/platform/vivid/vivid-ctrls.c | 37 +++-
d
* Constify struct
* Fix comments
* Fix alignment
* Use modulus to transfer phase angles
* Correct float [-1.0, +1.0] to s8 [-128, 127] conversion
Signed-off-by: Antti Palosaari <cr...@iki.fi>
---
drivers/media/platform/vivid/vivid-sdr-cap.c | 31 +++-
1 file c
On 08/31/2015 09:04 PM, CIJOML CIJOMLovic wrote:
Hello guys,
please find out down this email patch to support EVOLVEO XtraTV stick.
This tuner is for android phones with microusb connecter, however with
reduction it works perfectly with linux kernel:
The device identify itself at USB bus as Bus
On 08/12/2015 01:39 AM, Mauro Carvalho Chehab wrote:
Otherwise, it will break on 32 bits archs.
Look good!
Antti
Signed-off-by: Mauro Carvalho Chehab mche...@osg.samsung.com
diff --git a/drivers/media/dvb-frontends/tda10071.c
b/drivers/media/dvb-frontends/tda10071.c
index
On 08/11/2015 01:20 PM, Mauro Carvalho Chehab wrote:
Em Thu, 9 Jul 2015 07:06:29 +0300
Antti Palosaari cr...@iki.fi escreveu:
Use jiffies to set timeout for firmware command status polling.
It is more elegant solution than poll X times with sleep.
/* wait cmd execution terminate
On 08/11/2015 12:46 AM, poma wrote:
Furthermore, to fix this issue - AF9015 DVB-T USB2.0 stick brokenness - is the
responsibility of developers.
I am here only proven tester.
I hope we understand each other, and this problem will be resolved in good
faith.
Your patches are implemented
On 08/10/2015 12:41 PM, Hans Verkuil wrote:
On 07/31/2015 04:10 AM, Antti Palosaari wrote:
It is VIDIOC_G_FREQUENCY which does not use type to identify tuner,
not VIDIOC_S_FREQUENCY. VIDIOC_S_FREQUENCY uses both tuner and type
fields. One of these V4L API weirdness...
Actually, that's
Moikka!
On 07/31/2015 05:43 PM, Sakari Ailus wrote:
Terve,
On Wed, Jul 29, 2015 at 06:29:05PM +0300, Antti Palosaari wrote:
commit ce0eff016f7272faa6dc6eec722b1ca1970ff9aa
[media] vb2: allow requeuing buffers while streaming
That commit causes buf_queue() called on infinity loop when
...@xs4all.nl
Signed-off-by: Antti Palosaari cr...@iki.fi
---
Documentation/DocBook/media/v4l/compat.xml | 12
Documentation/DocBook/media/v4l/dev-sdr.xml | 6 +++---
Documentation/DocBook/media/v4l/v4l2.xml| 7 +++
drivers/media/v4l2-core/v4l2-ioctl.c| 6 +++---
include
Implement single funtion, hackrf_set_params(), which handles all
needed settings. Controls and other IOCTLs are just wrappers to that
function. That way we can get easily better control what we could do
on different device states - sleeping, receiving, transmitting.
Signed-off-by: Antti Palosaari
Add brief description for tuner RF gain control.
Cc: Hans Verkuil hverk...@xs4all.nl
Signed-off-by: Antti Palosaari cr...@iki.fi
---
Documentation/DocBook/media/v4l/compat.xml | 4
Documentation/DocBook/media/v4l/controls.xml | 14 ++
Documentation/DocBook/media/v4l/v4l2.xml
HackRF SDR device has both receiver and transmitter. There is limitation
that receiver and transmitter cannot be used at the same time
(half-duplex operation). That patch implements transmitter support to
existing receiver only driver.
Cc: Hans Verkuil hverk...@xs4all.nl
Signed-off-by: Antti
It is VIDIOC_G_FREQUENCY which does not use type to identify tuner,
not VIDIOC_S_FREQUENCY. VIDIOC_S_FREQUENCY uses both tuner and type
fields. One of these V4L API weirdness...
Cc: Hans Verkuil hverk...@xs4all.nl
Signed-off-by: Antti Palosaari cr...@iki.fi
---
Documentation/DocBook/media/v4l
Add V4L2_TUNER_SDR and V4L2_TUNER_RF to supported tuner types to
table.
Cc: Hans Verkuil hverk...@xs4all.nl
Signed-off-by: Antti Palosaari cr...@iki.fi
---
Documentation/DocBook/media/v4l/vidioc-g-tuner.xml | 10 ++
1 file changed, 10 insertions(+)
diff --git a/Documentation/DocBook
New IOCTL ops:
vidioc_enum_fmt_sdr_out
vidioc_g_fmt_sdr_out
vidioc_s_fmt_sdr_out
vidioc_try_fmt_sdr_out
New vb2 buffertype:
V4L2_BUF_TYPE_SDR_OUTPUT
New v4l2 capability:
V4L2_CAP_SDR_OUTPUT
Signed-off-by: Antti Palosaari cr...@iki.fi
Acked-by: Hans Verkuil hans.verk...@cisco.com
---
drivers
Add documentation for V4L SDR transmitter (output) devices.
Signed-off-by: Antti Palosaari cr...@iki.fi
Acked-by: Hans Verkuil hans.verk...@cisco.com
---
Documentation/DocBook/media/v4l/compat.xml | 4 +++
Documentation/DocBook/media/v4l/dev-sdr.xml| 30
Add type field to that struct like it counterpart v4l2_tuner
already has. We need type field to distinguish different tuner
types from each others for transmitter too.
Cc: Hans Verkuil hverk...@xs4all.nl
Signed-off-by: Antti Palosaari cr...@iki.fi
---
drivers/media/v4l2-core/v4l2-ioctl.c | 18
Format names are set by core nowadays. Remove name from driver.
Signed-off-by: Antti Palosaari cr...@iki.fi
Acked-by: Hans Verkuil hans.verk...@cisco.com
---
drivers/media/usb/hackrf/hackrf.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/drivers/media/usb/hackrf/hackrf.c
b/drivers/media
Add new modulator type field to documentation.
Cc: Hans Verkuil hverk...@xs4all.nl
Signed-off-by: Antti Palosaari cr...@iki.fi
---
Documentation/DocBook/media/v4l/vidioc-g-modulator.xml | 8 +++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/Documentation/DocBook/media/v4l
There is Avago MGA-81563 amplifier just right after antenna connector.
It could be turned on/off and its gain is around 12dB.
Signed-off-by: Antti Palosaari cr...@iki.fi
---
drivers/media/usb/hackrf/hackrf.c | 26 +-
1 file changed, 25 insertions(+), 1 deletion(-)
diff
has integrated LNA/RF
amplifier in any case.
Cc: Hans Verkuil hverk...@xs4all.nl
Signed-off-by: Antti Palosaari cr...@iki.fi
---
drivers/media/v4l2-core/v4l2-ctrls.c | 2 ++
include/uapi/linux/v4l2-controls.h | 1 +
2 files changed, 3 insertions(+)
diff --git a/drivers/media/v4l2-core/v4l2
V4L2_CID_RF_TUNER_RF_GAIN_AUTO control as it was not used.
* Changed RF gain documentation.
Antti Palosaari (13):
v4l2: rename V4L2_TUNER_ADC to V4L2_TUNER_SDR
v4l2: add RF gain control
DocBook: document tuner RF gain control
v4l2: add support for SDR transmitter
DocBook: document SDR
Signed-off-by: Antti Palosaari cr...@iki.fi
---
drivers/media/v4l2-core/videobuf2-core.c | 11 +++
1 file changed, 3 insertions(+), 8 deletions(-)
diff --git a/drivers/media/v4l2-core/videobuf2-core.c
b/drivers/media/v4l2-core/videobuf2-core.c
index 93b3154..e7b4f6a 100644
--- a/drivers/media
201 - 300 of 3449 matches
Mail list logo