Return-path: Received: from mail-in-07.arcor-online.net ([151.189.21.47]:45297 "EHLO mail-in-07.arcor-online.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751050AbZIOWga (ORCPT ); Tue, 15 Sep 2009 18:36:30 -0400 Subject: Re: saa7134 - radio broken for v4l1 apps - was - Re: Problems with Pinnacle 310i (saa7134) and recent kernels From: hermann pitton To: Hans Verkuil Cc: Avl Jawrowski , Mauro Carvalho Chehab , linux-media@vger.kernel.org In-Reply-To: <200909151839.12643.hverkuil@xs4all.nl> References: <200909140824.17591.hverkuil@xs4all.nl> <1252972232.3250.43.camel@pc07.localdom.local> <200909151839.12643.hverkuil@xs4all.nl> Content-Type: text/plain; charset=UTF-8 Date: Wed, 16 Sep 2009 00:29:00 +0200 Message-Id: <1253053740.5598.6.camel@pc07.localdom.local> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-media-owner@vger.kernel.org List-ID: Am Dienstag, den 15.09.2009, 18:39 +0200 schrieb Hans Verkuil: > On Tuesday 15 September 2009 01:50:32 hermann pitton wrote: > > Hi, > > > > Am Montag, den 14.09.2009, 08:24 +0200 schrieb Hans Verkuil: > > > On Monday 14 September 2009 00:42:16 hermann pitton wrote: > > > > Hi, > > > > > > > > Am Sonntag, den 13.09.2009, 12:02 +0000 schrieb Avl Jawrowski: > > > > > Hi, > > > > > > > > > > hermann pitton arcor.de> writes: > > > > > > > [snip] > > > > > > > > > > The only other issue I'm aware of is that radio is broken since guessed > > > > > > 8 weeks on my tuners, only realized when testing on enabling external > > > > > > active antenna voltage for DVB-T on a/some 310i. > > > > > > > > > > > > Might be anything, hm, hopefully I should not have caused it ;) > > > > > > > > > > The radio works for me, even if there's much noise (I don't usually use it). > > > > > I'm using the internal audio cable. > > > > > > > > The radio is broken for all tuners, you must be on older stuff. > > > > > > > > I finally found the time to do the mercurial bisect today. > > > > > > > > It is broken since Hans' changeset 12429 on seventh August. > > > > > > What are the symptoms? What application do you use to test the radio? > > > I don't immediately see why that changeset would break radio support as > > > it only affects VIDIOC_G_STD and VIDIOC_G_PARM. > > > > > > Regards, > > > > > > Hans > > > > Hans, it are indeed only the v4l1 apps like radio, qtradio, gnomeradio > > and fm from fmtools. Avl is right, mplayer does still work and also > > kradio. > > > > So the trouble happens in the v4l1 compat layer. > > > > Symptoms are, that you just have loud static noise and tuning has not > > any effect. Also no signal and/or stereo detection. > > > > "fm" gives now "ioctl VIDIOCGTUNER: Invalid argument". > > Hermann, I've fixed this in v4l1-compat.c. Can you try this tree: > > http://www.linuxtv.org/hg/~hverkuil/v4l-dvb > > If this works (and I expect it will), then I'll post a pull request for this. > > Regards, > > Hans Hans, it works and restores previous behavior. Tested-by: hermann pitton Thanks for the quick fix. Cheers, Hermann > > > > qtradio > > Using v4l > > Video4Linux detected > > 87 - 108 > > SIGNAL = 0 > > SIGNAL = 0 > > VIDIOCGAUDIO: Ungültiger Dateideskriptor > > VIDIOCSAUDIO: Ungültiger Dateideskriptor > > VIDIOCGAUDIO: Ungültiger Dateideskriptor > > VIDIOCSAUDIO: Ungültiger Dateideskriptor > > > > Tested on old style simple tuners, some tda9887 stuff and > > tda8275a/tda8290/saa7131e, on both x86 and x86_64, with some 2.6.29 and > > some 2.6.30. > > > > Cheers, > > Hermann > > > >