Message ID | 20090921204418.GA19119@zverina (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
On Mon, Sep 21, 2009 at 4:44 PM, Uros Vampl <mobile.leecher@gmail.com> wrote: > Hello. > > Partial success. With the attached patch, DVB works. But I have no idea > how to get analog audio working correctly. Any help would be > appreciated. > > Regards, > Uroš Hello Uroš, Sorry I somehow missed your previous email. I have a patch already which should make the device work correctly, and am issuing a PULL request for it this week. Regarding the analog audio, I'm not sure how you are testing, but if you are using tvtime, it is known that tvtime does not support analog audio for raw devices such as this. You need to run arecord/aplay in a separate window. Devin
On 21.09.09 16:49, Devin Heitmueller wrote: > On Mon, Sep 21, 2009 at 4:44 PM, Uros Vampl <mobile.leecher@gmail.com> wrote: > > Hello. > > > > Partial success. With the attached patch, DVB works. But I have no idea > > how to get analog audio working correctly. Any help would be > > appreciated. > > > > Regards, > > Uroš > > Hello Uroš, > > Sorry I somehow missed your previous email. I have a patch already > which should make the device work correctly, and am issuing a PULL > request for it this week. > > Regarding the analog audio, I'm not sure how you are testing, but if > you are using tvtime, it is known that tvtime does not support analog > audio for raw devices such as this. You need to run arecord/aplay in > a separate window. > > Devin Hi, I tried arecord/aplay and sox with tvtime, and also mplayer (which has built-in audio support). I know about these tricks, I've used them successfully with Markus' em28xx-new driver. But with v4l-dvb it's as I said, audio is there but it's extremely quiet. If you have suggestions how I should try to diagnoze this, I'm all ears. Regards, Uroš -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On Mon, Sep 21, 2009 at 6:15 PM, Uros Vampl <mobile.leecher@gmail.com> wrote: > I tried arecord/aplay and sox with tvtime, and also mplayer (which > has > built-in audio support). I know about these tricks, I've used them > successfully with Markus' em28xx-new driver. But with v4l-dvb it's as I > said, audio is there but it's extremely quiet. If you have suggestions > how I should try to diagnoze this, I'm all ears. > > Regards, > Uroš If the audio is present but very quiet, then it's probably some issue you are having with your mixer. I would check your ALSA and PulseAudio configuration (in particular the mixer volume controls). Devin
On 21.09.09 18:29, Devin Heitmueller wrote: > On Mon, Sep 21, 2009 at 6:15 PM, Uros Vampl <mobile.leecher@gmail.com> wrote: > > I tried arecord/aplay and sox with tvtime, and also mplayer (which > > has > > built-in audio support). I know about these tricks, I've used them > > successfully with Markus' em28xx-new driver. But with v4l-dvb it's as I > > said, audio is there but it's extremely quiet. If you have suggestions > > how I should try to diagnoze this, I'm all ears. > > > > Regards, > > Uroš > > If the audio is present but very quiet, then it's probably some issue > you are having with your mixer. I would check your ALSA and > PulseAudio configuration (in particular the mixer volume controls). > > Devin No PulseAudio here. And I've played plenty with the ALSA mixer, all the sliders that are there. Using em28xx-new instead of v4l-dvb, all else being equal, tv volume is fine. So there's gotta be a difference somewhere in the way em28xx-new sets up audio compared to how v4l-dvb does it. Regards, Uroš -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On Tue, Sep 22, 2009 at 5:12 AM, Uros Vampl <mobile.leecher@gmail.com> wrote: > On 21.09.09 18:29, Devin Heitmueller wrote: >> On Mon, Sep 21, 2009 at 6:15 PM, Uros Vampl <mobile.leecher@gmail.com> wrote: >> > I tried arecord/aplay and sox with tvtime, and also mplayer (which >> > has >> > built-in audio support). I know about these tricks, I've used them >> > successfully with Markus' em28xx-new driver. But with v4l-dvb it's as I >> > said, audio is there but it's extremely quiet. If you have suggestions >> > how I should try to diagnoze this, I'm all ears. >> > >> > Regards, >> > Uroš >> >> If the audio is present but very quiet, then it's probably some issue >> you are having with your mixer.  I would check your ALSA and >> PulseAudio configuration (in particular the mixer volume controls). >> >> Devin > > No PulseAudio here. And I've played plenty with the ALSA mixer, all the > sliders that are there. > > Using em28xx-new instead of v4l-dvb, all else being equal, tv volume is > fine. So there's gotta be a difference somewhere in the way em28xx-new > sets up audio compared to how v4l-dvb does it. Interesting. Have you tried the A/V inputs (as opposed to the tuner)? That might help us identify whether it's an issue with the xc3028 tuner chip extracting the audio carrier or whether it's something about the way we are programming the emp202. Devin
On 22.09.09 19:47, Devin Heitmueller wrote: > >> If the audio is present but very quiet, then it's probably some issue > >> you are having with your mixer.  I would check your ALSA and > >> PulseAudio configuration (in particular the mixer volume controls). > >> > >> Devin > > > > No PulseAudio here. And I've played plenty with the ALSA mixer, all the > > sliders that are there. > > > > Using em28xx-new instead of v4l-dvb, all else being equal, tv volume is > > fine. So there's gotta be a difference somewhere in the way em28xx-new > > sets up audio compared to how v4l-dvb does it. > > Interesting. Have you tried the A/V inputs (as opposed to the tuner)? > That might help us identify whether it's an issue with the xc3028 > tuner chip extracting the audio carrier or whether it's something > about the way we are programming the emp202. Hello, That was a great idea. Tested with a Playstation2 and audio is ok. It's just TV input that has a problem. So I guess that means the issue is with the tuner chip. That's progress. Where do I go from here? Regards, Uroš -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On Fri, Sep 25, 2009 at 1:22 PM, Uros Vampl <mobile.leecher@gmail.com> wrote: > On 22.09.09 19:47, Devin Heitmueller wrote: >> >> If the audio is present but very quiet, then it's probably some issue >> >> you are having with your mixer. Â I would check your ALSA and >> >> PulseAudio configuration (in particular the mixer volume controls). >> >> >> >> Devin >> > >> > No PulseAudio here. And I've played plenty with the ALSA mixer, all the >> > sliders that are there. >> > >> > Using em28xx-new instead of v4l-dvb, all else being equal, tv volume is >> > fine. So there's gotta be a difference somewhere in the way em28xx-new >> > sets up audio compared to how v4l-dvb does it. >> >> Interesting. Â Have you tried the A/V inputs (as opposed to the tuner)? >> Â That might help us identify whether it's an issue with the xc3028 >> tuner chip extracting the audio carrier or whether it's something >> about the way we are programming the emp202. > > > Hello, > > That was a great idea. Tested with a Playstation2 and audio is ok. It's > just TV input that has a problem. So I guess that means the issue is > with the tuner chip. That's progress. Where do I go from here? Ok, that's good to hear. What video standard specifically are you using? I suspect the core issue is that the application is not properly specifying the video standard, which results in the xc3028 improperly decoding the audio (the xc3028 needs to know exactly what standard is being used). Devin
On 25.09.09 13:41, Devin Heitmueller wrote: > >> Interesting. Â Have you tried the A/V inputs (as opposed to the tuner)? > >> Â That might help us identify whether it's an issue with the xc3028 > >> tuner chip extracting the audio carrier or whether it's something > >> about the way we are programming the emp202. > > > > > > Hello, > > > > That was a great idea. Tested with a Playstation2 and audio is ok. It's > > just TV input that has a problem. So I guess that means the issue is > > with the tuner chip. That's progress. Where do I go from here? > > Ok, that's good to hear. What video standard specifically are you > using? I suspect the core issue is that the application is not > properly specifying the video standard, which results in the xc3028 > improperly decoding the audio (the xc3028 needs to know exactly what > standard is being used). I'm from Slovenia, which is a PAL-B country. Tvtime can be set to either PAL-BG, PAL-DK or PAL-I, makes no difference. MPlayer has a whole bunch of options (PAL, PAL-BG, etc...), but again none of them make a difference. When the app is started, this appears in dmesg: xc2028 4-0061: Loading firmware for type=BASE F8MHZ (3), id 0000000000000000. (0), id 00000000000000ff: xc2028 4-0061: Loading firmware for type=(0), id 0000000100000007. xc2028 4-0061: Loading SCODE for type=MONO SCODE HAS_IF_5320 (60008000), id 0000000f00000007. -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff -r 29e4ba1a09bc linux/drivers/media/video/em28xx/em28xx-cards.c --- a/linux/drivers/media/video/em28xx/em28xx-cards.c Sat Sep 19 09:45:22 2009 -0300 +++ b/linux/drivers/media/video/em28xx/em28xx-cards.c Mon Sep 21 19:59:50 2009 +0200 @@ -1442,10 +1442,8 @@ .tuner_type = TUNER_XC2028, .tuner_gpio = default_tuner_gpio, .decoder = EM28XX_TVP5150, -#if 0 /* FIXME: add an entry at em28xx-dvb */ .has_dvb = 1, .dvb_gpio = hauppauge_wintv_hvr_900_digital, -#endif .input = { { .type = EM28XX_VMUX_TELEVISION, .vmux = TVP5150_COMPOSITE0, @@ -2119,6 +2117,7 @@ switch (dev->model) { case EM2880_BOARD_EMPIRE_DUAL_TV: case EM2880_BOARD_HAUPPAUGE_WINTV_HVR_900: + case EM2882_BOARD_TERRATEC_HYBRID_XS: ctl->demod = XC3028_FE_ZARLINK456; break; case EM2880_BOARD_TERRATEC_HYBRID_XS: diff -r 29e4ba1a09bc linux/drivers/media/video/em28xx/em28xx-dvb.c --- a/linux/drivers/media/video/em28xx/em28xx-dvb.c Sat Sep 19 09:45:22 2009 -0300 +++ b/linux/drivers/media/video/em28xx/em28xx-dvb.c Mon Sep 21 19:59:50 2009 +0200 @@ -494,6 +494,7 @@ } break; case EM2880_BOARD_HAUPPAUGE_WINTV_HVR_900: + case EM2882_BOARD_TERRATEC_HYBRID_XS: case EM2880_BOARD_EMPIRE_DUAL_TV: dvb->frontend = dvb_attach(zl10353_attach, &em28xx_zl10353_xc3028_no_i2c_gate,