Except that your web browser likely defaults the OSS, not ALSA. And OSS "emulation" IS part of alsa. Even if you have to launch an application with aoss to use the alsa sound drivers. It's probably not "native" alsa, but it is coded as part of alsa's drivers, and therefor part of alsa. But yeah, check /dev/snd* for items as well. It does vary depending on version of alsa, version of the kernel, and other things. $ ls -l /dev/* /dev/*/* | grep -i "audio" In either case your audio group will likely be assigned to the audio devices available to you. By all means nitpick that I used grep -i "audio", versus awk '{ print $4 " " $9 }' | grep -i audio or something. - James On 2/11/11, Bill Unruh <unruh@xxxxxxxxxxxxxx> wrote: > On Fri, 11 Feb 2011, James Shatto wrote: > >> Note that * is a wildcard. So /dev/dsp* is any devices that start >> with /dev/dsp. >> >> It looks like you don't have the modules loaded. > > /dev/dsp and /dev/audio are the oss sound drivers, not alsa. alsa has an oss > emulation module, which will create those but they are NOT needed for using > alsa. What you have under alsa is a buch of entry points under /dev/snd > > Now if your program uses the oss sound system, then you must load the > alsa-oss > emulators as well (snd_seq_oss, snd_pcm_oss snd_mixer_oss) > This will generate the various /dev/dsp entry points. > > >> >> # modprobe snd-hda-intel >> $ sudo modprobe snd-hda-intel >> >> (depending on your distro / $ is user / # is root) >> >> It might be /etc/init.d/alsasound or other named thing depending on >> your version and distro. It might not even be in /etc/init.d/ >> depending on your distro. It looks like you have pulse audio running, >> so you might try the pavucontrol application. Should be accessible >> through the speaker icon in the taskbar in ubuntu. Or just run it >> from a terminal. >> >> $ sudo pavucontrol >> >> You appear to be installed and with permissions, but if you don't have >> /dev/dsp and friends, then you don't have alsa running. Probably > > Totally false. /dev/dsp is NOT part of alsa. > >> didn't load up the modules at boot. Not completely uncommon on a new >> install. Someplace to start looking anyway. >> >> $ lsmod | grep -i "snd" > > That is a good starting point. > >> $ cat /proc/asound/cards >> >> - James >> >> >> On 2/11/11, Torsten Schenk <torsten.schenk@xxxxxxxx> wrote: >>> I also use ubuntu (10.04) and it came to happen that the system didn't >>> load >>> the modules automatically any more. I don't know why that happened or >>> where >>> this loading is prohibited. Just try to load the module manually and see >>> if >>> that works. If so, you could also post this on a ubuntu mailing list. >>> >>> $ sudo modprobe [module] >>> >>> You need to replace "[module]" with the module that fits your card, >>> eventually "snd-hda-intel" or "snd-usb-audio", these are very common >>> cards. >>> >>> Greets, Torsten >>> >>> ---- On Fri, 11 Feb 2011 20:54:49 +0100 Marcin Szyniszewski wrote ---- >>> >>>>> Did you issue alsamixer as the command or the full pathname? If the >>>>> former, >>>>> maybe something is wrong with your path/environment setup. >>>> I used it as both. Nothing works :/ >>>> >>>>> I am wondering if your OS install hasn't actually loaded the modules >>>>> correctly for your hardware. >>>> Everything worked before. I tried to make my mic work and sound >>>> stopped to work. Now nothing works :P >>>> >>>>> Try the command 'lsmod' to list the modules that are loaded. If the >>>>> list >>>>> is >>>>> too long use 'lsmod | grep snd' to just list the ones that have 'snd' >>>>> in >>>>> their names. >>>> $ lsmod | grep snd >>>> snd_page_alloc 7120 0 >>>> >>>> But I don't know what that means :P >>>> >>>>> You can then use modinfo to check details of each module. >>>>> Or modprobe (with care!) to alter what is loaded. >>>> Ok, and what modules should I check? >>>> >>>>> Do you have another sound system like Pulse active? if so, that may be >>>>> interfering with the direct use of ALSA. >>>> Stopping pulse and reinstalling ALSA didn't work. :( >>>> >>>>> You might also consider trying to install the latest version of ALSA in >>>>> case what you have isn't suitable for your hardware or is furtled in >>>>> some >>>>> >>>>> way. >>>> I think I have the latest version. >>>> >>>>> Sorry I can't be more help. But I hope the above may be useful. >>>> Thanks for help :) >>>> >>>>> Most times when I get something like that it has to do with the >>>>> /dev/'s not being present. Could be that udev isn't running on your >>>>> box. Or isn't configured for alsa. It could also be something else >>>>> like snd-pcm-oss not auto loading. And it's friends, snd-mixer-oss >>>>> snd-seq-oss. Basically cannot open means some sort of missing >>>>> something or bad permissions. Is the user in the audio group? Do the >>>>> /dev/audio* and /dev/dsp* stuff exist? In the old days we'd run >>>>> ./snddevices from the alsa-driver source tree. But that's probably >>>>> not the solution of choice these days. >>>> >>>> /dev/audio* doesn't exist, as well as /dev/dsp* >>>> Should I do something about that?? >>>> >>>>> # /etc/init.d/alsa-utils restart >>>> bash: /etc/init.d/alsa-utils: No such file or directory >>>> >>>>> # /etc/init.d/udev restart >>>> Rather than invoking init scripts through /etc/init.d, use the >>>> service(8) >>>> utility, e.g. service udev restart >>>> Since the script you are attempting to invoke has been converted to an >>>> Upstart job, you may also use the restart(8) utility, e.g. restart udev >>>> restart: Rejected send message, 1 matched rules; type="method_call", >>>> sender=":1.45" (uid=1000 pid=9806 comm="restart) >>>> interface="com.ubuntu.Upstart0_6.Job" member="Restart" error >>>> name="(unset)" requested_reply=0 destination="com.ubuntu.Upstart" >>>> (uid=0 pid=1 comm="/sbin/init")) >>>> >>>>> # groups >>>> mszynisz : mszynisz adm dialout fax cdrom floppy tape audio dip video >>>> plugdev fuse netdev lpadmin admin sambashare >>>> >>>>> # grep -i "audio" /etc/group >>>> audio:x:29:pulse,mszynisz >>>> >>>>> lsmod, dmesg, and all of the other stuff that's probably covered by >>>>> that alsa-info.sh script thing. >>>> My output of alsa-info.sh script is attached. >>>> >>>> Please help, I really need my sound :( >>>> >>>> Best, >>>> mszynisz >>>> ------------------------------------------------------------------------------ >>>> >>>> The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio >>>> XE: >>>> Pinpoint memory and threading errors before they happen. >>>> Find and fix more than 250 security defects in the development cycle. >>>> Locate bottlenecks in serial and parallel code that limit performance. >>>> http://p.sf.net/sfu/intel-dev2devfeb_______________________________________________ >>>> >>>> Alsa-user mailing list >>>> Alsa-user@xxxxxxxxxxxxxxxxxxxxx >>>> https://lists.sourceforge.net/lists/listinfo/alsa-user >>>> >>> >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: >>> Pinpoint memory and threading errors before they happen. >>> Find and fix more than 250 security defects in the development cycle. >>> Locate bottlenecks in serial and parallel code that limit performance. >>> http://p.sf.net/sfu/intel-dev2devfeb >>> _______________________________________________ >>> Alsa-user mailing list >>> Alsa-user@xxxxxxxxxxxxxxxxxxxxx >>> https://lists.sourceforge.net/lists/listinfo/alsa-user >>> >> >> ------------------------------------------------------------------------------ >> The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: >> Pinpoint memory and threading errors before they happen. >> Find and fix more than 250 security defects in the development cycle. >> Locate bottlenecks in serial and parallel code that limit performance. >> http://p.sf.net/sfu/intel-dev2devfeb >> _______________________________________________ >> Alsa-user mailing list >> Alsa-user@xxxxxxxxxxxxxxxxxxxxx >> https://lists.sourceforge.net/lists/listinfo/alsa-user >> > > -- > William G. Unruh | Canadian Institute for| Tel: +1(604)822-3273 > Physics&Astronomy | Advanced Research | Fax: +1(604)822-5324 > UBC, Vancouver,BC | Program in Cosmology | unruh@xxxxxxxxxxxxxx > Canada V6T 1Z1 | and Gravity | www.theory.physics.ubc.ca/ > ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ Alsa-user mailing list Alsa-user@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-user