FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 02-17-2008, 03:26 PM
Richard Lyons
 
Default How to unmute the sound?

On Sun, Feb 17, 2008 at 09:33:14PM +0530, Kushal Kumaran wrote:

> On Sun, 17 Feb 2008 16:25:50 +0100
> Richard Lyons <richard@the-place.net> wrote:
>
> > On Sun, Feb 17, 2008 at 06:11:52PM +0530, Kushal Kumaran wrote:
> >
> > > On Sun, 17 Feb 2008 12:39:12 +0100
> > > Richard Lyons <richard@the-place.net> wrote:
> > [...]
> > >
> > > > How do you supply options to modules? I could try it anyway.
> > > >
> > >
> > > You add them to your modprobe command line, like so:
> > > modprobe snd-hda-intel model=5stack
> > >
> > > There is a list of supported models in
> > > Documentation/sound/alsa/ALSA-Configuration.txt in the linux source
> > > distribution. I found an online copy at
> > > http://www.mjmwired.net/kernel/Documentation/sound/alsa/ALSA-Configuration.txt
> >
> > Ok. My model number is not listed, but the only likely ones listed
> > are model=acer and model=acer-laptop. I assume I need to restart
> > alsa after each experimental modprobe. Or do I have to remove the
> > existing module first, or what?
> >
>
> You'll have to remove the module first, using modprobe -r. Then reload
> the module with modprobe snd-hda-intel model=<your choice of model>

Oh thanks Kushal. I'd worked that out in the mean time, and tried what
looked most likely. Only then did I discover in dmesg this:
hda_codec: Unknown model for ALC882, trying auto-probe from BIOS...
So now I know the model name and can see the known options from the URL
you gave me. The obvious one there was
3stack-dig 3-jack with SPDIF I/O
simply on the basis that I have three jacks on the front of the laptop.
I have no idea what SPDIF I/O is, but I tried it anyway, and alsamixer
then failed to load, saying:
alsamixer: function snd_mixer_load failed: Invalid argument
So that was a no. I suppose I can try all the alternatives, I guess it
an't do any harm. There are only 9 more listed, though most sound
wrong.

--
richard


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 02-17-2008, 09:56 PM
"Michael Yang"
 
Default How to unmute the sound?

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:768parse_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:392snd_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:1251snd_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:3985snd_config_expand) Evaluate error: No such file or directory
[AO_ALSA] alsa-lib: pcm.c:2144snd_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,sn d_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:768parse_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,sn d_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-----
 
Old 05-09-2008, 06:14 PM
"Julian Hernandez Gomez"
 
Default 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:768parse_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:392snd_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:1251snd_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:3985snd_config_expand) Evaluate error: No such file or directory
> [AO_ALSA] alsa-lib: pcm.c:2144snd_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,sn d_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:768parse_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,sn d_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


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 

Thread Tools




All times are GMT. The time now is 08:02 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org