Re: [PATCH 02/15] [RFC] v4l2-ctrls: reorder 'case' statements to match order in header.

2010-05-03 Thread Hans Verkuil
On Sunday 02 May 2010 22:42:26 Laurent Pinchart wrote: Hi Hans, On Monday 26 April 2010 09:33:33 Hans Verkuil wrote: To make it easier to determine whether all controls are added in v4l2-ctrls.c the case statements inside the switch are re-ordered to match the header. Signed-off-by:

Re: [PATCH 02/15] [RFC] v4l2-ctrls: reorder 'case' statements to match order in header.

2010-05-03 Thread Laurent Pinchart
Hi Hans, On Monday 03 May 2010 08:42:59 Hans Verkuil wrote: On Sunday 02 May 2010 22:42:26 Laurent Pinchart wrote: Hi Hans, On Monday 26 April 2010 09:33:33 Hans Verkuil wrote: To make it easier to determine whether all controls are added in v4l2-ctrls.c the case statements inside

[PATCH] Fix colorspace on tm6010

2010-05-03 Thread Mauro Carvalho Chehab
The enclosed patch fixes the color format on tm6010. What happened is that the patch adding fourcc control on tm6010 had one small cut-and-paste trouble: it was changing the wrong register ;) I've fixed it. So, now, colors are working fine. I'll be applying it at my git. This way, the current

Re: [PATCH] tm6000: bugfix analog init for tm6010

2010-05-03 Thread Mauro Carvalho Chehab
stefan.rin...@arcor.de wrote: From: Stefan Ringel stefan.rin...@arcor.de - change values in function tm6000_set_fourcc_format - disable digital source - add vbi and audio init Signed-off-by: Stefan Ringel stefan.rin...@arcor.de --- drivers/staging/tm6000/tm6000-core.c | 97

Re: [PATCH] Fix colorspace on tm6010

2010-05-03 Thread Bee Hock Goh
lot of good changes to tm6000. Unfortunately, I am not able to test any of this at the moment. Git not working for me anymore as 2.6.33 insist to freeze my machine on boot. Reverting to hg does not work as well after my upgrade to lucid. :) Apparently, its now complain about invalid module

RE: [RFC 0/2] UVC gadget driver

2010-05-03 Thread Robert Lukassen
Both drivers act as webcams. Robert's version exports the local frame buffer through USB, making the webcam capture what's displayed on the device. My version exposes a V4L2 interface to userspace, allowing an application on the device to send whatever it wants over USB (for

Philips/NXP channel decoders

2010-05-03 Thread Guillaume Audirac
Hello, I am new on this list and I would like to help with my support. I know rather well the Philips/NXP channel demodulators/decoders (TDA10023/24, TDA10046/A, TDA10048) as I've had to support them for a while. I am starting first in diving into the tda10048 driver (DVB-T) to become familiar

Re: [RFC 0/2] UVC gadget driver

2010-05-03 Thread Laurent Pinchart
Hi Robert, On Monday 03 May 2010 10:29:17 Robert Lukassen wrote: Both drivers act as webcams. Robert's version exports the local frame buffer through USB, making the webcam capture what's displayed on the device. My version exposes a V4L2 interface to userspace, allowing an

Re: [git:v4l-dvb/master] V4L/DVB: tm6000: Fix a panic if buffer become NULL

2010-05-03 Thread Bee Hock Goh
Mauro, I think this patch of yours nailed the issue. No more crash switching channels. I will need to let it run for a while to see if solve the one machine freeze that I encountered after running for more than 30 mins. thanks, Hock. On Mon, May 3, 2010 at 2:42 PM, Mauro Carvalho Chehab

RE: [PATCH 1/2] USB gadget: video class function driver

2010-05-03 Thread Viral Mehta
Hi, This USB video class function driver implements a video capture device from the host's point of view. It creates a V4L2 output device on the gadget's side to transfer data from a userspace application over USB. The UVC-specific descriptors are passed by the gadget driver to the UVC function

Re: [PATCH 1/2] USB gadget: video class function driver

2010-05-03 Thread Laurent Pinchart
Hi Viral, On Monday 03 May 2010 13:14:11 Viral Mehta wrote: Hi, This USB video class function driver implements a video capture device from the host's point of view. It creates a V4L2 output device on the gadget's side to transfer data from a userspace application over USB. The

Re: ATMEL camera interface

2010-05-03 Thread Guennadi Liakhovetski
On Mon, 3 May 2010, Sedji Gaouaou wrote: Hi, I will try to write a soc driver(it seems easier ;)). Are the mx?_camera.c a good starting point? In principle - yes. But think about one pretty important distinction - what videobuf implementation is your driver going to use? Are you going to

Re: ATMEL camera interface

2010-05-03 Thread Sedji Gaouaou
Hi, I will try to write a soc driver(it seems easier ;)). Are the mx?_camera.c a good starting point? Regards, Sedji Le 4/29/2010 6:35 PM, Guennadi Liakhovetski a écrit : Hi Sedji On Thu, 29 Apr 2010, Sedji Gaouaou wrote: Hi, I need to re-work my driver so I could commit it to the

Re: ATMEL camera interface

2010-05-03 Thread Guennadi Liakhovetski
On Mon, 3 May 2010, Sedji Gaouaou wrote: Well I need contiguous memory, so I guess I will have a look at mx1_camera.c? Is there another example? What do you mean by videobuf implementation? As I said I just need a contiguous memory. I mean, whether you're gping to use videobuf-dma-contig.c

Re: ideal DVB-C PCI/e card?

2010-05-03 Thread Jed
Excellent response, thank-you for so much detail! I apologise for my anaemic response, but it is very late here now, that's my excuse anyway! ;) Just curious, why did you pick VDR over MythTV? I would rather use the later + OSCam (maybe) if feasible. Thanks again for the excellent feedback,

Re: ATMEL camera interface

2010-05-03 Thread Sedji Gaouaou
Well sorry to bother you again but I am looking at the mx1_camera.c file, and I wonder where are implemented the queue and dqueue functions? The atmel IP is using linked list for the buffers, and previously I was managing it in the queue and dqueue functions. I am not sure where I should take

[PATCH 0/1] V4L: Event: debugging fixes

2010-05-03 Thread Sakari Ailus
Hi, Laurent Pinchart found that on uni-processor kernels without spinlock debugging spin_is_locked() is always zero, which causes a bad WARN_ON() message to be shown. The following patch removes the WARN_ON() and replaces it with assert_spin_locked() which works correctly. Regards, -- Sakari

[PATCH 1/1] V4L: Events: Replace bad WARN_ON() with assert_spin_locked()

2010-05-03 Thread Sakari Ailus
spin_is_locked() always returns zero when spinlock debugging is disabled on a single CPU machine. Replace WARN_ON() with assert_spin_locked(). Thanks to Laurent Pinchart for spotting this! Signed-off-by: Sakari Ailus sakari.ai...@maxwell.research.nokia.com --- drivers/media/video/v4l2-event.c |

Terratec Cinergy T USB XXS (HD)/ T3 : doesn't resume

2010-05-03 Thread Toralf Förster
Hello, with that stick my ThinkPad T400 refuses to resume after s2ram. During suspend the led of that stick doesn't went off. I can sucessful suspend my system with that stick plugged in if I remove it before I resume the system. tfoer...@n22 ~/devel/linux-2.6 $ uname -a Linux n22 2.6.34-rc6

Re: [PATCH 1/1] V4L: Events: Replace bad WARN_ON() with assert_spin_locked()

2010-05-03 Thread Laurent Pinchart
On Monday 03 May 2010 17:42:46 Sakari Ailus wrote: spin_is_locked() always returns zero when spinlock debugging is disabled on a single CPU machine. Replace WARN_ON() with assert_spin_locked(). Thanks to Laurent Pinchart for spotting this! Signed-off-by: Sakari Ailus

Re: ideal DVB-C PCI/e card?

2010-05-03 Thread Markus Rechberger
On Mon, May 3, 2010 at 5:39 PM, Jed jedi.the...@gmail.com wrote: Excellent response, thank-you for so much detail! I apologise for my anaemic response, but it is very late here now, that's my excuse anyway! ;) Just curious, why did you pick VDR over MythTV? I would rather use the later +

[PATCH] gspca: Try a less bandwidth-intensive alt setting.

2010-05-03 Thread Sarah Sharp
Under OHCI, UHCI, and EHCI, if an alternate interface setting took too much of the bus bandwidth, then submit_urb() would fail. The xHCI host controller does bandwidth checking when the alternate interface setting is installed, so usb_set_interface() can fail. If it does, try the next alternate

Re: ATMEL camera interface

2010-05-03 Thread Guennadi Liakhovetski
On Mon, 3 May 2010, Sedji Gaouaou wrote: Well sorry to bother you again but I am looking at the mx1_camera.c file, and I wonder where are implemented the queue and dqueue functions? The atmel IP is using linked list for the buffers, and previously I was managing it in the queue and dqueue

Re: ideal DVB-C PCI/e card?

2010-05-03 Thread Bjørn Mork
Jed jedi.the...@gmail.com writes: Just curious, why did you pick VDR over MythTV? I would rather use the later + OSCam (maybe) if feasible. It's mostly because I had no experience with either and tried VDR first. And then I never got around to trying MythTV. I don't know if MythTV would fit.

Re: [PATCH 1/2] USB gadget: video class function driver

2010-05-03 Thread Greg KH
On Mon, May 03, 2010 at 02:29:57PM +0200, Laurent Pinchart wrote: Hi Viral, On Monday 03 May 2010 13:14:11 Viral Mehta wrote: Hi, This USB video class function driver implements a video capture device from the host's point of view. It creates a V4L2 output device on the gadget's

Re: ideal DVB-C PCI/e card?

2010-05-03 Thread Bjørn Mork
Markus Rechberger mrechber...@gmail.com writes: There are a few DVB-C/T/(analogTV) USB devices, our USB Sticks are well supported and tested with Linux. Sorry, I wasn't precise enough. You are correct. There are USB DVB-C sticks with Linux support. The thing is that my requirements aren't

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

2010-05-03 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:Mon May 3 19:00:18 CEST 2010 path:http://www.linuxtv.org/hg/v4l-dvb changeset: 14619:ee9826bc7106 git master:

Re: [PATCH 2/4] ir-core: centralize sysfs raw decoder enabling/disabling

2010-05-03 Thread Mauro Carvalho Chehab
Hi David, David Härdeman wrote: With the current logic, each raw decoder needs to add a copy of the exact same sysfs code. This is both unnecessary and also means that (re)loading an IR driver after raw decoder modules have been loaded won't work as expected. This patch moves that logic

Re: [PATCH 3/4] ir-core: move decoding state to ir_raw_event_ctrl

2010-05-03 Thread Mauro Carvalho Chehab
David Härdeman wrote: This patch moves the state from each raw decoder into the ir_raw_event_ctrl struct. This allows the removal of code like this: spin_lock(decoder_lock); list_for_each_entry(data, decoder_list, list) { if (data-ir_dev == ir_dev)

Re: [PATCH 1/2] USB gadget: video class function driver

2010-05-03 Thread Laurent Pinchart
Hi Greg, On Monday 03 May 2010 19:15:48 Greg KH wrote: On Mon, May 03, 2010 at 02:29:57PM +0200, Laurent Pinchart wrote: On Monday 03 May 2010 13:14:11 Viral Mehta wrote: Hi, This USB video class function driver implements a video capture device from the host's point of view. It

Re: [PATCH 1/2] USB gadget: video class function driver

2010-05-03 Thread Mauro Carvalho Chehab
Laurent Pinchart wrote: Hi Greg, On Monday 03 May 2010 19:15:48 Greg KH wrote: On Mon, May 03, 2010 at 02:29:57PM +0200, Laurent Pinchart wrote: On Monday 03 May 2010 13:14:11 Viral Mehta wrote: Hi, This USB video class function driver implements a video capture device from the host's

Re: [patch 10/11] ir-keytable: avoid double lock

2010-05-03 Thread Mauro Carvalho Chehab
a...@linux-foundation.org wrote: From: Dan Carpenter erro...@gmail.com It's possible that we wanted to resize to a smaller size but we didn't have enough memory to create the new table. We need to test for that here so we don't try to lock twice and dead lock. Also we free the oldkeymap

Re: s2255drv: V4L2_MODE_HIGHQUALITY correction

2010-05-03 Thread Mauro Carvalho Chehab
sensoray-dev wrote: # HG changeset patch # User Dean Anderson linux-...@sensoray.com # Date 1271371256 25200 # Node ID f12b3074bb02dbb9b9d5af3aa816bd53e6b61dd1 # Parent bffdebcb994ce8c7e493524087f601f7f1134f09 s2255drv: fix for V4L2_MODE_HIGHQUALITY From: Dean Anderson

Re: s2255drv: V4L2_MODE_HIGHQUALITY fix

2010-05-03 Thread Mauro Carvalho Chehab
sensoray-dev wrote: # HG changeset patch # User Dean Anderson linux-...@sensoray.com # Date 1271371685 25200 # Node ID fae20d178e2cc96d75a43c50e0f84140022091a3 # Parent f12b3074bb02dbb9b9d5af3aa816bd53e6b61dd1 s2255drv: V4L2 mode high quality fix From: Dean Anderson

Re: [PATCH] Fix colorspace on tm6010

2010-05-03 Thread Mauro Carvalho Chehab
Bee Hock Goh wrote: lot of good changes to tm6000. Unfortunately, I am not able to test any of this at the moment. Git not working for me anymore as 2.6.33 insist to freeze my machine on boot. Reverting to hg does not work as well after my upgrade to lucid. :) Apparently, its now complain

Re: [PATCH] fix dvb frontend lockup

2010-05-03 Thread Mauro Carvalho Chehab
Hi Matthieu, Em Sat, 27 Mar 2010 23:04:58 +0100 matthieu castet castet.matth...@free.fr escreveu: Etiquetas: NonJunk, unknown-1 From: matthieu castet castet.matth...@free.fr To: linux-media@vger.kernel.org Subject: [PATCH] fix dvb frontend lockup Date: Sat, 27 Mar 2010 23:04:58 +0100

Re: [PATCH] Fix colorspace on tm6010

2010-05-03 Thread Bee Hock Goh
Its too much time to fix it so I simply reinstall the OS but I will be working with hg tree for the time being. True but having the audio will probably help to ascertain how bad the frame loss is. And also writing the audio module will be trivial to you but it will take some time for me. On

Re: [PATCH] Fix colorspace on tm6010

2010-05-03 Thread Mauro Carvalho Chehab
Bee Hock Goh wrote: Its too much time to fix it so I simply reinstall the OS but I will be working with hg tree for the time being. True but having the audio will probably help to ascertain how bad the frame loss is. And also writing the audio module will be trivial to you but it will take

Re: [PATCH] stv090x Fix kernel oops when plugging two cards

2010-05-03 Thread Mauro Carvalho Chehab
Em Sun, 11 Apr 2010 23:15:29 +0200 Guy Martin gms...@tuxicoman.be escreveu: Etiquetas: NonJunk From: Guy Martin gms...@tuxicoman.be To: linux-media@vger.kernel.org Subject: [PATCH] stv090x Fix kernel oops when plugging two cards Date: Sun, 11 Apr 2010 23:15:29 +0200 Sender:

Re: CEU / Camera Driver Question

2010-05-03 Thread Charles D. Krebs
Guennadi, As per your recommendation I reviewed the soc_camera_platform driver, and have chosen to implement the new camera by simply modifying it. Sure enough, I can boot up and properly register a device under /dev/video0. The camera provides 8-bit Grayscale data corresponding to pixel

Linux kernel development for the Geniatech/Mygica A680B (AU0828/AU8524/TDA18271)

2010-05-03 Thread Daniel Gimpelevich
I am writing to the three of you to ask whether you have any uncommitted code for the au0828 and/or au8522 drivers so that I do not reinvent the wheel. I am CC'ing the mailing list for posterity and the ODM contact that came forward a year ago here:

RE: [PATCH 1/2] USB gadget: video class function driver

2010-05-03 Thread Viral Mehta
Hi, Do you have a pointer to that patch? I'll take it into my usb tree for now, to keep things building, and let Mauro send it to Linus for merging. Sure https://patchwork.kernel.org/patch/96373/ But please note it requires the V4L2 events patch set from Mauro's linux-next tree. Btw,