Hi everyone,
I have tried to get my Ion Video 2 PC to work on my Linux computer, but
I was unsuccessful. I'm using Debian with the kernel version
3.16.0-4-amd64. When I connect the device, I can see that it detects a
new audio input as "ION Audio USB 2861 Device: Audio (hw:1,0)", but I
cannot
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: Thu Jan 7 04:00:17 CET 2016
git branch: test
git hash: 768acf46e1320d6c41ed1b7c4952bab41c1cde79
gcc versio
Device Tree bindings for the Camera Adaptation Layer (CAL) driver
Signed-off-by: Benoit Parrot
Acked-by: Rob Herring
---
Documentation/devicetree/bindings/media/ti-cal.txt | 72 ++
1 file changed, 72 insertions(+)
create mode 100644 Documentation/devicetree/bindings/media/t
The Camera Adaptation Layer (CAL) is a block which consists of a dual
port CSI2/MIPI camera capture engine.
Port #0 can handle CSI2 camera connected to up to 4 data lanes.
Port #1 can handle CSI2 camera connected to up to 2 data lanes.
The driver implements the required API/ioctls to be V4L2 compli
The Camera Adaptation Layer (CAL) is a block which consists of a dual
port CSI2/MIPI camera capture engine.
This camera engine is currently found on DRA72xx family of devices.
Port #0 can handle CSI2 camera connected to up to 4 data lanes.
Port #1 can handle CSI2 camera connected to up to 2 data l
Signed-off-by: Benoit Parrot
---
MAINTAINERS | 8
1 file changed, 8 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 4635e1d14612..ebbdb410c0f0 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -10631,6 +10631,14 @@ L: linux-o...@vger.kernel.org
S: Maintained
F: driv
Add support for ALSA capture, playback, and mixer entity functions.
Signed-off-by: Shuah Khan
---
contrib/test/mc_nextgen_test.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/contrib/test/mc_nextgen_test.c b/contrib/test/mc_nextgen_test.c
index e287096..e0d0ad2 100644
--- a/contrib/t
ALSA interfaces were disable with #if 0. Renable
them.
Signed-off-by: Shuah Khan
---
contrib/test/mc_nextgen_test.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/contrib/test/mc_nextgen_test.c b/contrib/test/mc_nextgen_test.c
index 14a0917..7d0344b 100644
--- a/contrib/test/mc_nextgen_tes
Hello,
I had the exact same problem.
Here's a question I asked on the Ubuntu but got no answer:
http://askubuntu.com/questions/686779/video-recording-device-detected-but-cant-use-it
Now I bought another device, an Ion Video 2 PC MKII, it uses the same chip and
it won't work with Linux.
Here
Add support for creating MEDIA_ENT_F_AUDIO_MIXER entity for
each mixer and a MEDIA_INTF_T_ALSA_CONTROL control interface
entity that links to mixer entities. MEDIA_INTF_T_ALSA_CONTROL
entity corresponds to the control device for the card.
Signed-off-by: Shuah Khan
---
sound/usb/card.c | 5 +
Change ALSA driver to use Managed Media Managed Controller
API to share tuner with DVB and V4L2 drivers that control
AU0828 media device. Media device is created based on a
newly added field value in the struct snd_usb_audio_quirk.
Using this approach, the media controller API usage can be
added f
entity_notify handlers are removed from media_device_unregister().
There is no need to call media_device_unregister_entity_notify()
to do that right before calling media_device_unregister().
Signed-off-by: Shuah Khan
---
drivers/media/usb/au0828/au0828-core.c | 2 --
1 file changed, 2 deletions(
Change au0828_unregister_media_device() to check media
device media device unregister is in progress and avoid
calling media_device_unregister() and other cleanup done
in au0828_unregister_media_device().
Signed-off-by: Shuah Khan
---
drivers/media/usb/au0828/au0828-core.c | 4 +++-
1 file chang
Add support to track media device unregister in progress
state to prevent more than one driver entering unregister.
This enables fixing the general protection faults while
snd-usb-audio was cleaning up media resources for pcm
streams and mixers. In this patch a new interface is added
to return the
Change to release media resources for pcm streams
and mixer before snd_card_disconnect() is done from
usb_audio_disconnect(). The stream and mixer resource
release interfaces access managed media resources
(device resources) created on the usb device parent.
These interfaces should be called before
Add new pad for ALSA Audio Out to au8522_media_pads.
Signed-off-by: Shuah Khan
---
drivers/media/dvb-frontends/au8522.h | 1 +
drivers/media/dvb-frontends/au8522_decoder.c | 1 +
2 files changed, 2 insertions(+)
diff --git a/drivers/media/dvb-frontends/au8522.h
b/drivers/media/dvb-fron
Add new fields to struct media_device to add enable_source, and
disable_source handlers, and source_priv to stash driver private
data that is need to run these handlers. The enable_source handler
finds source entity for the passed in entity and check if it is
available, and activate the link using
Change au0828_create_media_graph() to create pad link
between MEDIA_ENT_F_AUDIO_MIXER entity and decoder's
AU8522_PAD_AUDIO_OUT. With mixer entity now linked to
decoder, change to link MEDIA_ENT_F_AUDIO_CAPTURE to
mixer's source pad.
Signed-off-by: Shuah Khan
---
drivers/media/usb/au0828/au0828-
Change s_input, s_fmt, s_tuner, s_frequency, querystd,
s_hw_freq_seek, and vb2_core_streamon interfaces that
alter the tuner configuration to check for tuner availability
by calling v4l_enable_media_tuner(). If tuner isn't free,
return -EBUSY. v4l_disable_media_tuner() is called from
v4l2_fh_exit()
Checking for tuner availability from frontend thread start
disrupts video stream. Change to check for tuner and start
pipeline from frontend open instead and stop pipeline from
frontend release. In addition, make a change to invoke
enable_source and disable_source handlers to check for
tuner availa
Media device initialization and registration is split
and there is a window between media device init and
media device register during usb probe. au0828 bridge
driver has to coordinate managed media device init and
register with snd-usb-audio. Checking if the device is
registered during media devic
Add a new wrapper function to au0828_create_media_graph()
to be called as an entity_notify function to fix null
pointer dereference. A rebasing mistake resulted in
registering au0828_create_media_graph() without the
correct parameters which lead to the following
null pointer dereference:
[ 69.00
Add a new v4l_vb2q_enable_media_tuner() wrapper function
to be called from v4l2-core to enable the media tuner with
videobuf2 queue, when the calling frunction has the videobuf2
queue and doesn't have the struct video_device associated with
the queue handy as in the case of vb2_core_streamon(). Thi
Change au0828-core to use au8522_media_pads enum defines
instead of hard-coding the pad values when it creates
media graph linking decode pads to other entities.
Signed-off-by: Shuah Khan
---
drivers/media/usb/au0828/au0828-core.c | 7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
dif
au0828 is changed to use v4l_enable_media_tuner() to check for
tuner availability from vidioc_g_tuner(), and au0828_v4l2_close(),
before changing tuner settings. If tuner isn't free, return busy
condition from vidioc_g_tuner() and in au0828_v4l2_close() tuner
is left untouched without powering down
au0828 registers entity_notify hook to create media graph for
the device. This handler runs whenvere a new entity gets added
to the media device. It creates necessary links from video, vbi,
and ALSA entities to decoder and links tuner and decoder entities.
As this handler runs as entities get added
au0828_create_media_graph() doesn't do any checks to determine,
if vbi_dev, vdev, and input entities have been registered prior
to creating pad links. Checking graph_obj.mdev field works as
the graph_obj.mdev field gets initialized in the entity register
interface. Fix it to check graph_obj.mdev fi
au0828_enable_analog_tuner() is no longer needed with
v4l2-core and au0828-video invoking enable_source and
disable_source handlers. In addition, it is unnecessary
to check for tuner availability in queue_setup() as
v4l2-core handles the tuner availability checks.
Signed-off-by: Shuah Khan
---
d
Implements enable_source and disable_source handlers for other
drivers (v4l2-core, dvb-core, and ALSA) to use to check for
tuner connected to the decoder and activate the link if tuner
is free, and deactivate and free the tuner when it is no longer
needed.
Signed-off-by: Shuah Khan
---
drivers/m
Create tuner to demod pad link in disabled state to help avoid
disable step when tuner resource is requested by video or audio.
Signed-off-by: Shuah Khan
---
drivers/media/dvb-core/dvbdev.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/media/dvb-core/dvbdev.c b/dr
Move the au8522_media_pads enum to au8522.h from au8522_priv.h.
This will allow au0828-core to use these defines instead of
hard-coding the pad values when it creates media graph linking
decode pads to other entities.
Signed-off-by: Shuah Khan
---
drivers/media/dvb-frontends/au8522.h | 7 ++
Create tuner to demod pad link in disabled state to help
avoid disable step when tuner resource is requested by dvb.
Signed-off-by: Shuah Khan
---
drivers/media/usb/au0828/au0828-core.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/media/usb/au0828/au0828-core.c
Export __media_entity_setup_link() to be used from code paths that hold
the graph_mutex.
Signed-off-by: Shuah Khan
---
drivers/media/media-entity.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/media/media-entity.c b/drivers/media/media-entity.c
index 78486a9..b8769aa 100644
--- a/
Change au0828 to use Managed Media Controller API to coordinate
creating/deleting media device on parent usb device it shares
with the snd-usb-audio driver. With this change, au0828 uses
media_device_get_devres() to allocate a new media device devres
or return an existing one, if it finds one.
Sig
Add non-locking __media_entity_pipeline_start/stop() interfaces
to be called from code paths that hold the graph_mutex. For this
change, the media_entity_pipeline_start() routine is renamed to
__media_entity_pipeline_start() minus the graph_mutex lock and
unlock. media_entity_pipeline_start() now c
Add a new interfaces to be used by v4l-core to invoke enable
source and disable_source handlers in the media_device. The
enable_source helper function invokes the enable_source handler
to find tuner entity connected to the decoder and check is it
is available or busy. If tuner is available, link is
Add ALSA Media Controller capture, playback, and mixer
function entity defines.
Signed-off-by: Shuah Khan
---
include/uapi/linux/media.h | 9 -
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/include/uapi/linux/media.h b/include/uapi/linux/media.h
index 75cbe92..53a96ae 1006
Add a range check to not let the stream_count become negative.
Wthout this check, calls to stop pipeline when there is no active
pipeline will result in stream_count < 0 condition and lock and
preventing link state (activate/deactivate) changes. This will
happen from error leg in start pipeline int
This patch series updates ALSA driver, and au0828 core
driver to use Managed Media controller API and Media
Controller API to share tuner.
Media Controller Next Generation API has been enhanced
to add two new interfaces to register and unregister
entity_notify hooks to allow drivers to take approp
From: Mauro Carvalho Chehab
Declare the interface types to be used on alsa for the new
G_TOPOLOGY ioctl.
Signed-off-by: Mauro Carvalho Chehab
---
drivers/media/media-entity.c | 12
include/uapi/linux/media.h | 8
2 files changed, 20 insertions(+)
diff --git a/drivers/
Add new interfaces to register and unregister entity_notify
hook to media device to allow drivers to take appropriate
actions when as new entities get added to the shared media
device.When a new entity is registered, all registered
entity_notify hooks are invoked to allow drivers or modules
that re
On Wed, Jan 6, 2016 at 1:27 PM, Schubert, Matthew R.
(LARC-D319)[TEAMS2] wrote:
> Hello,
>
> We are attempting to use a StarTech Video Capture cable (Part# SVID2USB2)
> with our CentOS 6.7 machine with no success. The em28xx driver seems to load
> but cannot properly ID the capture cable. Below
Hello,
We are attempting to use a StarTech Video Capture cable (Part# SVID2USB2) with
our CentOS 6.7 machine with no success. The em28xx driver seems to load but
cannot properly ID the capture cable. Below are the outputs from "dmesg" and
"lsusb -v" run after plugging in the device. Any advice
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
| \
EEPROM
On Wed, Jan 6, 2016 at 4:34 PM, Al Viro wrote:
> On Tue, Jan 05, 2016 at 05:37:06PM +, Lad, Prabhakar wrote:
>> On Sun, Dec 13, 2015 at 12:32 AM, Al Viro wrote:
>> > Passing a physical address to free_pages() is a bad idea.
>> > config_params->fault_pxl.fpc_table_addr is set to virt_t
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
On Tue, Jan 05, 2016 at 05:37:06PM +, Lad, Prabhakar wrote:
> On Sun, Dec 13, 2015 at 12:32 AM, Al Viro wrote:
> > Passing a physical address to free_pages() is a bad idea.
> > config_params->fault_pxl.fpc_table_addr is set to virt_to_phys()
> > of __get_free_pages() return value; what
Add a new product id to dvb-usb-dvbsky for new version of TechnoTrend CT2-4650
CI
Signed-off-by: Torbjörn Jansson
---
drivers/media/dvb-core/dvb-usb-ids.h | 1 +
drivers/media/usb/dvb-usb-v2/dvbsky.c | 4
2 files changed, 5 insertions(+)
diff --git a/drivers/media/dvb-core/dvb-usb-ids.h
Hello Laurent,
On 01/06/2016 10:48 AM, Laurent Pinchart wrote:
[snip]
@@ -940,6 +948,16 @@ static int tvp5150_cropcap(struct v4l2_subdev *sd,
struct v4l2_cropcap *a)
static int tvp5150_g_mbus_config(struct v4l2_subdev *sd,
struct v4l2_mbus_config
On Tue, Jan 05, 2016 at 04:57:18PM +0100, Peter Rosin wrote:
> From: Peter Rosin
>
> With a i2c topology like the following
>
>GPIO ---| -- BAT1
> | v /
>I2C -+--+ MUX
> | \
>
Hi Javier,
On Wednesday 06 January 2016 08:27:26 Javier Martinez Canillas wrote:
> On 01/06/2016 07:56 AM, Laurent Pinchart wrote:
> > On Monday 04 January 2016 09:25:32 Javier Martinez Canillas wrote:
> >> The video decoder supports either 8-bit 4:2:2 YUV with discrete syncs
> >> or 8-bit ITU-R B
Hi Wolfram and Peter,
I will give my opinion about the path chosen although it should be
taken lightly.
I can see that hardware guys missed the software guys again on the
development path, but since this happens more often than not, I would
say it seems OK to have support for this as long as it do
Hello Laurent,
On 01/06/2016 07:59 AM, Laurent Pinchart wrote:
> Hi Javier,
>
> Thankk you for the patch.
>
Thanks a lot for your feedback.
> On Monday 04 January 2016 09:25:31 Javier Martinez Canillas wrote:
>> After power-up, the tvp5150 decoder is in a unknown state until the
>> RESETB pin
Hello Laurent,
Thanks a lot for your feedback.
On 01/06/2016 07:56 AM, Laurent Pinchart wrote:
> Hi Javier,
>
> Thank you for the patch.
>
> On Monday 04 January 2016 09:25:32 Javier Martinez Canillas wrote:
>> The video decoder supports either 8-bit 4:2:2 YUV with discrete syncs
>> or 8-bit IT
Hi Javier,
Thank you for the patch.
On Monday 04 January 2016 09:25:29 Javier Martinez Canillas wrote:
> Add a Device Tree binding document for the TVP5150 video decoder.
>
> Signed-off-by: Javier Martinez Canillas
> ---
>
> .../devicetree/bindings/media/i2c/tvp5150.txt | 35
On Wednesday 06 January 2016 07:46:35 Javier Martinez Canillas wrote:
> On 01/06/2016 07:39 AM, Laurent Pinchart wrote:
> > Hi Javier,
> >
> > Thank you for the patch.
>
> Thanks a lot for your feedback.
>
> [snip]
>
> >> +
> >> +Optional Properties:
> >> +- powerdown-gpios: phandle for the GPI
Hi Javier,
Thankk you for the patch.
On Monday 04 January 2016 09:25:31 Javier Martinez Canillas wrote:
> After power-up, the tvp5150 decoder is in a unknown state until the
> RESETB pin is driven LOW which reset all the registers and restarts
> the chip's internal state machine.
>
> The init se
Hi Javier,
Thank you for the patch.
On Monday 04 January 2016 09:25:30 Javier Martinez Canillas wrote:
> From: Eduard Gavin
>
> The Documentation/devicetree/bindings/media/i2c/tvp5150.txt DT binding doc
> lists "ti,tvp5150" as the device compatible string but the driver does not
> have an OF ma
Hi Javier,
Thank you for the patch.
On Monday 04 January 2016 09:25:32 Javier Martinez Canillas wrote:
> The video decoder supports either 8-bit 4:2:2 YUV with discrete syncs
> or 8-bit ITU-R BT.656 with embedded syncs output format but currently
> BT.656 it's always reported. Allow to configure
Hello Laurent,
On 01/06/2016 07:39 AM, Laurent Pinchart wrote:
> Hi Javier,
>
> Thank you for the patch.
>
Thanks a lot for your feedback.
[snip]
>> +
>> +Optional Properties:
>> +- powerdown-gpios: phandle for the GPIO connected to the PDN pin, if any.
>
> The signal is called PDN in the dat
Hi!
When tuning the HVR-4400 to a DVB-C channel I get this kernel oops:
Jan 3 21:59:39 gauss kernel: BUG: unable to handle kernel NULL pointer
dereference at 01a0
Jan 3 21:59:39 gauss kernel: IP: []
vb2_core_qbuf+0x18/0x200 [videobuf2_core]
Jan 3 21:59:39 gauss kernel: PGD bbf99067
The intent was to return -1 on error and that's what the callers expect
but the current code returns USHRT_MAX instead.
Signed-off-by: Dan Carpenter
diff --git a/drivers/media/i2c/vpx3220.c b/drivers/media/i2c/vpx3220.c
index 4b564f1..90b693f 100644
--- a/drivers/media/i2c/vpx3220.c
+++ b/driver
Hi Mauro,
I think this one slipped through the cracks, or possibly got buried under the
winter holidays snowstorm :-) Could you tell me what your plans are ?
On Wednesday 16 December 2015 10:41:16 Laurent Pinchart wrote:
> Hi Mauro,
>
> The following changes since commit 52d60eb7e6d6429a766ea1b
63 matches
Mail list logo