From owner-freebsd-mobile Sun Nov 29 17:13:23 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA27148 for freebsd-mobile-outgoing; Sun, 29 Nov 1998 17:13:23 -0800 (PST) (envelope-from owner-freebsd-mobile@FreeBSD.ORG) Received: from enterprise.cs.unm.edu (enterprise.cs.unm.edu [198.59.151.20]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id RAA27127; Sun, 29 Nov 1998 17:13:21 -0800 (PST) (envelope-from colinj@cs.unm.edu) Received: from viper.cs.unm.edu [198.59.151.25] by enterprise.cs.unm.edu with smtp (Exim 1.80 #2) id 0zkHtl-0004Ud-00; Sun, 29 Nov 1998 18:13:09 -0700 Date: Sun, 29 Nov 1998 18:14:09 -0700 (MST) From: Colin Eric Johnson To: freebsd-mobile@FreeBSD.ORG, freebsd-multimedia@FreeBSD.ORG Subject: Sound and my Dell Lattitude CPi Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org boy, am I starting to feel like a broken record. I just can't seem to get a handle on this sound thing for my Dell Lattitude. Current Setup: FreeBSD trurl 2.2.7-STABLE FreeBSD 2.2.7-STABLE #0: Sat Nov 28 17:38:43 MST 1998 root@trurl:/usr/src/sys/compile/TRURL i386 on a Dell Lattitude CPi >From the kernel config file: device pcm0 at isa ? port ? tty irq 5 drq 0 vector pcmintr When I check /dev/sndstat I get: FreeBSD Audio Driver (981022) Nov 28 1998 17:38:29 Installed devices: pcm0: at 0x220 irq 5 dma 0:0 The devices look like this: trurl 7 % ls -l /dev/audio* lrwxrwxrwx 1 root wheel 6 Nov 27 21:38 /dev/audio@ -> audio0 crw-rw-rw- 1 root wheel 30, 4 Nov 29 16:32 /dev/audio0 trurl 8 % ls -l /dev/dsp* lrwxrwxrwx 1 root wheel 4 Nov 27 21:38 /dev/dsp@ -> dsp0 crw-rw-rw- 1 root wheel 30, 3 Nov 28 17:16 /dev/dsp0 . . . lrwxrwxrwx 1 root wheel 5 Nov 27 21:38 /dev/dspW@ -> dspW0 crw-rw-rw- 1 root wheel 30, 5 Nov 27 21:38 /dev/dspW0 My Problem: I can't get anything to play out through /dev/audio or /dev/dsp, whenever I try and send something to /dev/audio (like a .au file) I get: Nov 29 16:47:41 trurl /kernel: timeout flushing dbuf_out, chan 0 cnt 0x3dd flags 0x00000441 in /var/log/messages. and when I run anything that uses the dsp I get the following: Message from syslogd@trurl at Sun Nov 29 16:50:37 1998 ... trurl /kernel: SoundBlaster Pro 3.2>0 open: device busy As near as I can tell the condenser microphone is on and piping output to the speakers so that I can hear myself type. I have checked this by plugging in headphones and covering my ears and that is what I can hear. I can also get the mic/speakers to feedback if I turn up the volume too loud. This behaviour is not constant, it doesn't happen when the machine is booted under NT and it doesn't start until I see the pcm0 device detected in the boot sequence. So, either I have something set wrong in the BIOS, but I don't think I do. Or I have something accessing the devices and not allowing other applications to use the mic or the speakers. Does anyone know how I might check to see what I might have that could be doing this? Are there known applications that might cause this kind of trouble? I really would like to get SpeakFreely up and working and I would like to be able to use sound out for things like music and sound effects. Any insight on this would be appreciated. Thanks Colin E. Johnson | colinj@unm.edu | http://www.unm.edu/~colinj/ "As Jun [Murai] explains it, `I can go to the bar and drink beer. I go to a phone and ping my routers, and if they are still working, I go back and drink more beer.'" Carl Malamud _Exploring_the_Internet_ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message