-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 2015-02-05 02:58, Nicolas Dobigeon wrote:
I tried a /etc/asoundrc with the content
pcm.!default { type hw card PCH }
ctl.!default { type hw card PCH }
And sound works ! It seems it was an order problem, now i have to
find what is the package name for commons environments sounds
(windows closing, minimizing).
In my box I have a Gigabyte GA-Z87N-WIFI parent board (motherboard is
sexist) which has two built in sound cards, as revealed by command
"cat /proc/asound/cards":
0 [HDMI ]: HDA-Intel - HDA Intel HDMI
HDA Intel HDMI at 0xf0634000 irq 47
1 [PCH ]: HDA-Intel - HDA Intel PCH
HDA Intel PCH at 0xf0630000 irq 43
Command "lspci|grep -i audio" elaborates:
00:03.0 Audio device: Intel Corporation Haswell HD Audio Controller
(rev 06)
00:1b.0 Audio device: Intel Corporation Lynx Point High Definition
Audio Controller (rev 05)
I have installed in my Wheezy box packages arts-trinity, alsa-base,
alsa-utils, alsaplayer-alsa, alsaplayer-common, and alsaplayer-gtk.
After considerable research and experimentation worthy of a PhD
candidate I found that I needed the same configuration Nicholas used
but put in a different place, perhaps because I was using alsa on top
of or in replacement of arts-trinity, I am not sure which.
It can be either in ~/.asoundrc or -- if system wide application is
desired -- in directory /usr/share/alsa/alsa.conf.d. According to the
README in that directory any file written there ending in .conf will
be used by alsa. So I created in that directory file asoundrc.conf
with the same configuration Nicholas used. That file was necessary
before I could get any sound.
This configuration is apparently the minimum necessary to get the PCH
sound card to work. I however assume that to use the HDMI sound card,
which eventually I will want to do, something more in that file (or
possibly in another .conf file in that directory) will be necessary.
Compare for example the output of alsa command "aplay -L" -- not here
quoted.
I am also confused by the output of command "cat
/proc/asound/oss/sndstat":
Sound Driver:3.8.1a-980706 (ALSA emulation code)
Kernel: Linux TH 3.16.0-0.bpo.4-amd64 #1 SMP Debian 3.16.7-
ckt2-1~bpo70+1 (2014-12-08) x86_64
Config options: 0
Installed drivers:
Type 10: ALSA emulation
Card config:
HDA Intel HDMI at 0xf0634000 irq 47
HDA Intel PCH at 0xf0630000 irq 43
Audio devices: NOT ENABLED IN CONFIG
Synth devices: NOT ENABLED IN CONFIG
Midi devices: NOT ENABLED IN CONFIG
Timers:
31: system timer
Mixers: NOT ENABLED IN CONFIG
If sound is working, why the four lines containing "NOT ENABLED IN
CONFIG" -- unless this information (or misinformation?) is referring
to another sound system that is either not installed or I am not using.
Also important if using alsa is to run alsamixer and open any required
boosters. Not being sure which ones I needed, for good measure I
opened them all.
The three websites listed below -- especially the first two -- I found
of most help in activating sound in my box:
http://www.alsa-project.org/main/index.php/Asoundrc
http://forums.debian.net/viewtopic.php?f=5&t=113843
http://forums.debian.net/viewtopic.php?f=7&t=116950
Regards, Ken Heard
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iEYEARECAAYFAlTS654ACgkQlNlJzOkJmTcMNQCZAZE5QHGg44/2BPYoT4TiCYtZ
yggAn02KCNvM6b8iZ81aB0GyBeuZVm9k
=I0Kx
-----END PGP SIGNATURE-----