Date: Wed, 1 Oct 2003 10:35:08 +0200 From: =?iso-8859-2?Q?Jaros=B3aw_Nozderko?= <jaroslaw.nozderko@polkomtel.com.pl> To: <freebsd-questions@freebsd.org> Subject: Sound card Message-ID: <2A857CE92C11FE40858689CAEC7BED4906280319@E2K2.corp.plusnet>
next in thread | raw e-mail | index | archive | help
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=0x530 irq=5 dma=0 dma16=0 mpu_io=0x300 mpu_irq=7 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="isa" hint.sbc.0.port="0x530" hint.sbc.0.irq="5" hint.sbc.0.drq="0" or: hint.pcm.0.at="isa" hint.pcm.0.irq="5" hint.pcm.0.drq="0" hint.pcm.0.flags="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: <OPTi931> at port 0xe8d-0xe8f,0x220-0x22f,0x380-0x38b,0x534-0x537 irq 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2A857CE92C11FE40858689CAEC7BED4906280319>
