From owner-freebsd-questions@FreeBSD.ORG Fri Dec 30 18:26:28 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 285ED16A420 for ; Fri, 30 Dec 2005 18:26:28 +0000 (GMT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail1.sea5.speakeasy.net (mail1.sea5.speakeasy.net [69.17.117.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3514D43D88 for ; Fri, 30 Dec 2005 18:26:21 +0000 (GMT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 3789 invoked from network); 30 Dec 2005 18:26:20 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail1.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 30 Dec 2005 18:26:20 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id CD00428420; Fri, 30 Dec 2005 13:26:19 -0500 (EST) Sender: lowell@be-well.ilk.org To: eoghan References: <40D83E7E-BCDF-43F4-B852-AF66C3B0DD1E@redry.net> <43B56FA0.3050509@mkproductions.org> From: Lowell Gilbert Date: 30 Dec 2005 13:26:19 -0500 In-Reply-To: Message-ID: <44aceil9v8.fsf_-_@be-well.ilk.org> Lines: 95 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd Subject: Re: getting sound in KDE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Dec 2005 18:26:28 -0000 eoghan writes: > On 30 Dec 2005, at 17:34, Mark Kane wrote: > > > eoghan wrote: > >> Hello > >> I have followed the manual page here for sound setup: > >> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/sound- > >> setup.html > >> Im using freebsd 6.0 with generic kernel. Im not sure what sound > >> card > >> came with my dell (its 3 years old). > >> So i did: > >> #kldload snd_emu10k1 > >> #kldload snd_driver > >> then: > >> #cat /dev/sndstat > >> FreeBSD Audio Driver (newpcm) > >> Installed devices: > >> pcm0: at io 0xec40 irq 11 kld snd_es137x(1p/1r/0v > >> channels duplex default) > >> This is my first time trying to get the sound working. I try play an > >> mp3 ans dont hear anything. Perhaps using the snd_driver wont work in > >> my case... > >> Is there a way to get freeBSD to show my sound device so I can > >> load the > >> correct module? Or is there something else im doing wrong? > >> Thanks > >> Eoghan > > > > It looks to me like the "snd_driver" did it (since it shows > > "snd_es127x" > > loaded), but if you still are not getting any sound then check some > > things. > > > > 1) The parts list you pasted seems like it's the Creative CT5807 sound > > card. I don't see that particular model on the hardware supported > > list, > > although similar models are listed under that driver (man snd_es137x). > > > > 2) Check the volume. Type "mixer" at a shell and make sure the levels > > are up. The manpage for "mixer" should tell you how to change those > > settings if you need to. > > > > 3) Are you running KDE or artsd? On one of my machines that I set > > sound > > up on a long time ago everything was going fine (no errors, sndstat > > showed it, etc) but KDE's artsd interfered with the volume when KDE > > was > > on. So if you are in KDE then I'd say to stop the GUI and go to the > > console where artsd won't be running and then do your testing. You can > > also disable artsd but I'm not sure where as it's been a while since > > I've used KDE. > > > > 4) Are your speakers/headphones/mixer volumes up? > > > > -Mark > > > > Thanks Mark > Im running KDE (3.4.3) and I have just gone into control center > > sound & multimedia > sound system > Here I disabled the sound system and reneabled it, which it restarted > the sound system. I then clicked the button to text sound. > Then I heard sound perfect. I then opened Noatun and tried to play an > mp3 but heard nothing. I dont know about artsd, but is this the KDE > sound system? > I tried the sound system disabled, restart Noatun but still nothing. > artsd at konsole says: > can't register Arts::MidiManager > There are already artsd objects registered, looking if they are > active... > > Error: Can't add object reference (probably artsd is already running). > If you are sure it is not already running, remove the > relevant files: > > /tmp/mcop-root/Arts_SoundServerV2 > /tmp/mcop-root/Arts_SoundServer > /tmp/mcop-root/Arts_SimpleSoundServer > /tmp/mcop-root/Arts_PlayObjectFactory > /tmp/mcop-root/Arts_AudioManager > > So, sound works if I test in control centre. But no sound if i try > play an mp3... Okay, so you have FreeBSD's sound drivers working fine, and you just need to get KDE to use it properly. I don't know anything about KDE, but enabling virtual channels may make life easier. See the manual for sound(4) for details. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/