From owner-freebsd-questions Wed Jul 7 7:19:28 1999 Delivered-To: freebsd-questions@freebsd.org Received: from ux1.ibb.net (ibb0005.ibb.uu.nl [131.211.124.5]) by hub.freebsd.org (Postfix) with ESMTP id CE90D14C99 for ; Wed, 7 Jul 1999 07:19:12 -0700 (PDT) (envelope-from Reinoud.Koornstra@ibbnet.nl) Received: from localhost (reinoud@localhost) by ux1.ibb.net (8.8.7/8.8.5/TT) with SMTP id QAA22945; Wed, 7 Jul 1999 16:18:44 +0200 Date: Wed, 7 Jul 1999 16:18:44 +0200 (MET DST) From: Reinoud Koornstra X-Sender: reinoud@ux1.ibb.net To: Val Kilmer Cc: Reinoud Koornstra , freebsd-questions@FreeBSD.ORG Subject: Re: awe 64 problems............ In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I did what you said, i removed all the added lines from my kernel.conf and from my loader.rc and from my kernel. I had alrdy in my kernel controller pnp0 so that was okay. I also added...... like you said: device pcm0 at isa? port? tty drq 1 irq 5 flags 0x15 Now at booting i get this: Jul 7 16:08:54 Mipam /kernel: Probing for PnP devices: Jul 7 16:08:55 Mipam /kernel: CSN 1 Vendor ID: CTL00c5 [0xc5008c0e] Serial 0x01bedb0c Comp ID: PNPb02f [0x2fb0d041] Jul 7 16:08:55 Mipam /kernel: This is a SB16 PnP, but LDN 0 is disabled I started x11amp and tryed to play a mp3 but i got again: Unable to open audio device......... SO still after all possbile and very different solutions i recieved.... nothing seems to work..... What can i do and will my awe 64 ever work? Sincerely, Reinoud. > I, too, have a SB AWE 64, and here's what I did to get it working just > like a breeze on a straight out of the box install of 3.2, having only > added some network config that doesn't remotely relate: > > First, remove all these other configurations for sound. Anything and > everything. Scripts, kernel.conf adds, everything. > > Next, add to your kernel: > controller pnp0 > device pcm0 at isa? port? tty drq 1 irq 5 flags 0x15 > > This will, as the PNP config files and the Handbook dictate, config the > SB, let it know there's another DRQ, and run with it. Remove all other > references. Now, I don't know how well this will do with MIDI, if it will > even do MIDI at all. All other audio works like butter. > The LINT explains that having all that 'sb*' stuff will cause conflicts; > basically, pick which SB 'flavor' you have and go. Remove anything else, > as conflicts will occur, and that's a Bad Thing. > > Now the /dev: > After you compile the new kernel, before you actually boot to it, do a 'sh > MAKEDEV snd1' in /dev. This will make your new devices drivers, then point > some symlinks to them, making all your sound apps work happily. > Yes, that IS a 'snd1'. 'snd0' will not hook up right, as seen below by the > error messages. > > Finally, plop your Dire Straits/Steppenwolf/Rolling Stones mp3's into a > directory somewhere, run your favorite amp, and just go nuts. Might I also > suggest 'wmmixer' for WindowMaker, it works like total candy. > > Hope this does some good. If you have any questions, mail me. It might > take a while to get to, but I'll get to it if you can 'ATTN: Cory' in the > subject header. > > Cory Ringdahl > > > PS: I do notice that the newly booted kernel detects the sound card and > the configuration, somehow, seperately. It gives first: > > CSN 1 Vendor ID > > then gives: > > pcm1 (SB16pnp sn [serial number) from above> > > Ignore this. > > Also, expect a: > > pcm0 not probed due to drq conflict with pcm1 at 1 > > Ignore this, too. > > PPS: If anyone out there knows WHY the above error messages come up, > and/or if there's a smoother way to do things, lemme know. It's not > pleasing to the eye, work though it does. > > On Wed, 7 Jul 1999, Reinoud Koornstra wrote: > > > Hi, > > > > Thanks for all the help you send me, finally by composing several mails > > together wich were send to me about things should be done i have some kind > > of succes. But..... not completly, I run freebsd 3.2 > > I added the nessesay lines to my kernel to get my awe 64 working but it > > didnt work. Finally some one told me to add some lines to loader.rc > > > > load /kernel > > load -t userconfig_script /boot/kernel.conf > > autoboot 5 > > > > I added then, however in the beginning, then is told that the kernel is > > alrdy been loaded so....can't execute load /kernel he says.... anyway > > that's not bad i guess. > > BUt i was also told to add the next lines to kernel.conf > > > > pnp 1 0 os port0 0x220 port1 0x330 port2 0x388 irq0 5 drq0 1 drq1 5 > > pnp 1 0 enable > > pnp 1 1 os port0 0x208 > > pnp 1 1 enable > > pnp 1 2 os port0 0x620 port1 0xa20 port2 0xe20 > > pnp 1 2 enable > > > > So, i added them to my kernel.conf. > > However, still no good result. > > Finally i put those lines in top of the kernel.conf and now that had > > better results....... here are some messages from my booting lately: > > > > Jul 7 10:45:01 Mipam /kernel: sb0 at 0x220 irq 5 drq 1 on isa > > Jul 7 10:45:01 Mipam /kernel: snd0: > > Jul 7 10:45:01 Mipam /kernel: sbxvi0 at drq 5 on isa > > Jul 7 10:45:01 Mipam /kernel: snd0: > > Jul 7 10:45:01 Mipam /kernel: sbmidi0 at 0x330 on isa > > Jul 7 10:45:01 Mipam /kernel: snd0: > > Jul 7 10:45:01 Mipam /kernel: awe0 at 0x620 on isa > > Jul 7 10:45:01 Mipam /kernel: awe0: > > Jul 7 10:45:01 Mipam /kernel: opl0 at 0x388 on isa > > Jul 7 10:45:01 Mipam /kernel: snd0: > > > > I never got that far until now... > > Okay now i run x11amp and tryed to play something..... but i get this > > message: > > FIrst i get: Unable to get fragment size > > When i push the second time on play i get: Unable to open the audio device > > I keep getting this message so it's not completly solved.... > > Can someone help me further with this? I think we've come so far, it > > should be able to work completly. > > And last of all why does he think i have an sound blaster 16, i have a sb > > awe 64.. > > PLz help me.. > > Sincerely, > > > > Reinoud Koornstra. > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-questions" in the body of the message > > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message