From owner-freebsd-questions@FreeBSD.ORG Wed Oct 1 01:45:44 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D86D716A4B3 for ; Wed, 1 Oct 2003 01:45:44 -0700 (PDT) Received: from plusmx1.polkomtel.com.pl (plusmx1.polkomtel.com.pl [212.2.96.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id A193343F93 for ; Wed, 1 Oct 2003 01:45:41 -0700 (PDT) (envelope-from jaroslaw.nozderko@polkomtel.com.pl) Received: from mswwaw1.corp.plusnet (plus-96-118.polkomtel.com.pl [212.2.96.118]) by plusmx1.polkomtel.com.pl (Postfix) with ESMTP id 83D9F3808E for ; Wed, 1 Oct 2003 10:45:36 +0200 (CEST) Received: from E2K2.corp.plusnet (unverified) by mswwaw1.corp.plusnet ; Wed, 1 Oct 2003 10:35:08 +0200 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0 Date: Wed, 1 Oct 2003 10:35:08 +0200 Message-ID: <2A857CE92C11FE40858689CAEC7BED4906280319@E2K2.corp.plusnet> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: freesbd sound Thread-Index: AcOGzCTVcda+7lDFRZWbLSlcfeJUAAAilf6Q From: =?iso-8859-2?Q?Jaros=B3aw_Nozderko?= To: Subject: Sound card X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2003 08:45:45 -0000 OS: FreeBSD 5.1-RELEASE Hi, I have cheap, ISA sound card recognized as OPTi931. It works without=20 problems on Linux (RH 7.3, upgraded kernel 2.4.21 + XFS) with the following line in /etc/modules.conf: options mad16 io=3D0x530 irq=3D5 dma=3D0 dma16=3D0 mpu_io=3D0x300 = mpu_irq=3D7 I'd like to make it working under FreeBSD. After reading the=20 Handbook, I've tried to use the following entries in=20 /boot/device.hints: hint.sbc.0.at=3D"isa" hint.sbc.0.port=3D"0x530" hint.sbc.0.irq=3D"5" hint.sbc.0.drq=3D"0" or: hint.pcm.0.at=3D"isa" hint.pcm.0.irq=3D"5" hint.pcm.0.drq=3D"0" hint.pcm.0.flags=3D"0x0" I tried kernel built with both "options pcm" and "options sbc" as well as with "options pcm" alone. I still got the same result:=20 /var/run/dmesg.boot: pcm0: at port 0xe8d-0xe8f,0x220-0x22f,0x380-0x38b,0x534-0x537 = irq 5=20 drq 1,0 on isa0 AD_WAIT_INIT FAILED 1002000 0xff (Sometimes, depending on options, it may be pcm1 instead of pcm0, but=20 error is the same). When I use pcm options only, I got warning on KDE startup "Can't find = /dev/dsp" and when I use sbc options, this warning does not appear.=20 Shoud I put all options in kernel config file and nothing in = device.hints ? Frankly speaking, I'm not an expert in sound cards, so perhaps this is some basic mistake. Thanks in advance for any help, Jarek