Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 55930 - Can't run alsaplayer unless user is member of disk group
Summary: Can't run alsaplayer unless user is member of disk group
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-02 20:26 UTC by Brett I. Holcomb
Modified: 2004-07-09 06:54 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brett I. Holcomb 2004-07-02 20:26:55 UTC
I have an all SCSI system - RAID 5 array on an Adaptec 3210S controller.  The DVR/CDRW and DVD units are IDE.  As root I can run alsaplayer with no problem.  As a user I got the error "access to /dev/cdrom denied" unless I added my user to the disk group or modified the /etc/udev/permission.d/50-udev.permissions to have group cdrom for the device hd*.

In addition I get an error below right after login unless I run udevstart.

snd_pcm_open: Permission denied (default)
Failed to initialize plugin!
Failed to register plugin: /usr/lib/alsaplayer/output/libalsa_out.so
Failed to load output plugin "alsa". Trying defaults.
snd_pcm_open: Permission denied (default)
Failed to initialize plugin!
/usr/lib/alsaplayer/output/libalsa_out.so failed to load
jack: server not running?
/usr/lib/alsaplayer/output/libjack_out.so failed to load
error opening /dev/dsp
Failed to initialize plugin!
/usr/lib/alsaplayer/output/liboss_out.so failed to load
No $AUDIOSERVER, falling back on $DISPLAY
NAS server not available
Failed to initialize plugin!
/usr/lib/alsaplayer/output/libnas_out.so failed to load
NOTE: THIS IS THE NULL PLUGIN.      YOU WILL NOT HEAR SOUND!!

I've read the docs, tried various permissions, etc. still have the problem.  Any information you need I'd be glad to provide.  If it's something I'm doing I can't find it nor have others on the user mail list been able to help.

I'm running development-sources 2.6.7.
Comment 1 Brett I. Holcomb 2004-07-08 17:38:59 UTC
Update - I was using development-sources (when I went through the kernel guide I thought it was vanilla with Gentoo patches).  I switched to gentoo-dev-sources and now alsaplayer works without being a member of the disk group.
Comment 2 Jeremy Huddleston (RETIRED) gentoo-dev 2004-07-09 05:16:27 UTC
gentoo-dev sources doesn't touch alsa, though...
Comment 3 Brett I. Holcomb 2004-07-09 06:54:05 UTC
No, it doesn't but all I did was move from development-sources to gentoo-dev-sources and now it works without being a memeber of the disk group.  Maybe development-sources has a problem or udev with dev sources?  I don't know but I know the problem does exist with development-sources as I spent a lot of time trying to work around it.