[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: No sound from Adobe's flash player



On Mon, Feb 27, 2012 at 20:51:43 -0500, Stefan Monnier wrote:
> >> I'd love to get help here:
> >> - how do I work around the problem so that Adobe's flash plugin gives
> >> me sound?
> >> - why is ALSA's dmix refusing connections (after all, its name claims
> >> it's a mixer, so it should accept more than one input stream).
> 
> > I would like to see the output of:
> 
> >   lspci -knn | grep -iA2 audio
> >   cat /proc/asound/cards
> >   lsof $(find /dev/ -group audio)
> 
> Here you go:
> 
> % lspci -knn | grep -iA2 audio
> 00:01.1 Audio device [0403]: ATI Technologies Inc Wrestler HDMI Audio [Radeon HD 6250/6310] [1002:1314]
>         Subsystem: ZOTAC International (MCO) Ltd. Device [19da:a182]
>         Kernel driver in use: snd_hda_intel
> --
> 00:14.2 Audio device [0403]: ATI Technologies Inc SBx00 Azalia (Intel HDA) [1002:4383] (rev 40)
>         Subsystem: ZOTAC International (MCO) Ltd. Device [19da:a130]
>         Kernel driver in use: snd_hda_intel
> % cat /proc/asound/cards
>  0 [Generic        ]: HDA-Intel - HD-Audio Generic
>                       HD-Audio Generic at 0xfeb44000 irq 43
>  1 [SB             ]: HDA-Intel - HDA ATI SB
>                       HDA ATI SB at 0xfeb40000 irq 16
> % lsof $(find /dev/ -group audio)
> COMMAND    PID    USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
> pulseaudi 3838 monnier   28u   CHR 116,10      0t0 5039 /dev/snd/controlC1
> pulseaudi 3838 monnier   33u   CHR 116,10      0t0 5039 /dev/snd/controlC1

My guess is that the "Generic" card is a placeholder for your HDMI audio
device, which may not be fully supported and/or not correctly
identified. Pluseaudio is smart enough to use the SBx00 Azalia device
(it has the control of card 1 open), while flashplayer blindly uses card
0 and thus remains silent. (Of course, even if the HDMI device is
supported, you won't hear anything if your monitor does not have
integrated speakers.)

Your can try to reorder the cards or disable the "Generic" one
completely. To do so, you have to unload the snd_hda_intel module and
then load it again either with

  modprobe snd_hda_intel index=1,0

to reorder, or with

  modprobe snd_hda_intel enable=0,1

to disable the first device.

If any of these two commands restore your sound with flashplayer then
you can make the change persistent across reboots as described in the
bottom half of this message:
http://lists.debian.org/debian-user/2012/02/msg01418.html

-- 
Regards,            |
          Florian   | http://www.florian-kulzer.eu


Reply to: