Date: Sat, 25 Dec 1999 13:07:04 -0800 From: Mike Smith <msmith@freebsd.org> To: Mathew Kanner <mat@cs.mcgill.ca> Cc: Mike Smith <msmith@FreeBSD.ORG>, freebsd-current@FreeBSD.ORG Subject: Re: pcm/sbc and Avance Logic ALS-120 Message-ID: <199912252107.NAA31652@mass.cdrom.com> In-Reply-To: Your message of "Sat, 25 Dec 1999 15:57:42 EST." <19991225155742.A15883@cs.mcgill.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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: <PnP Sound Chip> at port 0x220-0x22f irq 5 drq 1,0 on isa0
> > > > sbc0: <Avance Logic ALS120> at port 0x388-0x38f on isa0
> > > > sbc0: alloc_resource
> > > > device_probe_and_attach: sbc0 attach returned 6
> > > > unknown1: <PnP Sound Chip> at port 0x208-0x20f on isa0
> > > > unknown2: <PnP Sound Chip> 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: <Avance Logic ALS120 -00> at port 0x220-0x22f irq 5 drq 1,0 on\
> > > isa0
> > > sbc0: setting card to irq 5, drq 1, 0
> > > pcm0: <SB DSP 4.02> on sbc0
> > > sbc1: <Avance Logic ALS120 -01> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199912252107.NAA31652>
