Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 May 2001 08:37:55 -0600
From:      Peter <fbsdq@yahoo.com>
To:        freebsd-questions@freebsd.org
Subject:   Only root can get sound.
Message-ID:  <SAK.2001.05.16.boeqcqsb@support10>

next in thread | raw e-mail | index | archive | help
FreeBSD 4.3-Stable [cvsupped ports/base about 3 days ago]

SB 16 isa PnP Card.

Compiled kernel with:

device pcm
device sbc0 at isa? etc etc [I don't have access to that pc now, look at LINT for specifics]

config -g
make depend ; make ; make install ; reboot

cd /dev ; ./MAKEDEV all ; ./MAKEDEV snd0

dmesg |grep pcm  -- show the Soundblaster

cat /dev/sndstat -- >> Show SB 16 4.13

So the card is found I boot into X, start xmms nada......
su to root, start xmms I get sound.

in /dev/
audio/dsp/all other devices under 'man pcm' show as lrwxrwxrws and /dev/dsp0 [etc],
are crw rw rw -- Yet only root can play sound.

	Another thing that is weird, when a user tries to use xmms, and play music.mp3,
the time remaining just flies by.....xmms gives no error just no sound comes out of speakers.
root it goes: 1..............2................3....................
user it goes: 1..2..3..4..5..6..7


Now I had sound with 4.2 Stable with:
device snd
device sb0 at isa? etc etc [See LINT again]
but in LINT and in config -g -- it says not to use snd, but instead use pcm, so here I am
[I since reinstalled to 4.2-R and CVSupped to 4.3-Stable]

Any suggestions?? -- I'm about to make xmms suid root :)


www.nul.cjb.net
www.FreeBSD.org



_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?SAK.2001.05.16.boeqcqsb>