Re: [gentoo-user] need sound to listen to a adobe flash video
Stroller wrote: > [snip] > > You haven't made it clear - in any of your subsequent posts, either - > if sound is working for other applications. I have never configured sound. It has never worked. > > If you get a new email, does your laptop go "bing!"? Can you play an > MP3 by double clicking on it or at the command line? What if you run > mplayer at the command line on an AVI video? No sound. > > If you have only previously used your laptop for email, surfing the > web or writing code, it's not clear that sound may *ever* have been Indeed this is the case and I am trying to get it to work since some tutorials I need to listen to are only available on video with audio. > working on it. IMO you need to get sound working for a basic program > that uses audio before worrying about Flash, which seems more > problematic. > Thanks, -- Valmor > Stroller. > >
Re: [gentoo-user] need sound to listen to a adobe flash video
James Ausmus wrote: > > [snip] > > First off - do you have PulseAudio running? If so, for HW/ALSA testing > purposes, shut it down. Second, check your mixer settings to determine No I don't have it installed. > if your volume levels are appropriate. A great quick CLI app for this is > alsamixer (media-sound/alsa-utils) - first start the alsasound service > (sudo /etc/init.d/alsasound start), then run alsamixer - set your > volumes to about 80%, and unmute all channels (use the 'm' key to toggle > mute), then restart the alsasound service to save your volume levels > (sudo /etc/init.d/alsasound restart), then add the alsasound service to > your boot runlevel (sudo rc-update add alsasound boot). This will set it > up to restore these volume levels on every startup (it will also save > your *current* volume levels on every shutdown, so don't mute, shutdown, > and expect to be unmuted after starting back up). > Followed all steps after emerging alsa-utils > Now, double-check that PulseAudio is not running (ps -elf | grep -i > pulse), and kill it if it is. > > Then run: > > aplay /usr/share/sounds/alsa/Front_Center.wav Tried this instead -> aplay /usr/lib/mozilla-thunderbird/res/samples/test.wav ALSA lib confmisc.c:768:(parse_card) cannot find card '0' ALSA lib conf.c:3513:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings ALSA lib conf.c:3513:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name ALSA lib conf.c:3513:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:3985:(snd_config_expand) Evaluate error: No such file or directory ALSA lib pcm.c:2211:(snd_pcm_open_noupdate) Unknown PCM default aplay: main:608: audio open error: No such file or directory > > If you hear sound - great, ALSA and your sound HW are working, and Flash No sound yet. > audio will almost certainly start magically working. If not, please post > the output of: > > aplay -l > aplay -L > -> aplay -l List of PLAYBACK Hardware Devices card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog] Subdevices: 1/1 Subdevice #0: subdevice #0 -> aplay -L default:CARD=Intel HDA Intel, STAC92xx Analog Default Audio Device front:CARD=Intel,DEV=0 HDA Intel, STAC92xx Analog Front speakers surround40:CARD=Intel,DEV=0 HDA Intel, STAC92xx Analog 4.0 Surround output to Front and Rear speakers surround41:CARD=Intel,DEV=0 HDA Intel, STAC92xx Analog 4.1 Surround output to Front, Rear and Subwoofer speakers surround50:CARD=Intel,DEV=0 HDA Intel, STAC92xx Analog 5.0 Surround output to Front, Center and Rear speakers surround51:CARD=Intel,DEV=0 HDA Intel, STAC92xx Analog 5.1 Surround output to Front, Center, Rear and Subwoofer speakers surround71:CARD=Intel,DEV=0 HDA Intel, STAC92xx Analog 7.1 Surround output to Front, Center, Side, Rear and Woofer speakers null Discard all samples (playback) or generate zero samples (capture) I am using hal-0.5.12_rc1-r8. Do I need to do any hal config? Thanks for the help. -- Valmor
Re: [gentoo-user] need sound to listen to a adobe flash video
On Thu, Nov 5, 2009 at 1:43 PM, Valmor de Almeida wrote: I think I am getting close. My video player is vlc and I reemerged with > alsa support; that pulled only the relevant alsa packages. Then > downloaded a flv video and played; no sound. But got some clue. > > First off - do you have PulseAudio running? If so, for HW/ALSA testing purposes, shut it down. Second, check your mixer settings to determine if your volume levels are appropriate. A great quick CLI app for this is alsamixer (media-sound/alsa-utils) - first start the alsasound service (sudo /etc/init.d/alsasound start), then run alsamixer - set your volumes to about 80%, and unmute all channels (use the 'm' key to toggle mute), then restart the alsasound service to save your volume levels (sudo /etc/init.d/alsasound restart), then add the alsasound service to your boot runlevel (sudo rc-update add alsasound boot). This will set it up to restore these volume levels on every startup (it will also save your *current* volume levels on every shutdown, so don't mute, shutdown, and expect to be unmuted after starting back up). Now, double-check that PulseAudio is not running (ps -elf | grep -i pulse), and kill it if it is. Then run: aplay /usr/share/sounds/alsa/Front_Center.wav If you hear sound - great, ALSA and your sound HW are working, and Flash audio will almost certainly start magically working. If not, please post the output of: aplay -l aplay -L (both of those are L, first one lower case, second upper) HTH- James
Re: [gentoo-user] need sound to listen to a adobe flash video
On 4 Nov 2009, at 23:28, Valmor de Almeida wrote: ... I would appreciate some guidance in getting sound working such that I can listen to an adobe flash video. I am using firefox (have the adobe flash plugin installed which plays video but no sound) and a pretty updated gentoo laptop. You haven't made it clear - in any of your subsequent posts, either - if sound is working for other applications. If you get a new email, does your laptop go "bing!"? Can you play an MP3 by double clicking on it or at the command line? What if you run mplayer at the command line on an AVI video? If you have only previously used your laptop for email, surfing the web or writing code, it's not clear that sound may *ever* have been working on it. IMO you need to get sound working for a basic program that uses audio before worrying about Flash, which seems more problematic. Stroller.
Re: [gentoo-user] need sound to listen to a adobe flash video
Dale wrote: ...[snip]... > > At least you are past the kernel part and know the hardware should be > working. I had to install alsamixergui to unmute mine. Since I have a > somewhat bloated install, I'm not sure how you would unmute yours. You > may have to install some kind of alsa to do that. I'm not really sure > in this situation. > > Here is a link about alsa: > > http://www.alsa-project.org/main/index.php/Matrix:Module-intel8x0 > > I read in there that cards are muted by default. It says it this way: > "Now adjust your soundcard's volume levels. All mixer channels are muted > by default. You must use a native mixer program to unmute appropriate > channels, for example alsamixer from the alsa-utils package." I would > do a emerge -p alsa-utils and just see if it is going to try to install > the kitchen sink or just it and perhaps a couple others that you can > live with. > > That help? > > Dale > > :-) :-) > > I think I am getting close. My video player is vlc and I reemerged with alsa support; that pulled only the relevant alsa packages. Then downloaded a flv video and played; no sound. But got some clue. [0x9e5e950] main demux error: no meta reader module matched "any" mdb:382, lastbuf:0 skipping granule 0 mdb:382, lastbuf:0 skipping granule 0 mdb:382, lastbuf:0 skipping granule 1 mdb:382, lastbuf:0 skipping granule 1 ALSA lib confmisc.c:768:(parse_card) cannot find card '0' ALSA lib conf.c:3513:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings ALSA lib conf.c:3513:(_snd_config_evaluate) function snd_func_concat returned erro r: No such file or directory ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name ALSA lib conf.c:3513:(_snd_config_evaluate) function snd_func_refer returned error : No such file or directory ALSA lib conf.c:3985:(snd_config_expand) Evaluate error: No such file or directory ALSA lib pcm.c:2211:(snd_pcm_open_noupdate) Unknown PCM default mdb:511, lastbuf:382 skipping granule 0 mdb:511, lastbuf:382 skipping granule 0 mdb:511, lastbuf:382 skipping granule 1 mdb:511, lastbuf:382 skipping granule 1 QPainter::begin: Paint device returned engine == 0, type: 1 QPainter::begin: Paint device returned engine == 0, type: 1 Will follow the gentoo online doc on alsa to troubleshoot. Seems I will have to revisit my hal configuration? Thanks, -- Valmor
Re: [gentoo-user] need sound to listen to a adobe flash video
Valmor de Almeida wrote: > Hello, > > I would appreciate some guidance in getting sound working such that I > can listen to an adobe flash video. I am using firefox (have the adobe > flash plugin installed which plays video but no sound) and a pretty > updated gentoo laptop. > > Thanks in advance. > > -- > Valmor > > PS: never tried to get sound working. > > Try lspci -v and see if the sounds card is using a driver. If it is, then the kernel is working and it is recognizing the sound card. This is what mine looks like: 01:0a.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 0a) Subsystem: Creative Labs SBLive! 5.1 eMicro 28028 Flags: bus master, medium devsel, latency 32, IRQ 18 I/O ports at b000 [size=32] Capabilities: [dc] Power Management version 1 Kernel driver in use: EMU10K1_Audigy The last line is what you look for. If you see something like that then it could be as simple as the sound is muted. I have no idea why but as a general rule, the sound is muted when you install. I use KDE so I had to unmute with Kmix and alsamixer to get mine working. If it doesn't show a driver in use, then you have to either build a module or a new kernel if you want it built in. In that case, let us know what kind of sound card you have. The output from lspci would be great. Dale :-) :-)
[gentoo-user] need sound to listen to a adobe flash video
Hello, I would appreciate some guidance in getting sound working such that I can listen to an adobe flash video. I am using firefox (have the adobe flash plugin installed which plays video but no sound) and a pretty updated gentoo laptop. Thanks in advance. -- Valmor PS: never tried to get sound working.