El Blog de Pacho

"Antes o después tendrán que rendir cuentas"

Sound BugWeek from Monday/June/01 to Sunday/June/07

Sound Bug Week

The week from Monday/June/01 to Sunday/June/07 will be taken for solving sound bugs related with unproper model being used for sound drivers causing your hardware to be not properly supported.


How to participate

We need people reporting their sound issues (like sound not working at all, not being able to use headphones neither record from mic...) to provide some useful information that could be used for fixing bugs in future Kernel releases:

Information always required:
"uname -a"
"lspcidrake -v | fgrep -i AUDIO"
"cat /proc/asound/card0/codec#0 | fgrep -i CODEC " (numbers can be different than "0")

Please note that this BugWeek only covers bugs related with latest kernel from updates available for 2009.1 and latest cooker.

When sending bug report FOR THIS BUGWEEK you have to:
- NOT enter anything in "RPM Package" field, this way, you bug will be autoassigned to Triage Team allowing us to properly triage it for getting as much information as possible
- You can optionally add "BW-20090601" to "Whiteboard", otherwise, we will add it when appropiate.
- Use English for sending it, if you are not able to write it in english, please ask for help to your Mandriva community( http://forum.mandriva.com/ ).

Also it's important that you search in internet for any interesting information that could help (including links and, of course, patches if possible) to solve your bug report. If you have tried any other linux distribution and it works ok for your sound card, please report it also.
Some interesting links are:
http://www.mail-archive.com/alsa-devel@lists.sourceforge.net/
http://bugzilla.kernel.org/
https://bugs.launchpad.net/ubuntu/
https://bugzilla.redhat.com/
https://bugzilla.novell.com/
...

And, of course, at first search a bit in our bugtracker for checking if nobody else has already reported your same problem:
https://qa.mandriva.com/

If you already opened a bug with some related problem (with 2009.1 or Cooker) and want to get my attention on it, please add my bugzilla address (pacho at condmat1 dot ciencias dot uniovi dot es) to bug CC list and post a comment saying that you would want to get your bug in BugWeek. You can also mail me directly or simply comment in my blog post about this topic ( http://my.opera.com/pacho/blog/index.dml/tag/mandriva ) for any errors or suggestions about this BugWeek.

Steps to follow:
1. At first, try disabling Pulseaudio for preventing any "conflicts" it could cause. You can disable it from "draksound" (http://wiki.mandriva.com/en/Draksound) (please remember to reenable pulseaudio when finishing).
If sound works after that, maybe the problem is caused by pulseaudio. In this case, login as a USER (not root) and run "pulseaudio -k", then run "pulseaudio -vvv" and keep the terminal open. The debug info will flow as you use pulseaudio clients. Please open a bug report providing this information.

2. If you still have problems you have to check volume levels. Run "reset_sound" for getting Mandriva volume defaults for your sound card, then run "cp /etc/asound.state /tmp/asound.state.1". Now, run "alsamixer" and set volume levels that make sound work for you (if it doesn't change anything, skip to next point). After that, run "alsactl store" and "diff -u /tmp/asound.state.1 /etc/asound.state > /tmp/state.diff". Finally, attach /tmp/state.diff

3. If it is still failing, we need to know what possible "model=" option could help us to get your hardware working. If you are using "snd-hda-intel" driver please visit:
http://www.kernel.org/doc/Documentation/sound/alsa/HD-Audio-Models.txt
and search for your codec, for example, search for "STAC9220". You will see something like:
STAC9220/9221
=============
ref Reference board
3stack D945 3stack
5stack D945 5stack + SPDIF
intel-mac-v1 Intel Mac Type 1
...
dell-m82 Dell XPS M1210

These (3stack, 5stack...) are the possible values you can try for getting sound working

If you are using any other driver, please visit:
http://www.kernel.org/doc/Documentation/sound/alsa/ALSA-Configuration.txt
and search for your driver, for example "snd-ice1712". You will get:
Module snd-ice1712
------------------

Module for Envy24 (ICE1712) based PCI sound cards.
* MidiMan M Audio Delta 1010
...
* Terrasoniq TS 88

model - Use the given board model, one of the following:
delta1010, dio2496, delta66, delta44, audiophile, delta410,
delta1010lt, vx442, ewx2496, ews88mt, ews88mt_new, ews88d,
dmx6fire, dsp24, dsp24_value, dsp24_71, ez8,
phase88, mediastation
...

And you will see what possible "model" values you can try for your card.

4. For trying them please run:
service alsa force-stop
modprobe snd-hda-intel model=xxxx (your chosen model)
reset_sound

5. If some model value works, please report the proper one needed for your card. If none works for you, simply report that no current available model works for you :-), and the same if it solves the issue "partially".

6. Finally, you will need to attach (please click on "Add an attachment" button in bug report) the output of alsa-debug.sh script, simply run:
wget "www.alsa-project.org/alsa-info.sh" -O alsa-info.sh
sh alsa-info.sh --no-upload (press "Yes" on first screen and "OK" on last one)

Now, simply attach /tmp/alsa-info.txt file to bug report.

NOTE to Mandriva User Groups

I would highly appreciate if you could translate this to yous native language and spread this in your local community. Thanks a lot.

"La izquierda es feliz haciendo series apestadas de homosexuales afectados y putillas graciosas" - MARGarzón y las casualidades

Comments

Unregistered user Wednesday, May 27, 2009 11:20:50 PM

Adam Williamson writes: I'd recommend you just package alsa-info.sh and ask all reporters to provide the output of that script. It provides the information you'd get from the lspcidrake / cat commands up top, plus more.

Pacho Ramospacho Thursday, May 28, 2009 6:52:03 AM

I already ask for that output in 6th point

I request lspcidrake/cat outputs because I think that it's interesting having these information (driver, codec, kernel) at the top of bug report, allowing us to search easier for duplicates or similar problems

Thanks for your comment :-)

Unregistered user Tuesday, June 2, 2009 9:06:51 PM

ferredon writes: Mi ordenador deja oir la música y funciona el microfono en los altavoces pero la conexión (el jack) no me deja oir nada en los cascos ni en altavoces externos. Esto es lo que me dice la consola, pero no acabo de enterarme de la p arte final del mesage.[tomeu@localhost ~]$ uname -a Linux localhost 2.6.29.3-desktop-1mnb #1 SMP Thu May 14 14:14:48 EDT 2009 i686 Intel(R)Core(TM)2 Duo CPU T6400 @ 2.00GHz GNU/Linux [tomeu@localhost ~]$ lspcidrake -v | fgrep -i AUDIO snd_hda_intel : Intel Corporation|82801I (ICH9 Family) HD Audio Controller (vendor:8086 device:293e subv:14c0 subd:0031) [tomeu@localhost ~]$ cat /proc/asound/card0/codec#0 | fgrep -i CODEC No acabo de entender lo que se pide, pero ahí va el tema Atentamente Tomeu

Pacho Ramospacho Wednesday, June 3, 2009 6:54:41 AM

Abre un bug en https://qa.mandriva.com/ , no te preocupes por que el último comando no te muestre ninguna salida, cuando adjuntes la del script alsa-debug.sh se verá qué es lo que pasa

Saludos

Unregistered user Saturday, July 4, 2009 7:45:33 PM

Anonymous writes: not sure what you wanted with your command cat /proc/asound/card0/codec#0 | fgrep -i CODEC I get cat: /proc/asound/card0/codec97#0: Is a directory Guessing it should be fgrep -i codec /proc/asound/card0/codec*/* which gives /proc/asound/card0/codec97#0/ac97#0-0:Extended ID : codec=0 rev=2 LDAC SDAC CDAC DSA=0 SPDIF DRA VRA

Pacho Ramospacho Sunday, July 5, 2009 8:29:06 AM

You are getting a different behavior because you are not using hda-intel. In your case, simply send alsa-debug.sh output

Regards

Write a comment

New comments have been disabled for this post.