Re: Any advice for writing Ruby driver for Hauppauge WinTV-HVR-1150 on Linux?

2011-08-06 Thread Devin Heitmueller
On Sat, Aug 6, 2011 at 8:48 PM, Bob Carpenter wrote: > I'd like to write a driver using Ruby language for a Hauppauge WinTV-HVR-1150 > card. > > I will be attaching an NTSC analog camera to the composite video input and > want to stream the video across the internet to a client app that can disp

Any advice for writing Ruby driver for Hauppauge WinTV-HVR-1150 on Linux?

2011-08-06 Thread Bob Carpenter
I'd like to write a driver using Ruby language for a Hauppauge WinTV-HVR-1150 card. I will be attaching an NTSC analog camera to the composite video input and want to stream the video across the internet to a client app that can display it. I've never written a PCI driver. The 1150 card will

Re: ISP CCDC freeze-up on STREAMON

2011-08-06 Thread Sakari Ailus
Hi Michael, On Fri, Aug 05, 2011 at 11:33:20AM +0200, Michael Jones wrote: > Hi Laurent, > > On 07/20/2011 10:47 AM, Laurent Pinchart wrote: ... > > I've tested this with a serial CSI-2 sensor and a parallel sensor (MT9V032, > > in > > both 8-bit and 10-bit modes, albeit with SGRBG8 instead of

[PATCH 4/7] [media] ati_remote: fix check for a weird byte

2011-08-06 Thread Anssi Hannula
The ati_remote_dump() function tries to not print "Weird byte" warning for 1-byte responses that contain 0xff or 0x00, but it doesn't work properly as it simply falls back to the "Weird data" warning in the else clause. Fix that by adding an inner if clause. Signed-off-by: Anssi Hannula --- dri

[PATCH 7/7] [media] ati_remote: update Kconfig description

2011-08-06 Thread Anssi Hannula
The ati_remote driver supports more remotes nowadays, update the description to reflect that. Signed-off-by: Anssi Hannula --- drivers/media/rc/Kconfig | 12 +++- 1 files changed, 7 insertions(+), 5 deletions(-) diff --git a/drivers/media/rc/Kconfig b/drivers/media/rc/Kconfig index 26

[PATCH 6/7] [media] ati_remote: add support for SnapStream Firefly remote

2011-08-06 Thread Anssi Hannula
Add support for SnapStream Firefly remote control. The protocol differs by having two toggle bits in the scancode. Since one of the bits is otherwise unused, we can safely handle the bits unconditionally. Signed-off-by: Anssi Hannula --- drivers/media/rc/ati_remote.c| 15 +

[PATCH 3/7] [media] ati_remote: parent input devices to usb interface

2011-08-06 Thread Anssi Hannula
Parent the input devices to usb_interface instead of usb_device. This fixes (at least) persistent input device nodes. Signed-off-by: Anssi Hannula --- drivers/media/rc/ati_remote.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/media/rc/ati_remote.c b/drivers

[PATCH 5/7] [media] ati_remote: add keymap for Medion X10 RF remote

2011-08-06 Thread Anssi Hannula
Add keymap for the Medion X10 RF remote which uses the ati_remote driver, and default to it based on the usb id. The keymap is adapted from an earlier patch by Jan Losinski : https://lkml.org/lkml/2011/4/18/104 with KEY_PLAYPAUSE replaced by KEY_PAUSE. Signed-off-by: Anssi Hannula --- drivers/m

[PATCH 2/7] [media] ati_remote: migrate to the rc subsystem

2011-08-06 Thread Anssi Hannula
Migrate the ATI/X10 RF remote driver to the rc subsystem, allowing the use of its keymap handling capabilities. The mouse handling is kept in-driver and now appears as a separate input device which can be disabled with a new module option (autodetection would be possible based on receiver, but it

[PATCH 0/7] ati_remote: move to rc-core and other updates

2011-08-06 Thread Anssi Hannula
Anssi Hannula wrote: > On 25.05.2011 19:32, Dmitry Torokhov wrote: >> I believe Anssi Hannula (CCed) mentioned that he has a version of >> ati_remove ported to rc-core infrastructure that supports such >> remapping. Anssi, could you tell me what is the status of that driver? >> Is it usable with rc

Re: [PATCH 1/6 v4] V4L: add two new ioctl()s for multi-size videobuffer management

2011-08-06 Thread Pawel Osciak
Hi Guennadi, On Fri, Aug 5, 2011 at 00:47, Guennadi Liakhovetski wrote: > A possibility to preallocate and initialise buffers of different sizes > in V4L2 is required for an efficient implementation of asnapshot mode. > This patch adds two new ioctl()s: VIDIOC_CREATE_BUFS and > VIDIOC_PREPARE_BUF

Re: LinuxTV.org wiki broken - won't allow edits

2011-08-06 Thread Johannes Stezenbach
On Sat, Aug 06, 2011 at 10:11:15AM -0400, Devin Heitmueller wrote: > Well, now I understand why there hasn't been any spam on the > linuxtv.org wiki for a couple of weeks. Editing is broken. > > Attempts to edit articles shows: > > Internal error Thanks for letting me know, it should be fixed n

[cron job] v4l-dvb daily build: ERRORS

2011-08-06 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:Sat Aug 6 19:00:40 CEST 2011 git hash:46540f7ac646ada7f22912ea7ea9b761ff5c4718 gcc version: i686-linux-gcc (GCC) 4.5

Re: linux-next: Tree for Aug 5 (media/radio/radio-sf16fmr2)

2011-08-06 Thread Randy Dunlap
On Sat, 06 Aug 2011 10:33:39 +0200 Takashi Iwai wrote: > At Fri, 5 Aug 2011 16:56:11 -0700, > Randy Dunlap wrote: > > > > On Fri, 5 Aug 2011 14:31:03 +1000 Stephen Rothwell wrote: > > > > > Hi all, > > > > > > [The kernel.org mirroring is running slowly today] > > > > Is media/radio/radio-sf16

Re: Support for Hauppauge WinTV HVR-3300

2011-08-06 Thread Devin Heitmueller
On Sat, Aug 6, 2011 at 12:05 PM, Steve Wolter wrote: > Fair enough, thanks for the feedback, I think that project is out of my > scope for now. I'm mainly interested in the analog demodulation at the > moment, have the DVB capacity mainly for future use. Do you know anything > about the analog TV

Re: Support for Hauppauge WinTV HVR-3300

2011-08-06 Thread Steve Wolter
Hi Devin, Devin Heitmueller schrieb: > On Sat, Aug 6, 2011 at 10:44 AM, Steve Wolter > wrote: > > Dear linux-media list, > > > > I have recently bought a Hauppauge WinTV HVR-3300 and am trying to make > > it run with Linux. [...] > > Like the 4400 and 5500, the 3300 uses both DVB-S and DVB-T de

Re: Support for Hauppauge WinTV HVR-3300

2011-08-06 Thread Devin Heitmueller
On Sat, Aug 6, 2011 at 10:44 AM, Steve Wolter wrote: > Dear linux-media list, > > I have recently bought a Hauppauge WinTV HVR-3300 and am trying to make > it run with Linux. > > Going by the output of lspci -v [1], I tried to go with the cx23885, which > doesn't recognize the card: > > [24296.910

Support for Hauppauge WinTV HVR-3300

2011-08-06 Thread Steve Wolter
Dear linux-media list, I have recently bought a Hauppauge WinTV HVR-3300 and am trying to make it run with Linux. Going by the output of lspci -v [1], I tried to go with the cx23885, which doesn't recognize the card: [24296.910574] cx23885 driver version 0.0.2 loaded [24296.910612] cx23885 :

LinuxTV.org wiki broken - won't allow edits

2011-08-06 Thread Devin Heitmueller
Well, now I understand why there hasn't been any spam on the linuxtv.org wiki for a couple of weeks. Editing is broken. Attempts to edit articles shows: Internal error Set $wgShowExceptionDetails = true; at the bottom of LocalSettings.php to show detailed debugging information. Devin -- Devi

Re: DVB-T issues w/ kernel 3.0

2011-08-06 Thread Mauro Carvalho Chehab
Em 06-08-2011 06:32, Toralf Förster escreveu: > > Devin Heitmueller wrote at 16:37:46 >> 2011/7/27 Toralf Förster : >>> Hello, >>> >>> I'm wondering, whether there are known issues with the new kernel version >>> just b/c of https://forums.gentoo.org/viewtopic.php?p=6766690#6766690 >>> and https:/

[PATCH 2/2] IT9135 add MFE support to driver

2011-08-06 Thread Malcolm Priestley
Add MFE Support. Signed-off-by: Malcolm Priestley --- drivers/media/dvb/dvb-usb/it9135.c |8 +++- 1 files changed, 3 insertions(+), 5 deletions(-) diff --git a/drivers/media/dvb/dvb-usb/it9135.c b/drivers/media/dvb/dvb-usb/it9135.c index 772adf4..a8ab028 100644 --- a/drivers/media/dv

[PATCH 1/2] IT9135 Add support for KWORLD_UB499_2T_T09 (id 1b80:e409)

2011-08-06 Thread Malcolm Priestley
Add support for KWORLD_UB499_2T_T09 to IT9135 Driver ***Please note*** that adapter 2 on this device does not function correctly. Signed-off-by: Malcolm Priestley --- drivers/media/dvb/dvb-usb/dvb-usb-ids.h |1 + drivers/media/dvb/dvb-usb/it9135.c | 23 --- 2 file

Re: DVB-T issues w/ kernel 3.0

2011-08-06 Thread Toralf Förster
Devin Heitmueller wrote at 16:37:46 > 2011/7/27 Toralf Förster : > > Hello, > > > > I'm wondering, whether there are known issues with the new kernel version > > just b/c of https://forums.gentoo.org/viewtopic.php?p=6766690#6766690 > > and https://bugs.kde.org/show_bug.cgi?id=278561 > > Hello To

[PATCH] [media] davinci vpbe: Use resource_size()

2011-08-06 Thread Thomas Meyer
From: Thomas Meyer Use resource_size function on resource object instead of explicit computation. The semantic patch that makes this output is available in scripts/coccinelle/api/resource_size.cocci. More information about semantic patching is available at http://coccinelle.lip6.fr/ Sign

Re: linux-next: Tree for Aug 5 (media/radio/radio-sf16fmr2)

2011-08-06 Thread Takashi Iwai
At Fri, 5 Aug 2011 16:56:11 -0700, Randy Dunlap wrote: > > On Fri, 5 Aug 2011 14:31:03 +1000 Stephen Rothwell wrote: > > > Hi all, > > > > [The kernel.org mirroring is running slowly today] > > Is media/radio/radio-sf16fmr2 an ISA driver or a PCI driver? > ugh. Or is it an I2C driver? > > >

[patch] [media] dib9000: return error code on failure

2011-08-06 Thread Dan Carpenter
The ret = -EIO needs to be before the goto. Signed-off-by: Dan Carpenter diff --git a/drivers/media/dvb/frontends/dib9000.c b/drivers/media/dvb/frontends/dib9000.c index a085588..01e6b0c 100644 --- a/drivers/media/dvb/frontends/dib9000.c +++ b/drivers/media/dvb/frontends/dib9000.c @@ -1167,8 +1

[patch] [media] dib7000p: return error code on allocation failure

2011-08-06 Thread Dan Carpenter
The goto needs to be moved after the assignment. Signed-off-by: Dan Carpenter diff --git a/drivers/media/dvb/frontends/dib7000p.c b/drivers/media/dvb/frontends/dib7000p.c index a64a538..9c40267 100644 --- a/drivers/media/dvb/frontends/dib7000p.c +++ b/drivers/media/dvb/frontends/dib7000p.c @@ -