Alsa problems even after following guides

i really can't get alsamixer or any type of other sound device to work.
when i'm root, i can listen to music and anything else. when i'm a normal user and i
type 'aplay', i get this:
aplay: main:507: audio open error: Permission denied
when i play a mp3 file with mpg321, it plays the file!
when i type "alsamixer", it says:
alsamixer: function snd_ctl_open failed for default: Permission denied
i followed all the guides that are similar to this.  I followed every step with the #'s.
Howto Setup alsa?
For the 2.6.X kernel you will need this package:
- alsa-lib
These are suggested:
- alsa-oss
- alsa-utils (some very usefull utils for testing alsa)
#1)Configuring alsa:
- modprobe and-ali5451
- modprobe snd-pcm-oss
#2)Unmute the channels of your soundcard:
- amixer set Master 100 unmute
- amixer set PCM 100 unmute
##### aplay works only if I'm root
## i DONT have the snd-pcm-oss compiled in my kernel 2.6.7 at all. the guide says that it's optional.
#3) - aplay <yourwavfile>
Now that you have some sound, you most likely want it to be loaded at startup.
You can start by adding the right modules to your /etc/rc.conf.
If you open your rc.conf you will find a line in it starting with,
Add your sound module to this line and do not forget to add snd-pcm-oss. In my case i
#4)MODULES=(...... snd-ali5451 .......)
Setting up permissions:
In most cases you probably want a user to have access to your soundcard.
Make a group:
#5)
- groupadd sound
Add users to the group:
- gpasswd -a <username> sound
#6)Set the permissions:
Edit /etc/devfsd.conf and add these lines:
# Alsa Permisions
REGISTER sound/.* PERMISSIONS root.sound 660
REGISTER snd/.* PERMISSIONS root.sound 660
#7)Reload the devfsd.conf config file:
- killall -HUP devfsd
#8 )Copy alsamixer to /etc/rc.d and make it world-executable:
- cp alsamixer /etc/rc.d
- chmod 755 /etc/rc.d/alsamixer
Add alsamixer to you daemons line in /etc/rc.conf
and still alsamixer doesn't work, and aplay doesn't work. what is wrong?

imho, alsa is *now* very easy to get to work usually, in the past it was garbage.
Here is what I do:
build my own kernel with my alsa device enabled (it's usually under the PCI section below but sometimes can be ISA for older cards) and these entries selected in the main alsa support section:
<*> Advanced Linux Sound Architecture x x
x x <*> Sequencer support x x
x x < > Sequencer dummy client x x
x x <*> OSS Mixer API x x
x x <*> OSS PCM (digital audio) API x x
x x [*] OSS Sequencer API x x
x x < > RTC Timer support x x
x x [ ] Verbose printk x x
x x [ ] Debug x x
x x Generic devices ---> x x
x x ISA devices ---> x x
x x PCI devices ---> x x
x x ALSA USB devices --->
Then I also make sure that my permissions are set correctly for my users.
This involves either going into:
/etc/devfsd.conf (if u are using devfs) and adding the bottom line into this section:
# Uncomment this if you want permissions to be saved and restored
# Do not do this for pseudo-terminal devices
REGISTER ^pt[sy] IGNORE
CREATE ^pt[sy] IGNORE
CHANGE ^pt[sy] IGNORE
DELETE ^pt[sy] IGNORE
REGISTER .* COPY /dev-state/$devname $devpath
CREATE .* COPY $devpath /dev-state/$devname
CHANGE .* COPY $devpath /dev-state/$devname
DELETE .* CFUNCTION GLOBAL unlink /dev-state/$devname
RESTORE /dev-state
REGISTER sound/.* PERMISSIONS root.users 660
OR if u are using udev, going into /etc/udev/permissions.d/udev.permissions and replacing root with users for sound and or snd in this section:
# audio devices
dsp*:root:users:0660
audio*:root:users:0660
midi*:root:root:0660
mixer*:root:users:0660
sequencer*:root:root:0660
sound/*:root:users:0660
snd/*:root:users:0660
I have a couple others using users there also, but they are normally root by default.
As long as you have alsa installed and **your sound card is built into the kernel properly and it supports using Alsa** it should work. Some sound cards will only really work with OSS, so try using aumix to see your volumes as well. If it works as root but not as user, it is likely a permissions issue. If it still doesnt work and you've done whats mentioned above and all of the no brainer stuff that should be obvious, then I would suggest trying a different kernel (earlier perhaps like 2.6.2 or even the latest 2.4 version) or just use a different sound card. You could also try a live cd that uses alsa to see if it would work with a newer kernel at all. If u use knoppix, dont forget to boot into the 2.6 kernel by typing in knoppix26 at the boot prompt iirc.
Good luck

Similar Messages

  • HT5569 cannot connect to wi-fi network with my 2nd gen itouch even after following most troubleshooting solutions; have 3 other devices that connect with no problem (using wndr3700v3 dual router)

    cannot connect to home wi-fi connection with my 2nd gen itouch even after following most troubleshooting solutions. i have 2 5-gen itouch ipods and a kindle fire hd 8.9 that can connecto to my wi-fi network and even download from my e-mail accounts with no problem. it had no problem connecting with my old a/b/g netgear router nor the first time i installed my new netgear wndr3700v3 router. since then, no connection. don't know what happened.
    help

    Does the iOS device connect to other networks?
    Does the iOS device see the network?
    Any error messages?
    Do other devices now connect?
    Did the iOS device connect before?
    Try the following to rule out a software problem:                 
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Power off and then back on the router
    - Reset network settings: Settings>General>Reset>Reset Network Settings
    - iOS: Troubleshooting Wi-Fi networks and connections
    - Wi-Fi: Unable to connect to an 802.11n Wi-Fi network
    - iOS: Recommended settings for Wi-Fi routers and access points
    - Restore from backup. See:
    iOS: How to back up
    - Restore to factory settings/new iOS device.
    If still problem make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
    Apple Retail Store - Genius Bar
    Could it be this:
    iOS: Wi-Fi or Bluetooth settings grayed out or dim
    One user reported that placing the iPod in the freezer fixed the problem. A trick that works frequently with iPhones:
    Settings > AirPlane Mode ON, Do Not Disturb ON
    Power down and wait 5-10 minutes
    Power up
    Settings > AirPlane Mode OFF, Do Not Disturb OFF
    If not successful, an appointment at the Genius Bar of an Apple store is usually in order.
    Apple Retail Store - Genius Bar

  • My Macbook Mavericks pro does connect well to a data projector, even after following the process recommended, what is the optimum display settings? Has anybody else had this problem, I'm close to going back to PC's

    My Macbook pro Mavericks does not connect well to a data project even after following the recommended process, Has anybody else struck this problem, what is the optimum display setting? Im close to going back to PCs

    You said " digital AV Adapter and thunderbolt". Do you mean Thunderbolt/min displayport to HDMI adapter?
    It appears you are using the free version of the Display Menu app.
    What does the Apple Display properties show? System Preferences>Displays>Display show?
    Look at the projector/go to the manufacturer's support site and find the native resolution of the projector.
    Googling for Sori data projector id not produce any hits

  • My Ipod touch says i have to connect it to iTunes so i can restore it but it will not restore even after following the steps to fix the problem.

    My Ipod touch says i have to connect it to iTunes so i can restore it but it will not restore even after following the steps to fix the problem.

    After pressing restore and after l5 minutes or so It comes up with the error 1611 and I followed all the steps but it still won't work.

  • Even after following all of the steps, CC still will not let me sign in

    My problem is that even after following all of these steps to the T (the steps are here: You are no longer signed into your Creative Cloud applications), including the showing hidden files part, Creative Cloud will still not let me sign in.

    Am I correct in understanding that you are trying to sign in to the Creative Cloud Desktop app, but when your provide your login information, it says it is loading and gets stuck doing so? If this is your problem, we are both having the same problem. After I provide my login information, the loading spinner appears and I get stuck logging in.

  • Can't set Firefox as default browser even after following steps in Firefox support

    Can't set Firefox as my default browser even after following the steps outlined in Firefox support. Operating Firefox on Snow Leopard with Windows 7 running under Parallels. Clicking on links in emails, etc. always opens IE 8 in Windows instead of Firefox on the Mac
    == This happened ==
    Every time Firefox opened
    == About a week ago

    I had the same problem, I just forgot how to fix it. I did it once a while ago but just recently the problem had returned. The first link in vineelreddyp's post solved the problem for me.
    Just as an FYI for people, when OSX does software updates it includes Safari updates. When it completes a Safari update it resets all the Safari settings (they recently upgraded to Safari 5.0), including default browser.
    So anyway, FYI about that. ;-)

  • My Imac Does not start even after follow all recommendations of the community. I am very desappointed with Apple. Please Advice

    I have a IMac 27" Core I7 Mid 2010 w/ Upgraded OS Mountain Lion 10.8.5 but I can't start it even after follows recommendations of the community. Please Advice
    I am very desappointed with Apple

    Imagine calling to your Doctor and saying "I'm unwell. Please advice (sic)"? What would he say? I think he'd start by asking a for a whole lot more information, wouldn't he? So, same here.

  • HT4623 cannot get air-play logo on my ontrol panel, even after following troubleshotting instructions

    Cannot get air-play logo on my control panel, even after following trouble shooting instructions

    http://support.apple.com/kb/ht5209
    http://support.apple.com/kb/ht4437
    http://support.apple.com/kb/TS4215
    http://ipad.about.com/od/iPad_Troubleshooting/a/How-To-Fix-Airplay-Icon-Missing. htm
     Cheers, Tom

  • Creative Cloud Photoshop won't intall. Even after following support instructions the wheel keeps spinning and does not install. HELP

    Even after following support instructions the wheel keeps spinning and does not install. HELP

    Hi help-please,
    Please try downloading and installing Photoshop CC from the direct download links available at: http://prodesigntools.com/adobe-cc-2014-direct-download-links.html
    Make sure you follow the important steps mentioned on the page before initiating the download.
    Use your Adobe ID to license the software
    If the install fails then you can find details on how to locate and interpret your installation log files at Troubleshoot install issues with log files | CC - http://helpx.adobe.com/creative-cloud/kb/troubleshoot-install-logs-cc.html
    Regards,
    Rave

  • IMovie: Not Finding Instant Replay or Rewind Options Even After Following Directions

    iMovie: When I am trying to do the Instant Replay or Rewind options, they are not available, even after following online help directions to double click video and select Clip > Instant Replay or Rewind.  They options just don't appear, they aren't even grayed out or anything.  Help!

    This forum is for imovie iOS (iPads and iPhones), I am guessing by your post you are refering to iMovie for Mac?
    Could you please give the iMovie version number, OS version, and what you are machine you are editing on.
    We'll see if we can get this in the relevant forum, or help answer your question.

  • My ipod will not open even after following instructions online

    my ipod will not open even after following instructions online

    Do you mean you can't unlock it?
    We have no way of knowing exactly which online instructions you may have tried.
    Apple - Support - iPod touch - iPod touch Troubleshooting Assistant
    iPod touch: Hardware troubleshooting

  • Microsoft.VC80.CRT,type="win32",version="8.0.507276195" error persists even after following uninstall directions

    I get the following error, even after uninstalling per the directions.
    Cant find any help, other than the uninstall/reinstall which clearly is not getting rid of the issue.
    My windows version is 64 bit, so no idea where this bogus type information is coming from.
    Any ideas? thanks.

    Which uninstall directions were you following?
    For general advice see Troubleshooting issues with iTunes for Windows updates.
    The steps in the second box are a guide to removing everything related to iTunes and then rebuilding it which is often a good starting point unless the symptoms indicate a more specific approach. Review the other boxes and the list of support documents further down the page in case one of them applies.
    Your library should be unaffected by these steps but there is backup and recovery advice elsewhere in the user tip.
    If the advice above doesn't resolve things you could try this alternate version:
    iTunes 12.1.0.71 for Windows (64-bit - for older video cards) - itunes64setup.exe (2015-01-28)
    which is a 64-bit installer for the 32-bit version of the core application, similar to previous 64-bit releases.
    Or roll back to the previous build:
    iTunes 12.0.1.26 for Windows (32-bit) - iTunesSetup.exe (2014-10-16)
    iTunes 12.0.1.26 for Windows (64-bit) - iTunes64Setup.exe (2014-10-16)
    tt2

  • Uninstall/reinstall adobe now won't let me see pdf in browser even after following firefox support guide

    Because Adobe updater kept failing after a week, I uninstalled and reinstalled latest version (permission msi errors caused this). Now, even tho' profile shows acrobat and all adobe products enabled for FF, I can no longer view pdf docs in browser. Completed each step in the FF help guide for deleting files in profile, reinstalling adobe, etc., but it still doesn't work. Running Vista x64

    The problem was NVIDIA ForceWare Network Access Manager. That came loaded on the Sun Server we are using for ACS. I found references to it in the even logs and not being a Windows Server person I had to grab someone who was and to be honest even they didn't get it. I started uninstalling any virus and security S/W one at the request of the TAC and removing NVIDIA Forceware did it.

  • Adobe Illustrator CS6 Error 16 continues even after following troubleshooting guide and adding permissions.

    Error 16 continues.  I have followed the troubleshooting guide to the letter for this error and I continue to receive the error 16 when trying to open Illustrator.  Is there a work around for this?  Any suggestions would be appreciated.  I would rather not keep uninstalling and re-installing software.

    Error 16 http://helpx.adobe.com/x-productkb/policy-pricing/configuration-error-cs5.html
    -including DW039 https://forums.adobe.com/thread/1500609
    or
    A chat session where an agent may remotely look inside your computer may help
    Creative Cloud chat support (all Creative Cloud customer service issues)
    http://helpx.adobe.com/x-productkb/global/service-ccm.html

  • Startup problems, even after erase and install

    Hi, i have a polycarbonate black macbook (I think its of the last black ones that were sold), I used to have leopard 10.5.8, and windows xp on it with refit as the boot menu, recently I removed refit, and updated to snow leopard, around that time i started having problems at boot time, either i got stuck at the grey apple screen, or got a prohibitory sign, or most commonly, a kernel panic, that leaves no log by the way. About 1 in 5 tries actually boots up, so I thought I should go the windows way and erase and install. And the problem is still there, I ran a memtest from single user mode, and all ram ended ok.
    I have since reinstalled rEFIt, and the problem at least changed, when I turn on the mac, at least the rEFIt logo comes up, sometimes it does load fine, and after that if i choose mac os its exactly as before, if I choose legacy os I get the no boot disk found error (which is what i expect since the computer only has mac os x)
    As an aditional note, when the computer does boot, everything works completely normal, the only problems are at boot up time.
    EDIT: Just to add that I cant seem to run Apple hardware test, it just doesnt boot holding the D key from either install disk, not before having installed refit, nor after
    Hope someone can find some insight in this, im really worried that this could be some logic board failing, I really cant afford such an expense. Thanks, and sorry for the long post, I wanted to detail it as much as possible
    Message was edited by: carlosjoan91

    If your hardware test boot device was on the hard drive rather than the installer disc, then installing rEFIt may destroy the boot loader originally used causing the loss of an ability to boot into the test. You would likely need an old version of the installer disc that had the hardware test on the disc rather than on the hard drive.
    At this point the best thing for you to do is the following:
    Extended Hard Drive Preparation
    1. Boot from your OS X Installer Disc.
    2. After DU loads select your hard drive (this is the entry with the mfgr.'s ID and size) from the left side list. Note the SMART status of the drive in DU's status area. If it does not say "Verified" then the drive is failing or has failed and will need replacing. SMART info will not be reported on external drives. Otherwise, click on the Partition tab in the DU main window.
    3. Under the Volume Scheme heading set the number of partitions from the drop down menu to one. Set the format type to Mac OS Extended (Journaled.) Click on the Options button, set the partition scheme to GUID (for Intel Macs) or APM (for PPC Macs) then click on the OK button. Click on the Partition button and wait until the process has completed.
    4. Select the volume you just created (this is the sub-entry under the drive entry) from the left side list. Click on the Erase tab in the DU main window.
    5. Set the format type to Mac OS Extended (Journaled.) Click on the Options button, check the button for Zero Data and click on OK to return to the Erase window.
    6. Click on the Erase button. The format process can take up to several hours depending upon the drive size.
    Reinstall OS X and use Boot Camp Assistant to create a Windows volume instead of using rEFIt. You'll have fewer problems.

Maybe you are looking for