Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Kernel & Hardware
  • Search

Sound permission problem [SOLVED]

Kernel not recognizing your hardware? Problems with power management or PCMCIA? What hardware is compatible with Gentoo? See here. (Only for kernels supported by Gentoo.)
Post Reply
Advanced search
11 posts • Page 1 of 1
Author
Message
nyk
Guru
Guru
User avatar
Posts: 527
Joined: Sat Aug 28, 2004 2:19 am
Location: Bern (Switzerland)
Contact:
Contact nyk
Website

Sound permission problem [SOLVED]

  • Quote

Post by nyk » Tue Aug 02, 2005 8:49 am

After a kernel update, I have to do "chmod 777 /dev/sound/*" each time after boot for the sound to work. Is something wrong with my settings, or should I just put the chmod in a startup script?
Last edited by nyk on Wed Aug 24, 2005 11:54 am, edited 1 time in total.
Top
vega
n00b
n00b
User avatar
Posts: 73
Joined: Mon Mar 01, 2004 3:11 pm
Location: Vitoria - ES - Brasil
Contact:
Contact vega
Website

  • Quote

Post by vega » Tue Aug 02, 2005 4:56 pm

Try adding your user to the audio group.
emerge -D freedom
Top
nyk
Guru
Guru
User avatar
Posts: 527
Joined: Sat Aug 28, 2004 2:19 am
Location: Bern (Switzerland)
Contact:
Contact nyk
Website

  • Quote

Post by nyk » Fri Aug 05, 2005 12:23 pm

Good idea, I try this! Hope it's gonna be better the next reboot...
Top
MacGoerk
n00b
n00b
User avatar
Posts: 17
Joined: Thu Aug 04, 2005 9:00 pm

  • Quote

Post by MacGoerk » Fri Aug 05, 2005 4:05 pm

AFAIK group memberships are updated the next time you log-in.
a simple logout of all consoles ( plus X11 ) and a login should solve this.

right? ^^
Top
vega
n00b
n00b
User avatar
Posts: 73
Joined: Mon Mar 01, 2004 3:11 pm
Location: Vitoria - ES - Brasil
Contact:
Contact vega
Website

  • Quote

Post by vega » Fri Aug 05, 2005 5:06 pm

MacGoerk wrote:AFAIK group memberships are updated the next time you log-in.
a simple logout of all consoles ( plus X11 ) and a login should solve this.

right? ^^
Yes, you don't need to reboot. Just logout and login again.

Nyk, please, add [SOLVED] to your first post subject if this solved your problem, ok?
Let's try to keep this forum organized. :D
emerge -D freedom
Top
ElCondor
Guru
Guru
User avatar
Posts: 520
Joined: Wed Apr 10, 2002 6:49 am
Location: Vienna, Austria, Europe
Contact:
Contact ElCondor
Website

  • Quote

Post by ElCondor » Tue Aug 23, 2005 7:42 am

After every reboot the permissions in /dev/sound/ are 600 ! Users are in audio group, sound itself works fine, just the permissions are set way too restricted after every reboot!
I also tried RC_DEVICE_TARBALL="yes" in /etc/conf.d/rc - but still permissions keep changing! :x
Also all audio devices in /etc/udev/permissions.d/50-udev.permissions are set to 0660 !

Does anyone know how to solve this??

* ElCondor (silently) pasa *
Here I am the victim of my own choices and I'm just starting!
Top
jspeybro
Tux's lil' helper
Tux's lil' helper
Posts: 121
Joined: Tue Apr 06, 2004 9:32 pm
Location: Brussels

this might help

  • Quote

Post by jspeybro » Tue Aug 23, 2005 12:31 pm

I had the same problem. There seems to have been an update in config files that didn't catch everyone.

look at the code in this post: http://forums.gentoo.org/viewtopic-p-25 ... ml#2571449.
check if you have this line:

Code: Select all

SUBSYSTEM="sound", GROUP="audio" 
in /etc/udev/rules.d/50-udev.rules.
I didn't have that. When I added it, all problems were solved.

Oh, and it seems /etc/udev/permissions.d/50-udev.permissions is not being read anymore (read it somewhere on the forum). I have no idea why it is still there. It just confuses many people.

Any udev techie around to explain?

Johan
http://counter.li.org - Registered Linux user #295636
Top
vega
n00b
n00b
User avatar
Posts: 73
Joined: Mon Mar 01, 2004 3:11 pm
Location: Vitoria - ES - Brasil
Contact:
Contact vega
Website

  • Quote

Post by vega » Tue Aug 23, 2005 1:38 pm

ElCondor wrote:Also all audio devices in /etc/udev/permissions.d/50-udev.permissions are set to 0660 !
In fact, my settings are like yours also. It seems that this is for security reasons, so that only users in the "audio" group will have access to the devices. My sound system works very well with those settings.

I've Done some testing and think jspeybro is right, it seems that /etc/udev/permissions.d/50-udev.permissions are not being read.

Anyway, if you still have problems, try updating or re-emerging udev and run etc-update.
emerge -D freedom
Top
nyk
Guru
Guru
User avatar
Posts: 527
Joined: Sat Aug 28, 2004 2:19 am
Location: Bern (Switzerland)
Contact:
Contact nyk
Website

  • Quote

Post by nyk » Wed Aug 24, 2005 11:53 am

I've been in hollydays two weeks, but now finally I did on the occasion of an other kernel update (2.6.12-gentoo-r9) a reboot. And sound works right away, without changing permissions. So adding my user to the audio group was probably enough for my problem.
Top
ElCondor
Guru
Guru
User avatar
Posts: 520
Joined: Wed Apr 10, 2002 6:49 am
Location: Vienna, Austria, Europe
Contact:
Contact ElCondor
Website

  • Quote

Post by ElCondor » Wed Aug 24, 2005 4:49 pm

Okay, I got it. I had to edit /etc/security/console.perms and set

Code: Select all

<console>  0660 <sound>      0660 root.audio
I don't know why. Usually when a user logs in in X all permissions are set correctly. I checked on other systems I have, everywhere else permissions on /dev/sound/ are set to 660 correctly. However, now it works .. finally, I'm too old to feel that I have to understand everything ;)

* ElCondor pasa *
Here I am the victim of my own choices and I'm just starting!
Top
statmobile
Apprentice
Apprentice
User avatar
Posts: 286
Joined: Fri Jul 16, 2004 7:46 pm
Location: Chapel Hill, NC
Contact:
Contact statmobile
Website

  • Quote

Post by statmobile » Mon Aug 29, 2005 1:02 am

ElCondor,

This is a great tip for when I want to run music over ssh, because I'm too lazy to move from my laptop to my desktop.

Now my laptop is a $1000 remote control, I love it!!!

Thanks!
Comp Specs:
Asus A7V(rev1.02)|AMDXP2100+@1.7GHz|Creative SB128PCI|32MB NVIDIA/TNT2AGP|512MBPC-133
Top
Post Reply

11 posts • Page 1 of 1

Return to “Kernel & Hardware”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic