Hannu Savolainen wrote:
> Alex Maclean kirjoitti:
>> Hannu Savolainen wrote:
>>   
>>> I cannot figure out which control affects the microphone input. Could 
>>> you run ossxmix and try to find out which control should be set to 0.
>>>
>>> Best regards,
>>>
>>> Hannu
>>> _______________________________________________
>>> oss-devel mailing list
>>> oss-devel@mailman.opensound.com
>>> http://mailman.opensound.com/mailman/listinfo/oss-devel
>>>
>>>     
>> My apologies for taking such a ridiculously long time to respond.
>>
>> Diff attached mutes input for speakers by default.
>>   
> This mutes all the other inputs which is not good. If somebody wants to 
> enable line-in then he needs to first unmute the input mixer and then 
> find a way to silence the whining microphone.
> 
> Can you check if decreasing the initial volume (90) for some of the 
> widgets in lines 189 to 192 fixes the feedback (after reversing this 
> patch). One of these widgets must be the microphone but it's impossible 
> to figure that out because the names are wrong.
> 
> Best regards,
> 
> Hannu
> _______________________________________________
> oss-devel mailing list
> oss-devel@mailman.opensound.com
> http://mailman.opensound.com/mailman/listinfo/oss-devel
> 
None of those is the internal mic. However, int-mic at line 58 is. Patch
attached sets volume to 0.
Would it be possible to set the default source for headphone-mix (line
160) to front? I can't figure out how, but it would make a lot of sense
as speakers are automatically muted when headphones are connected.

Also, current hg does not build due to -Wall in Makefiles.
oss_audio_core.c:4927: warning: pointer targets in passing argument 4 of
'copy_read_noninterleaved' differ in signedness
--- oss-devel/kernel/drv/oss_hdaudio/hdaudio_thinkpad_r61.c     2008-11-19 
13:51:45.000000000 +0000
+++ hdaudio_thinkpad_r61.c      2008-11-19 13:56:56.000000000 +0000
@@ -59,7 +59,7 @@
           {
                if (HDA_PINSELECT(0x15, ctl, group, "mode", -1))
                        HDA_CHOICES(ctl, "input");
-               HDA_INAMP(0x15, 0, group, "out", 90);   /* From widget 0x00 */
+               HDA_INAMP(0x15, 0, group, "out", 0);    /* From widget 0x00 */
           }
 
        if (HDA_PIN_GROUP(0x16, group, pin_group, "int-cd", n, "jack", 4))      
/* Pin widget 0x16 */
_______________________________________________
oss-devel mailing list
oss-devel@mailman.opensound.com
http://mailman.opensound.com/mailman/listinfo/oss-devel

Reply via email to