Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
audio works only for root after suspend to RAM
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
xavier10
Guru
Guru


Joined: 19 Jan 2004
Posts: 485
Location: Paris, France

PostPosted: Thu Jan 19, 2006 2:04 pm    Post subject: audio works only for root after suspend to RAM Reply with quote

First, of all, my user account was added in the audio group since the beginning and the system has been working fine for months.
I recently upgraded to modular X11. Now, after I resume my laptop from a suspend to RAM, xmms sometimes fails if I run it with my user account, but still works for root. This never happened before the upgrade to modular X11. Might be related. Might not be...

I am starting to wonder why my user rights are suddenly downgraded.

Any ideas ?
Back to top
View user's profile Send private message
SnakeByte
Apprentice
Apprentice


Joined: 04 Oct 2002
Posts: 177
Location: Europe - Germany

PostPosted: Sat Jan 21, 2006 12:10 pm    Post subject: Reply with quote

Hi,

do not know exactly what happens during suspending / resuming but it would help of you could post the output of

Code:
ls -l /dev/sound/*

and
Code:
ls -l /dev/dsp*


before and after the suspending so we are sure that it changes permissions and there is nothing additionally going wrong.


regards
Back to top
View user's profile Send private message
Teetante
Guru
Guru


Joined: 02 Mar 2004
Posts: 515
Location: Oldenburg/Germany

PostPosted: Sat Jan 21, 2006 2:29 pm    Post subject: Reply with quote

A possible fix might be to do a
Code:
/etc/init.d/alsasound stop

before the suspend
and a
Code:
/etc/init.d/alsasound start

at the beginning of the wakeup.
That should recreate the device nodes as you need them.
_________________
ICQ #81510866 - http://the-gay-bar.com - MSN tante@emptiness.de
Occam's Razor:
-"Entia non sunt multiplicanda praeter necessitatem."-
Back to top
View user's profile Send private message
xavier10
Guru
Guru


Joined: 19 Jan 2004
Posts: 485
Location: Paris, France

PostPosted: Sun Jan 22, 2006 12:23 pm    Post subject: Reply with quote

I remark now that the issue does not always happen. I lost the right to play sound twice in a dozen of suspend-resume cycles. Next time it happens, I will write down the ls -l outputs.
Overall, the resume does not seem to be as stable as it used to be before modular X11.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum