Format of /dev/video0 data for HVR-4000 frame grabber

2010-11-09 Thread Michael PARKER
All, I'm attempting to capture a single frame from the /dev/video0 output of my HVR-4000 card's analogue tuner as a JPEG. Whilst several resources exist for capturing the output of a card with h/w MPEG compression, I'm unable to determine the format of the /dev/video0 data for a frame grabber

Re: Format of /dev/video0 data for HVR-4000 frame grabber

2010-11-09 Thread Daniel Glöckner
On Tue, Nov 09, 2010 at 09:43:29AM +0100, Michael PARKER wrote: I'm attempting to capture a single frame from the /dev/video0 output of my HVR-4000 card's analogue tuner as a JPEG. Whilst several resources exist for capturing the output of a card with h/w MPEG compression, I'm unable to

RE: Format of /dev/video0 data for HVR-4000 frame grabber

2010-11-09 Thread Michael PARKER
Daniel, Many thanks for your mail. Please excuse the naivety of my questions - I'm a h/w guy and a nube to the s/w world. -Original Message- From: Daniel Glöckner [mailto:daniel...@gmx.net] Sent: 09 November 2010 09:10 To: Michael PARKER Cc: linux-media@vger.kernel.org Subject:

Re: [PATCH 0/6] rc-core: ir-core to rc-core conversion

2010-11-09 Thread David Härdeman
On Tue, 02 Nov 2010 21:17:38 +0100, David Härdeman da...@hardeman.nu wrote: This is my current patch queue, the main change is to make struct rc_dev the primary interface for rc drivers and to abstract away the fact that there's an input device lurking in there somewhere. Mauro, you have

Re: [PATCH 0/6] rc-core: ir-core to rc-core conversion

2010-11-09 Thread Mauro Carvalho Chehab
Hi David, Em 09-11-2010 08:27, David Härdeman escreveu: On Tue, 02 Nov 2010 21:17:38 +0100, David Härdeman da...@hardeman.nu wrote: This is my current patch queue, the main change is to make struct rc_dev the primary interface for rc drivers and to abstract away the fact that there's an

Re: [V4L][SAA7134] fix tda9887 detection on cold and eeprom read corruption on warm Medion 7134

2010-11-09 Thread Mauro Carvalho Chehab
Em 25-10-2010 15:59, Maciej Szmigiero escreveu: [V4L][SAA7134] fix tda9887 detection on cold and eeprom read corruption on warm Medion 7134 When Medion 7134 analog+DVB-T card is cold (after powerup) the tda9887 analog demodulator won't show on i2c bus. This results in no signal on analog

Re: em28xx: Terratec Grabby no sound

2010-11-09 Thread Mauro Carvalho Chehab
Em 26-10-2010 10:58, Florian Klink escreveu: Hi, The sound comes from alsa device. Several em28xx types provide standard USB audio. So, snd-usb-audio handles it. That's why you need alsa:adevice=hw.2,0:forceaudio at mplayer. ... but thats my problem. sound doesn't appear inside mplayer,

Re: [GIT PATCHES FOR 2.6.37] Various gspca patches

2010-11-09 Thread Mauro Carvalho Chehab
Em 27-10-2010 10:35, Hans de Goede escreveu: Hi Mauro, Please pull from: http://linuxtv.org/hg/~hgoede/ibmcam3 Starting at the commit titled: gspca: submit interrupt urbs *after* isoc urbs This pull consists of the following commits: gspca: submit interrupt urbs *after* isoc urbs

RE: Format of /dev/video0 data for HVR-4000 frame grabber

2010-11-09 Thread Andy Walls
On Tue, 2010-11-09 at 10:34 +0100, Michael PARKER wrote: Daniel, Many thanks for your mail. Please excuse the naivety of my questions - I'm a h/w guy and a nube to the s/w world. Do you know which of these is the default format or how to determine the format I'm seeing coming out of

[PATCH 0/2] Use modaliases to load I2C modules

2010-11-09 Thread Laurent Pinchart
Hi everybody, Here are the last two patches that complete the removal of the module_name argument from the v4l2_i2c_new_subdev* functions. All the other patches have already been merged in 2.6.37-rc1, and the goal was to merge one last patch after the end of the merge window to avoid conflicts.

[PATCH 1/2] v4l: Remove hardcoded module names passed to v4l2_i2c_new_subdev* (2)

2010-11-09 Thread Laurent Pinchart
With the v4l2_i2c_new_subdev* functions now supporting loading modules based on modaliases, replace the hardcoded module name passed to those functions by NULL in the cafe-ccic, via-camera and s5p-fimc drivers. All corresponding I2C modules have been checked, and all of them include a module

[PATCH 2/2] v4l: Remove module_name argument to the v4l2_i2c_new_subdev* functions

2010-11-09 Thread Laurent Pinchart
The argument isn't used anymore by the functions, remote it. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- drivers/media/radio/radio-si4713.c|2 +- drivers/media/video/au0828/au0828-cards.c |4 ++-- drivers/media/video/bt8xx/bttv-cards.c|

Re: [PATCH 2/2] v4l: Remove module_name argument to the v4l2_i2c_new_subdev* functions

2010-11-09 Thread Antonio Ospite
On Tue, 9 Nov 2010 16:30:28 +0100 Laurent Pinchart laurent.pinch...@ideasonboard.com wrote: The argument isn't used anymore by the functions, remote it. s/remote/remove/ Regards, Antonio -- Antonio Ospite http://ao2.it PGP public key ID: 0x4553B001 A: Because it messes up the order in

Re: [PATCH 2/2] v4l: Remove module_name argument to the v4l2_i2c_new_subdev* functions

2010-11-09 Thread Laurent Pinchart
Hi Antonio, On Tuesday 09 November 2010 16:33:25 Antonio Ospite wrote: On Tue, 9 Nov 2010 16:30:28 +0100 Laurent Pinchart laurent.pinch...@ideasonboard.com wrote: The argument isn't used anymore by the functions, remote it. s/remote/remove/ Oops :-) Thanks, I'll fix that when sending

RE: Format of /dev/video0 data for HVR-4000 frame grabber

2010-11-09 Thread Michael PARKER
Andy, Thanks - I'm looking over the source code for the V4L2 sample capture application (http://v4l2spec.bytesex.org/v4l2spec/capture.c) for inspiration. I'm still more than a little unclear how I go about transforming my captured frame into an image file. Can you point me in the direction

Trying to get unlisted Terratec Cinergy to work

2010-11-09 Thread Mark van Reijn
Hi everyone, I have been trying to get my Terratec Cinergy HT USB PVR tuner to work (on DVB-T). This is a hybrid analog/dvb-t tuner with a hardware MPEG encoder. Inserting the device does not cause any driver to respond and load. The USB ID is 0ccd:006b. The PID is not listed in dvb-usb-ids.h.

Re: [V4L][SAA7134] fix tda9887 detection on cold and eeprom read corruption on warm Medion 7134

2010-11-09 Thread Maciej Szmigiero
W dniu 09.11.2010 11:53, Mauro Carvalho Chehab pisze: Em 25-10-2010 15:59, Maciej Szmigiero escreveu: +printk(KERN_NOTICE %s DVB-T demod i2c gate was left + closed\n, dev-name); +printk(KERN_NOTICE %s

Re: [PATCH 6/6] davinci vpbe: Build infrastructure for VPBE driver

2010-11-09 Thread Sergei Shtylyov
Hello. Manjunath Hadli wrote: From: Muralidharan Karicheri m-kariche...@ti.com This patch adds the build infra-structure for Davinci VPBE dislay driver. Signed-off-by: Muralidharan Karicheri m-kariche...@ti.com Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com [...] diff --git

RE: [PATCH 6/6] davinci vpbe: Build infrastructure for VPBE driver

2010-11-09 Thread Hadli, Manjunath
On Tue, Nov 09, 2010 at 20:21:50, Sergei Shtylyov wrote: Hello. Manjunath Hadli wrote: From: Muralidharan Karicheri m-kariche...@ti.com This patch adds the build infra-structure for Davinci VPBE dislay driver. Signed-off-by: Muralidharan Karicheri m-kariche...@ti.com

Re: [git:v4l-dvb/for_v2.6.38] [media] tm6000: bugfix set tv standards

2010-11-09 Thread Stefan Ringel
Am 09.11.2010 13:20, schrieb Mauro Carvalho Chehab: This is an automatic generated email to let you know that the following patch were queued at the http://git.linuxtv.org/media_tree.git tree: Subject: [media] tm6000: bugfix set tv standards Author: Stefan Ringelstefan.rin...@arcor.de Date:

Re: [PULL] http://www.kernellabs.com/hg/~dheitmueller/v4l-dvb-950q-final

2010-11-09 Thread Mauro Carvalho Chehab
Em 02-11-2010 16:47, Devin Heitmueller escreveu: On Sat, Oct 9, 2010 at 2:40 PM, Devin Heitmueller dheitmuel...@kernellabs.com wrote: Hello, Please pull from the following for some basic fixes related to applications such as tvtime hanging when no video is present, as well as some quality

Re: [PULL] http://www.kernellabs.com/hg/~dheitmueller/v4l-dvb-950q-final

2010-11-09 Thread Devin Heitmueller
On Tue, Nov 9, 2010 at 11:03 AM, Mauro Carvalho Chehab mche...@redhat.com wrote: Em 02-11-2010 16:47, Devin Heitmueller escreveu: On Sat, Oct 9, 2010 at 2:40 PM, Devin Heitmueller dheitmuel...@kernellabs.com wrote: Hello, Please pull from the following for some basic fixes related to

[PATCH v2] tm6000: add revision check

2010-11-09 Thread stefan . ringel
From: Stefan Ringel stefan.rin...@arcor.de adding chip revision check Signed-off-by: Stefan Ringel stefan.rin...@arcor.de --- drivers/staging/tm6000/tm6000-cards.c |7 --- drivers/staging/tm6000/tm6000-core.c | 27 --- 2 files changed, 20 insertions(+), 14

Re: [PATCH 0/5] Re: REGRESSION: Re: [GIT] kconfig rc fixes

2010-11-09 Thread Mauro Carvalho Chehab
Hi Arnaud, Em 06-11-2010 19:30, Arnaud Lacombe escreveu: Hi, This should do the job. A. Arnaud Lacombe (5): kconfig: add an option to determine a menu's visibility kconfig: regen parser Revert i2c: Fix Kconfig dependencies media/video: convert Kconfig to use the menu's

[cron job] v4l-dvb daily build: WARNINGS

2010-11-09 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:Tue Nov 9 19:00:19 CET 2010 path:http://www.linuxtv.org/hg/v4l-dvb changeset: 15167:abd3aac6644e git master:

Re: Hauppauge WinTV HVR-1400 (XC3028L) firmware loading problem

2010-11-09 Thread Alina Friedrichsen
Hi, beginning with kernel 2.6.34.? the HVR-1400 stops working completely. If I run the scan utility, only the fist tuning works and after that it fails always. On the next run of the utility it says Device or resource busy. Watching TV with vlc works never. This bug persist up to the current

Re: Hauppauge WinTV HVR-1400 (XC3028L) firmware loading problem

2010-11-09 Thread fabio tirapelle
Hi, beginning with kernel 2.6.34.? the HVR-1400 stops working completely. If I run the scan utility, only the fist tuning works and after that it fails always. On the next run of the utility it says Device or resource busy. Watching TV with vlc works never. I think that all the

[PATCH] nuvoton-cir: improve buffer parsing responsiveness

2010-11-09 Thread Jarod Wilson
Rather than waiting for trigger bits, the formula for which was slightly messy, and apparently, not actually 100% complete for some remotes, just call ir_raw_event_handle whenever we finish parsing a chunk of data from the rx fifo, similar to mceusb, as well as whenever we see an 'end of signal

[PATCH 0/3 v2] mceusb: buffer parsing and keymap cleanups

2010-11-09 Thread Jarod Wilson
This v2 series is actually one patch light from v1, as the Conexant device support patch has already been merged into the for_v2.6.38 tree, but adds another patch not in v1 which simply cleans up the mce keytable a bit and adds a missing mapping for one of my mce remotes. The core good done by

[PATCH 1/3 v2] mceusb: fix up reporting of trailing space

2010-11-09 Thread Jarod Wilson
We were storing a bunch of spaces at the end of each signal, rather than a single long space. The in-kernel decoders were actually okay with this, but lirc isn't. As suggested by David Härdeman, switch to storing samples using ir_raw_event_store_with_filter, which auto-merges the consecutive space

[PATCH 2/3 v2] mceusb: buffer parsing fixups for 1st-gen device

2010-11-09 Thread Jarod Wilson
If we pass in an offset, we shouldn't skip 2 bytes. And the first-gen hardware generates a constant stream of interrupts, always with two header bytes, and if there's been no IR, with nothing else. Bail from ir processing without calling ir_handle_raw_event when we get such a buffer delivered to

[PATCH 3/3 v2] IR: add tv power scancode to rc6 mce keymap

2010-11-09 Thread Jarod Wilson
And clean up some stray spaces. Signed-off-by: Jarod Wilson ja...@redhat.com --- drivers/media/IR/keymaps/rc-rc6-mce.c | 21 +++-- 1 files changed, 11 insertions(+), 10 deletions(-) diff --git a/drivers/media/IR/keymaps/rc-rc6-mce.c b/drivers/media/IR/keymaps/rc-rc6-mce.c

Re: Webcam driver not working: drivers/media/video/gspca/ov519.c device 05a9:4519

2010-11-09 Thread Anca Emanuel
Short update: Jean-Francois Moine is cooking something. http://moinejf.free.fr/gspca-2.11.3.tar.gz My camera works now. -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at

[PATCH 1/4] [media] rename drivers/media/IR to drives/media/rc

2010-11-09 Thread Mauro Carvalho Chehab
Signed-off-by: Mauro Carvalho Chehab mche...@redhat.com rename drivers/media/{IR = rc}/Kconfig (99%) rename drivers/media/{IR = rc}/Makefile (100%) rename drivers/media/{IR = rc}/ene_ir.c (100%) rename drivers/media/{IR = rc}/ene_ir.h (100%) rename drivers/media/{IR = rc}/imon.c (100%)

[PATCH 2/4] [media] Rename rc-core files from ir- to rc-

2010-11-09 Thread Mauro Carvalho Chehab
As protocol decoders are specific to InfraRed, keep their names as-is. Signed-off-by: Mauro Carvalho Chehab mche...@redhat.com rename drivers/media/rc/{ir-core-priv.h = rc-core-priv.h} (100%) rename drivers/media/rc/{ir-keytable.c = rc-main.c} (99%) rename drivers/media/rc/{ir-raw-event.c =

[PATCH 3/4] [media] rc-core: Merge rc-sysfs.c into rc-main.c

2010-11-09 Thread Mauro Carvalho Chehab
Signed-off-by: Mauro Carvalho Chehab mche...@redhat.com delete mode 100644 drivers/media/rc/rc-sysfs.c diff --git a/drivers/media/rc/Makefile b/drivers/media/rc/Makefile index 479a8f4..5a1112c 100644 --- a/drivers/media/rc/Makefile +++ b/drivers/media/rc/Makefile @@ -1,5 +1,5 @@ ir-common-objs

[PATCH 4/4] [media] rc-core: merge rc-map.c into rc-main.c

2010-11-09 Thread Mauro Carvalho Chehab
With this change, all rc-core functions are into just one file, except for the rc-raw specific functions. Signed-off-by: Mauro Carvalho Chehab mche...@redhat.com delete mode 100644 drivers/media/rc/rc-map.c diff --git a/drivers/media/rc/Makefile b/drivers/media/rc/Makefile index

[PATCH 0/4] Rename rc-core files

2010-11-09 Thread Mauro Carvalho Chehab
This patch series basically rename rc-core files. I took David Härdeman's idea to merge rc-sysfs, rc-map and rc-keycode into one file, and to rename ir-raw-event as rc-raw, in order to make easier to merge his two remaining patches. Yet, patch 5/6 from his series breaks, due to the upstream

Re: [PATCH 0/6] rc-core: ir-core to rc-core conversion

2010-11-09 Thread Jarod Wilson
On Tue, Nov 9, 2010 at 8:50 PM, Mauro Carvalho Chehab mche...@infradead.org wrote: ... Sorry for giving you a late feedback about those patches. I was busy the last two weeks, due to my trip to US for KS/LPC. I've applied patches 1 to 3 (in fact, I got the patches from the previous version

Re: [PATCH 6/7] ir-core: make struct rc_dev the primary interface

2010-11-09 Thread Mauro Carvalho Chehab
Em 29-10-2010 17:08, David Härdeman escreveu: This patch merges the ir_input_dev and ir_dev_props structs into a single struct called rc_dev. The drivers and various functions in rc-core used by the drivers are also changed to use rc_dev as the primary interface when dealing with rc-core.

Re: [PATCH 0/6] rc-core: ir-core to rc-core conversion

2010-11-09 Thread Mauro Carvalho Chehab
Em 10-11-2010 01:25, Jarod Wilson escreveu: On Tue, Nov 9, 2010 at 8:50 PM, Mauro Carvalho Chehab mche...@infradead.org wrote: ... Sorry for giving you a late feedback about those patches. I was busy the last two weeks, due to my trip to US for KS/LPC. I've applied patches 1 to 3 (in