About driver architecture

2010-01-13 Thread Michael Qiu
Hi guys, I'm going to write drivers for a new soc which designed for dvb-s set top box. It will support these features: 1. Multi-layer display with alpha blending feature, including video(YUV), OSDs(2 same RGB layers), background(with fixed YUV color) and still picture(YUV color for still image)

Re: cx23885 oops during loading, WinTV-HVR-1850 card -- SOLVED

2010-01-13 Thread Ralph Siemsen
On Fri, Jan 08, 2010 at 09:06:01PM -0500, Devin Heitmueller wrote: > > The cx23885 driver doesn't work with tvtime, due to bugs in the v4l > controls in the driver. Michael Krufky has some patches but they need > some more work before they can go in the mainline. Even if they were > committed th

[PATCH 11/11] dabusb: declare MODULE_FIRMWARE

2010-01-13 Thread Ben Hutchings
Signed-off-by: Ben Hutchings --- Mauro, You nacked my previous patches for media because they would result in many false dependencies. However, I think this driver at least will always depend on the same files. Ben. drivers/media/video/dabusb.c |2 ++ 1 files changed, 2 insertions(+), 0 d

RE: [PATCH - v4 1/4] V4L - vpfe_capture-remove clock and platform code

2010-01-13 Thread Karicheri, Muralidharan
Mauro, Please merge this patches if there are no more comments. Kevin, Could you work with Mauro to merge the arch part as required? Murali Karicheri Software Design Engineer Texas Instruments Inc. Germantown, MD 20874 phone: 301-407-9583 email: m-kariche...@ti.com >-Original Message-

[PATCH - v4 3/4] V4L - vpfe-capture - converting dm644x ccdc driver to a platform driver

2010-01-13 Thread m-karicheri2
From: Muralidharan Karicheri Following are the changes done:- 1) clocks are configured using generic clock names 2) converting the driver to a platform driver 3) cleanup - consolidate all static variables inside a structure, ccdc_cfg The ccdc driver now uses generic name

[PATCH - v4 2/4] V4L - vpfe-capture - converting dm355 ccdc driver to a platform driver

2010-01-13 Thread m-karicheri2
From: Muralidharan Karicheri Following are the changes done in this patch:- 1) clocks are configured using generic clock names 2) converting the driver to a platform driver 3) cleanup - consolidate all static variables inside a structure, ccdc_cfg The ccdc now uses a gen

[PATCH - v4 1/4] V4L - vpfe_capture-remove clock and platform code

2010-01-13 Thread m-karicheri2
From: Muralidharan Karicheri Following changes are done in this patch:- 1) removed the platform code and clk configuration. They are now part of ccdc driver (part of the ccdc patches and platform patches 2-4) 2) Added proper error codes for ccdc register function Revi

[PATCH - v4 4/4] DaVinci vpfe-capture - converting ccdc drivers to platform-drivers

2010-01-13 Thread m-karicheri2
From: Muralidharan Karicheri This adds platform code for ccdc driver on DM355 and DM6446. Following changes are made as part of this patch:- 1) new ccdc platform devices added 2) added clock aliases master and slave for CCDC clocks 3) added dm355_ccdc_setup_pinmux() pin-mu

[PATCH] s2250: Fix write_reg i2c address

2010-01-13 Thread Pete Eberlein
The kernel i2c model uses right-aligned 7-bit i2c addresses, but the 2250 firmware uses an 8-bit address in the usb vendor request. A previous patch by Jean Delvare shifted the i2c addresses 1 bit to the right, and this patch fixes the write_reg function to shift it back before sending the vendor

Re: [PULL] http://udev.netup.ru/hg/v4l-dvb-aospan-22fix

2010-01-13 Thread Oliver Endriss
Hi, Abylai Ospan wrote: > > > redefine to "set_tone = lnbp21_set_tone" is not correct for "NetUP Dual > > > DVB-S2-CI card". > > > > Why is it not correct? Please explain. > > > > Afaics it does not matter, whether the demod or the LNBH24 controls the > > 22kHz tone. With your patch, lnbp21_set_

Re: go7007 driver -- which program you use for capture

2010-01-13 Thread Mauro Carvalho Chehab
TJ wrote: > Mauro Carvalho Chehab wrote: >> TJ wrote: >>> jelle, that you? >>> >>> Here's the patch against go7007 driver in 2.6.32 kernel (run with -p1). >>> >>> The main purpose of the patch is to include support for ADS Tech DVD Xpress >>> DX2 >>> usb capture card and make it usable with v4l2-c

Re: go7007 driver -- which program you use for capture

2010-01-13 Thread TJ
Mauro Carvalho Chehab wrote: > TJ wrote: >> jelle, that you? >> >> Here's the patch against go7007 driver in 2.6.32 kernel (run with -p1). >> >> The main purpose of the patch is to include support for ADS Tech DVD Xpress >> DX2 >> usb capture card and make it usable with v4l2-ctl utility. >> >> I

Re: Kworld 315U and SAA7113?

2010-01-13 Thread Devin Heitmueller
On Sat, Jan 9, 2010 at 2:30 PM, Franklin Meng wrote: > I tweaked the GPIO's a bit more for the Kworld 315U and switching between > analog and digital signals is more reliable now.  Attached is an updated diff. Hello Franklin, This is pretty good stuff. A few questions/comments about your patch

Re: go7007 driver -- which program you use for capture

2010-01-13 Thread TJ
Pete Eberlein wrote: > On Fri, 2010-01-08 at 14:07 -0500, TJ wrote: >> Pete and anybody else out there with go7007 devices, what do you use for >> capture? > > I used a modified capture.c, based on > http://v4l2spec.bytesex.org/v4l2spec/capture.c OK good. >> Without GO7007 ioctls, I was only ab

Re: Kworld 315U and SAA7113?

2010-01-13 Thread Mauro Carvalho Chehab
Hi Franklin, I have no Kworld 315U here for testing, but your patch looked sane on my eyes. In order to merge this upstream, it would be better if you could submit it as two separate patches: the first one with the saa7115 changes to support re-energizing the device, and the second one with the

Re: go7007 driver -- which program you use for capture

2010-01-13 Thread Mauro Carvalho Chehab
TJ wrote: > jelle, that you? > > Here's the patch against go7007 driver in 2.6.32 kernel (run with -p1). > > The main purpose of the patch is to include support for ADS Tech DVD Xpress > DX2 > usb capture card and make it usable with v4l2-ctl utility. > > I also did a general clean-up in a few

Re: [PATCH 1/1] HID: ignore afatech 9016

2010-01-13 Thread Jiri Kosina
On Wed, 13 Jan 2010, Jiri Slaby wrote: > >> --- a/drivers/hid/usbhid/hid-quirks.c > >> +++ b/drivers/hid/usbhid/hid-quirks.c > >> @@ -41,7 +41,7 @@ static const struct hid_blacklist { > >>{ USB_VENDOR_ID_SAITEK, USB_DEVICE_ID_SAITEK_RUMBLEPAD, > >> HID_QUIRK_BADPAD }, > >>{ USB_VENDOR_ID_

[PATCH v2 1/1] HID: ignore afatech 9016

2010-01-13 Thread Jiri Slaby
Let's ignore the device altogether by the HID layer. It's handled by dvb-usb-remote driver already. By now, FULLSPEED_INTERVAL quirk was used. It probably made things better, but the remote controller was still a perfect X killer. This was the last user of the particular quirk. So remove the quirk

Re: [PATCH 1/1] HID: ignore afatech 9016

2010-01-13 Thread Jiri Slaby
On 01/13/2010 09:20 PM, Jiri Kosina wrote: >> diff --git a/drivers/hid/usbhid/hid-quirks.c >> b/drivers/hid/usbhid/hid-quirks.c >> index 38773dc..788d9a3 100644 >> --- a/drivers/hid/usbhid/hid-quirks.c >> +++ b/drivers/hid/usbhid/hid-quirks.c >> @@ -41,7 +41,7 @@ static const struct hid_blacklist

Re: [PATCH 1/1] HID: ignore afatech 9016

2010-01-13 Thread Jiri Kosina
[ Adding Pekka (the author of the patch that added this quirk for AF9016) to CC ... ] On Wed, 13 Jan 2010, Jiri Slaby wrote: > Let's ignore the device altogether by HID layer. It's handled by > dvb-usb-remote driver properly already. > > By now, FULLSPEED_INTERVAL quirk was used. It probably

[PATCH 1/1] media: dvb-usb/af9015, add IR support for digivox mini II

2010-01-13 Thread Jiri Slaby
MSI digivox mini II works even with remote=2 module parameter. Check for manufacturer and if it is Afatech, use af9015_ir_table_msi and af9015_rc_keys_msi. The device itself is 15a4:9016. Signed-off-by: Jiri Slaby Cc: Antti Palosaari Cc: Mauro Carvalho Chehab Cc: linux-media@vger.kernel.org --

[PATCH 1/1] HID: ignore afatech 9016

2010-01-13 Thread Jiri Slaby
Let's ignore the device altogether by HID layer. It's handled by dvb-usb-remote driver properly already. By now, FULLSPEED_INTERVAL quirk was used. It probably made things better, but the remote ctrl was still a perfect X killer. This was the last user of the particular quirk. So remove the quirk

[cron job] v4l-dvb daily build 2.6.22 and up: ERRORS, 2.6.16-2.6.21: OK

2010-01-13 Thread Hans Verkuil
This message is generated daily by a cron job that builds v4l-dvb for the kernels and architectures in the list below. Results of the daily build of v4l-dvb: date:Wed Jan 13 19:00:08 CET 2010 path:http://www.linuxtv.org/hg/v4l-dvb changeset: 13942:d490d84a64ac gcc version: gcc (

Re: Terratec Cinergy Hybrid XE (TM6010 Mediachip)

2010-01-13 Thread Devin Heitmueller
On Wed, Jan 13, 2010 at 2:45 PM, Stefan Ringel wrote: > I found a bug in tm6000 module. > > -- > Stefan Ringel The tm6000 module is known to be *completely* broken, and no developers are currently working on it. In other words, there is no point in trying to test the driver unless you intend to

Terratec Cinergy Hybrid XE (TM6010 Mediachip)

2010-01-13 Thread Stefan Ringel
I found a bug in tm6000 module. -- Stefan Ringel Jan 13 20:23:22 linux-v5dy kernel: [ 186.452166] BUG: unable to handle kernel NULL pointer dereference at (null) Jan 13 20:23:22 linux-v5dy kernel: [ 186.452189] IP: [] tm6000_read_write_usb+0x92/0x490 [tm6000] Jan 13 20:23:22 linux-v5dy kern

Re: [PATCH] RFC: mx27: Add soc_camera support

2010-01-13 Thread Alan Carvalho de Assis
Hi Javier, On 1/4/10, javier Martin wrote: > 2010/1/4 javier Martin > >> >> >> 2010/1/4 Alan Carvalho de Assis >> >> Hi Javier, >>> >>> On 1/4/10, javier Martin wrote: >>> > Alan, >>> > please, could you point me against which kernel version did you exactly >>> test >>> > this patch? >>> >>> I

RE: [RFC PATCH] Fix and invalid array indexing in isp_csi2_complexio_lanes_config

2010-01-13 Thread Aguirre, Sergio
Nice catch! Patch looks good to me. I'm pushing it into my omap-devel branch, which I'll later rebase to latest Sakari's tree and send among other patches I have in my queue for him. Regards, Sergio > -Original Message- > From: Michael Trimarchi [mailto:mich...@panicking.kicks-ass.org]

Re: [PULL] http://www.kernellabs.com/hg/~dheitmueller/hvr-1600-alsa-2

2010-01-13 Thread Devin Heitmueller
On Wed, Jan 13, 2010 at 9:00 AM, Mauro Carvalho Chehab wrote: > Michael Krufky wrote: > >> The same tree is also available using http instead of https: >> >> http://www.kernellabs.com/hg/~dheitmueller/em28xx-pal-vbi-2 >> >> This should work for you without issue. >> > Ok. Applied, thanks! Sorry a

Re: VL4-DVB compilation issue not covered by Daily Automated

2010-01-13 Thread Devin Heitmueller
On Wed, Jan 13, 2010 at 3:32 AM, xof wrote: > Are you sure? (it is an Ubuntu-only issue) > > I can see several >> #include > in the v4l tree that compile fine on Ubuntu > but only linux/drivers/media/dvb/firewire/firedtv-1394.c contains >> #include > and doesn't compile. > > Unfortunately the as

Re: [PULL] http://udev.netup.ru/hg/v4l-dvb-aospan-22fix

2010-01-13 Thread Oliver Endriss
Hi, Abylai Ospan wrote: > Please pulll change: > > http://udev.netup.ru/hg/v4l-dvb-aospan-22fix/ > > "22-kHz set_tone fix for NetUP Dual DVB-S2-CI card". NAK. > Description: > > 22-kHz tone can be driven in two ways: > 1. LNBH24 can produce 22kHz continuous tone when TEN=1 ( 22 KHz tone > out

Re: [PULL] http://www.kernellabs.com/hg/~dheitmueller/hvr-1600-alsa-2

2010-01-13 Thread Mauro Carvalho Chehab
Michael Krufky wrote: > The same tree is also available using http instead of https: > > http://www.kernellabs.com/hg/~dheitmueller/em28xx-pal-vbi-2 > > This should work for you without issue. > Ok. Applied, thanks! Mauro. -- To unsubscribe from this list: send the line "unsubscribe linux-media

Re: [PULL] http://www.kernellabs.com/hg/~dheitmueller/hvr-1600-alsa-2

2010-01-13 Thread Michael Krufky
On Wed, Jan 13, 2010 at 8:44 AM, Mauro Carvalho Chehab wrote: > Devin Heitmueller wrote: > >> You didn't forget about the em28xx PAL VBI tree, right?  I'm just >> mentioning it because the PULL has been pending for several weeks and >> came long before the PULL for the HVR-1600 ALSA changes. > > I

Re: Problem with gspca and zc3xx

2010-01-13 Thread Jose Alberto Reguero
El Martes, 12 de Enero de 2010, Jose Alberto Reguero escribió: > El Martes, 12 de Enero de 2010, Jean-Francois Moine escribió: > > On Mon, 11 Jan 2010 15:49:55 +0100 > > > > Jose Alberto Reguero wrote: > > > I take another image with 640x480 and the bad bottom lines are 8. The > > > right side loo

Re: [PULL] http://www.kernellabs.com/hg/~dheitmueller/hvr-1600-alsa-2

2010-01-13 Thread Mauro Carvalho Chehab
Devin Heitmueller wrote: > You didn't forget about the em28xx PAL VBI tree, right? I'm just > mentioning it because the PULL has been pending for several weeks and > came long before the PULL for the HVR-1600 ALSA changes. I tried to, but the hgimport script doesn't like https trees: $ ./hgimpo

Re: pull request: http://linuxtv.org/hg/~hgoede/gspca

2010-01-13 Thread Mauro Carvalho Chehab
Hans de Goede wrote: > Hi, > > On 01/10/2010 12:53 PM, Mauro Carvalho Chehab wrote: >> Hans de Goede wrote: >>> Hi Mauro, >>> >>> Please pull from: >>> http://linuxtv.org/hg/~hgoede/gspca >>> >>> For: >>> >>> 1) A high priority (should go to 2.6.33) mr97310a driver fix >>> 2) A new driver for stre

[PATCH] ir-kbd-i2c: Allow to disable Hauppauge filter through module parameter

2010-01-13 Thread Samuel Rakitnican
Some Hauppauge devices have id=0 so such devices won't work. For such devices add a module parameter that allow to turns off filtering. Signed-off-by: Samuel Rakitničan --- diff -r 82bbb3bd0f0a linux/drivers/media/video/ir-kbd-i2c.c --- a/linux/drivers/media/video/ir-kbd-i2c.cMon Jan 11 11:4

Re: platform_get_irq() v4l fixes

2010-01-13 Thread Guennadi Liakhovetski
Hi Uwe Your patches have been included in my pull request of 10.01.2010: http://www.spinics.net/lists/linux-media/msg14449.html Thanks Guennadi --- Guennadi Liakhovetski, Ph.D. Freelance Open-Source Software Developer http://www.open-technology.de/ -- To unsubscribe from this list: send the line

Re: [PATCH 1/1] media: video/cx18, fix potential null dereference

2010-01-13 Thread Manu Abraham
On Tue, Jan 12, 2010 at 3:28 PM, Jiri Slaby wrote: > On 01/12/2010 12:48 AM, Andy Walls wrote: >> On Sun, 2010-01-10 at 09:56 +0100, Jiri Slaby wrote: >>> Stanse found a potential null dereference in cx18_dvb_start_feed >>> and cx18_dvb_stop_feed. There is a check for stream being NULL, >>> but it

Re: [PATCH 1/1] media: video/cx18, fix potential null dereference

2010-01-13 Thread Jiri Slaby
On 01/13/2010 12:32 PM, Andy Walls wrote: > If you don't mind a delay of until Sunday or so to get the patch applied > to the V4L-DVB tree, I can take the patch and work it in my normal path > through Mauro. Let me know. I have no problem with that. thanks, -- js -- To unsubscribe from this lis

Re: [PATCH 1/1] media: video/cx18, fix potential null dereference

2010-01-13 Thread Andy Walls
On Tue, 2010-01-12 at 12:28 +0100, Jiri Slaby wrote: > On 01/12/2010 12:48 AM, Andy Walls wrote: > > On Sun, 2010-01-10 at 09:56 +0100, Jiri Slaby wrote: > >> Stanse found a potential null dereference in cx18_dvb_start_feed > >> and cx18_dvb_stop_feed. There is a check for stream being NULL, > >> b

[RESEND PATCH 3/5] V4L/DVB sh_mobile_ceu: don't check platform_get_irq's return value against zero

2010-01-13 Thread Uwe Kleine-König
platform_get_irq returns -ENXIO on failure, so !irq was probably always true. Better use (int)irq <= 0. Note that a return value of zero is still handled as error even though this could mean irq0. This is a followup to 305b3228f9ff4d59f49e6d34a7034d44ee8ce2f0 that changed the return value of pla

[RESEND PATCH 2/5] V4L/DVB mx1_camera: don't check platform_get_irq's return value against zero

2010-01-13 Thread Uwe Kleine-König
platform_get_irq returns -ENXIO on failure, so !irq was probably always true. Better use (int)irq <= 0. Note that a return value of zero is still handled as error even though this could mean irq0. This is a followup to 305b3228f9ff4d59f49e6d34a7034d44ee8ce2f0 that changed the return value of pla

Re: ISP OMAP3 camera support ov7690

2010-01-13 Thread Michael Trimarchi
Hi, I have done a step ahead maybe: The camera has this output format: YUYV ---> the first use the CCDC_OTHERS_MEM, so seems that it needs the WEN signal to syncronize (I don't have this one) RGB565 ---> is not supported RAW8 ---> is supported by the ISP but seems that is not impleme

[PULL] http://udev.netup.ru/hg/v4l-dvb-aospan-22fix

2010-01-13 Thread Abylai Ospan
Mauro, Please pulll change: http://udev.netup.ru/hg/v4l-dvb-aospan-22fix/ "22-kHz set_tone fix for NetUP Dual DVB-S2-CI card". Description: 22-kHz tone can be driven in two ways: 1. LNBH24 can produce 22kHz continuous tone when TEN=1 ( 22 KHz tone output is always activated ). 2. LNBH24 can r

Re: problem webcam gspca 2.6.32

2010-01-13 Thread sacarde
Alle sabato 09 gennaio 2010, hai scritto: > On Sat, 9 Jan 2010 15:06:14 +0100 ... Jean-Francois Moine write: > I got the source of sunplus.c in the last kernel 2.6.32 and I build the > attached patch. May you test it? ok, I build with your patch diff-2.6.32 - now "mplayer tv:// " works OK !!

Re: VL4-DVB compilation issue not covered by Daily Automated

2010-01-13 Thread xof
Devin Heitmueller a écrit : > On Tue, Jan 12, 2010 at 4:26 PM, Hagen von Eitzen wrote: > >> Dear all, >> as suggested by http://www.linuxtv.org/wiki/index.php/Bug_Report I report >> several warnings and errors not yet covered in latest >> http://www.xs4all.nl/~hverkuil/logs/Monday.log I get w