From owner-freebsd-questions Wed May 16 7:46:56 2001 Delivered-To: freebsd-questions@freebsd.org Received: from smtp016.mail.yahoo.com (smtp016.mail.yahoo.com [216.136.174.113]) by hub.freebsd.org (Postfix) with SMTP id F0EC337B422 for ; Wed, 16 May 2001 07:46:50 -0700 (PDT) (envelope-from fbsdq@yahoo.com) Received: from h2.impactidealsolutions.com (HELO support10) (216.98.200.91) by smtp.mail.vip.sc5.yahoo.com with SMTP; 16 May 2001 14:46:50 -0000 X-Apparently-From: Message-Id: Date: Wed, 16 May 2001 08:50:07 -0600 X-Priority: 3 From: Peter X-Mailer: Mail Warrior To: andmann@andmann.eu.org Cc: freebsd-questions@freebsd.org MIME-Version: 1.0 Subject: Re: Only root can get sound. Content-Type: Text/Plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8Bit X-Mailer-Version: v3.57 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG . . .|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