From owner-freebsd-multimedia Thu Apr 18 7:27:36 2002 Delivered-To: freebsd-multimedia@freebsd.org Received: from mk-smarthost-1.mail.uk.tiscali.com (mk-smarthost-1.mail.uk.tiscali.com [212.74.112.71]) by hub.freebsd.org (Postfix) with ESMTP id 04C0B37B400; Thu, 18 Apr 2002 07:27:30 -0700 (PDT) Received: from [80.225.38.26] (helo=lineone.net) by mk-smarthost-1.mail.uk.tiscali.com with esmtp (Exim 3.35 #1) id 16yCsO-000ELR-00; Thu, 18 Apr 2002 15:27:09 +0100 Message-ID: <3CBED7A5.2E42D328@lineone.net> Date: Thu, 18 Apr 2002 15:26:45 +0100 From: Jean-Mark Dupoux X-Mailer: Mozilla 4.76 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: questions@freebsd.org, multimedia@freebsd.org Subject: Kernel config parameters for soundcard - 4.4 release Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Im having problems with an option for soundcard support to put in a kernel config file. To begin with I added the following lines into the config file: device snd device sb0 at isa? port 0x220 irq 5 drq 0 flags 0x11 device sbmidi0 at isa? port 0x330 irq 9 device opl0 at isa? port 0x388 device joy0 at isa? port 0x200 The kernel compiled properly and successfully loaded the soundblaster pro 3.1 driver. But I still got no sound out of the card, using cat /filename > /dev/audio or > /dev/dsp and got the same no sound result using play /filename when I checked cat /dev/sndstat it showed that no mixer was loaded, which seemed like a fair explanation for the silence, so I dug deeper in man sb(4). This turned up an extra option for the Sound Galaxy pro card that I am using which should specifically add mixer support - the SG card apparently has a slightly different mixer from a basic SB pro which includes bass/treble adjustment, and I hoped the problem would be solved. So I went ahead and added the suggestion from man sb options __SGNXPRO__ into the config file, right after the sound devices section, but now the kernel doesnt compile any more. After running ln -s /usr/local/kernels/MYKERNELFILE I then enter as usual: /usr/sbin/config MYKERNELFILE but that's as far as the process gets. The output on the screen is: Error Unknown option __SGNXPRO__ (line xxx) I've checked and double-checked the relevant documentation and im sure I havnt made a typo or syntax error. What's more that specific option seems to have been present going back quite a few releases, so I'm truly puzzled why config wont accept it Has anyone else got experience with this kind of card, or with options parameters for soundcards generally, or should I be thinking about reporting this to bugs ? thanks in advance Jean-Mark Dupoux jmdupoux_@_lineone.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message