From owner-freebsd-questions@FreeBSD.ORG Thu Mar 4 02:02:22 2004 Return-Path: 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 0651816A4CE for ; Thu, 4 Mar 2004 02:02:22 -0800 (PST) Received: from falcon.midgard.homeip.net (h201n1fls24o1048.bredband.comhem.se [212.181.162.201]) by mx1.FreeBSD.org (Postfix) with SMTP id 7B4B343D2D for ; Thu, 4 Mar 2004 02:02:20 -0800 (PST) (envelope-from ertr1013@student.uu.se) Received: (qmail 67549 invoked by uid 1001); 4 Mar 2004 10:02:18 -0000 Date: Thu, 4 Mar 2004 11:02:18 +0100 From: Erik Trulsson To: "HOLLOW, CHRISTOPHER" Message-ID: <20040304100217.GA67406@falcon.midgard.homeip.net> Mail-Followup-To: "HOLLOW, CHRISTOPHER" , Tadimeti Keshav , freebsd-questions@freebsd.org References: <20040304061244.14959.qmail@web25008.mail.ukl.yahoo.com> <4046CD03.6090904@cgi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4046CD03.6090904@cgi.com> User-Agent: Mutt/1.5.6i cc: Tadimeti Keshav cc: freebsd-questions@freebsd.org Subject: Re: kernel compile Q - How to get the speaker to work? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Mar 2004 10:02:22 -0000 On Thu, Mar 04, 2004 at 01:30:27AM -0500, HOLLOW, CHRISTOPHER wrote: > > > > > >thanks for the answer, but when I had Windows > >installed, the speaker did work, I mean I was able to > >hear music, in addition to the beeps. > > > I've never heard of the case speaker making anything but beeps. Either > yours is quite unique or you guys are talking about different speakers. It is your experience that is quite limited. > I think you'll need to add support for the sound card that the > speaker is connected to. Have a look at the case speaker. I can't see > it being connected to a sound card but verify that. If it (or another > case speaker) is in fact connected to sound card, add that device to the > kernel. It is perfectly possible to play music on the case speaker, and this does not require any sound card. The sound tends to sound like crap though. Music (and other sounds) on the built-in speaker was in fact the standard way of getting music in PC-games back in the Bad Old Days (early and mid-eighties) when sound cards were a rarity. Add the line 'pseudo-device speaker' to your kernel config file to get some limited support for playing music (see the man-pages for spkr(4) and spkrtest(8) for more info on this method.) It is also possible to use the case-speaker as a more generic audio-output device. To try this add the line 'device pca0 at isa? port IO_TIMER1' to your kernel config file, and then use /dev/pcaudio as the output device. Be aware that this is poorly documented and supported, and I think it might even have been removed entirely from 5.x -- Erik Trulsson ertr1013@student.uu.se