Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 01 Feb 2002 14:51:35 -0600
From:      Bob <BobGiesen@earthlink.net>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Creative SB PCI silent
Message-ID:  <3C5AFFD7.B93B2AFC@earthlink.net>

next in thread | raw e-mail | index | archive | help
   I'm trying to set up my system to play sounds through my Creative
SB PCI512.
 I don't know much about sound cards, so I've followed some
instructions I found
 in the handbook and on the web.
   I've compiled a new kernel with device pcm:
...
device          pci
device          pcm
...
   The kernel now finds the card at bootup:
pci0: <PCI bus> on pcib0
pcm0: <Creative EMU10K1> port 0xe000-0xe01f irq 5 at device 9.0 on
pci0

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

   Next, I ran /dev/MAKEDEV snd0 and looked for the new devices that
the handboo
k said (in section 14.4) would be created:
$ cd /dev
$ ls -l audio dsp dspW midi mixer music sequencer pss
ls: midi: No such file or directory
lrwxrwxrwx  1 root  wheel   6 Feb  1 02:37 audio -> audio0
lrwxrwxrwx  1 root  wheel   4 Feb  1 02:37 dsp -> dsp0
lrwxrwxrwx  1 root  wheel   5 Feb  1 02:37 dspW -> dspW0
lrwxrwxrwx  1 root  wheel   6 Feb  1 02:37 mixer -> mixer0
lrwxrwxrwx  1 root  wheel   6 Feb  1 02:37 music -> music0
lrwxrwxrwx  1 root  wheel   4 Feb  1 02:37 pss -> pss0
lrwxrwxrwx  1 root  wheel  10 Feb  1 02:37 sequencer -> sequencer0
 
   (Yes, I was up 'til the wee hours...)  The handbook listed the midi
device, b
ut mine wasn't created.  Is that because I had nothing hooked up to
the physical
 midi port on the back of the sound card when I ran MAKEDEV?
   The handbook recommended re-making the devices if one or more were
missing, s
o I did so.  Still, I got no midi device.
   Anyway, I've tried several different tools that should play audio
CD's, wav a
nd/or mp3 files, and not a peep emerges from my speakers.  (Yes,
they'r amplifie
d and turned on.)
.
.
.
   When I got ready to go online and send this message, I found that
my modem wa
s no longer "there."  (Not as far as my kernel was concerned.)  It
happens that
my new kernel 9with the pcm support) did not find the modem at
bootup.  The only
 other changes I made to the kernel config file were to comment out
the CPU's th
at I don't have:
#cpu            I386_CPU
#cpu            I486_CPU
#cpu            I586_CPU
cpu             I686_CPU
 
   My sio's are still as they were when I built the kernel that saw my
modem:
# Serial (COM) ports
device          sio0    at isa? port IO_COM1 flags 0x10 irq 4
#device         sio1    at isa? port IO_COM2 irq 3
#device         sio2    at isa? disable port IO_COM3 irq 5
#device         sio3    at isa? disable port IO_COM4 irq 9

   Btw, I have an ISA modem (Creative ModemBlaster), sitting in the
only ISA slo
t on the mobo -- and this configuration is the only one that would
work for me,
while still allowing me to keep an open serial port for another toy.
   So, I rebooted to kernel.old and my modem is working, again, but,
of course, 
my sound card is invisible to the kernel.  Here's a diff of the dmesg
outputs fr
om my boots with and without the pcm device:
( < w   pcm device support in kernel )
( > w/o pcm device support in kernel )

4c4
< FreeBSD 4.4-RELEASE #5: Fri Feb  1 02:14:41 CST 2002  
---
> FreeBSD 4.4-RELEASE #4: Fri Jan 25 22:10:47 CST 2002
12,13c12,13
< avail memory = 256421888 (250412K bytes)
< Preloaded elf kernel "kernel" at 0xc04c6000.
---
> avail memory = 256724992 (250708K bytes)
> Preloaded elf kernel "kernel.old" at 0xc047c000.
45c45,46
< pcm0: <Creative EMU10K1> port 0xe000-0xe01f irq 5 at device 9.0 on
pci0
---
> pci0: <unknown card> (vendor=0x1102, dev=0x0002) at 9.0 irq 5
> pci0: <unknown card> (vendor=0x1102, dev=0x7002) at 9.1
69a71,72
> sio1: <Creative Modem Blaster Flash56 DI5601-1> at port 0x2f8-0x307 irq 3 on i
sa0
> sio1: type 16550A
75,76c78
< dos2unixtime(): month value out of range (0)
< pid 4031 (kdeinit), uid 1001: exited on signal 11 (core dumped)
---
> pid 328 (gnome-smproxy), uid 1001: exited on signal 11 (core dumped)


   So...
(1) Does anyone know what I have to do to get the pcm support and my
modem to co
exist civilly?
(2) Does anyone know what I have to do to to get sound from the card,
with the p
cm support?  Any help would be appreciated!
Thanks,
Bob

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?3C5AFFD7.B93B2AFC>