[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to unmute the sound?



Hi,

I  had the same problem (this time with an ASUS A8F laptop) but I
managed to fix it by passing the model option to modprobe.  Maybe you
should try again with kernel 2.6.25 (it's now in unstable), I saw that
there is a new model name for your codec chip (STAC9205):

STAC9205/9254
  ref		Reference board
  dell-m42	Dell (unknown)
  dell-m43	Dell Precision
  dell-m44	Dell Inspiron

Just for the record, this is what I did:

Sound always worked fine until one of the last week upgrades to
unstable/experimental, so the first thing was to determine the codec
chip used in my laptop:

$ tail -n 2 /proc/asound/oss/sndstat
Mixers:
0: Analog Devices AD1986A

Then I checked the the ALSA-Configuration.txt for the possible model
names for the AD1986A codec chip and after a few  cycles of:

modprobe -r snd-hda-intel
modprobe snd-hda-intel model=...
alsamixer
speaker-test -t wav -D plug:front -c2 -l2

I found that the right model name was laptop-eapd, so finally  I added
the following line to the /etc/modprobe.d/alsa-base:

options snd-hda-intel model=laptop-eapd




On Mon, Feb 18, 2008 at 6:56 AM, Michael Yang <michael.yxf@gmail.com> wrote:
>
> I have upgraded the dist to 2.6.24-1-686, the problem still exists.
>
> I tried the ways I can do to install the driver successfully, but still has no sound to output.
>
> - I downloaded the latest alsa driver 1.16 and it's compiled successfully, and the alsa-lib alsa-util can be installed without problems, the volume can be ajusted well, mute or unmute ok.
> - use "m-a a-i alsa-source" to compile the driver and install it.
>
> But no sound to output.
>
> It's suffering me a lot. I tried to load the module using " modprobe snd-hda-intel model=dell-m44" or "m42", it can't solve the problem. Whenever opening the audio file, it returns the alsa lib error and errors like "no sound card found":
> [AO_ALSA] alsa-lib: confmisc.c:768:(parse_card) cannot find card '0'
> [AO_ALSA] alsa-lib: conf.c:3513:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
> [AO_ALSA] alsa-lib: confmisc.c:392:(snd_func_concat) error evaluating strings
> [AO_ALSA] alsa-lib: conf.c:3513:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
> [AO_ALSA] alsa-lib: confmisc.c:1251:(snd_func_refer) error evaluating name
> [AO_ALSA] alsa-lib: conf.c:3513:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
> [AO_ALSA] alsa-lib: conf.c:3985:(snd_config_expand) Evaluate error: No such file or directory
> [AO_ALSA] alsa-lib: pcm.c:2144:(snd_pcm_open_noupdate) Unknown PCM default
> [AO_ALSA] Playback open error: No such file or directory
> Could not open/initialize audio device -> no sound.
>
> Also the output of "aplay -l" returns the following errors:
> aplay: device_list:205: no soundcards found...
>
> But seems the driver has been loaded and sound card can be detected, it's confused.
>
> Here is some relevant info:
> michael@debian:~$ lsmod | grep snd
> snd_hda_intel         302236  0
> snd_pcm_oss            38496  0
> snd_mixer_oss          15712  1 snd_pcm_oss
> snd_pcm                69924  2 snd_hda_intel,snd_pcm_oss
> snd_timer              21732  1 snd_pcm
> snd_page_alloc         10056  2 snd_hda_intel,snd_pcm
> snd_hwdep               8868  1 snd_hda_intel
> snd                    50196  6 snd_hda_intel,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer,snd_hwdep
> soundcore               7552  1 snd
>
> michael@debian:~$ lspci | grep Audio
> 00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 02)
>
> michael@debian:~$ head -1 /proc/asound/card0/codec#0
> Codec: SigmaTel STAC9205
>
> michael@debian:~$ cat /proc/asound/cards
>  0 [Intel          ]: HDA-Intel - HDA Intel
>                       HDA Intel at 0xfebfc000 irq 20
>
> michael@debian:~$ uname -r
> 2.6.24-1-686
>
> michael@debian:~$ dpkg -l *alsa*
> Desired=Unknown/Install/Remove/Purge/Hold
> | Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
> |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
> ||/ Name                   Version                Description
> +++-======================-======================-============================================================
> un  alsa                   <none>                 (no description available)
> ii  alsa-base              1.0.15-4               ALSA driver configuration files
> pn  alsa-firmware-loaders  <none>                 (no description available)
> pn  alsa-modules-2.6.22-2- <none>                 (no description available)
> pn  alsa-modules-2.6.22-3- <none>                 (no description available)
> ii  alsa-oss               1.0.15-1               ALSA wrapper for OSS applications
> pn  alsa-source            <none>                 (no description available)
> ii  alsa-utils             1.0.15-3               ALSA utilities
> pn  alsamixergui           <none>                 (no description available)
> ii  gstreamer0.10-alsa     0.10.17-2              GStreamer plugin for ALSA
> un  libarts-alsa           <none>                 (no description available)
> un  libesd-alsa0           <none>                 (no description available)
> ii  libsdl1.2debian-alsa   1.2.13-2               Simple DirectMedia Layer (with X11 and ALSA options)
> pn  libwine-alsa           <none>                 (no description available)
> pn  xfce4-mixer-alsa       <none>                 (no description available)
> pn  xmms2-plugin-alsa      <none>                 (no description available)
>
>
> Could anybody instruct what could I do to fix the problem?
>
> Thanks a lot!
>
>
>
> On Feb 16, 2008 10:46 AM, Andrew Sackville-West <andrew@farwestbilliards.com> wrote:
>>
>> Hey Michael, I'm not qualified to help solve this problem and can only
>> help you ask the right questions (which is why I didn't respond to
>> your response to my questions...).
>>
>> here's a link of interest:
>>
>> https://bugs.launchpad.net/ubuntu/+bug/122560
>>
>> there is some interesting discussion of potential problems that might
>> steer you in the right direction.
>>
>> On Fri, Feb 15, 2008 at 08:00:48PM -0500, Michael Yang wrote:
>> > Here is the error message when I open the audio file:
>> >
>> > [AO_ALSA] alsa-lib: confmisc.c:768:(parse_card) cannot find card '0'
>> > [AO_ALSA] alsa-lib: conf.c:3510:(_snd_config_evaluate) function
>> > snd_func_card_driver returned error: No such device
>>
>> ...
>>
>> these (and subsequent errors) say that the hardware has not been
>> detected properly.
>>
>> >
>> > I have tried uninstall alsa driver and re-compile and reinstalled it for
>> > several times, the problem still exists.
>>
>> stop installing non-debian stuff or you'll likely not get
>> help. Totally remove all the non-debian stuff. reinstall the kernel
>> and see what happens.
>>
>> BTW, what kernel are you running?
>>
>> what alsa pakages are installed?
>>
>> dpkg -l \*alsa\*
>>
>> Finally, you claim that it suddenly stopped working for no
>> reason. Well, there must be some reason. Did you upgrade anything?
>> Install or remove any packages?
>>
>> I'll leave the stuff below for reference.
>>
>> A
>>
>>
>> ...
>> > >
>> > > > the output of "lsmod | grep snd":
>> > > >
>> > > > snd_hda_intel         310460  0
>> > > > snd_pcm_oss            38720  0
>> > > > snd_mixer_oss          15840  1 snd_pcm_oss
>> > > > snd_pcm                70116  2 snd_hda_intel,snd_pcm_oss
>> > > >
>> > > >
>> > > > snd_timer              21732  1 snd_pcm
>> > > > snd_page_alloc         10056  2 snd_hda_intel,snd_pcm
>> > > > snd_hwdep               8868  1 snd_hda_intel
>> > > > snd                    50100  6 snd_hda_intel,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer,snd_hwdep
>> > > >
>> > > >
>> > > > soundcore               7520  1 snd
>> > > >
>> > > > relevant portion of lspci:
>> > > >
>> > > > 00:00.0 Host bridge: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub (rev 0c)
>> > > > 00:01.0 PCI bridge: Intel Corporation Mobile PM965/GM965/GL960 PCI Express Root Port (rev 0c)
>> > > >
>> > > >
>> > > > 00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Contoller #4 (rev 02)
>> > > > 00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 02)
>> > > > 00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 02)
>> > > >
>> > > >
>> > > > 00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 02)
>> > > > 00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 02)
>> > > > 00:1c.1 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 (rev 02)
>> > > >
>> > > >
>> > > > 00:1c.5 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 6 (rev 02)
>> > > >
>>
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v1.4.6 (GNU/Linux)
>>
>> iD8DBQFHtwU+aIeIEqwil4YRAoL4AJ9/5FymiL+uVFNXKc10KNL0qbhIIACfTdR/
>> TAoJw9k1TBBnCmYChlXbwTI=
>> =H89e
>> -----END PGP SIGNATURE-----
>>
>



--
Julian Hernandez Gomez
Taipei Taiwan
TTI - Team Telecom International Ltd.
Your Network Management Partner
Mobile: +886-955995314
Email: julianhernandez@gmail.com


Reply to: