opti 82C929A works with OSS Re: [BL] Re: Interrupts and isapnp
sindi keesan
keesan at sdf.lonestar.org
Mon Jun 13 20:24:11 EDT 2005
On Mon, 13 Jun 2005, David Moberg wrote:
> ----- Original Message -----
> From: "sindi keesan" <keesan at sdf.lonestar.org>
>
>> I then tried again with insmod mad16, same settings.
>> This time the mad16 was listed in /proc/interrupts and I could play
>> with sox and mpg123.
>>
>> I did a rmmod and ran my script again, with the same results as
>> the first time I ran my script - error messages instead of sound,
>> no mad16 in /proc/interrupts. If I then insmodded mad16 on a
>> separate line CLI it worked again.
>>
>> I did not have this problem with the Opti931 or at least I don't
>> recall having it if I ran the script (where irq=5).
>>
>> Why does insmod mad16 NOT work in a script?
>
> ad1848 isn't blocking the insmods properly. So it's not ready
> for mad16 to be insmodded until afterward.
How would I automate this, perhaps by putting all the insmods in rc except
for the mad16 itself? I am about to set up a Basiclinux computer for the
high-school-age son of a friend who views it as a big upgrade from Redhat
6.2 (which he figured out how to get to boot into CLI). The opti929 card
has a nice volume dial and a speaker/line jumper so he can use headphones
until he gets speakers with volume controls. He likes to listen to MIDI
files - my next challenge (non-AWE midi). He is willing to switch over
completely as long as he can use the programs he compiled for Redhat 6.2 -
is that the same library as BL3? I was going to put on both 2 and 3, with
chroot scripts. He is interested in the games, and Abiword, and sc (which
he compiled for Redhat), and RPM (I told him rpm2tgz would help) and
Gnumeric - does that require GNOME? He also wants a parport zip drive so
I might copy him over the zip drive BL3 as well.
>
>> Should I be putting in
>> some sort of pause like I had to do for a script with plip, which
>> also worked CLI but not via script otherwise?
>
> You could try that, but it may fail if you don't wait the proper
> amount of time.
>
> What I would do:
>
> insmod up to and including mad16
> until (echo >/dev/dsp); do rmmod mad16; insmod mad16 (mad16 parameters go here); done
That is essentially what I have had to do to get this to work.
But if I separate the steps - all but mad16 in rc, and the mad16 line when
needed, will that also work? insmod mad16 could be in a script called
'sound'.
> This loops until something is successfully written to /dev/dsp.
> This will not work if you need to wait a certain amount of time
> between insmod attempts. You will need to add sleep if that is
> the case.
>
>> And why did pnpdump not check the card for higher io addresses?
>
> No idea here. It may not be capable of doing that.
Silly program then, since a lot of sound cards seem to use io=0x530 or 534
in WSS mode.
>
>> I have not found reference to ANYONE getting the 929 to work in
>> OSS. ALSA has a separate 929 module. I have it working with the
>> same mad16 module as the 930 and 931.
>
> Absence of evidence is not evidence of absence. It may be rare
> enough that no one has tried it with mad16 and reported.
Why does ALSA not work with the same module for 929 and 931?
I have five 929s and had two more so they must be common.
>> Why do the ES and ALS cards work as sb in linux but not in DOS, and
>> the Opti works in DOS to play midi but not wav files? Is this a
>> case of partial SBPro emulation and they only cared about midi
>> files because games use those?
>
> MIDI files are a completely different kettle of fish. The SBPro
> emulation may be suspect, as you suggest.
I have to get midi working in linux without AWE now. At least I have two
types of card to experiment on.
>> One Reveal card won't even fit into my computer because it is so
>> long it hits either a capacitor or the CPU fan. The Acers are
>> shorter tho they have only 2 not 4 CD-ROM connectors. The Reveal
>> may be larger because they were kind enough to clearly print out
>> jumper settings in a blank spot. This card may not actually be
>> opti 929 - ungluing the reveal sticker revealed a blank chip
>> underneath and the io settings are 220 or 240 with nothing about
>> 534. Crystal CS4248 whereas the others are CS 4231. Someone
>> posted a 4248 driver for Windows.
>
> It is probably compatible. The Crystal chips do emulation of
> various standard cards.
Are the BL3 games statically compiled (will they work in BL2?).
> David
>
> --
> _______________________________________________
> NEW! Lycos Dating Search. The only place to search multiple dating sites at once.
> http://datingsearch.lycos.com
>
> _______________________________________________
> BasLinux mailing list
> BasLinux at lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/baslinux
>
>
keesan at sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org
More information about the BasLinux
mailing list