No sound for users in openSUSE 10.3, but root is OK
SUSE / openSUSEThis Forum is for the discussion of Suse Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
No sound for users in openSUSE 10.3, but root is OK
I recently upgraded from openSUSE 10.2 to 10.3 and now the sound will not work when logged in as as either of two users. It worked fine with versions 10.0 and 10.2, and it works fine with 10.3 when logged in as root. The user belongs to the audio group and yes, the volume is turned up. I would appreciate any suggestions.
That's a bit heavy handed. I'd check first what permissions and owner/group the files have. It's very likely to be a permission problem if it works for root and not users. If the users are in the audio group, then either the device or configuration files aren't, or they are but aren't group-readable.
I'd also check what the udev system does with permissions. The /dev files should be created dynamically, so a manual fix as above may be overridden at the next boot.
There is one thing that I can't remember--the meaning of the + sign on the end. I did a Google search for it and looked in a reference book and did not find anything, although I recall battling this before (although I can't remember where). It appears on essentially all of the audio-related files you listed except these:
There is one thing that I can't remember--the meaning of the + sign on the end. I did a Google search for it and looked in a reference book and did not find anything, although I recall battling this before (although I can't remember where).
Yes, it's very difficult to google for "+" isn't it! :^)
This indicates that there are extended ACL permissions on the files. I suspect this is the root of the problem. Although the regular permissions look OK, presumably the ACLs are set such that only root can access the files.
Have another google for POSIX ACLs in Linux. I found: http://www.suse.de/~agruen/acl/linux-acls/online/ which may help. You should be able to remove the extra permissions, unless they're there for a good reason.
I think you just want "setfacl -b" - ie. return the files to base permissions and remove all ACL extended permissions. umask only comes into it when you create new files, not access existing ones.
I think you just want "setfacl -b" - ie. return the files to base permissions and remove all ACL extended permissions. umask only comes into it when you create new files, not access existing ones.
HTH,
-nick
OK. I don't have the time to do it right now with all the various files, but I will do so when I do have the time.
Type 'rcresmgr start' as root. This service needs to be started to handle device permissions via ACLs. You shouldn't remove the ACLs (they'll be reset on login anyway).
If you add the regular users to the audio group and run "alsaconf" and then set your mixer settings, you may get audio working.
The permissions of /dev/dsp and /dev/snd/* were correct to begin with. This is an indication that udev is working because it is what added your username to the acl when it was dynamically created.
Type 'rcresmgr start' as root. This service needs to be started to handle device permissions via ACLs. You shouldn't remove the ACLs (they'll be reset on login anyway).
If you add the regular users to the audio group and run "alsaconf" and then set your mixer settings, you may get audio working.
I also use Arch on this computer and that is the method I used for it (and it is behaving normally). Although I normally use YaST to set up sound in SUSE, as a check, I tried it with openSUSE and it did not work.
---
I also looked into reconfiguring sound with YaST again. I have three card models that appear is YaST:
Intel ICH5
P4P800 Mainboard (the board is actually a P4C800-E Deluxe)
Santa Cruz (the card is a PCI Turtle Beach Santa Cruz)
When I choose the "Edit" option for the Intel ICH5 card, the configuration window disappears--as though the application is immediately killed.
When I choose the "Edit option for the P4P800 Mainboard, regardless of the option I choose, I get the following message:
Quote:
An error occurred during the installation of P4P800 Mainboard. The kernel module snd-intel8x0 for sound support could not be loaded. This can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
The configuration for the Santa Cruz card appears to work normally, but when I connect the speakers to that card (which I no longer use normally), I get no sound from it either—and that includes when logging in as root.
Incidentally, the Intel ICH5 “sound card” works when logged in as root, but that is all that is working.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.