Re: saa7134 - radio broken for v4l1 apps - was - Re: Problems with Pinnacle 310i (saa7134) and recent kernels
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 + schrieb Avl Jawrowski: Hi, hermann pitton hermann-pitton at 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 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 -- Hans Verkuil - video4linux developer - sponsored by TANDBERG Telecom -- 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 http://vger.kernel.org/majordomo-info.html
Re: saa7134 - radio broken for v4l1 apps - was - Re: Problems with Pinnacle 310i (saa7134) and recent kernels
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 + schrieb Avl Jawrowski: Hi, hermann pitton hermann-pitton at 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 hermann-pit...@arcor.de 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 -- 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 http://vger.kernel.org/majordomo-info.html