You are not logged in.

#1 2010-04-30 02:33:34

starfox
Member
Registered: 2010-04-24
Posts: 16

ASLA to OSS and back to ALSA

I'm new to linux.

I switched to OSS from ALSA to fix a glitch I was having with flash (Pandora radio). I decided I didn't like OSS, even though it fixed the error, and I want to switch back. I uninstalled OSS using "pacman -R oss" and it claimed that it reconfigured ALSA for me. Fat chance. It's not working. What do I do to reload? I've tried reinstalling alsa-utils and alsa-oss, as well as run alsaconf. I removed oss and added alsa back to the Daemon array.

Now what?

note: When I try to play an audio file, this is what I get---

aplay /usr/share/sounds/alsa/Front_Center.wav
ALSA lib pcm_dmix.c:1010:(snd_pcm_dmix_open) unable to open slave
aplay: main:608: audio open error: Device or resource busy

Last edited by starfox (2010-04-30 02:35:14)

Offline

#2 2010-04-30 03:07:02

starfox
Member
Registered: 2010-04-24
Posts: 16

Re: ASLA to OSS and back to ALSA

Perhaps this information will be useful?

lsmod|grep 'oss'
snd_seq_oss            24984  0 
snd_seq_midi_event      4484  1 snd_seq_oss
snd_seq                41656  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device          4349  4 snd_rawmidi,snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss            33442  0 
snd_mixer_oss          14356  1 snd_pcm_oss
snd_pcm                57767  6 snd_usb_audio,snd_pcm_oss,snd_hda_intel,snd_hda_codec
snd                    42562  20 snd_usb_audio,snd_usb_lib,snd_rawmidi,snd_hda_codec_realtek,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
[david@myhost ~]$ lsmod|grep 'snd'
snd_usb_audio          60246  1 
snd_usb_lib            14266  1 snd_usb_audio
snd_rawmidi            15247  1 snd_usb_lib
snd_seq_dummy           1067  0 
snd_hda_codec_realtek   186046  1 
snd_seq_oss            24984  0 
snd_seq_midi_event      4484  1 snd_seq_oss
snd_seq                41656  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device          4349  4 snd_rawmidi,snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss            33442  0 
snd_mixer_oss          14356  1 snd_pcm_oss
snd_hda_intel          19249  3 
snd_hda_codec          59723  2 snd_hda_codec_realtek,snd_hda_intel
snd_hwdep               4752  2 snd_usb_audio,snd_hda_codec
snd_pcm                57767  6 snd_usb_audio,snd_pcm_oss,snd_hda_intel,snd_hda_codec
snd_timer              15629  2 snd_seq,snd_pcm
snd                    42562  20 snd_usb_audio,snd_usb_lib,snd_rawmidi,snd_hda_codec_realtek,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
soundcore               5017  1 snd
snd_page_alloc          5873  2 snd_hda_intel,snd_pcm
usbcore               119636  8 usblp,snd_usb_audio,snd_usb_lib,uvcvideo,uhci_hcd,pvrusb2,ehci_hcd

Offline

#3 2010-04-30 03:24:18

starfox
Member
Registered: 2010-04-24
Posts: 16

Re: ASLA to OSS and back to ALSA

I checked the programs using my sound card and found:

fuser -v /dev/snd/*
                     USER        PID ACCESS COMMAND
/dev/snd/controlC0:  david      4439 F.... kmix
/dev/snd/controlC1:  david      4439 F.... kmix
/dev/snd/pcmC0D0p:   david      4441 F...m juk
/dev/snd/pcmC0D1p:   david      4441 F...m juk

Which didn't seem all that strange.... but when I closed juk, my sound started working. ???

Last edited by starfox (2010-04-30 03:24:34)

Offline

#4 2010-04-30 07:01:05

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: ASLA to OSS and back to ALSA

It is still possible for ALSA to block itself, all on its own, depressingly. I suggest you try the enhanced dmix PCM in that thread, and investigate what PCM etc. juk is using.

Offline

Board footer

Powered by FluxBB