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

next in thread | raw e-mail | index | archive | help
 . . .|The user probably has the sound output plugin set to Disk Writer or null
. . . .|output. This would explain both the lack of sound and the fast timecounter.

	You just lost me.
As user all I type is 'xmms' not 'xmms > /dev/null' if that is what you meant ---

This might help:
When I went from 4.2-S I tarred up my whole home directory -- Reinstalled 4.2-R, cvsupped 
everything then did the xmms/x ports -- then restored my whole directory -- otherwise nothing 
has changed....before I was using snd now I'm using pcm --- hmm---should I delete or mv my 
~/.xmms and see if it works?

btw -- root never used xmms before on the other system so he did not have a .xmms --I'll try 
that -- I think it's it.

On 05/16/2001 8:38:37 AM, "David S. Geirsson" is quoted as saying:
 

. . . .|The user probably has the sound output plugin set to Disk Writer or null
. . . .|output. This would explain both the lack of sound and the fast timecounter.
. . . .|
. . . .|On Wed, May 16, 2001 at 08:37:55AM -0600, Peter wrote:
. . . .|> 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
. . . .|
. . . .|-- 
. . . .|Davíð Steinn Geirsson
. . . .|andmann@andmann.eu.org
. . . .|(354)-8696608
. . . .|
. . . .|"Support staff hung over, Send aspirin and come back LATER."
. . . .|
. . . .|To Unsubscribe: send mail to majordomo@FreeBSD.org
. . . .|with "unsubscribe freebsd-questions" in the body of the message



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.apsslgcd>