Re: [RFC v3 1/2] v4l: Do not use enums in IOCTL structs

2012-05-03 Thread Hans Verkuil
On Wed May 2 2012 23:39:15 Sakari Ailus wrote: Hi Hans, On Wed, May 02, 2012 at 10:45:22PM +0200, Hans Verkuil wrote: On Wed May 2 2012 21:13:47 Sakari Ailus wrote: Replace enums in IOCTL structs by __u32. The size of enums is variable and thus problematic. Compatibility structs having

Re: [PATCH V3 2/5] [Media] New control class and features for FM RX

2012-05-03 Thread Hans Verkuil
Just a few more minor notes: On Wed May 2 2012 23:42:28 manjunatha_ha...@ti.com wrote: From: Manjunatha Halli x0130...@ti.com This patch creates new ctrl class for FM RX and adds new CID's for below FM features, 1) De-Emphasis filter mode 2) RDS AF switch Also this patch

Re: [PATCH V3 2/5] [Media] New control class and features for FM RX

2012-05-03 Thread Hans Verkuil
On Thu May 3 2012 09:08:57 Hans Verkuil wrote: Just a few more minor notes: On Wed May 2 2012 23:42:28 manjunatha_ha...@ti.com wrote: From: Manjunatha Halli x0130...@ti.com This patch creates new ctrl class for FM RX and adds new CID's for below FM features, 1) De-Emphasis

Re: [PATCH V3 4/5] [Documentation] Media: Update docs for V4L2 FM new features

2012-05-03 Thread Hans Verkuil
On Wed May 2 2012 23:42:30 manjunatha_ha...@ti.com wrote: From: Manjunatha Halli x0130...@ti.com The list of new features - 1) New control class for FM RX 2) New FM RX CID's - De-Emphasis filter mode and RDS AF switch 3) New FM TX CID - RDS Alternate frequency set.

R: Problem with Creative Technology, Ltd Live! Cam Optia AF

2012-05-03 Thread Tiziano Olivieri
Hi I've installed kubuntu 12.04 on my desktop (from kubuntu 10.04) and now the webcam doesn't work, below the are some command lsusb Bus 001 Device 002: ID 041e:4058 Creative Technology, Ltd Live! Cam Optia AF Bus 002 Device 003: ID 07ca:850a AVerMedia Technologies, Inc. AverTV Volar Black HD

Re: [RFC v3 1/2] v4l: Do not use enums in IOCTL structs

2012-05-03 Thread Mauro Carvalho Chehab
Em 02-05-2012 21:42, Andy Walls escreveu: On Wed, 2012-05-02 at 19:17 -0300, Mauro Carvalho Chehab wrote: We can speed-up the conversions, with something like: enum foo { BAR }; if (sizeof(foo) != sizeof(u32)) call_compat_logic(). I suspect that sizeof() won't work inside a

Re: [RFC v3 1/2] v4l: Do not use enums in IOCTL structs

2012-05-03 Thread Sakari Ailus
Hi Mauro, Mauro Carvalho Chehab wrote: Em 02-05-2012 21:42, Andy Walls escreveu: On Wed, 2012-05-02 at 19:17 -0300, Mauro Carvalho Chehab wrote: We can speed-up the conversions, with something like: enum foo { BAR }; if (sizeof(foo) != sizeof(u32)) call_compat_logic(). I

Re: [RFC v3 1/2] v4l: Do not use enums in IOCTL structs

2012-05-03 Thread Mauro Carvalho Chehab
Em 02-05-2012 21:42, Andy Walls escreveu: On Wed, 2012-05-02 at 19:17 -0300, Mauro Carvalho Chehab wrote: We can speed-up the conversions, with something like: enum foo { BAR }; if (sizeof(foo) != sizeof(u32)) call_compat_logic(). I suspect that sizeof() won't work inside a

Re: [RFC v3 1/2] v4l: Do not use enums in IOCTL structs

2012-05-03 Thread Sylwester Nawrocki
On 05/03/2012 12:22 PM, Mauro Carvalho Chehab wrote: Em 02-05-2012 21:42, Andy Walls escreveu: On Wed, 2012-05-02 at 19:17 -0300, Mauro Carvalho Chehab wrote: We can speed-up the conversions, with something like: enum foo { BAR }; if (sizeof(foo) != sizeof(u32))

[PATCH] [media] Convert I2C drivers to dev_pm_ops

2012-05-03 Thread Mark Brown
The legacy I2C PM functions have been deprecated and warning on boot for over a year, convert the drivers still using them to dev_pm_ops. Signed-off-by: Mark Brown broo...@opensource.wolfsonmicro.com --- drivers/media/video/msp3400-driver.c | 15 +++

Re: [RFC v3 1/2] v4l: Do not use enums in IOCTL structs

2012-05-03 Thread Rémi Denis-Courmont
On Thu, 3 May 2012 00:39:15 +0300, Sakari Ailus sakari.ai...@iki.fi wrote: - ppc64: int is 64 bits there, and thus also enums, Really? (e)glibc assumes that signed int and unsigned int are 32-bits on all platforms. From bits/types.h: typedef signed int __int32_t; typedef unsigned int

Re: [RFC v3 1/2] v4l: Do not use enums in IOCTL structs

2012-05-03 Thread Rémi Denis-Courmont
Answering myself. On Thu, 03 May 2012 12:57:00 +0200, Rémi Denis-Courmont r...@remlab.net wrote: On Thu, 3 May 2012 00:39:15 +0300, Sakari Ailus sakari.ai...@iki.fi wrote: - ppc64: int is 64 bits there, and thus also enums, Really? No, really not:

Re: logitech quickcam 9000 uvcdynctrl broken since kernel 3.2 - PING

2012-05-03 Thread Karl Kiniger
Hi Paulo, On Wed 120502, Paulo Assis wrote: OK, so UVCIOC_CTRL_ADD is no longer available, now we have: UVCIOC_CTRL_MAP and UVCIOC_CTRL_QUERY, so I guess some changes are needed, I'll try to fix this ASAP. compiled libwebcam-0.2.1 from Ubuntu (had to fight against CMake - I am almost CMake

[RESEND GIT PULL] git://linuxtv.org/mkrufky/hauppauge.git windham-ids

2012-05-03 Thread Michael Krufky
On Thu, Mar 22, 2012 at 1:00 PM, Michael Krufky mkru...@kernellabs.com wrote: Mauro, Please merge this small patch for a USB ID addition Mauro, I do not believe this ever got merged. :-( At this point, since it got so old, can you add Cc to stable to the patch before merge? Thanks. The

Re: [PATCH v3 07/10] arm: omap4430sdp: Add support for omap4iss camera

2012-05-03 Thread Aguirre, Sergio
Hi Sakari, Thanks for reviewing. On Wed, May 2, 2012 at 2:47 PM, Sakari Ailus sakari.ai...@iki.fi wrote: Hi Sergio, Thanks for the patches!! On Wed, May 02, 2012 at 10:15:46AM -0500, Sergio Aguirre wrote: ... +static int sdp4430_ov_cam1_power(struct v4l2_subdev *subdev, int on) +{ +    

Re: [RFC v3 1/2] v4l: Do not use enums in IOCTL structs

2012-05-03 Thread Mauro Carvalho Chehab
Em 03-05-2012 07:35, Sakari Ailus escreveu: Hi Mauro, Mauro Carvalho Chehab wrote: Em 02-05-2012 21:42, Andy Walls escreveu: On Wed, 2012-05-02 at 19:17 -0300, Mauro Carvalho Chehab wrote: We can speed-up the conversions, with something like: enum foo { BAR }; if (sizeof(foo) !=

Re: HVR-1600 QAM recordings with slight glitches in them

2012-05-03 Thread Devin Heitmueller
Oh, and as Andy suggested, please provide a sample of the azap or femon output for the HVR-1600 where you don't grep out the lines, so we can see what the SNR looks like before and after the point in time when the uncorrectable errors occurred. Devin -- Devin J. Heitmueller - Kernel Labs

Re: HVR-1600 QAM recordings with slight glitches in them

2012-05-03 Thread Devin Heitmueller
Resending with the ML back on the cc:. On Wed, May 2, 2012 at 11:29 PM, Brian J. Murrell br...@interlinx.bc.ca wrote: On 12-04-29 08:09 PM, Devin Heitmueller wrote: I don't know why you're not seeing valid data on femon with the 950q. It should be printing out fine, and it's on the same 0.1

Re: [RFC v3 1/2] v4l: Do not use enums in IOCTL structs

2012-05-03 Thread Sakari Ailus
Rémi Denis-Courmont wrote: Answering myself. On Thu, 03 May 2012 12:57:00 +0200, Rémi Denis-Courmontr...@remlab.net wrote: On Thu, 3 May 2012 00:39:15 +0300, Sakari Ailussakari.ai...@iki.fi wrote: - ppc64: int is 64 bits there, and thus also enums, Really? No, really not:

Re: [RFC v3 2/2] v4l: Implement compat functions for enum to __u32 change

2012-05-03 Thread Mauro Carvalho Chehab
Em 02-05-2012 20:38, Laurent Pinchart escreveu: Hi Mauro, On Wednesday 02 May 2012 19:32:23 Mauro Carvalho Chehab wrote: Em 02-05-2012 16:13, Sakari Ailus escreveu: Implement compat functions to provide conversion between structs containing enums and those not. The functions are intended to

Re: [RFC v3 1/2] v4l: Do not use enums in IOCTL structs

2012-05-03 Thread Mauro Carvalho Chehab
Em 03-05-2012 04:02, Hans Verkuil escreveu: On Wed May 2 2012 23:39:15 Sakari Ailus wrote: Hi Hans, On Wed, May 02, 2012 at 10:45:22PM +0200, Hans Verkuil wrote: On Wed May 2 2012 21:13:47 Sakari Ailus wrote: Replace enums in IOCTL structs by __u32. The size of enums is variable and thus

GSoC 2012 Linux-Media!

2012-05-03 Thread Antti Palosaari
Moikka! As I have mentioned many people already, I have got Google Summer of Code project for the Linux-Media! It means I can do three months full time work starting from the week 21 (21.05.2012). Originally I applied Open firmware for ath9k_htc -project as that was listed but I added own

Re: [RFC v3 1/2] v4l: Do not use enums in IOCTL structs

2012-05-03 Thread Hans Verkuil
On Thursday 03 May 2012 15:42:46 Mauro Carvalho Chehab wrote: Em 03-05-2012 04:02, Hans Verkuil escreveu: On Wed May 2 2012 23:39:15 Sakari Ailus wrote: Hi Hans, On Wed, May 02, 2012 at 10:45:22PM +0200, Hans Verkuil wrote: On Wed May 2 2012 21:13:47 Sakari Ailus wrote: Replace enums

Re: logitech quickcam 9000 uvcdynctrl broken since kernel 3.2 - PING

2012-05-03 Thread Paulo Assis
Karl Hi, I'm setting up a libwebcam git repo in sourceforge, Martin Rubli from logitech (the libwebcam developer), was kind enough to post me all it's code and the old svn repo backup. He had already done some fixes regarding the new ioctls for version 0.3, so I just need to go through that and

DVB USB issues we has currently

2012-05-03 Thread Antti Palosaari
Hello, Here we are, that's the first part I am going to fix as a GSoC project. Work is planned to start after two weeks but better to discuss beforehand. And wish-list is now open! I see two big DVB USB issues including multiple small issues; 1) Current static structure is too limited as

Re: UVCvideo: Failed to resubmit video URB (-27) with Linux 3.3.3

2012-05-03 Thread Anisse Astier
On Wed, 02 May 2012 14:24:11 +0200, Laurent Pinchart laurent.pinch...@ideasonboard.com wrote : Hi Anisse, On Thursday 26 April 2012 20:07:21 Anisse Astier wrote: Hi, I'm experiencing a problem with uvcvideo with kernel 3.3.3 and today's Linus' tree. Problem not reproduced in

[PATCH] [media] az6007: Fix dubious use of !x y

2012-05-03 Thread Emil Goode
The intent here must be to check if the right most bit of msgs[i].flags is set and then do the logical negation. Used macro: #define I2C_M_RD0x0001 Sparse warns about this: drivers/media/dvb/dvb-usb/az6007.c:714:40: warning: dubious: !x y Signed-off-by: Emil Goode

common DVB USB issues we has currently

2012-05-03 Thread Antti Palosaari
Hello, Here we are, that's the first part I am going to fix as a GSoC project. Work is planned to start after two weeks but better to discuss beforehand. And wish-list is now open! I see two big DVB USB issues including multiple small issues; 1) Current static structure is too limited as

Re: common DVB USB issues we has currently

2012-05-03 Thread Devin Heitmueller
Hi Antti, On Thu, May 3, 2012 at 10:18 AM, Antti Palosaari 1) Current static structure is too limited as devices are more dynamics nowadays. Driver should be able to probe/read from eeprom device configuration. Fixing all of those means rather much work - I think new version of DVB USB is

Re: common DVB USB issues we has currently

2012-05-03 Thread Brian J. Murrell
On 12-05-03 10:48 AM, Devin Heitmueller wrote: I doubt this is a dvb-usb problem, but rather something specific to the realtek parts (suspend/resume does work with other devices that rely on dvb-usb). Dunno if it's at all relevant but I used to be able (circa 2.6.32 perhaps? it's a bit

Re: DVB USB issues we has currently

2012-05-03 Thread Patrick Boettcher
On Thursday 03 May 2012 16:20:23 Antti Palosaari wrote: Hello, Here we are, that's the first part I am going to fix as a GSoC project. Work is planned to start after two weeks but better to discuss beforehand. And wish-list is now open! I see two big DVB USB issues including multiple

Re: HVR-1600 QAM recordings with slight glitches in them

2012-05-03 Thread Andy Walls
Devin Heitmueller dheitmuel...@kernellabs.com wrote: Resending with the ML back on the cc:. On Wed, May 2, 2012 at 11:29 PM, Brian J. Murrell br...@interlinx.bc.ca wrote: On 12-04-29 08:09 PM, Devin Heitmueller wrote: I don't know why you're not seeing valid data on femon with the 950q. It

Re: Error compiling tw68-v2 module (module_param / linux3.2)

2012-05-03 Thread Domenico Andreoli
Hi, On Wed, May 02, 2012 at 04:32:20PM +0200, Teun wrote: I'm having problems compiling the tw68-v2. I looked up the code from the error messages, but I don't know anything about making linux driver modules. I can't find a lot about the module_param function, at least, not why this would be

Re: HVR-1600 QAM recordings with slight glitches in them

2012-05-03 Thread Brian J. Murrell
On 12-05-03 11:37 AM, Andy Walls wrote: Devin Heitmueller dheitmuel...@kernellabs.com wrote: Also, which version of the HVR-1600 is this? The one with the mxl5005s or the tda18271? You can check the dmesg output to tell (and if you cannot tell, please pastebin the dmesg output so I can

Re: HVR-1600 QAM recordings with slight glitches in them

2012-05-03 Thread Devin Heitmueller
On Thu, May 3, 2012 at 12:06 PM, Brian J. Murrell br...@interlinx.bc.ca wrote: But as I mentioned before, it's now completely non-functional due to the coax connector on the card having become loose enough to turn (with some effort, so screwing an female F-connector on/off was still quite

Re: common DVB USB issues we has currently

2012-05-03 Thread Jose Alberto Reguero
On Jueves, 3 de mayo de 2012 10:48:43 Devin Heitmueller escribió: Hi Antti, On Thu, May 3, 2012 at 10:18 AM, Antti Palosaari 1) Current static structure is too limited as devices are more dynamics nowadays. Driver should be able to probe/read from eeprom device configuration.

cron job: media_tree daily build: WARNINGS

2012-05-03 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 May 3 19:00:16 CEST 2012 git hash:bcb2cf6e0bf033d79821c89e5ccb328bfbd44907 gcc version: i686-linux-gcc

Re: [PATCH v2] add support for DeLOCK-USB-2.0-DVB-T-Receiver-61744

2012-05-03 Thread Zdenek Styblik
Hello poma, I'm sorry, but that's all info I've been given. :-\ Best regards, Z. On 05/03/12 09:25, poma wrote: [
…] Hi there, These two patches - 'dvb-usb-ids-v2-rtl2832-fc0012.patch' and 'rtl28xxu-v2-rtl2832-fc0012.patch' adds nine devices based on FC0012 tuner, altogether eleven.

Re: common DVB USB issues we has currently

2012-05-03 Thread Antti Palosaari
to 3.5.2012 20:03 Jose Alberto Reguero kirjoitti: On Jueves, 3 de mayo de 2012 10:48:43 Devin Heitmueller escribió: Hi Antti, 2) Suspend/resume is not supported and crashes Kernel. I have no idea what is wrong here and what is needed. But as it has been long term known problem I

[PATCH 0/6] drivers/media: randconfig patches for kernel 3.4

2012-05-03 Thread mathieu . poirier
From: Arnd Bergmann a...@arndb.de These patches fix miscellaneous problems when working with make randconfig. They were discovered on kernel 3.1-rc4 and have been reformatted for 3.4. Arnd Bergmann (6): drivers/media: add missing __devexit_p() annotations v4l/dvb: fix Kconfig dependencies

[PATCH 2/6] v4l/dvb: fix Kconfig dependencies on VIDEO_CAPTURE_DRIVERS

2012-05-03 Thread mathieu . poirier
From: Arnd Bergmann a...@arndb.de Kconfig warns about unsatisfied dependencies of symbols that are directly selected. Many capture drivers depend on DVB capture drivers, which are hidden behind the CONFIG_DVB_CAPTURE_DRIVERS setting. The solution here is to enable DVB_CAPTURE_DRIVERS

[PATCH 6/6] video/omap24xxcam: use __iomem annotations

2012-05-03 Thread mathieu . poirier
From: Arnd Bergmann a...@arndb.de MMIO registers are __iomem tokens in virtual address space, not integers. Signed-off-by: Arnd Bergmann a...@arndb.de Signed-off-by: Mathieu Poirier mathieu.poir...@linaro.org --- drivers/media/video/omap24xxcam-dma.c | 20 ++--

[PATCH 3/6] media/rc: IR_SONY_DECODER depends on BITREVERSE

2012-05-03 Thread mathieu . poirier
From: Arnd Bergmann a...@arndb.de The IR sony decoder is making use of 'bitrev8' that, in turn, requires BITREVERSE. Signed-off-by: Arnd Bergmann a...@arndb.de Signed-off-by: Mathieu Poirier mathieu.poir...@linaro.org --- drivers/media/rc/Kconfig |1 + 1 files changed, 1 insertions(+), 0

[PATCH 4/6] media/video: add I2C dependencies

2012-05-03 Thread mathieu . poirier
From: Arnd Bergmann a...@arndb.de Davinci VIDEO_VPFE_CAPTURE depends on I2C, so reflect that in Kconfig to avoid build failures in random configurations. Signed-off-by: Arnd Bergmann a...@arndb.de Signed-off-by: Mathieu Poirier mathieu.poir...@linaro.org --- drivers/media/video/davinci/Kconfig

[PATCH 1/6] drivers/media: add missing __devexit_p() annotations

2012-05-03 Thread mathieu . poirier
From: Arnd Bergmann a...@arndb.de Drivers that refer to a __devexit function in an operations structure need to annotate that pointer with __devexit_p so replace it with a NULL pointer when the section gets discarded. Signed-off-by: Arnd Bergmann a...@arndb.de Signed-off-by: Mathieu Poirier

Re: DVB USB issues we has currently

2012-05-03 Thread Antti Palosaari
to 3.5.2012 18:04 Patrick Boettcher kirjoitti: On Thursday 03 May 2012 16:20:23 Antti Palosaari wrote: Hello, Here we are, that's the first part I am going to fix as a GSoC project. Work is planned to start after two weeks but better to discuss beforehand. And wish-list is now open! I see

Re: common DVB USB issues we has currently

2012-05-03 Thread Antti Palosaari
to 3.5.2012 17:59 Brian J. Murrell kirjoitti: On 12-05-03 10:48 AM, Devin Heitmueller wrote: I doubt this is a dvb-usb problem, but rather something specific to the realtek parts (suspend/resume does work with other devices that rely on dvb-usb). Dunno if it's at all relevant but I used to

Re: [RFC v3 1/2] v4l: Do not use enums in IOCTL structs

2012-05-03 Thread Andy Walls
On Thu, 2012-05-03 at 07:22 -0300, Mauro Carvalho Chehab wrote: Em 02-05-2012 21:42, Andy Walls escreveu: On Wed, 2012-05-02 at 19:17 -0300, Mauro Carvalho Chehab wrote: I suspect that sizeof() won't work inside a macro. sizeof() is evaluated at compile time, after preprocessing. It

Re: Hauppage HVR1600 - CX18 Issue with Centos 6.2 - Analog Sound comes and goes

2012-05-03 Thread Andy Walls
On Wed, 2012-05-02 at 00:53 -0400, Bob Lightfoot wrote: Dear Mailing List linux-media: I am attempting to use a Hauppage HVR-1600 purchased new in 2010 as an analog tv tuner in my HP Pavillion Elite M9040n PC running Centos 6.2 x86_64. The problem I am experiencing is that with every

Re: [PATCH v2] add support for DeLOCK-USB-2.0-DVB-T-Receiver-61744

2012-05-03 Thread poma
On 05/03/2012 11:03 AM, Gianluca Gennari wrote: Hi poma, I have a 0BDA:2838 (Easycap EZTV646) and a 0BDA:2832 (no name 20x20mm mini DVB-T stick) and both are based on the E4000 tuner, which is not supported in the kernel at the moment. I have no idea if there are sticks with the same USB PID

Re: [PATCH v2] add support for DeLOCK-USB-2.0-DVB-T-Receiver-61744

2012-05-03 Thread poma
On 05/03/2012 08:17 PM, Zdenek Styblik wrote: Hello poma, I'm sorry, but that's all info I've been given. :-\ It is as it is. ;) regards, poma On 05/03/12 09:25, poma wrote: [
…] Hi there, These two patches - 'dvb-usb-ids-v2-rtl2832-fc0012.patch' and

Re: [PATCH v3 07/10] arm: omap4430sdp: Add support for omap4iss camera

2012-05-03 Thread Aguirre, Sergio
Hi Sakari, On Thu, May 3, 2012 at 7:03 AM, Aguirre, Sergio saagui...@ti.com wrote: Hi Sakari, Thanks for reviewing. On Wed, May 2, 2012 at 2:47 PM, Sakari Ailus sakari.ai...@iki.fi wrote: Hi Sergio, Thanks for the patches!! On Wed, May 02, 2012 at 10:15:46AM -0500, Sergio Aguirre