[linux-audio-user] FC5 and Flash Audio

Brad Fuller brad at sonaural.com
Thu Jun 1 11:08:09 EDT 2006


Thomas Ilnseher wrote:
> Brad Fuller wrote:
>> Bert Visser wrote:
>>  
>>>> I've upgraded to FC5, and I'm slowly inching my way up to get audio
>>>> working (PlanetCCRMA). I have a particular problem in that Flash video
>>>> works fine, but I have no audio (occurs in Firefox, Opera and
>>>> Konqueror.) I've searched for a solution and really haven't found
>>>> anything that works. Some reports have said that a chmod to
>>>> /dev/dsp of
>>>> 0666 will help. Others say that changing the permissions on the
>>>> "plugins" directory will do the trick. Nope, not for me.
>>>>
>>>> I noticed that I had no /dev/dsp. So, I kinda figured that maybe the
>>>> Flash plugin hard defaults to writing to /dev/dsp. So I made one with
>>>> ./MAKEDEV audio... and sure enough, a dsp1 was made. However, I still
>>>> have no audio when playing flash in a browser.
>>>>       
> /dev/dsp* are oss audio devices.
>
> oss drivers are marked as depreciated in the kernel, and are replaced
> with alsa drivers.
>
> thus i am sure, FC5 will use ALSA instead of oss.
>
> there are oss compatibility modules for alsa, they are named:
> snd_pcm_oss
> snd_mixer_oss
> snd_seq_oss
as I mentioned, these do exist. So it's looking more and more like a
udev problem.

>
> do 'lsmod | grep oss' and see if these modules are loaded.
> if yes, there is something foobared with your udev setup -
> if no (thats what i expect) load these modules:
>
> modprobe snd_pcm_oss
> modprobe snd_mixer_oss
> modprobe snd_seq_oss
>
> note, for sound playback (flash), only the first module is required.
>
> once you load the snd_pcm_oss module, udev should create /dev/dsp* as
> required automatically.
>
> if sound playback still doesn't work, this might be because your
> soundcard has no built in mixing capabilities,
> and some other application is using your audio device.
> 'other application' might include arts, which is started together with
> KDE check with 'ps aux  | grep artsd' and kill with 'killall artsd'.
> the later command will disable sound in all kde apps.
nope, don't have artsd running. I only use alsa.

>
> if you are running KDE (and arts), you might also try running firefox as
> 'artsdsp firefox' from the konsole. this doesn't need the
> aforementioned kernel modules.
I've also tried 'aoss firefox' but that didn't work either.

Thanks for the detailed and clear msg!

brad




More information about the Linux-audio-user mailing list