Re: Media controller: sysfs vs ioctl

2009-09-11 Thread hermann pitton
Hi, Am Freitag, den 11.09.2009, 19:01 -0400 schrieb Andy Walls: > On Sat, 2009-09-12 at 00:21 +0200, Hans Verkuil wrote: > > Hi all, > > > > I've started this as a new thread to prevent polluting the discussions of > > the > > media controller as a concept. > > > > First of all, I have no doubt

Re: image quality of Labtec Webcam 2200

2009-09-11 Thread leandro Costantino
convert >> then I also stored the result as bmp. >> >> You can find my results at >> http://v4l-test.sourceforge.net/results/test-20090911/index.html >> There are three types of problems: >>  a) Sometimes the picture contains a 8x8 pixel error, like in image #9 &g

Re: image quality of Labtec Webcam 2200

2009-09-11 Thread leandro Costantino
nd my results at >> http://v4l-test.sourceforge.net/results/test-20090911/index.html >> There are three types of problems: >>  a) Sometimes the picture contains a 8x8 pixel error, like in image #9 >>     http://v4l-test.sourceforge.net/results/test-20090911/index.html#img9

Re: Media controller: sysfs vs ioctl

2009-09-11 Thread Andy Walls
On Sat, 2009-09-12 at 00:21 +0200, Hans Verkuil wrote: > Hi all, > > I've started this as a new thread to prevent polluting the discussions of the > media controller as a concept. > > First of all, I have no doubt that everything that you can do with an ioctl, > you can also do with sysfs and vic

Re: RFCv2: Media controller proposal

2009-09-11 Thread Hans Verkuil
On Friday 11 September 2009 23:28:47 Mauro Carvalho Chehab wrote: > Em Fri, 11 Sep 2009 22:29:41 +0200 > Hans Verkuil escreveu: > > > On Friday 11 September 2009 21:54:03 Mauro Carvalho Chehab wrote: > > > Em Fri, 11 Sep 2009 21:08:13 +0200 > > > Hans Verkuil escreveu: > > > > > > > > > > OK,

Re: [PULL] http://kernellabs.com/hg/~dheitmueller/em28xx-vbi3

2009-09-11 Thread Andy Walls
On Fri, 2009-09-11 at 17:04 -0400, Devin Heitmueller wrote: > On Fri, Sep 11, 2009 at 4:56 PM, Andy Walls wrote: > > + /* FIXME: hard-coded for NTSC support */ > > + format->fmt.vbi.sampling_rate = 675 * 4 / 2; /* FIXME: ??? */ > > > > The BT.656 Pixel clock for both 60 Hz and 50 H

Re: RFCv2: Media controller proposal

2009-09-11 Thread Hans Verkuil
On Friday 11 September 2009 23:37:58 Mauro Carvalho Chehab wrote: > Em Fri, 11 Sep 2009 22:15:15 +0200 > Hans Verkuil escreveu: > > > On Friday 11 September 2009 21:59:37 Mauro Carvalho Chehab wrote: > > > Em Fri, 11 Sep 2009 21:23:44 +0200 > > > Hans Verkuil escreveu: > > > > > > > > In the ca

Media controller: sysfs vs ioctl

2009-09-11 Thread Hans Verkuil
Hi all, I've started this as a new thread to prevent polluting the discussions of the media controller as a concept. First of all, I have no doubt that everything that you can do with an ioctl, you can also do with sysfs and vice versa. That's not the problem here. The problem is deciding which

Re: [PATCH 2/3] Add driver for OmniVision OV9640 sensor

2009-09-11 Thread Guennadi Liakhovetski
On Fri, 4 Sep 2009, Marek Vasut wrote: > Dne Po 24. srpna 2009 20:06:29 Guennadi Liakhovetski napsal(a): > > Hi Marek > > > > On Sat, 22 Aug 2009, Marek Vasut wrote: > > > From 479aafc9a6540efec8a691a84aff166eb0218a72 Mon Sep 17 00:00:00 2001 > > > From: Marek Vasut > > > Date: Sat, 22 Aug 2009 0

Re: RFCv2: Media controller proposal

2009-09-11 Thread Mauro Carvalho Chehab
Em Fri, 11 Sep 2009 22:15:15 +0200 Hans Verkuil escreveu: > On Friday 11 September 2009 21:59:37 Mauro Carvalho Chehab wrote: > > Em Fri, 11 Sep 2009 21:23:44 +0200 > > Hans Verkuil escreveu: > > > > > > In the case of resizer, I don't see why this can't be implemented as an > > > > ioctl > >

Re: RFCv2: Media controller proposal

2009-09-11 Thread Mauro Carvalho Chehab
Em Fri, 11 Sep 2009 22:29:41 +0200 Hans Verkuil escreveu: > On Friday 11 September 2009 21:54:03 Mauro Carvalho Chehab wrote: > > Em Fri, 11 Sep 2009 21:08:13 +0200 > > Hans Verkuil escreveu: > > > > > > OK, so instead we require an application to construct a file containing a > > > new > >

Re: [PULL] http://kernellabs.com/hg/~dheitmueller/em28xx-vbi3

2009-09-11 Thread Devin Heitmueller
On Fri, Sep 11, 2009 at 4:56 PM, Andy Walls wrote: > +       /* FIXME: hard-coded for NTSC support */ > +       format->fmt.vbi.sampling_rate = 675 * 4 / 2; /* FIXME: ??? */ > > The BT.656 Pixel clock for both 60 Hz and 50 Hz systems is 13.5 > Mpixels/sec.  Unless you switch to PAL or NTSC squ

Re: [PULL] http://kernellabs.com/hg/~dheitmueller/em28xx-vbi3

2009-09-11 Thread Andy Walls
On Fri, 2009-09-11 at 00:00 -0400, Devin Heitmueller wrote: > Hello Mauro, > > Please PULL from http://kernellabs.com/hg/~dheitmueller/em28xx-vbi3 > for the following > > em28xx: better describe vinctrl registers > em28xx: make video isoc stream work when VBI is enabled > em28xx: add raw VBI supp

Re: RFCv2: Media controller proposal

2009-09-11 Thread Hans Verkuil
On Friday 11 September 2009 21:54:03 Mauro Carvalho Chehab wrote: > Em Fri, 11 Sep 2009 21:08:13 +0200 > Hans Verkuil escreveu: > > OK, so instead we require an application to construct a file containing a > > new > > topology, write something to a sysfs file, require code in the v4l core to

Re: RFCv2: Media controller proposal

2009-09-11 Thread Hans Verkuil
On Friday 11 September 2009 21:59:37 Mauro Carvalho Chehab wrote: > Em Fri, 11 Sep 2009 21:23:44 +0200 > Hans Verkuil escreveu: > > > > In the case of resizer, I don't see why this can't be implemented as an > > > ioctl > > > over /dev/video device. > > > > Well, no. Not in general. There are t

Re: RFCv2: Media controller proposal

2009-09-11 Thread Mauro Carvalho Chehab
Em Fri, 11 Sep 2009 21:23:44 +0200 Hans Verkuil escreveu: > > In the case of resizer, I don't see why this can't be implemented as an > > ioctl > > over /dev/video device. > > Well, no. Not in general. There are two problems. The first problem occurs if > you have multiple instances of a resize

Re: RFCv2: Media controller proposal

2009-09-11 Thread Mauro Carvalho Chehab
Em Fri, 11 Sep 2009 21:08:13 +0200 Hans Verkuil escreveu: > > > No, devices aren't created or deleted. Only links between devices. > > > > I think that there are some cases where devices are created/deleted. For > > example, on some hardware, you have some blocks that allow you to have > > eith

Re: LinuxTV firmware blocks all wireless connections / traffic

2009-09-11 Thread Antti Palosaari
On 09/11/2009 08:50 PM, Aleksandr V. Piskunov wrote: Ok, I did read basics of USB 2.0 protocol, gotta love these 600 page specs.. So using my fresh knowledge I went away and hacked ce6230 to use Isochronous transfer endpoint instead of Bulk one. And it helped, tuner works, no corruption with af90

Re: RFCv2: Media controller proposal

2009-09-11 Thread Hans Verkuil
On Friday 11 September 2009 20:52:17 Mauro Carvalho Chehab wrote: > Em Fri, 11 Sep 2009 23:04:13 +0530 > "Hiremath, Vaibhav" escreveu: > > > [Hiremath, Vaibhav] I was referring to standard V4L2 interface; I was > > referring to backward compatibility between Media controller devices itself. > >

Re: RFCv2: Media controller proposal

2009-09-11 Thread Hans Verkuil
Mauro, I am going to move the ioctl vs sysfs discussion to a separate thread. I'll post an analysis of that later today or tomorrow. See below for my comments on some misunderstandings for non-sysfs issues. On Friday 11 September 2009 17:13:42 Mauro Carvalho Chehab wrote: > > > > All this req

Re: RFCv2: Media controller proposal

2009-09-11 Thread Mauro Carvalho Chehab
Em Fri, 11 Sep 2009 23:04:13 +0530 "Hiremath, Vaibhav" escreveu: > [Hiremath, Vaibhav] I was referring to standard V4L2 interface; I was > referring to backward compatibility between Media controller devices itself. Huh? There's no media controller concept implemented yet. Hans proposal is to a

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

2009-09-11 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:Fri Sep 11 19:00:02 CEST 2009 path:http://www.linuxtv.org/hg/v4l-dvb changeset: 12711:13c47deee3b1 gcc version: gcc

Re: image quality of Labtec Webcam 2200

2009-09-11 Thread Németh Márton
bmp. > > You can find my results at > http://v4l-test.sourceforge.net/results/test-20090911/index.html > There are three types of problems: > a) Sometimes the picture contains a 8x8 pixel error, like in image #9 > http://v4l-test.sourceforge.net/results/test-20090911/ind

Re: LinuxTV firmware blocks all wireless connections / traffic

2009-09-11 Thread Devin Heitmueller
On Fri, Sep 11, 2009 at 1:50 PM, Aleksandr V. Piskunov wrote: > Ok, I did read basics of USB 2.0 protocol, gotta love these 600 page specs.. > So using my fresh knowledge I went away and hacked ce6230 to use Isochronous > transfer endpoint instead of Bulk one. And it helped, tuner works, no > corr

Re: LinuxTV firmware blocks all wireless connections / traffic

2009-09-11 Thread Aleksandr V. Piskunov
On Fri, Sep 11, 2009 at 05:38:08PM +0300, Antti Palosaari wrote: > On 09/10/2009 10:39 PM, Aleksandr V. Piskunov wrote: >> On Thu, Sep 10, 2009 at 08:16:31PM +0300, Aleksandr V. Piskunov wrote: >>> On Thu, Sep 10, 2009 at 05:48:22PM +0300, Antti Palosaari wrote: Here it is, USB2.0 URB is now a

RE: RFCv2: Media controller proposal

2009-09-11 Thread Hiremath, Vaibhav
> -Original Message- > From: Mauro Carvalho Chehab [mailto:mche...@infradead.org] > Sent: Friday, September 11, 2009 10:34 PM > To: Hiremath, Vaibhav > Cc: Devin Heitmueller; Hans Verkuil; linux-media@vger.kernel.org > Subject: Re: RFCv2: Media controller proposal > > Em Fri, 11 Sep 2009

Re: RFCv2: Media controller proposal

2009-09-11 Thread Mauro Carvalho Chehab
Em Fri, 11 Sep 2009 21:23:50 +0530 "Hiremath, Vaibhav" escreveu: > > -Original Message- > > From: linux-media-ow...@vger.kernel.org [mailto:linux-media- > > ow...@vger.kernel.org] On Behalf Of Devin Heitmueller > > Sent: Friday, September 11, 2009 9:16 PM > > To: Mauro Carvalho Chehab > >

Re: PCI/e with dual DVB-T + AV-in (HVR-2200?)

2009-09-11 Thread Michael Krufky
Jed's email isn't hitting the mailing list -- lets see if I can send it. On Fri, Sep 11, 2009 at 12:21 PM, Jed wrote: > Yeah I realised after seeing your 2nd email that Hauppauge only says > mpeg2 because that's all the Windows dvr does!  :-D > > I also noticed on the website that

Re: PCI/e with dual DVB-T + AV-in (HVR-2200?)

2009-09-11 Thread Steven Toth
On 9/11/09 12:11 PM, Jed wrote: Yeah I realised after seeing your 2nd email that Hauppauge only says mpeg2 because that's all the Windows dvr does! :-D I also noticed on the website that it only talks about hw encode being for the analog rf tuners, is there no hw encode for av-in?! It seems to

[PATCH 3/8] drivers/media/video/hdpvr: introduce missing kfree

2009-09-11 Thread Julia Lawall
From: Julia Lawall Error handling code following a kzalloc should free the allocated data. The semantic match that finds the problem is as follows: (http://www.emn.fr/x-info/coccinelle/) // @r exists@ local idexpression x; statement S; expression E; identifier f,f1,l; position p1,p2; expressio

[PATCH 2/8] drivers/media/video/uvc: introduce missing kfree

2009-09-11 Thread Julia Lawall
From: Julia Lawall Error handling code following kmalloc should free the allocated data. The semantic match that finds the problem is as follows: (http://www.emn.fr/x-info/coccinelle/) // @r exists@ local idexpression x; statement S; expression E; identifier f,f1,l; position p1,p2; expression

RE: RFCv2: Media controller proposal

2009-09-11 Thread Hiremath, Vaibhav
> -Original Message- > From: linux-media-ow...@vger.kernel.org [mailto:linux-media- > ow...@vger.kernel.org] On Behalf Of Devin Heitmueller > Sent: Friday, September 11, 2009 9:16 PM > To: Mauro Carvalho Chehab > Cc: Hans Verkuil; linux-media@vger.kernel.org > Subject: Re: RFCv2: Media cont

Re: RFCv2: Media controller proposal

2009-09-11 Thread Devin Heitmueller
On Fri, Sep 11, 2009 at 11:13 AM, Mauro Carvalho Chehab wrote: > Em Thu, 10 Sep 2009 23:35:52 +0200 > Hans Verkuil escreveu: > >> > First of all, a generic comment: you enumerated on your RFC several needs >> > that >> > you expect to be solved with a media controller, but you didn't mention >>

Re: RFCv2: Media controller proposal

2009-09-11 Thread Mauro Carvalho Chehab
Em Thu, 10 Sep 2009 23:35:52 +0200 Hans Verkuil escreveu: > > First of all, a generic comment: you enumerated on your RFC several needs > > that > > you expect to be solved with a media controller, but you didn't mention what > > userspace API will be used to solve it (e. g. what ioctls, sysfs i

Re: LinuxTV firmware blocks all wireless connections / traffic

2009-09-11 Thread Antti Palosaari
On 09/10/2009 10:39 PM, Aleksandr V. Piskunov wrote: On Thu, Sep 10, 2009 at 08:16:31PM +0300, Aleksandr V. Piskunov wrote: On Thu, Sep 10, 2009 at 05:48:22PM +0300, Antti Palosaari wrote: Here it is, USB2.0 URB is now about 16k both af9015 and ce6230 devices. Now powertop shows only about 220

Fwd: Re: [PATCH] fix lock imbalances in /drivers/media/video/cafe_ccic.c

2009-09-11 Thread iceberg
On Thu, Sep 10, 2009 at 09:30:03AM -0600, Jonathan Corbet wrote: > On Thu, 10 Sep 2009 18:37:34 + > iceberg wrote: > > > In ./drivers/media/video/cafe_ccic.c, in function cafe_pci_probe: > > Mutex must be unlocked before exit > > 1. On paths starting with mutex lock in line 1912, then co

Re: Hyperlinks in linuxtv.org mercurial RSS feeds broken

2009-09-11 Thread Johannes Stezenbach
On Fri, Sep 11, 2009 at 02:59:22PM +0200, Matthias Schwarzott wrote: > > After having reported this some weeks ago, the hyperlinks in the linuxtv.org > mercurial RSS feeds are still broken. > > In this feed: http://linuxtv.org/hg/v4l-dvb?cmd=changelog;style=rss > a link looks like this: > http:/

Re: [PATCH] fix lock imbalances in /drivers/media/video/cafe_ccic.c

2009-09-11 Thread iceberg
On Thursday 10 September 2009 15:30:03 you wrote: Incorrect patch. See path starting with "if (cam->sensor == null) {" in line 1960. In this case we goto out_smbs and try mutex_unlock on unlocking mutex. > On Thu, 10 Sep 2009 18:37:34 + > > iceberg wrote: > > In ./drivers/media/vid

Re: RFCv2: Media controller proposal

2009-09-11 Thread Mauro Carvalho Chehab
Em Thu, 10 Sep 2009 16:27:20 -0400 Devin Heitmueller escreveu: > On Thu, Sep 10, 2009 at 4:20 PM, Mauro Carvalho > Chehab wrote: > > In fact, this can already be done by using the sysfs interface. the current > > version of v4l2-sysfs-path.c already enumerates the associated nodes to > > a /dev/v

Hyperlinks in linuxtv.org mercurial RSS feeds broken

2009-09-11 Thread Matthias Schwarzott
Hi there! After having reported this some weeks ago, the hyperlinks in the linuxtv.org mercurial RSS feeds are still broken. In this feed: http://linuxtv.org/hg/v4l-dvb?cmd=changelog;style=rss a link looks like this: http://linuxtv.orghttp//linuxtv.org/hg/v4l-dvb/rev/13c47deee3b1 Regards Matthi

Re: [PATCH 1/1] FM TX: si4713: Kconfig: Fixed two typos.

2009-09-11 Thread Eduardo Valentin
On Fri, Sep 11, 2009 at 09:38:04AM +0200, Aaltonen Matti.J (Nokia-D/Tampere) wrote: > Fixed two typos. > > Signed-off-by: Matti J. Aaltonen Acked-by: Eduardo Valentin > > diff -r 5582a6427a41 -r ff80edccfe24 linux/drivers/media/radio/Kconfig > --- a/linux/drivers/media/radio/Kconfig Tu

Kernel OOPS in "dvb_demux_release"

2009-09-11 Thread Markus Langlotz
Hi, yesterday i tried to set up my linux DBV TV (following the description on http://www.linuxtv.org/wiki/) and got a kernal OOPS. My hardware: WinTV NOVA-T (USB Stick) rev.D1F4 I have running an Ubuntu 4.08 (kernel 2.6.24-24). Current v4l build from http://linuxtv.org/hg/v4l-dvb Firmware is dvb-

Re: Azurewave AD-CP400 (Twinhan VP-2040 DVB-C)

2009-09-11 Thread Magnus Nilsson
Claes Lindblom wrote: >> More majordomo info at http://vger.kernel.org/majordomo-info.html > Hi, I have the same problem with Slave RACK Fail on my Azurewave > AP-SP400 (VP-1041). > Do you really mean that to don't get theese problems when turning off > the log from open-sasc-ng or was the problem

Re: (Saa7134) Re: ADS-Tech Instant TV PCI, no remote support, no idea what to try.

2009-09-11 Thread Morvan Le Meut
um .. help, please ? how can i make the driver read 1011011 instead of 011011 when i press Power instead of record on the remote ? thanks Morvan Le Meut a écrit : from cx88-input.c case CX88_BOARD_ADSTECH_DVB_T_PCI: ir_codes = ir_codes_adstech_dvb_t_pci; ir->gpio_addr = MO_GP

Re: [PATCH 1/1] FM TX: si4713: Kconfig: Fixed two typos.

2009-09-11 Thread m7aalton
Fixed two typos. Signed-off-by: Matti J. Aaltonen diff -r 5582a6427a41 -r ff80edccfe24 linux/drivers/media/radio/Kconfig --- a/linux/drivers/media/radio/Kconfig Tue Sep 01 22:16:23 2009 +0200 +++ b/linux/drivers/media/radio/Kconfig Fri Sep 11 10:25:13 2009 +0300 @@ -346,7 +346,7 @@ ---he

Re: TeVii S650 DVB-S2 USB und s2-liplianin drivers

2009-09-11 Thread crow
On Thu, Sep 10, 2009 at 11:56 PM, Igor M. Liplianin wrote: > On 10 сентября 2009, linux-media@vger.kernel.org wrote: >> Hi, >> I tried today s2-liplianin drivers with tevii s650 and vdr cant lock >> any channels with this error msg: >> >> <---snip> >> <6>stv0900_search: <7><6>Search Fail >> st

image quality of Labtec Webcam 2200

2009-09-11 Thread Németh Márton
-test.sourceforge.net/results/test-20090911/index.html There are three types of problems: a) Sometimes the picture contains a 8x8 pixel error, like in image #9 http://v4l-test.sourceforge.net/results/test-20090911/index.html#img9 b) Sometimes the brightness of the half picture is changed, like in