From owner-freebsd-questions Wed May 16 7:39:47 2001 Delivered-To: freebsd-questions@freebsd.org Received: from bong.andmann.eu.org (world.peace.is [194.144.170.11]) by hub.freebsd.org (Postfix) with ESMTP id B47DD37B42C for ; Wed, 16 May 2001 07:39:42 -0700 (PDT) (envelope-from andmann@bong.andmann.eu.org) Received: (from andmann@localhost) by bong.andmann.eu.org (8.11.0/8.11.0) id f4GEcbE03542 for freebsd-questions@freebsd.org; Wed, 16 May 2001 14:38:37 GMT Date: Wed, 16 May 2001 14:38:37 +0000 From: "David S. Geirsson" To: freebsd-questions@freebsd.org Subject: Re: Only root can get sound. Message-ID: <20010516143837.A3218@bong.andmann.eu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5i In-Reply-To: ; from fbsdq@yahoo.com on Wed, May 16, 2001 at 08:37:55AM -0600 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. 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