From owner-freebsd-questions Fri Feb 1 20: 5: 5 2002 Delivered-To: freebsd-questions@freebsd.org Received: from pintail.mail.pas.earthlink.net (pintail.mail.pas.earthlink.net [207.217.120.122]) by hub.freebsd.org (Postfix) with ESMTP id 45FE737B404 for ; Fri, 1 Feb 2002 20:04:59 -0800 (PST) Received: from dialup-63.208.64.127.dial1.chicago1.level3.net ([63.208.64.127] helo=earthlink.net) by pintail.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 16WrQ9-0004El-00; Fri, 01 Feb 2002 20:04:57 -0800 Message-ID: <3C5B656D.233CF5C7@earthlink.net> Date: Fri, 01 Feb 2002 22:05:01 -0600 From: Bob X-Mailer: Mozilla 4.51 [en] (X11; I; FreeBSD 4.4-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-questions@FreeBSD.ORG Subject: Re: Creative SB PCI silent References: <3C5AFFD7.B93B2AFC@earthlink.net> <3C5B1FCB.E0E97558@earthlink.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Bob wrote: > > Bob wrote: > > > > 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: on pcib0 > > pcm0: 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: 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: port 0xe000-0xe01f irq 5 at device 9.0 on > > pci0 > > --- > > > pci0: (vendor=0x1102, dev=0x0002) at 9.0 irq 5 > > > pci0: (vendor=0x1102, dev=0x7002) at 9.1 > > 69a71,72 > > > sio1: 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 coexist civilly? > > (2) Does anyone know what I have to do to to get sound from the card, > > with the pcm 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 > > I was in big hurry to finish that message because I has to run... > and I left out a couple of thoughts -- an observation and a question. > The observation is that the IRQ's and addresses are different for the > modem on the one boot and the sound card on the other boot. I don't > think that can be an issue. > So, grasping at straws, I come up with question number (3): could > the order in which the devices are listed in the kernel config file > affect how the kernel handles these things? (Remember, the sound card > is PCI and the modem is ISA.) Lacking another suggestion, yet, I'll > probably try putting the pcm line at the end of the config file (in > case order does matter, so as not to mess up anything else that > already works...) and rebuild the kernel. Even if that leads to a > peasceful coexistence among my cards, it doesn't seem to answer Q > #2... > - Bob FYI, putting device pcm at the end of the config file had no effect. The kernel still missed the modem and found the sound card. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message