Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Feb 2007 19:43:07 -0800
From:      Gary Kline <kline@tao.thought.org>
To:        Garrett Cooper <youshi10@u.washington.edu>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Any way to probe snd card?
Message-ID:  <20070216034307.GA90740@thought.org>
In-Reply-To: <45D486E1.8050000@u.washington.edu>
References:  <20070215015754.GA81683@thought.org> <ba29b9b40702142016y3d3e102cwe0870efb7c05967a@mail.gmail.com> <20070215064753.GA82518@thought.org> <45D402DC.2070704@u.washington.edu> <20070215072805.GA83369@thought.org> <20070215081119.GA83999@thought.org> <45D486E1.8050000@u.washington.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Feb 15, 2007 at 08:14:25AM -0800, Garrett Cooper wrote:
> Gary Kline wrote:
> >On Wed, Feb 14, 2007 at 11:28:05PM -0800, Gary Kline wrote:
> >>On Wed, Feb 14, 2007 at 10:51:08PM -0800, Garrett Cooper wrote:
> >>>Gary Kline wrote:
> >>>>On Wed, Feb 14, 2007 at 11:16:00PM -0500, Dak Ghatikachalam wrote:
> >>>>>On 2/14/07, Gary Kline <kline@tao.thought.org> wrote:
> >>>>>>      I'm pretty stunned at how well gnome2 works on my
> >>>>>>      antique 400MHz backup system.  [[ gnome2-lite wouldn't go, for
> >>>>>>      some reason.... [?] ]]  Anyway, I do have a sound card in this
> >>>>>>      one, but which *.ko I load or compile is the question.  If
> >>>>>>      memory serves, I think this has  a Matrox card.  I've tried
> >>>>>>      adding a few sound [snd_*.ko] files, but no sound.  The OSS
> >>>>>>      dialogs open, but the tests produce no sound..  Would the sound
> >>>>>>      card show up in dmesg if there were a sound card hiding?
> >>>>>>
> >>>>>>      Any help out there?  This old box is an HP Kayak "XU/XW".
> >>>>>I solved most of my sound problems by taking actions reading
> >>>>>
> >>>>>http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/sound-setup.html
> >>>>>
> >>>>>regards
> >>>>>Dak
> >>>>>
> >>>>	Hm.  I forgot about adding the "hints.*"; but catenating
> >>>>	/dev/sndstat indicates that I use snd_sb16.ko and compiling that
> >>>>	in gives me a bunch of fatal undefines.  So I added "snd_sbc"
> >>>>	to the KERNCONF and am recompiling.  
> >>>>
> >>>>	Shouldn't be this hard; this worked with REdhat, just
> >>>>	straightaway.  ....
> >>>>
> >>>>	gary
> >>>What model's the card (or what does pciconf -lv report at least)?
> >>
> >>	This is strange.  A couple hours ago I kldloaded a few modules
> >>	and saw that the card was my missing AWE64.  Now, when I load
> >>	snd_sb16, it looks like an ISA SB 16.  It could be either.
> >>	Note that if I load just snd_sb.ko, cat'ing /dev/sndstat returns
> >>	zip.
> >>	Still trying...
> >>
> >
> >	Interesting: I scripted them ALL in and ind that there are TWO
> >	sound cards::
> >
> >pcm0: <SB16 DSP 4.16> at io 0x240 irq 9 drq 1:5 bufsz 4096 kld snd_sb16
> >(1p/1r/0v channels duplex default)
> >pcm1: <AD1816> at io 0x500 irq 5 drq 0:3 bufsz 8192 kld snd_ad1816
> >(1p/1r/0v channels duplex)
> >
> >	Suggestions?
> >
> >
> >>	gary
> >>
> >>
> >>>-Garrett
> 
> Not 100% sure, but it looks like your soundcard involves the sb driver 
> and there might be a separate driver for your card:
> 
> <http://lists.freebsd.org/pipermail/cvs-all/2007-February/206411.html>;


	Looks the the header files were checked into CVS but howto
	retrieve?  I did a full-bore update of 6.2 and didn't see 
	anything new (timestamp-wise) in the sound/ directories... .

	I'll rebuild and  reinstall.

	Anyway: experimentation has taught me that the snd_ad1816.ko 
	at least drives the BEL speaker.  So, while I hear the
	log[in|out] fuzzily, the other WAV sounds are clear.  Another
	thing: with snd_driver.ko installed (by /boot/loader.conf)
	I have *no* sound; with just the keydb driver at "YES" the 
	internal speaker works.  And the tiny red "[x]" is not
	displayed.)  With snd_sb16.ko or snd_sbc.ko I get some results
	by catenating /dev/sndstat.  But zero sound.  cat foo >/dev/dsp
	is not permitted as a test.  [ That html sound page is seriously
	out of date! ]  

	The only possibilities I can see are a bad sound card or the 
	banana plug in the wrong jack [ doubt].

	(*****)

	gary

> 
> Cheers,
> -Garrett
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"

-- 
  Gary Kline  kline@thought.org   www.thought.org  Public Service Unix




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070216034307.GA90740>