Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Sound device weirdness with Xorg, ALSA and udev
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
Simius
Apprentice
Apprentice


Joined: 26 Oct 2002
Posts: 219
Location: Budapest, Hungary

PostPosted: Mon Aug 16, 2004 2:06 pm    Post subject: Sound device weirdness with Xorg, ALSA and udev Reply with quote

There is a most intriguing phenomenon I've been encountering ever since I installed Xorg.
When xdm starts, and I log in, X programs complain about not being able to open the sound devices. (gnome mixer applet says it can't open /dev/mixer, xmms tells me to check the soundcard, etc.)
However, then I switched to a virtual terminal, logged in as user (NOT root), and ran mpg321, it worked perfectly. And what's even more weird is when I switched back to X, everything under X was working perfectly too - Gnome mixer applet, xmms, everything... I logged out and back, and still, sound was OK.
But every time xdm is restarted (not only at reboots, but after /etc/init.d/xdm stop / start too) the sound breaks again. I have to go to a console, and run mpg321 after xdm is started, and then everything is fine.
I can't really pinpoint the source of this weirdness. It is simply too weird and unlikely to be posted as a bug, I don't even know WHAT package might be the main culprit. ALSA? udev? XOrg? Gnome? ...
All ideas and similar experiences welcome...
Back to top
View user's profile Send private message
Darian
n00b
n00b


Joined: 12 Jun 2003
Posts: 74
Location: Albuquerque, NM, USA

PostPosted: Mon Aug 16, 2004 6:55 pm    Post subject: Reply with quote

Are the permissions/ownership of any of the sound devices different after you switch to the virtual terminal? If so, you could add a chmod command to /etc/conf.d/local.start or /etc/X11/xdm/GiveConsole.
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