Re: [PATCH V2 2/2] si2165: do load firmware without extra header

2014-10-01 Thread Matthias Schwarzott
On 01.10.2014 07:58, Matthias Schwarzott wrote: The new file has a different name: dvb-demod-si2165-d.fw Count blocks instead of reading count from extra header. Calculate CRC during upload and compare result to what chip calcuated. Use 0x01 instead of real patch version, because this is

RE: Dell XPS 12 Camera issues

2014-10-01 Thread Ryan, Mark D
Hi Laurent, Apologies for my late reply. [...] I searched here for some time before posting and haven't found the answer as of yet. Perhaps my search'foo isn't really there and to tell you the truth cameras and what not are a weak spot for me. Never really cared about them until now.

Re: uvcvideo fails on 3.16 and 3.17 kernels

2014-10-01 Thread Paulo Assis
Laurent hi, 2014-09-30 23:31 GMT+01:00 Laurent Pinchart laurent.pinch...@ideasonboard.com: Hi Paulo, Thank you for investigation this. On Tuesday 30 September 2014 13:56:15 Paulo Assis wrote: Ok, so I've set a workaround in guvcview, it now uses the length filed if bytesused is set to

Re: uvcvideo fails on 3.16 and 3.17 kernels

2014-10-01 Thread Laurent Pinchart
Hi Paulo, On Wednesday 01 October 2014 11:48:26 Paulo Assis wrote: Laurent hi, 2014-09-30 23:31 GMT+01:00 Laurent Pinchart: Hi Paulo, Thank you for investigation this. On Tuesday 30 September 2014 13:56:15 Paulo Assis wrote: Ok, so I've set a workaround in guvcview, it now

Re: uvcvideo fails on 3.16 and 3.17 kernels

2014-10-01 Thread Paulo Assis
Laurent, OK, I undersdant what I'm doing wrong now. I don't see any other solution in order to follow the v4l2 api, than to copy the mmap data into another buffer that will be used in frame processing, and then requeue. Guvcview processes frame data in several different threads and I don't want

Re: uvcvideo fails on 3.16 and 3.17 kernels

2014-10-01 Thread Hans Verkuil
On 10/01/14 13:53, Paulo Assis wrote: Laurent, OK, I undersdant what I'm doing wrong now. I don't see any other solution in order to follow the v4l2 api, than to copy the mmap data into another buffer that will be used in frame processing, and then requeue. Guvcview processes frame data

Re: [PATCH 00/10] CODA7 JPEG support

2014-10-01 Thread Nicolas Dufresne
Le 2014-09-30 10:34, Kamil Debski a écrit : I agree with you Hans. MFC has a single encoder node that supports multiple codecs and I think this design works well. JPEG should be separated into separate device. Having combined encoders and combines decoders works well from application /

Re: [PATCH 00/10] CODA7 JPEG support

2014-10-01 Thread Philipp Zabel
Am Mittwoch, den 01.10.2014, 09:33 -0400 schrieb Nicolas Dufresne: Le 2014-09-30 10:34, Kamil Debski a écrit : I agree with you Hans. MFC has a single encoder node that supports multiple codecs and I think this design works well. JPEG should be separated into separate device. Having

Tevii S480 on Unicable SCR System

2014-10-01 Thread Ulrich Eckhardt
Hi, i have a development computer with a Tevii S480 connected to a Satellite channel router (EN50494). As long as I haven't started a video application this computers blocks any other receiver connected to this cable. I have measured the output of the Tevii card and found, that after start of the

[PATCH] pt3 (PCI, tc90522, mxl301rf, qm1d1c0042): pt3_unregister_subdev(), pt3_unregister_subdev(),...

2014-10-01 Thread Буди Романто, AreMa Inc
[DVB driver for Earthsoft PT3 PCIE ISDB-S/T receiver] Status: working, tested Changes: - demod tuners converted to I2C binding model - i586 x86_64 clean compile - lightweight yet precise CNR calculus - raw CNR (DVBv3) - DVBv5 CNR @ 0.0001 dB (ref: include/uapi/linux/dvb/frontend.h, not

randconfig build error with next-20141001, in drivers/media/platform/s5p-tv/hdmiphy_drv.c

2014-10-01 Thread Jim Davis
Building with the attached random configuration file, drivers/media/platform/s5p-tv/hdmiphy_drv.c: In function ‘hdmiphy_s_dv_timings’: drivers/media/platform/s5p-tv/hdmiphy_drv.c:216:2: error: implicit declaration of function ‘i2c_master_send’ [-Werror=implicit-function-declaration] ret =

Re: [PATCH V2 05/13] cx231xx: Modifiy the symbolic constants for i2c ports and describe

2014-10-01 Thread Antti Palosaari
Reviewed-by: Antti Palosaari cr...@iki.fi Antti On 10/01/2014 08:20 AM, Matthias Schwarzott wrote: Change to I2C_0 ... I2C_2 for the master ports and add I2C_1_MUX_1 and I2C_1_MUX_3 for the muxed ones. V2: Renamed mux adapters to seperate them from master adapters. Signed-off-by: Matthias

Re: [PATCH V2 04/13] cx231xx: give each master i2c bus a seperate name

2014-10-01 Thread Antti Palosaari
On 10/01/2014 08:20 AM, Matthias Schwarzott wrote: Signed-off-by: Matthias Schwarzott z...@gentoo.org --- drivers/media/usb/cx231xx/cx231xx-i2c.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/media/usb/cx231xx/cx231xx-i2c.c b/drivers/media/usb/cx231xx/cx231xx-i2c.c index

Re: [PATCH V2 07/13] cx231xx: add wrapper to get the i2c_adapter pointer

2014-10-01 Thread Antti Palosaari
Reviewed-by: Antti Palosaari cr...@iki.fi Antti On 10/01/2014 08:20 AM, Matthias Schwarzott wrote: This is a preparation for mapping I2C_1_MUX_1 and I2C_1_MUX_3 later to the seperate muxed i2c adapters. Map mux adapters to I2C_1 for now. Add local variables for i2c_adapters in dvb_init to

Re: [PATCH V2 08/13] cx231xx: remember status of i2c port_3 switch

2014-10-01 Thread Antti Palosaari
I don't understand that patch. Commit message should explain it likely better details. You added flag 'port_3_switch_enabled' to device state. That is for I2C mux, but what it means? Does it means mux is currently switched to to port 3? Later you will use that flag to avoid unnecessary mux

Re: [PATCH V2 10/13] cx231xx: change usage of I2C_1 to the real i2c port

2014-10-01 Thread Antti Palosaari
Reviewed-by: Antti Palosaari cr...@iki.fi Antti On 10/01/2014 08:20 AM, Matthias Schwarzott wrote: change almost all instances of I2C_1 to I2C_1_MUX_3 Only these cases are changed to I2C_1_MUX_1: * All that have dont_use_port_3 set. * CX231XX_BOARD_HAUPPAUGE_EXETER, old code did explicitly

Re: [PATCH V2 11/13] cx231xx: register i2c mux adapters for master1 and use as I2C_1_MUX_1 and I2C_1_MUX_3

2014-10-01 Thread Antti Palosaari
Reviewed-by: Antti Palosaari cr...@iki.fi Antti On 10/01/2014 08:20 AM, Matthias Schwarzott wrote: Signed-off-by: Matthias Schwarzott z...@gentoo.org --- drivers/media/usb/cx231xx/Kconfig| 1 + drivers/media/usb/cx231xx/cx231xx-core.c | 5

Re: [PATCH V2 13/13] cx231xx: scan all four existing i2c busses instead of the 3 masters

2014-10-01 Thread Antti Palosaari
Reviewed-by: Antti Palosaari cr...@iki.fi btw. is there some reason you those on that order? I mean you scan I2C_2 between MUX segments? Antti On 10/01/2014 08:20 AM, Matthias Schwarzott wrote: The scanning itself just fails (as before this series) but now the correct busses are scanned.

Re: [PATCH] cx23885: initialize config structs for T9580

2014-10-01 Thread Antti Palosaari
Reviewed-by: Antti Palosaari cr...@iki.fi That should go Kernel 3.18. Antti On 09/24/2014 06:06 AM, Olli Salonen wrote: The config structs used for DVBSky T9580 were not initialized. This patch fixes that. Signed-off-by: Olli Salonen olli.salo...@iki.fi ---

Re: [PATCH 1/5] cx23855: add support for DVBSky T980C (no CI support)

2014-10-01 Thread Antti Palosaari
Reviewed-by: Antti Palosaari cr...@iki.fi Antti On 09/29/2014 10:44 AM, Olli Salonen wrote: This patch adds basic support for DVBSky T980C card. CI interface is not supported. DVBSky T980C is a PCIe card with the following components: - CX23885 PCIe bridge - Si2168-A20 demodulator -

Re: [PATCH 2/5] sp2: fix incorrect struct

2014-10-01 Thread Antti Palosaari
Reviewed-by: Antti Palosaari cr...@iki.fi Antti On 09/29/2014 10:44 AM, Olli Salonen wrote: Incorrect struct used in the SP2 driver. Reported-by: Max Nibble nibble@gmail.com Signed-off-by: Olli Salonen olli.salo...@iki.fi --- drivers/media/dvb-frontends/sp2.c | 2 +- 1 file changed, 1

Re: [PATCH 3/5] sp2: improve debug logging

2014-10-01 Thread Antti Palosaari
Reviewed-by: Antti Palosaari cr...@iki.fi Antti On 09/29/2014 10:44 AM, Olli Salonen wrote: Improve debugging output. Signed-off-by: Olli Salonen olli.salo...@iki.fi --- drivers/media/dvb-frontends/sp2.c | 19 +++ 1 file changed, 11 insertions(+), 8 deletions(-) diff --git

Re: [PATCH 4/5] cx23885: add I2C client for CI into state and handle unregistering

2014-10-01 Thread Antti Palosaari
Reviewed-by: Antti Palosaari cr...@iki.fi I was looking where is the CI I2C client pointer stored to that, but realized it was upcoming patch which will use that... regards Antti On 09/29/2014 10:44 AM, Olli Salonen wrote: If the CI chip has an I2C driver, we need to store I2C client into

Re: [PATCH 5/5] cx23855: add CI support for DVBSky T980C

2014-10-01 Thread Antti Palosaari
On 09/29/2014 10:44 AM, Olli Salonen wrote: Add CI support for DVBSky T980C. I used the new host device independent CIMaX SP2 I2C driver to implement it. cx23885_sp2_ci_ctrl function is borrowed entirely from cimax2.c. Signed-off-by: Olli Salonen olli.salo...@iki.fi ---

Re: [PATCH V2 08/13] cx231xx: remember status of i2c port_3 switch

2014-10-01 Thread Matthias Schwarzott
On 01.10.2014 21:36, Antti Palosaari wrote: I don't understand that patch. Commit message should explain it likely better details. You added flag 'port_3_switch_enabled' to device state. That is for I2C mux, but what it means? Does it means mux is currently switched to to port 3? Later you

[PATCH 3/5] [media] pwc-if: fix build warning when !CONFIG_USB_PWC_INPUT_EVDEV

2014-10-01 Thread Luis Henriques
Label err_video_unreg in function usb_pwc_probe() is only used when CONFIG_USB_PWC_INPUT_EVDEV is defined. drivers/media/usb/pwc/pwc-if.c:1104:1: warning: label 'err_video_unreg' defined but not used [-Wunused-label] Signed-off-by: Luis Henriques luis.henriq...@canonical.com ---

Re: randconfig build error with next-20141001, in drivers/i2c/algos/i2c-algo-bit.c

2014-10-01 Thread Randy Dunlap
On 10/01/14 14:37, Jim Davis wrote: Building with the attached random configuration file, Also: warning: (CAN_PEAK_PCIEC SFC IGB VIDEO_TW68 DRM FB_DDC FB_VIA) selects I2C_ALGOBIT which has unmet direct dependencies (I2C) drivers/i2c/algos/i2c-algo-bit.c: In function ‘i2c_bit_add_bus’:

[PATCH] Fixed all coding style issues for drivers/staging/media/lirc/

2014-10-01 Thread Amber Thrall
Fixed various coding sytles. Signed-off-by: Amber Thrall amber.rose.thr...@gmail.com --- drivers/staging/media/lirc/lirc_bt829.c | 2 +- drivers/staging/media/lirc/lirc_imon.c | 4 +- drivers/staging/media/lirc/lirc_sasem.c | 6 +-- drivers/staging/media/lirc/lirc_serial.c | 29

cron job: media_tree daily build: WARNINGS

2014-10-01 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: Thu Oct 2 04:00:16 CEST 2014 git branch: test git hash: cf3167cf1e969b17671a4d3d956d22718a8ceb85 gcc

Re: [PATCH] Fixed all coding style issues for drivers/staging/media/lirc/

2014-10-01 Thread Greg KH
On Wed, Oct 01, 2014 at 07:35:51PM -0700, Amber Thrall wrote: Fixed various coding sytles. You need to be specific as to what you changed. Also, use get_maintainer to figure out who to sent this to (hint, not me...) greg k-h -- To unsubscribe from this list: send the line unsubscribe

Re: [PATCH V2 13/13] cx231xx: scan all four existing i2c busses instead of the 3 masters

2014-10-01 Thread Matthias Schwarzott
On 01.10.2014 21:47, Antti Palosaari wrote: Reviewed-by: Antti Palosaari cr...@iki.fi btw. is there some reason you those on that order? I mean you scan I2C_2 between MUX segments? Antti Hi Antti, the only reason is that this is the order of the physical ports. I can add a comment to the

[PATCH] Fixed all coding style issues for drivers/staging/media/lirc/

2014-10-01 Thread Amber Thrall
Fixed various coding style issues, including strings over 80 characters long and many deprecated printk's have been replaced with proper methods. Signed-off-by: Amber Thrall amber.rose.thr...@gmail.com --- drivers/staging/media/lirc/lirc_bt829.c | 2 +- drivers/staging/media/lirc/lirc_imon.c

Re: [PATCH] Fixed all coding style issues for drivers/staging/media/lirc/

2014-10-01 Thread Ilia Mirkin
On Thu, Oct 2, 2014 at 12:40 AM, Amber Thrall amber.rose.thr...@gmail.com wrote: Fixed various coding style issues, including strings over 80 characters long and many deprecated printk's have been replaced with proper methods. Signed-off-by: Amber Thrall amber.rose.thr...@gmail.com ---

Re: [PATCH V2 04/13] cx231xx: give each master i2c bus a seperate name

2014-10-01 Thread Matthias Schwarzott
On 01.10.2014 21:22, Antti Palosaari wrote: On 10/01/2014 08:20 AM, Matthias Schwarzott wrote: Signed-off-by: Matthias Schwarzott z...@gentoo.org --- drivers/media/usb/cx231xx/cx231xx-i2c.c | 5 + 1 file changed, 5 insertions(+) diff --git

[PATCH V3 08/13] cx231xx: remember status of i2c port_3 switch

2014-10-01 Thread Matthias Schwarzott
This is used later for is_tuner function that switches i2c behaviour for some tuners. V2: Add comments about possible improvements for port_3 switch function. Signed-off-by: Matthias Schwarzott z...@gentoo.org --- drivers/media/usb/cx231xx/cx231xx-avcore.c | 10 ++

[PATCH V3 06/13] cx231xx: Use symbolic constants for i2c ports instead of numbers

2014-10-01 Thread Matthias Schwarzott
Replace numbers by the constants of same value and same meaning. Signed-off-by: Matthias Schwarzott z...@gentoo.org Reviewed-by: Antti Palosaari cr...@iki.fi --- drivers/media/usb/cx231xx/cx231xx-cards.c | 62 +++ 1 file changed, 31 insertions(+), 31 deletions(-)

[PATCH V3 01/13] cx231xx: let i2c bus scanning use its own i2c_client

2014-10-01 Thread Matthias Schwarzott
This is a preparation for deleting the otherwise useless i2c_clients that are allocated for all the i2c master adapters. Signed-off-by: Matthias Schwarzott z...@gentoo.org Reviewed-by: Antti Palosaari cr...@iki.fi --- drivers/media/usb/cx231xx/cx231xx-i2c.c | 17 +++--

[PATCH V3 04/13] cx231xx: give each master i2c bus a seperate name

2014-10-01 Thread Matthias Schwarzott
V2: Use snprintf to construct the complete name Signed-off-by: Matthias Schwarzott z...@gentoo.org --- drivers/media/usb/cx231xx/cx231xx-i2c.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/media/usb/cx231xx/cx231xx-i2c.c b/drivers/media/usb/cx231xx/cx231xx-i2c.c

cx231xx: Use muxed i2c adapters instead of custom switching

2014-10-01 Thread Matthias Schwarzott
This series changes cx231xx driver to use standard muxed i2c busses. Everything works as before (tested with Hauppauge WinTV-930C-HD). Also the scanning is changed to these new busses, but still does not work (as before). Change scanning to read 1 byte instead of 0 only works for one bus. V2:

[PATCH V3 07/13] cx231xx: add wrapper to get the i2c_adapter pointer

2014-10-01 Thread Matthias Schwarzott
This is a preparation for mapping I2C_1_MUX_1 and I2C_1_MUX_3 later to the seperate muxed i2c adapters. Map mux adapters to I2C_1 for now. Add local variables for i2c_adapters in dvb_init to get line lengths shorter. Signed-off-by: Matthias Schwarzott z...@gentoo.org Reviewed-by: Antti

[PATCH V3 05/13] cx231xx: Modifiy the symbolic constants for i2c ports and describe

2014-10-01 Thread Matthias Schwarzott
Change to I2C_0 ... I2C_2 for the master ports and add I2C_1_MUX_1 and I2C_1_MUX_3 for the muxed ones. V2: Renamed mux adapters to seperate them from master adapters. Signed-off-by: Matthias Schwarzott z...@gentoo.org Reviewed-by: Antti Palosaari cr...@iki.fi ---

[PATCH V3 13/13] cx231xx: scan all four existing i2c busses instead of the 3 masters

2014-10-01 Thread Matthias Schwarzott
The scanning itself just fails (as before this series) but now the correct busses are scanned. V2: Changed to symbolic names where muxed adapters can be seen directly. V3: Comment about scanning busses ordered by physical port numbers. Signed-off-by: Matthias Schwarzott z...@gentoo.org

[PATCH V3 12/13] cx231xx: drop unconditional port3 switching

2014-10-01 Thread Matthias Schwarzott
All switching should be done by i2c mux adapters. Drop explicit dont_use_port_3 flag. Drop info message about switch. Only the removed code in start_streaming is questionable: It did switch the port_3 flag without accessing i2c in between. Signed-off-by: Matthias Schwarzott z...@gentoo.org

[PATCH V3 10/13] cx231xx: change usage of I2C_1 to the real i2c port

2014-10-01 Thread Matthias Schwarzott
change almost all instances of I2C_1 to I2C_1_MUX_3 Only these cases are changed to I2C_1_MUX_1: * All that have dont_use_port_3 set. * CX231XX_BOARD_HAUPPAUGE_EXETER, old code did explicitly not switch to port3. * eeprom access for 930C Signed-off-by: Matthias Schwarzott z...@gentoo.org

[PATCH V3 11/13] cx231xx: register i2c mux adapters for master1 and use as I2C_1_MUX_1 and I2C_1_MUX_3

2014-10-01 Thread Matthias Schwarzott
Signed-off-by: Matthias Schwarzott z...@gentoo.org Reviewed-by: Antti Palosaari cr...@iki.fi --- drivers/media/usb/cx231xx/Kconfig| 1 + drivers/media/usb/cx231xx/cx231xx-core.c | 5 drivers/media/usb/cx231xx/cx231xx-i2c.c | 44 +++-

[PATCH V3 09/13] cx231xx: let is_tuner check the real i2c port and not the i2c master number

2014-10-01 Thread Matthias Schwarzott
Get used i2c port from bus_nr and status of port_3 switch. Signed-off-by: Matthias Schwarzott z...@gentoo.org --- drivers/media/usb/cx231xx/cx231xx-i2c.c | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/drivers/media/usb/cx231xx/cx231xx-i2c.c

Re: [PATCH V3 04/13] cx231xx: give each master i2c bus a seperate name

2014-10-01 Thread Antti Palosaari
On 10/02/2014 08:20 AM, Matthias Schwarzott wrote: V2: Use snprintf to construct the complete name Signed-off-by: Matthias Schwarzott z...@gentoo.org --- drivers/media/usb/cx231xx/cx231xx-i2c.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

[PATCH 1/2] af9033: fix DVBv3 signal strength value not correct issue

2014-10-01 Thread Bimow Chen
Register 0x800048 is not dB measure but relative scale. Fix it and conform to NorDig specifications. From 02ee7de4600a43a322f75cf04d273effa04d3a42 Mon Sep 17 00:00:00 2001 From: Bimow Chen bimow.c...@ite.com.tw Date: Wed, 1 Oct 2014 18:28:54 +0800 Subject: [PATCH 1/2] af9033: fix DVBv3 signal

[PATCH 2/2] af9033: fix DVBv3 snr value not correct issue

2014-10-01 Thread Bimow Chen
Snr returns value not correct. Fix it. From 7b7d83e669e1c7a041241c7412fd05a5ca73815c Mon Sep 17 00:00:00 2001 From: Bimow Chen bimow.c...@ite.com.tw Date: Thu, 2 Oct 2014 10:37:13 +0800 Subject: [PATCH 2/2] af9033: fix DVBv3 snr value not correct issue Snr returns value not correct. Fix it.

Re: [PATCH V3 08/13] cx231xx: remember status of i2c port_3 switch

2014-10-01 Thread Antti Palosaari
On 10/02/2014 08:21 AM, Matthias Schwarzott wrote: This is used later for is_tuner function that switches i2c behaviour for some tuners. V2: Add comments about possible improvements for port_3 switch function. Signed-off-by: Matthias Schwarzott z...@gentoo.org ---