Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Feb 2002 20:00:02 -0600
From:      Bob Giesen <BobGiesen@earthlink.net>
To:        freebsd-questions@FreeBSD.ORG
Subject:   SoundBlaster Live! or PCI512 help
Message-ID:  <E16Z0Ke-0007iE-00@hawk.mail.pas.earthlink.net>

next in thread | raw e-mail | index | archive | help
   I have a SoundBlaster PCI512 -- which, I've read, is essentially 
the same as a Live! card.  I can't get mine to make a sound in FBSD.  
(Sings like a canary in m$, so I know it works...)  If you're 
familiar with getting either (PCI512 or Live!) card working and have 
spotted anything I've missed or screwed up, I'd love to hear from 
you.  I have been searching the FBSD site and Googling the web (oh, 
yes, I've RTFM, too:-) ) and am coming up short.  I've found several 
references to getting these cards working, but I've tried all that 
I've found and my speakers still sit silently...
   Here's what I've done:


   I've compiled a new kernel with device pcm:
...
device          pcm
...

   The kernel now finds the card at bootup:
pci0: <PCI buson pcib0
pcm0: <Creative EMU10K1port 0xe000-0xe01f irq 5 at device 9.0 on
pci0

   I feel that I should note here that I have my BIOS' "PnP OS" 
option set to "No."  My kernel shows the same irq (5) as my BIOS 
shows during the POST.

   Per instructions, I tried the following:
$ cat /dev/sndstat
FreeBSD Audio Driver (newpcm) Feb  1 2002 02:14:09
Installed devices:
pcm0: <Creative EMU10K1at io 0xe000 irq 5 (4p/3r/0v channels
duplex)

   Next, I ran /dev/MAKEDEV snd0 and looked for the new devices
that the handbook said (in section 14.4) would be created:
# cd /dev
# ls -l audio* dsp* dspW* midi* mixer* music* sequencer* pss*
lrwxrwxrwx  1 root  wheel         6 Feb  7 19:39 audio -> audio0
lrwxrwxrwx  1 root  wheel         8 Feb  7 19:39 audio0 -> audio0.0
crw-rw-rw-  1 root  wheel   30,   4 Feb  7 19:39 audio0.0
crw-rw-rw-  1 root  wheel   30, 0x00010004 Feb  7 19:39 audio0.1
crw-rw-rw-  1 root  wheel   30, 0x00020004 Feb  7 19:39 audio0.2
crw-rw-rw-  1 root  wheel   30, 0x00030004 Feb  7 19:39 audio0.3
lrwxrwxrwx  1 root  wheel         4 Feb  7 19:39 dsp -> dsp0
lrwxrwxrwx  1 root  wheel         6 Feb  7 19:39 dsp0 -> dsp0.0
crw-rw-rw-  1 root  wheel   30,   3 Feb  7 19:39 dsp0.0
crw-rw-rw-  1 root  wheel   30, 0x00010003 Feb  7 19:39 dsp0.1
crw-rw-rw-  1 root  wheel   30, 0x00020003 Feb  7 19:39 dsp0.2
crw-rw-rw-  1 root  wheel   30, 0x00030003 Feb  7 19:39 dsp0.3
lrwxrwxrwx  1 root  wheel         5 Feb  7 19:39 dspW -> dspW0
lrwxrwxrwx  1 root  wheel         5 Feb  7 19:39 dspW -> dspW0
lrwxrwxrwx  1 root  wheel         7 Feb  7 19:39 dspW0 -> dspW0.0
lrwxrwxrwx  1 root  wheel         7 Feb  7 19:39 dspW0 -> dspW0.0
crw-rw-rw-  1 root  wheel   30,   5 Feb  7 19:39 dspW0.0
crw-rw-rw-  1 root  wheel   30,   5 Feb  7 19:39 dspW0.0
crw-rw-rw-  1 root  wheel   30, 0x00010005 Feb  7 19:39 dspW0.1
crw-rw-rw-  1 root  wheel   30, 0x00010005 Feb  7 19:39 dspW0.1
crw-rw-rw-  1 root  wheel   30, 0x00020005 Feb  7 19:39 dspW0.2
crw-rw-rw-  1 root  wheel   30, 0x00020005 Feb  7 19:39 dspW0.2
crw-rw-rw-  1 root  wheel   30, 0x00030005 Feb  7 19:39 dspW0.3
crw-rw-rw-  1 root  wheel   30, 0x00030005 Feb  7 19:39 dspW0.3
crw-rw-rw-  1 root  wheel   30,   2 Feb  7 19:39 midi0
lrwxrwxrwx  1 root  wheel         6 Feb  7 19:39 mixer -> mixer0
crw-rw-rw-  1 root  wheel   30,   0 Feb  7 19:39 mixer0
lrwxrwxrwx  1 root  wheel         6 Feb  7 19:39 music -> music0
crw-rw-rw-  1 root  wheel   30,   8 Feb  7 19:39 music0
lrwxrwxrwx  1 root  wheel         4 Feb  7 19:39 pss -> pss0
crw-rw-rw-  1 root  wheel   30,   9 Feb  7 19:39 pss0
lrwxrwxrwx  1 root  wheel        10 Feb  7 19:39 sequencer -> 
sequencer0
crw-rw-rw-  1 root  wheel   30,   1 Feb  7 19:39 sequencer0


   The handbook listed the "midi" device, but I got only a "midi0" 
device.  Is that okay?
   The handbook recommended re-making the devices if one or more
were missing, so I did so.  Still, I got no "midi" device.
   Anyway, I've tried several different tools that should play
audio CD's, wav and/or mp3 files, and not a peep emerges from my 
speakers.  (Yes, they're amplified and turned on.)

   As for the app's I've tried -- I've tried the CD player that comes 
w/ Gnome (which correctly identifies different CD's via the database 
on the net and seems to be playing them (as the elapsed track time 
changes in the display)), but no sound comes out.

   Curiously, I just tried  a different command (about which I know 
very little, so I might have used it wrong) and got an odd error:

# play /usr/X11R6/share/gnome/sounds/info.wav
sox: Can't open output file '/dev/dsp': Device busy

   Any ideas?  Is there a sure-fire way to test my setup (in case I'm 
just using sound app's incorrectly)?  Any and all help will be 
thoroughly appreciated.

Thanks,
Bob


-------------------------------------------------------

-- 
Number of US states that claim test scores in their elementary 
schools are above national average: 50

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E16Z0Ke-0007iE-00>