From: Rene Herman <rene.herman@gmail.com>
To: Rask Ingemann Lambertsen <rask@sygehus.dk>
Cc: Takashi Iwai <tiwai@suse.de>,
ALSA devel <alsa-devel@lists.sourceforge.net>
Subject: Re: isa_bus: sb8
Date: Sun, 18 Mar 2007 00:28:34 +0100 [thread overview]
Message-ID: <45FC79A2.6080807@gmail.com> (raw)
In-Reply-To: <20070317195829.GA6455@sygehus.dk>
On 03/17/2007 08:58 PM, Rask Ingemann Lambertsen wrote:
> On Tue, Feb 27, 2007 at 10:30:29PM +0100, Rene Herman wrote:
>> 1. sb8 only probed for it's port, and then failed the load with
>> "can't grab irq 65535". This does away with the port autoprobe as
>> well; if you insist, I can add back irq and dma autoprobe instead
>> as well.
>
> I have an Aztech Sound Galaxy NX Pro which means EEPROM instead of
> jumpers for port, irq and dma configuration. Autoprobe would be nice
> for irq and dma because I only know that the port is 0x220.
The unfortunate thing is that autoprobe on ISA is a quite horribly bad
idea...
On a PCI/ISA system you need to know the IRQ and DMA channel(s) the card
is using _anyway_ since you need to tell the BIOS to not hand those out
to PCI or ISA-PnP cards (or, in the case of IRQs, even tell it to make
that IRQ available to ISA).
Having the driver promise to figure things out for you automatically to
then only have it fail anyway since you didn't reserve the resources in
the BIOS (something it's not going to be able to provide you with a good
diagnostic for) stinks. You stand a much better chance of figuring out
what you did wrong if you actually have to spell it out.
ISA only systems don't have the BIOS setup problem but then we're
talking 386/486 systems and the number of those in active use which
aren't operated by the type of PC archeologist who'd be actively
insulted if someone implies they shouldn't specify it all manually
(that's me) makes for a heck of an excuse to also delete the port
autoprobe to avoid the other and main problem with ISA autoprobing;
poking around a non-discoverable bus willy-nilly can have certain bad
consequences. Most famously, locking up a NE2000 NIC by touching its
ports...
Now, in actual practice, port autoprobing doesn't in fact cause all that
much trouble so even if it might conceptually be wrong, it's also a bit
of an "oh well" kind of situation. The sb8 driver indeed does not probe
for IRQ and DMA (perhaps due the above considerations, I don't know) and
the patch you replied to removed the port probe mainly due to
consistency. Ie, specify nothing or specify it all, but let's not have
some per-driver random ruleset.
(the old OSS driver also needs io= passed in, by the way).
I need to fast forward my attempts to alsa-current but things are being
annoying again and I'm not finding the time. I'll try and gather Iwai's
input on my next submission for SB8. I also still need to figure out if
it's expected that all my "DSP 2.1" SB8 cards can't set their volumes to
anything other than max. I do seem to have snd-sgalaxy working...
But thanks for the comment. I believe I'm seeing that doing IRQ and DMA
autoprobe would actually be really messy (and there's that BIOS setup
thing) but the reply is logged...
By the way -- are you in fact using a SG NX Pro? Not a SG NX Pro 16 or
some other 16-bit SG? The NX Pro should have an FCCID of I38-MMSD802. If
you are in fact using a 16-bit SG the card's better of being used in
it's native WSS mode, though snd-sgalaxy.
>> However, when I tried driving an SB16 with the SB8 driver, it
>> didn't actually work. Would you happen to know/remember if this is
>> expected? Or is it a "bug"?
>
> IIRC, the SB16 is not SBPro compatible. Look at the Sound Blaster
> Hardware Programming Guide.
I haven't looked closely at the guts of the driver itself yet but as far
as I'm aware, it _should_ work. The SB16 could certainly run all those
DOS games that were programmed against an SB8 fine.
Rene.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
next prev parent reply other threads:[~2007-03-17 23:28 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-27 21:30 isa_bus: sb8 Rene Herman
2007-03-17 19:58 ` Rask Ingemann Lambertsen
2007-03-17 23:28 ` Rene Herman [this message]
2007-03-18 0:56 ` Rask Ingemann Lambertsen
2007-03-18 21:28 ` Rene Herman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=45FC79A2.6080807@gmail.com \
--to=rene.herman@gmail.com \
--cc=alsa-devel@lists.sourceforge.net \
--cc=rask@sygehus.dk \
--cc=tiwai@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.