Gentoo Archives: gentoo-user

From: Valmor de Almeida <val.gentoo@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] need sound to listen to a adobe flash video
Date: Mon, 16 Nov 2009 02:02:43
Message-Id: 4B00B6D9.5020802@gmail.com
In Reply to: Re: [gentoo-user] need sound to listen to a adobe flash video by James Ausmus
1 James Ausmus wrote:
2 >
3 >
4 [snip]
5 >
6 > First off - do you have PulseAudio running? If so, for HW/ALSA testing
7 > purposes, shut it down. Second, check your mixer settings to determine
8
9 No I don't have it installed.
10
11 > if your volume levels are appropriate. A great quick CLI app for this is
12 > alsamixer (media-sound/alsa-utils) - first start the alsasound service
13 > (sudo /etc/init.d/alsasound start), then run alsamixer - set your
14 > volumes to about 80%, and unmute all channels (use the 'm' key to toggle
15 > mute), then restart the alsasound service to save your volume levels
16 > (sudo /etc/init.d/alsasound restart), then add the alsasound service to
17 > your boot runlevel (sudo rc-update add alsasound boot). This will set it
18 > up to restore these volume levels on every startup (it will also save
19 > your *current* volume levels on every shutdown, so don't mute, shutdown,
20 > and expect to be unmuted after starting back up).
21 >
22
23 Followed all steps after emerging alsa-utils
24
25 > Now, double-check that PulseAudio is not running (ps -elf | grep -i
26 > pulse), and kill it if it is.
27 >
28 > Then run:
29 >
30 > aplay /usr/share/sounds/alsa/Front_Center.wav
31
32 Tried this instead
33
34 -> aplay /usr/lib/mozilla-thunderbird/res/samples/test.wav
35 ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
36 ALSA lib conf.c:3513:(_snd_config_evaluate) function
37 snd_func_card_driver returned error: No such file or directory
38 ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
39 ALSA lib conf.c:3513:(_snd_config_evaluate) function snd_func_concat
40 returned error: No such file or directory
41 ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
42 ALSA lib conf.c:3513:(_snd_config_evaluate) function snd_func_refer
43 returned error: No such file or directory
44 ALSA lib conf.c:3985:(snd_config_expand) Evaluate error: No such file or
45 directory
46 ALSA lib pcm.c:2211:(snd_pcm_open_noupdate) Unknown PCM default
47 aplay: main:608: audio open error: No such file or directory
48
49
50 >
51 > If you hear sound - great, ALSA and your sound HW are working, and Flash
52
53 No sound yet.
54
55 > audio will almost certainly start magically working. If not, please post
56 > the output of:
57 >
58 > aplay -l
59 > aplay -L
60 >
61
62 -> aplay -l
63 **** List of PLAYBACK Hardware Devices ****
64 card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
65 Subdevices: 1/1
66 Subdevice #0: subdevice #0
67
68 -> aplay -L
69 default:CARD=Intel
70 HDA Intel, STAC92xx Analog
71 Default Audio Device
72 front:CARD=Intel,DEV=0
73 HDA Intel, STAC92xx Analog
74 Front speakers
75 surround40:CARD=Intel,DEV=0
76 HDA Intel, STAC92xx Analog
77 4.0 Surround output to Front and Rear speakers
78 surround41:CARD=Intel,DEV=0
79 HDA Intel, STAC92xx Analog
80 4.1 Surround output to Front, Rear and Subwoofer speakers
81 surround50:CARD=Intel,DEV=0
82 HDA Intel, STAC92xx Analog
83 5.0 Surround output to Front, Center and Rear speakers
84 surround51:CARD=Intel,DEV=0
85 HDA Intel, STAC92xx Analog
86 5.1 Surround output to Front, Center, Rear and Subwoofer speakers
87 surround71:CARD=Intel,DEV=0
88 HDA Intel, STAC92xx Analog
89 7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
90 null
91 Discard all samples (playback) or generate zero samples (capture)
92
93
94 I am using hal-0.5.12_rc1-r8. Do I need to do any hal config?
95
96 Thanks for the help.
97
98 --
99 Valmor