From owner-freebsd-current Sat Dec 25 13: 2:45 1999 Delivered-To: freebsd-current@freebsd.org Received: from mass.cdrom.com (castles540.castles.com [208.214.165.104]) by hub.freebsd.org (Postfix) with ESMTP id B69AF14C40; Sat, 25 Dec 1999 13:02:42 -0800 (PST) (envelope-from msmith@mass.cdrom.com) Received: from mass.cdrom.com (localhost [127.0.0.1]) by mass.cdrom.com (8.9.3/8.9.3) with ESMTP id NAA31652; Sat, 25 Dec 1999 13:07:04 -0800 (PST) (envelope-from msmith@mass.cdrom.com) Message-Id: <199912252107.NAA31652@mass.cdrom.com> X-Mailer: exmh version 2.1.1 10/15/1999 To: Mathew Kanner Cc: Mike Smith , freebsd-current@FreeBSD.ORG Subject: Re: pcm/sbc and Avance Logic ALS-120 In-reply-to: Your message of "Sat, 25 Dec 1999 15:57:42 EST." <19991225155742.A15883@cs.mcgill.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 25 Dec 1999 13:07:04 -0800 From: Mike Smith Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > On Dec 24, Mike Smith wrote: > > > On Dec 24, patrick@whetstonelogic.com wrote: > > > > On -CURRENT: Fri Dec 24 08:38:50 EST 1999, > > > > I'm getting the following when I enabled pcm and sbc in the kernel: > > > > > > > > unknown0: at port 0x220-0x22f irq 5 drq 1,0 on isa0 > > > > sbc0: at port 0x388-0x38f on isa0 > > > > sbc0: alloc_resource > > > > device_probe_and_attach: sbc0 attach returned 6 > > > > unknown1: at port 0x208-0x20f on isa0 > > > > unknown2: at port 0x330-0x331 irq 9 on isa0 > > > > > > I changed sys/dev/sound/isa/sbc.c to > > > {0x01200000, "Avance Logic ALS120 -00"}, > > > {0x01200001, "Avance Logic ALS120 -01"}, > > > and got > > > sbc0: at port 0x220-0x22f irq 5 drq 1,0 on\ > > > isa0 > > > sbc0: setting card to irq 5, drq 1, 0 > > > pcm0: on sbc0 > > > sbc1: at port 0x388-0x38f on isa0 > > > sbc1: alloc_resource > > > device_probe_and_attach: sbc1 attach returned 6 > > > > That was silly. The -00 device is a soundblaster, but the -01 device > > certainly isn't. 8) > > Sorry, I don't follow. Is leaving the -01 device in there > silly? I just assumed that it for something in the first place. (Not > my card, somebody elses) It's definitely silly, since it's not a soundblaster and trying to attach the soundblaster driver to it is pointless (and may be harmful). -- \\ Give a man a fish, and you feed him for a day. \\ Mike Smith \\ Tell him he should learn how to fish himself, \\ msmith@freebsd.org \\ and he'll hate you for a lifetime. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message