Re: 0.led_name 2.other.led.name in /sysfs Re: [PATCH/RFC v11 01/20] leds: flash: document sysfs interface

2015-02-19 Thread Jacek Anaszewski
On 02/19/2015 10:40 PM, Greg KH wrote: On Thu, Feb 19, 2015 at 11:02:04AM +0200, Sakari Ailus wrote: On Wed, Feb 18, 2015 at 11:47:47PM +0100, Pavel Machek wrote: On Wed 2015-02-18 17:20:22, Jacek Anaszewski wrote: Add a documentation of LED Flash class specific sysfs attributes. Signed-off-

cron job: media_tree daily build: ABI WARNING

2015-02-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 Feb 20 04:00:17 CET 2015 git branch: test git hash: 135f9be9194cf7778eb73594aa55791b229cf27c gcc versio

Re: [GIT PULL 3.19] si2168 fix

2015-02-19 Thread Antti Palosaari
On 02/20/2015 03:36 AM, Mauro Carvalho Chehab wrote: Em Fri, 20 Feb 2015 02:47:44 +0200 Antti Palosaari escreveu: Mauro Did that patch went to stable? I see you have committed original patch from patchwork, but there is no stable tag. It went upstream, but I'm unsure if it arrived for 3.19 o

Re: [GIT PULL 3.19] si2168 fix

2015-02-19 Thread Mauro Carvalho Chehab
Em Fri, 20 Feb 2015 02:47:44 +0200 Antti Palosaari escreveu: > Mauro > Did that patch went to stable? I see you have committed original patch > from patchwork, but there is no stable tag. It went upstream, but I'm unsure if it arrived for 3.19 or 3.20. That's the upstream changeset: $ git sho

Re: [GIT PULL 3.19] si2168 fix

2015-02-19 Thread Antti Palosaari
Mauro Did that patch went to stable? I see you have committed original patch from patchwork, but there is no stable tag. On 01/22/2015 12:11 PM, Antti Palosaari wrote: That patch must go also stable v3.16+ as tagged Cc. regards Antti The following changes since commit 2c0108e1c02f9fc95f465a

Re: DVBSky T982 (Si2168) Questions/Issues/Request

2015-02-19 Thread Antti Palosaari
Moi On 02/20/2015 01:33 AM, Eponymous - wrote: Hi. I have a couple of issues with the si2168.c dvb-frontend in kernel v 3.19.0. To get the firnware to load I've had to increase the #define TIMEOUT to 150 from 50. I read another post (http://www.spinics.net/lists/linux-media/msg84198.html) where

Problem

2015-02-19 Thread Jeffrey O'Hara
I am trying to get my Hauppauge USB-Live2 to capture VHS recordings using VLC Player. My computer will recognize the USB-Live2 but nothing shows on the screen when using VLC Player. Any suggestions? Thank You jeffrey@jeffrey-HP-2000-Notebook-PC:~$ git clone git://linuxtv.org/media_build.git

DVBSky T982 (Si2168) Questions/Issues/Request

2015-02-19 Thread Eponymous -
Hi. I have a couple of issues with the si2168.c dvb-frontend in kernel v 3.19.0. To get the firnware to load I've had to increase the #define TIMEOUT to 150 from 50. I read another post (http://www.spinics.net/lists/linux-media/msg84198.html) where another user had to do the same modification. @

[PATCH v2] siano: add support for the media controller at USB driver

2015-02-19 Thread Mauro Carvalho Chehab
Adding support for the media controller for a pure DVB device is simple: just create a struct media_device and add it to the dvb adapter. After creating all DVB devices, we need to call the DVB core, for it to create the media graph. More work is needed for pure DVB tuners, but this is hidden at t

Re: [PATCHv4 16/25] [media] cx25840: fill the media controller entity

2015-02-19 Thread Mauro Carvalho Chehab
Em Thu, 19 Feb 2015 17:50:07 -0200 Mauro Carvalho Chehab escreveu: > Em Wed, 18 Feb 2015 22:48:04 + > "Lad, Prabhakar" escreveu: > > > Hi Mauro, > > > > Thanks for the patch. > > Thanks for the review. > > > > On Fri, Feb 13, 2015 at 10:57 PM, Mauro Carvalho Chehab > > wrote: > > > Inst

[PATCH] [media] cx25840: better document the media pads

2015-02-19 Thread Mauro Carvalho Chehab
Use an enum to better document the media pads. No functional changes. Suggested-by: Prabhakar Lad Signed-off-by: Mauro Carvalho Chehab diff --git a/drivers/media/i2c/cx25840/cx25840-core.c b/drivers/media/i2c/cx25840/cx25840-core.c index 185cb55253c9..bd496447749a 100644 --- a/drivers/media/i

Re: 0.led_name 2.other.led.name in /sysfs Re: [PATCH/RFC v11 01/20] leds: flash: document sysfs interface

2015-02-19 Thread Greg KH
On Thu, Feb 19, 2015 at 11:02:04AM +0200, Sakari Ailus wrote: > On Wed, Feb 18, 2015 at 11:47:47PM +0100, Pavel Machek wrote: > > > > On Wed 2015-02-18 17:20:22, Jacek Anaszewski wrote: > > > Add a documentation of LED Flash class specific sysfs attributes. > > > > > > Signed-off-by: Jacek Anasze

Re: [RFC PATCH] mn88472: reduce firmware download chunk size

2015-02-19 Thread Antti Palosaari
On 02/19/2015 08:42 PM, Antti Seppälä wrote: On 19 February 2015 at 18:14, Antti Palosaari wrote: On 02/19/2015 06:01 PM, Antti Seppälä wrote: On 19 February 2015 at 17:38, Antti Palosaari wrote: On 02/19/2015 12:21 PM, Antti Seppälä wrote: On 19 February 2015 at 11:43, Benjamin Larsso

Re: [ANNOUNCE] media mini-summit on March, 26 in San Jose together with ELC

2015-02-19 Thread Mauro Carvalho Chehab
Em Thu, 19 Feb 2015 18:05:25 -0200 Mauro Carvalho Chehab escreveu: > As discussed on our IRC #v4l channels and on the media ML, most of the > core developers will be again this year in San Jose - CA - USA for the > Embedded Linux Conference. > > There are several subjects that we've been discus

[ANNOUNCE] media mini-summit on March, 26 in San Jose together with ELC

2015-02-19 Thread Mauro Carvalho Chehab
As discussed on our IRC #v4l channels and on the media ML, most of the core developers will be again this year in San Jose - CA - USA for the Embedded Linux Conference. There are several subjects that we've been discussing those days that require a face to face meeting. So, We'll be doing a medi

[PATCH] [media] cx25840: fix return logic when media entity init fails

2015-02-19 Thread Mauro Carvalho Chehab
There's no need to free state, as it was allocated via devm_kzalloc(). Also, let's return the error code, instead of something else. Reported-by: Prabhakar Lad Signed-off-by: Mauro Carvalho Chehab --- drivers/media/i2c/cx25840/cx25840-core.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions

Re: [PATCHv4 16/25] [media] cx25840: fill the media controller entity

2015-02-19 Thread Mauro Carvalho Chehab
Em Wed, 18 Feb 2015 22:48:04 + "Lad, Prabhakar" escreveu: > Hi Mauro, > > Thanks for the patch. Thanks for the review. > > On Fri, Feb 13, 2015 at 10:57 PM, Mauro Carvalho Chehab > wrote: > > Instead of keeping the media controller entity not initialized, > > fill it and create the pads f

Re: [PATCH 4/7] [media] dvb core: rename the media controller entities

2015-02-19 Thread Mauro Carvalho Chehab
Em Wed, 18 Feb 2015 16:37:38 +0100 Hans Verkuil escreveu: > Hi Mauro, > > On 02/18/2015 04:29 PM, Mauro Carvalho Chehab wrote: > > Prefix all DVB media controller entities with "dvb-" and use dash > > instead of underline at the names. > > > > Requested-by: Hans Verkuil >

Re: [RFC PATCH] mn88472: reduce firmware download chunk size

2015-02-19 Thread Antti Seppälä
On 19 February 2015 at 18:14, Antti Palosaari wrote: > On 02/19/2015 06:01 PM, Antti Seppälä wrote: >> >> On 19 February 2015 at 17:38, Antti Palosaari wrote: >>> >>> On 02/19/2015 12:21 PM, Antti Seppälä wrote: On 19 February 2015 at 11:43, Benjamin Larsson wrote: > > >>>

Re: [RFC PATCH] mn88472: reduce firmware download chunk size

2015-02-19 Thread Antti Palosaari
On 02/19/2015 06:25 PM, Steven Toth wrote: I tried loading the driver with polling disabled and it fails completely: [ 5526.693563] mn88472 7-0018: downloading firmware from file 'dvb-demod-mn88472-02.fw' [ 5527.032209] mn88472 7-0018: firmware download failed=-32 [ 5527.033864] rtl2832 7-0010

Re: [RFC PATCH] mn88472: reduce firmware download chunk size

2015-02-19 Thread Steven Toth
>> I tried loading the driver with polling disabled and it fails completely: >> >> [ 5526.693563] mn88472 7-0018: downloading firmware from file >> 'dvb-demod-mn88472-02.fw' >> [ 5527.032209] mn88472 7-0018: firmware download failed=-32 >> [ 5527.033864] rtl2832 7-0010: i2c reg write failed -32 >>

Re: [RFC PATCH] mn88472: reduce firmware download chunk size

2015-02-19 Thread Antti Palosaari
On 02/19/2015 06:01 PM, Antti Seppälä wrote: On 19 February 2015 at 17:38, Antti Palosaari wrote: On 02/19/2015 12:21 PM, Antti Seppälä wrote: On 19 February 2015 at 11:43, Benjamin Larsson wrote: On 2015-02-19 10:13, Antti Seppälä wrote: It seems that currently the firmware download on

Re: [RFC PATCH 1/1] [media] pci: Add support for DVB PCIe cards from Prospero Technologies Ltd.

2015-02-19 Thread Philip Downer
On Thu, Feb 19, 2015 at 12:40 PM, Sean Young wrote: > On Mon, Feb 16, 2015 at 07:48:46PM +, Philip Downer wrote: > -snip- >> + dev = rc_allocate_device(); >> + >> + if (!ir || !dev) >> + goto err_out_free; >> + >> + ir->dev = dev; >> + >> + snprintf(ir->name, sizeof

Re: [RFC PATCH] mn88472: reduce firmware download chunk size

2015-02-19 Thread Antti Seppälä
On 19 February 2015 at 17:38, Antti Palosaari wrote: > > > On 02/19/2015 12:21 PM, Antti Seppälä wrote: >> >> On 19 February 2015 at 11:43, Benjamin Larsson >> wrote: >>> >>> On 2015-02-19 10:13, Antti Seppälä wrote: It seems that currently the firmware download on the mn88472 is >

Re: [BUG, workaround] HVR-2200/saa7164 problem with C7 power state

2015-02-19 Thread David Harty
On 02/19/2015 05:22 AM, Steven Toth wrote: I'll post a notice to this list once the driver is ready for download That sounds great. Let me know if/how I can help in any way. David -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majord...@vg

RE: [PATCH v3 1/4] vb2: split the io_flags member of vb2_queue into a bit field

2015-02-19 Thread Kamil Debski
Hi, Thank you for the review! > From: Hans Verkuil [mailto:hverk...@xs4all.nl] > Sent: Thursday, February 19, 2015 11:41 AM > > On 02/19/15 11:11, Kamil Debski wrote: > > This patch splits the io_flags member of vb2_queue into a bit field. > > Instead of an enum with flags separate bit fields we

[PATCH v4 1/4] vb2: split the io_flags member of vb2_queue into a bit field

2015-02-19 Thread Kamil Debski
This patch splits the io_flags member of vb2_queue into a bit field. Instead of an enum with flags separate bit fields were introduced. Signed-off-by: Kamil Debski --- drivers/media/v4l2-core/videobuf2-core.c | 17 + include/media/videobuf2-core.h | 18 +

[PATCH v4 2/4] vb2: add allow_zero_bytesused flag to the vb2_queue struct

2015-02-19 Thread Kamil Debski
The vb2: fix bytesused == 0 handling (8a75ffb) patch changed the behavior of __fill_vb2_buffer function, so that if bytesused is 0 it is set to the size of the buffer. However, bytesused set to 0 is used by older codec drivers as as indication used to mark the end of stream. To keep backward compa

[PATCH v4 3/4] coda: set allow_zero_bytesused flag for vb2_queue_init

2015-02-19 Thread Kamil Debski
The coda driver interprets a buffer with bytesused equal to 0 as a special case indicating end-of-stream. After vb2: fix bytesused == 0 handling (8a75ffb) patch videobuf2 modified the value of bytesused if it was 0. The allow_zero_bytesused flag was added to videobuf2 to keep backward compatibility

[PATCH v4 4/4] s5p-mfc: set allow_zero_bytesused flag for vb2_queue_init

2015-02-19 Thread Kamil Debski
The s5p-mfc driver interprets a buffer with bytesused equal to 0 as a special case indicating end-of-stream. After vb2: fix bytesused == 0 handling (8a75ffb) patch videobuf2 modified the value of bytesused if it was 0. The allow_zero_bytesused flag was added to videobuf2 to keep backward compatibil

Re: [RFC PATCH] mn88472: reduce firmware download chunk size

2015-02-19 Thread Antti Palosaari
On 02/19/2015 12:21 PM, Antti Seppälä wrote: On 19 February 2015 at 11:43, Benjamin Larsson wrote: On 2015-02-19 10:13, Antti Seppälä wrote: It seems that currently the firmware download on the mn88472 is somehow wrong for my Astrometa HD-901T2. Reducing the download chunk size (mn88472_co

Re: [PATCH] [media] [kbuild] Add and use IS_REACHABLE macro

2015-02-19 Thread Michal Marek
Dne 19.2.2015 v 15:53 Arnd Bergmann napsal(a): > On Thursday 19 February 2015 13:11:07 Michal Marek wrote: >> On 2015-02-18 18:12, Arnd Bergmann wrote: >>> In the media drivers, the v4l2 core knows about all submodules >>> and calls into them from a common function. However this cannot >>> work if

Re: [PATCH] [media] [kbuild] Add and use IS_REACHABLE macro

2015-02-19 Thread Arnd Bergmann
On Thursday 19 February 2015 13:11:07 Michal Marek wrote: > On 2015-02-18 18:12, Arnd Bergmann wrote: > > In the media drivers, the v4l2 core knows about all submodules > > and calls into them from a common function. However this cannot > > work if the modules that get called are loadable and the >

[PATCH] DocBook media: fix xvYCC601 documentation

2015-02-19 Thread Hans Verkuil
The documentation of the xvYCC601 Y'CbCr encoding was part of the SMPTE 170M (SDTV) colorspace, but it should have been part of the Rec. 709 (HDTV) colorspace as per the xvYCC standard. This change only affects the documentation and not any code. Signed-off-by: Hans Verkuil diff --git a/Docume

Re: Using the coda driver with Gstreamer

2015-02-19 Thread Nicolas Dufresne
Le 2015-02-19 02:24, Zahari Doychev a écrit : So can you tell me if there are some drivers and plugins that can do this in efficient way. Is there some work going on in this directions. I suppose glimagesink maybe will be a good way to go. There is a lot of work happening, you should notice by

Re: [BUG, workaround] HVR-2200/saa7164 problem with C7 power state

2015-02-19 Thread Steven Toth
On Wed, Feb 18, 2015 at 11:04 PM, David Harty wrote: > On 02/17/2015 04:47 AM, dCrypt wrote: >> >> So the PCI Express change hasn't seemed to help either. Any other ideas? >> David -- > > > My system stops working at least once a day. Does anyone have any > suggestions to try? latest module build

Re: [RFC PATCH 1/1] [media] pci: Add support for DVB PCIe cards from Prospero Technologies Ltd.

2015-02-19 Thread Sean Young
On Mon, Feb 16, 2015 at 07:48:46PM +, Philip Downer wrote: -snip- > + dev = rc_allocate_device(); > + > + if (!ir || !dev) > + goto err_out_free; > + > + ir->dev = dev; > + > + snprintf(ir->name, sizeof(ir->name), "prospero IR"); > + snprintf(ir->phys, sizeof(ir-

Re: [RFC PATCH 1/1] [media] pci: Add support for DVB PCIe cards from Prospero Technologies Ltd.

2015-02-19 Thread Philip Downer
On Thu, Feb 19, 2015 at 11:06 AM, Sean Young wrote: > On Mon, Feb 16, 2015 at 07:48:46PM +, Philip Downer wrote: >> This patch adds support for the Vortex 1 PCIe card from Prospero >> Technologies Ltd. The Vortex 1 supports up to 8 tuner modules and >> currently ships with 8xDibcom 7090p tuner

Re: [PATCH] [media] [kbuild] Add and use IS_REACHABLE macro

2015-02-19 Thread Michal Marek
On 2015-02-18 18:12, Arnd Bergmann wrote: > In the media drivers, the v4l2 core knows about all submodules > and calls into them from a common function. However this cannot > work if the modules that get called are loadable and the > core is built-in. In that case we get > > drivers/built-in.o: In

Re: [RFC PATCH] mn88472: reduce firmware download chunk size

2015-02-19 Thread Benjamin Larsson
On 2015-02-19 11:21, Antti Seppälä wrote: On 19 February 2015 at 11:43, Benjamin Larsson wrote: On 2015-02-19 10:13, Antti Seppälä wrote: It seems that currently the firmware download on the mn88472 is somehow wrong for my Astrometa HD-901T2. Reducing the download chunk size (mn88472_config.

Re: [RFC PATCH 1/1] [media] pci: Add support for DVB PCIe cards from Prospero Technologies Ltd.

2015-02-19 Thread Sean Young
On Mon, Feb 16, 2015 at 07:48:46PM +, Philip Downer wrote: > This patch adds support for the Vortex 1 PCIe card from Prospero > Technologies Ltd. The Vortex 1 supports up to 8 tuner modules and > currently ships with 8xDibcom 7090p tuners. The card also has raw > infra-red support and a hardwar

Re: [PATCH v3 2/4] vb2: add allow_zero_bytesused flag to the vb2_queue struct

2015-02-19 Thread Hans Verkuil
On 02/19/15 11:11, Kamil Debski wrote: > The vb2: fix bytesused == 0 handling (8a75ffb) patch changed the behavior > of __fill_vb2_buffer function, so that if bytesused is 0 it is set to the > size of the buffer. However, bytesused set to 0 is used by older codec > drivers as as indication used to

Re: [PATCH v3 1/4] vb2: split the io_flags member of vb2_queue into a bit field

2015-02-19 Thread Hans Verkuil
On 02/19/15 11:11, Kamil Debski wrote: > This patch splits the io_flags member of vb2_queue into a bit field. > Instead of an enum with flags separate bit fields were introduced. > > Signed-off-by: Kamil Debski > --- > drivers/media/v4l2-core/videobuf2-core.c | 15 +-- > include/me

Re: [RFC PATCH] mn88472: reduce firmware download chunk size

2015-02-19 Thread Antti Seppälä
On 19 February 2015 at 11:43, Benjamin Larsson wrote: > On 2015-02-19 10:13, Antti Seppälä wrote: >> >> It seems that currently the firmware download on the mn88472 is >> somehow wrong for my Astrometa HD-901T2. >> >> Reducing the download chunk size (mn88472_config.i2c_wr_max) to 2 >> makes the f

[PATCH v3 4/4] s5p-mfc: set allow_zero_bytesused flag for vb2_queue_init

2015-02-19 Thread Kamil Debski
The s5p-mfc driver interprets a buffer with bytesused equal to 0 as a special case indicating end-of-stream. After vb2: fix bytesused == 0 handling (8a75ffb) patch videobuf2 modified the value of bytesused if it was 0. The allow_zero_bytesused flag was added to videobuf2 to keep backward compatibil

[PATCH v3 1/4] vb2: split the io_flags member of vb2_queue into a bit field

2015-02-19 Thread Kamil Debski
This patch splits the io_flags member of vb2_queue into a bit field. Instead of an enum with flags separate bit fields were introduced. Signed-off-by: Kamil Debski --- drivers/media/v4l2-core/videobuf2-core.c | 15 +-- include/media/videobuf2-core.h | 16 ---

[PATCH v3 3/4] coda: set allow_zero_bytesused flag for vb2_queue_init

2015-02-19 Thread Kamil Debski
The coda driver interprets a buffer with bytesused equal to 0 as a special case indicating end-of-stream. After vb2: fix bytesused == 0 handling (8a75ffb) patch videobuf2 modified the value of bytesused if it was 0. The allow_zero_bytesused flag was added to videobuf2 to keep backward compatibility

[PATCH v3 2/4] vb2: add allow_zero_bytesused flag to the vb2_queue struct

2015-02-19 Thread Kamil Debski
The vb2: fix bytesused == 0 handling (8a75ffb) patch changed the behavior of __fill_vb2_buffer function, so that if bytesused is 0 it is set to the size of the buffer. However, bytesused set to 0 is used by older codec drivers as as indication used to mark the end of stream. To keep backward compa

[PATCH v2] [media] soc-camera: Fix devm_kfree() in soc_of_bind()

2015-02-19 Thread Geert Uytterhoeven
Unlike scan_async_group(), soc_of_bind() doesn't allocate its soc_camera_async_client structure using devm_kzalloc(), but has it embedded inside the soc_of_info structure. Hence on failure, it must free the whole soc_of_info structure, and not just the embedded soc_camera_async_client structure, a

Re: [PATCH] [media] soc-camera: Remove bogus devm_kfree() in soc_of_bind()

2015-02-19 Thread Geert Uytterhoeven
Hi Guennadi, On Wed, Feb 18, 2015 at 10:16 PM, Guennadi Liakhovetski wrote: > On Wed, 18 Feb 2015, Sergei Shtylyov wrote: >> On 02/18/2015 07:32 PM, Geert Uytterhoeven wrote: >> > Unlike scan_async_group(), soc_of_bind() doesn't allocate its >> > soc_camera_async_client structure using devm_kzall

Re: [PATCH 1/3] rtl28xxu: lower the rc poll time to mitigate i2c transfer errors

2015-02-19 Thread Benjamin Larsson
On 2014-12-06 01:25, Benjamin Larsson wrote: The Astrometa device has issues with i2c transfers. Lowering the poll time somehow makes these errors disappear. Signed-off-by: Benjamin Larsson --- drivers/media/usb/dvb-usb-v2/rtl28xxu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) dif

Re: [RFC PATCH] mn88472: reduce firmware download chunk size

2015-02-19 Thread Benjamin Larsson
On 2015-02-19 10:13, Antti Seppälä wrote: It seems that currently the firmware download on the mn88472 is somehow wrong for my Astrometa HD-901T2. Reducing the download chunk size (mn88472_config.i2c_wr_max) to 2 makes the firmware download consistently succeed. Hi, try adding the workaround

[RFC PATCH] mn88472: reduce firmware download chunk size

2015-02-19 Thread Antti Seppälä
It seems that currently the firmware download on the mn88472 is somehow wrong for my Astrometa HD-901T2. Reducing the download chunk size (mn88472_config.i2c_wr_max) to 2 makes the firmware download consistently succeed. Any larger value causes the download to always fail: [7.671482] mn8847

Re: 0.led_name 2.other.led.name in /sysfs Re: [PATCH/RFC v11 01/20] leds: flash: document sysfs interface

2015-02-19 Thread Sakari Ailus
On Wed, Feb 18, 2015 at 11:47:47PM +0100, Pavel Machek wrote: > > On Wed 2015-02-18 17:20:22, Jacek Anaszewski wrote: > > Add a documentation of LED Flash class specific sysfs attributes. > > > > Signed-off-by: Jacek Anaszewski > > Acked-by: Kyungmin Park > > Cc: Bryan Wu > > Cc: Richard Purdi

Re: 0.led_name 2.other.led.name in /sysfs Re: [PATCH/RFC v11 01/20] leds: flash: document sysfs interface

2015-02-19 Thread Jacek Anaszewski
On 02/18/2015 11:47 PM, Pavel Machek wrote: On Wed 2015-02-18 17:20:22, Jacek Anaszewski wrote: Add a documentation of LED Flash class specific sysfs attributes. Signed-off-by: Jacek Anaszewski Acked-by: Kyungmin Park Cc: Bryan Wu Cc: Richard Purdie NAK-ed-by: Pavel Machek +What: