From owner-freebsd-questions@FreeBSD.ORG Wed Oct 1 07:03:36 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 68F2316A4B3 for ; Wed, 1 Oct 2003 07:03:36 -0700 (PDT) Received: from smtp012.mail.yahoo.com (smtp012.mail.yahoo.com [216.136.173.32]) by mx1.FreeBSD.org (Postfix) with SMTP id AC15643FE1 for ; Wed, 1 Oct 2003 07:03:35 -0700 (PDT) (envelope-from ecrist@tech-con-inc.com) Received: from c-24-245-12-69.mn.client2.attbi.com (mnslinky@24.245.12.69 with plain) by smtp.mail.vip.sc5.yahoo.com with SMTP; 1 Oct 2003 14:03:35 -0000 From: Eric F Crist Organization: Tech-Con, Inc To: =?iso-8859-2?q?Jaros=B3aw=20Nozderko?= , Date: Wed, 1 Oct 2003 09:03:17 -0500 User-Agent: KMail/1.5.2 References: <2A857CE92C11FE40858689CAEC7BED4906280319@E2K2.corp.plusnet> In-Reply-To: <2A857CE92C11FE40858689CAEC7BED4906280319@E2K2.corp.plusnet> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable Content-Description: clearsigned data Content-Disposition: inline Message-Id: <200310010903.30230.ecrist@tech-con-inc.com> Subject: Re: Sound card X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: ecrist@tech-con-inc.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2003 14:03:36 -0000 =2D----BEGIN PGP SIGNED MESSAGE----- Try doing this in your kernel config file: device pcm it's not an 'option' Eric Crist AdTech Integrated Systems, Inc (952) 403-9000 On Wednesday 01 October 2003 03:35 am, Jaros=B3aw Nozderko wrote: > OS: FreeBSD 5.1-RELEASE > > Hi, > > I have cheap, ISA sound card recognized as OPTi931. It works without > 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 > Handbook, I've tried to use the following entries in > /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: > > /var/run/dmesg.boot: > > pcm0: at port 0xe8d-0xe8f,0x220-0x22f,0x380-0x38b,0x534-0x537 i= rq > 5 drq 1,0 on isa0 > AD_WAIT_INIT FAILED 1002000 0xff > > (Sometimes, depending on options, it may be pcm1 instead of pcm0, but > 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. > > 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 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" =2D----BEGIN PGP SIGNATURE----- Version: 2.6.3ia Charset: noconv iQEVAwUBP3rerphUClck0MTFAQEQDAf7BZVJYiRx63zCVUVY73gY58YRuSaifPI6 LfvhOgIODmnvx7mp1irAvTKxrLOe7/5EXN0OrYPAd8lzWZyWBzGMITZgAdONfrmX IHXaEENjjGIoVohNWQi+aDKTOKmVrgZ9KagBbaSUuokawRg7y15TZsQd1MrpvQ74 P/RLMdhkkJ/mi7NV3D6Fk5PIwQQ2AfZqERzlzl54k/q2gm3xYGQzW0g6mIauuBTa Y+/IOXQC6vV03Vuv52THi/GDOEWTAc/H03Lp5dooTz3GNeau54F0hQmhlziubiWR GHVxjQdqtlff2XlUv/wZy6GE6aKlqFHFKiujv7V8+JKx38+6UNSBLg=3D=3D =3D4GTz =2D----END PGP SIGNATURE-----