public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: Frederic CAND <frederic.cand@anevia.com>
To: hermann pitton <hermann-pitton@arcor.de>
Cc: linux-dvb@linuxtv.org
Subject: Re: [linux-dvb] KNC TV Station DVR Tuner Sound Issue
Date: Wed, 30 Apr 2008 15:24:42 +0200	[thread overview]
Message-ID: <4818731A.8060305@anevia.com> (raw)
In-Reply-To: <48186290.2070603@anevia.com>

Frederic CAND a écrit :
> hermann pitton a écrit :
>> Am Dienstag, den 29.04.2008, 14:18 +0200 schrieb Frederic CAND:
>>> hermann pitton a écrit :
>>>> Hi Frederic,
>>>>
>>>> Am Dienstag, den 29.04.2008, 11:09 +0200 schrieb Frederic CAND:
>>>>> Dear all,
>>>>>
>>>>> I recently had to change v4l drivers to support my WinTV HVR 1300.
>>>>> I have issues making my HVR work but that's not the point here.
>>>>> My problem is that since I updated kernel + drivers, I can't manage to 
>>>>> make sound work when I'm using the tuner input. Sound jack input works 
>>>>> when I'm using SVideo or Composite Video, but not when I'm using tuner.
>>>>>
>>>>> Here are the options I'm using
>>>>> tuner : port2=0
>>>>> saa7134: oss=1 disable_ir=1
>>>>> saa7134-oss: rate=48000
>>>> the rate=48000 is only valid for external analog input and disables
>>>> sound from tuner. Have a look at the saa7134-oss mixer under such
>>>> conditions.
>>>>
>>>> You must use default rate of 32000 for dma sound from tuner.
>>>>
>>>> The saa7134-oss is also soon deprecated and replaced by saa7134-alsa.
>>>>
>>>> If you are considering using recent v4l-dvb mercurial stuff, which
>>>> should be best for the HVR1300 and reporting bugs on saa7134-empress,
>>>> you might still have your old saa7134-oss module around and some others
>>>> like the old video_buf now loaded, since not deleted on upgrade.
>>>>
>>>> After make rmmod and rminstall with current v4l-dvb you should delete
>>>> such remaining modules on older kernels too before make install.
>>>>
>>>> Cheers,
>>>> Hermann
>>> hum I used to set rate to 48000 with my old 2005 july snapshot and it 
>>> was working even with tuner ... but ok I'll try 32000
>>> i've tried alsa and I had the same results, that is no sound with tuner 
>>> but line in sound with composite and svideo
>>> do I need some special stuffs compiled in my kernel except from config_snd ?
>>> about old modules still loaded this can't be since I build my system 
>>> from scratch each time i try a new kernel / driver into an ext2 file, 
>>> which I put on a 32MB flash disk and boot on it ... so I'm sure I'm not 
>>> using my old v4l snapshot, but the 2.6.22.19 v4l drivers
>>>
>>> I'll let you know if I can make it work
>> Ah, you are in France!
> yeah!
> 
>> Try "modinfo saa7134". Due to unresolvable auto detection issues between
>> different SECAM standards there was a secam= either DK, L or Lc option
>> introduced.
> huhu... but my system has to work worldwide ... so a module option is 
> not a good idea, because it does not only depends on the country, but 
> also if my customer is using a signal modulator or not, ... and I have 
> two cards in my system, and I want to be able to select a certain SECAM 
> mode with the first one, and another mode with the second card
> Actually I'm selecting secam L, DK or BG with an ioctl cause my card can 
> handle them (tested and working with older drivers/kernels)
> 
> 
>> Anything else then 32000Hz sampling rate for TV is wrong currently and
>> you get that input disabled on saa7134-oss mixer. Yes, it was once
>> possible, but not intended, to use 48000 also for TV/Video on saa7134
>> chips, but gave very poor and crackling sound and is wrong.
>>
>> The current saa7134-alsa is simpler to use and also uses an exported
>> mute symbol from saa7134-tvaudio. Default distribution settings are
>> sufficient. On recent Ubutu releases seem to be problems with an out of
>> tree alsa there.
> 
> Ok I'll see with this rate thing and let you know
> 
>> Cheers,
>> Hermann
>>
>>
>>
> Greetings.
> 
I still have nothing with oss and rate=32000, with alsa, or with secam=l
Anyway, some more informations :
* I've got the following error messages on saa7134 module insertion

saa7134_empress: Unknown symbol saa7134_devlist
saa7134_empress: Unknown symbol saa7134_common_ioctl
saa7134_empress: Unknown symbol saa7134_boards
saa7134_empress: Unknown symbol saa7134_ts_register
saa7134_empress: Unknown symbol saa7134_ts_qops
saa7134_empress: Unknown symbol saa7134_i2c_call_clients
saa7134_empress: Unknown symbol saa7134_ts_unregister
saa7134_alsa: Unknown symbol saa7134_tvaudio_setmute
saa7134_alsa: Unknown symbol saa_dsp_writel
saa7134_alsa: Unknown symbol saa7134_devlist
saa7134_alsa: Unknown symbol saa7134_pgtable_alloc
saa7134_alsa: Unknown symbol saa7134_pgtable_build
saa7134_alsa: Unknown symbol saa7134_pgtable_free
saa7134_alsa: Unknown symbol saa7134_dmasound_init
saa7134_alsa: Unknown symbol saa7134_dmasound_exit
saa7134_alsa: Unknown symbol saa7134_set_dmabits
saa7134 ALSA driver for DMA sound loaded
saa7134[0]/alsa: saa7134[0] at 0xe5300000 irq 5 registered as card -1
saa7134[1]/alsa: saa7134[1] at 0xe5301000 irq 9 registered as card -1

* When using audio_debug=1 for saa7134, I've got the following :
saa7134[1]/audio: mute/input: nothing to do [mute=1,input=Television]
saa7134[1]/audio: sound IF not in use, skipping scan
saa7134[1]/audio: mute/input: nothing to do [mute=1,input=Television]
saa7134[1]/audio: mute/input: nothing to do [mute=1,input=Television]
saa7134[1]/audio: ctl_mute=0 automute=0 input=Television  =>  mute=0 
input=Television
saa7134[1]/audio: sound IF not in use, skipping scan
saa7134[1]/audio: mute/input: nothing to do [mute=0,input=Television]
saa7134[1]/audio: sound IF not in use, skipping scan
saa7134[1]/audio: mute/input: nothing to do [mute=0,input=Television]
saa7134[1]/audio: ctl_mute=0 automute=1 input=Television  =>  mute=1 
input=Television
saa7134[1]/audio: sound IF not in use, skipping scan
saa7134[1]/audio: ctl_mute=0 automute=0 input=Television  =>  mute=0 
input=Television

-- 
CAND Frederic
Product Manager
ANEVIA

_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

  reply	other threads:[~2008-04-30 13:24 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-29  9:09 [linux-dvb] KNC TV Station DVR Tuner Sound Issue Frederic CAND
2008-04-29  9:11 ` Frederic CAND
2008-04-29 11:17 ` hermann pitton
2008-04-29 12:18   ` Frederic CAND
2008-04-29 17:19     ` hermann pitton
2008-04-30 12:14       ` Frederic CAND
2008-04-30 13:24         ` Frederic CAND [this message]
2008-04-30 14:45           ` Frederic CAND
2008-05-03 23:27             ` hermann pitton
2008-05-05  8:35               ` Frederic CAND
2008-05-05  9:30                 ` Frederic CAND
2008-05-06  7:54                   ` Frederic CAND
2008-05-06 13:25               ` Frederic CAND

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4818731A.8060305@anevia.com \
    --to=frederic.cand@anevia.com \
    --cc=hermann-pitton@arcor.de \
    --cc=linux-dvb@linuxtv.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox