Date: Thu, 2 Oct 2003 09:48:01 +0200 From: =?iso-8859-2?Q?Jaros=B3aw_Nozderko?= <jaroslaw.nozderko@polkomtel.com.pl> To: <ecrist@tech-con-inc.com>, <freebsd-questions@freebsd.org> Subject: RE: Sound card Message-ID: <2A857CE92C11FE40858689CAEC7BED4906280811@E2K2.corp.plusnet>
next in thread | raw e-mail | index | archive | help
Hi Eric, I'm so tired recently that I've made this typo=20 writing the posting. It's "device", of course,=20 not "options", my kernel config is OK.=20 Following the advice found in the list archive,=20 I tried to manually load snd_driver.ko using kldload - snd_driver.ko loaded snd_maestro3.ko. I put this command in loader.conf, but nothing changed. Then, as someone suggested here, I tried to rebuild kernel with neither pcm nor sbc and loading driver manually - it didn't help.=20 Again - "device pcm" in kernel config, snd_maestro3_load=3D"YES" in loader.conf and the result is: [jarek@skorpion jarek] kldstat Id Refs Address Size Name 1 15 0xc0100000 614554 kernel 2 1 0xc0715000 8404 snd_maestro3.ko 3 1 0xc071e000 7e40 mac_biba.ko 4 1 0xc0726000 503c mac_bsdextended.ko 5 1 0xc072c000 7d1c mac_mls.ko 6 1 0xc0734000 4a30c acpi.ko 7 1 0xc43aa000 18000 linux.ko dmesg: Preloaded elf module "/boot/kernel/snd_maestro3.ko" at=20 0xc07801f4. 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 Every time I got this error and no sound... I realize this=20 is probably something obvious... Regards, Jarek =20 > -----Original Message----- > From: Eric F Crist [mailto:ecrist@tech-con-inc.com] > Sent: Wednesday, October 01, 2003 4:03 PM > To: Jaros=B3aw Nozderko; freebsd-questions@freebsd.org > Subject: Re: Sound card >=20 >=20 > -----BEGIN PGP SIGNED MESSAGE----- >=20 > Try doing this in your kernel config file: >=20 > device pcm >=20 > it's not an 'option' >=20 > Eric Crist > AdTech Integrated Systems, Inc > (952) 403-9000 >=20 > 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=20 > 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: <OPTi931> at port=20 > 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=20 > pcm0, but > > error is the same). > > > > When I use pcm options only, I got warning on KDE startup=20 > "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=20 > in device.hints ? > > > > Frankly speaking, I'm not an expert in sound cards, so=20 > 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" >=20 > -----BEGIN PGP SIGNATURE----- > Version: 2.6.3ia > Charset: noconv >=20 > iQEVAwUBP3rerphUClck0MTFAQEQDAf7BZVJYiRx63zCVUVY73gY58YRuSaifPI6 > LfvhOgIODmnvx7mp1irAvTKxrLOe7/5EXN0OrYPAd8lzWZyWBzGMITZgAdONfrmX > IHXaEENjjGIoVohNWQi+aDKTOKmVrgZ9KagBbaSUuokawRg7y15TZsQd1MrpvQ74 > P/RLMdhkkJ/mi7NV3D6Fk5PIwQQ2AfZqERzlzl54k/q2gm3xYGQzW0g6mIauuBTa > Y+/IOXQC6vV03Vuv52THi/GDOEWTAc/H03Lp5dooTz3GNeau54F0hQmhlziubiWR > GHVxjQdqtlff2XlUv/wZy6GE6aKlqFHFKiujv7V8+JKx38+6UNSBLg=3D=3D > =3D4GTz > -----END PGP SIGNATURE----- >=20 >=20
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2A857CE92C11FE40858689CAEC7BED4906280811>