#505733 [alsa-base] Input source not correctly set on boot sequence (fujitsu pi1505, ALC861 Analog, HDA intel)

Package:
alsa-utils
Source:
alsa-utils
Description:
Utilities for configuring and using ALSA
Submitter:
Jean-Louis Biasini
Date:
2010-12-06 18:24:03 UTC
Severity:
wishlist
#505733#5
Date:
2008-11-14 18:47:47 UTC
From:
To:
--- Please enter the report below this line. ---
Hello and thanks for your work,

I've just made a new install of lenny had I had since a long time
a problem with the input source selection as the system was just started.
In fact it seems that the input sources is not correctly set. The result
is that although the microphone works (I can hear my voice on the high
speakers if I set the volume to do so) it is not possible to record sound.
It take me a lot of time to understand the cause of this. As setting
manually the input source on CD and then back to microphone solved the
problem, the following command launched at the end of the booting
process solved the problem:

amixer cset iface=MIXER,name='Mic Playback Switch' off,off
amixer cset iface=MIXER,name='Input Source' 1 # select CD as input
amixer cset iface=MIXER,name='Capture Switch' on,on
amixer cset iface=MIXER,name='Input Source' 0 # reselect mike

I suggest whether to add them to the booting sequence or to search
the real cause of the setting's failure.

Regards

Jean-Louis Biasini

Debian Release: lenny/sid
  988 testing         security.debian.org
  987 testing         www.debian-multimedia.org
  986 testing         ftp.tugraz.at
  985 stable          debian.ens-cachan.fr
   98 unstable        ftp.tugraz.at
  500 unstable        jeandamiendurand.free.fr
  500 unstable        ftp.berlios.de
  500 testing         download.tuxfamily.org
  500 stable          tobias.rautenkranz.ch
--- Package information. ---
Depends                (Version) | Installed
================================-+-===========
lsof                   (>= 4.64) | 4.78.dfsg.1-4
module-init-tools     (>= 3.2.1) | 3.4-1
linux-sound-base                 | 1.0.17.dfsg-4
--- Output from package bug script ---
#505733#10
Date:
2008-11-14 19:53:16 UTC
From:
To:
tags 505733 -patch
severity 505733 normal
reassign 505733 alsa-utils

thanks


* Jean-Louis Biasini [081114 20:10 +0100]

Didn't find one
'Input Source' 1 or 0 ???
Mic Playback Switch sounds unreasonabele?

Please tell us which soundcard you use.

Thanks
Elimnar

#505733#21
Date:
2009-03-30 21:13:35 UTC
From:
To:
The same happens to me. Using the suggested sequence of commands allows
recording from the mic.

As Jean-Louis Biasini said, the trick consists in switching the input source first to CD and then back to Mic

I think that it refers to the switch that enables or disables hearing the sound from the mic through the speakers.

$ dmidecode

BIOS Information
        Vendor: FUJITSU SIEMENS
        Version: 1.08C

Base Board Information
        Manufacturer: FUJITSU SIEMENS
        Product Name: AMILO Pi 1505

$ lspci | grep -i audio
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)

$ lspci -vn | grep 00:1b.0
00:1b.0 0403: 8086:27d8 (rev 02)

$ cat /proc/asound/card0/codec#1 | head
Codec: Realtek ALC861
Address: 1
Vendor Id: 0x10ec0861
Subsystem Id: 0x15840000
Revision Id: 0x100300

Regards,

#505733#26
Date:
2009-05-14 21:36:15 UTC
From:
To:
severity 505733 wishlist
thanks

Although this symptom can be worked around in the alsa-utils initscript,
it really shouldn't be. Instead, it should be fixed in alsa-kernel.

Please use http://www.alsa-project.org/alsa-info.sh (bash necessary), or
alternately, just attach your SSID (not just vendor and device) from lspci
-vn and full codec information from /proc/asound/card#/codec#.

#505733#33
Date:
2009-05-16 04:48:07 UTC
From:
To:
Hi,

2009/5/14 Daniel T Chen <seven.steps@gmail.com>:

Thank you. Here is the output of alsa-info.sh:

http://www.alsa-project.org/db/?f=ff2b2de906502e76d27bdb5b5f8537a23494ab4b

Best regards,

#505733#38
Date:
2010-12-06 01:32:58 UTC
From:
To:
tags 505733 + moreinfo
thanks

Do you still need to use your homebrewed script after updating to a
current kernel, e.g., 2.6.32, or using the latest alsa-source?

#505733#43
Date:
2010-12-06 18:16:53 UTC
From:
To:
Yes the problem is still here. The commands:
amixer -c 0 cset iface=MIXER,name='Input Source' 1
amixer -c 0 cset iface=MIXER,name='Input Source' 0

are enough for a work around. Recompiling alsa from sources doesn't
solve this.

If you need more infos please ask

regards,

Jean-Louis Biasini

Le dimanche 05 décembre 2010 à 20:32 -0500, Daniel Chen a écrit :

#505733#48
Date:
2010-12-06 18:21:37 UTC
From:
To:
Can you attach the output (the db url) from running the
http://www.alsa-project.org/alsa-info.sh bash script?