Force Sound Blaster mode in antiX?

Posts: 347
Silent Observer
Joined: 08 Aug 2013
#1
I've finally gotten my ca. 1998 laptop (Gateway Solo 2500) dual booting in antiX 13.1 32-bit and Win98. The sound works perfectly in Windows (as it has for as long as I've had the machine), but antiX doesn't detect sound hardware or doesn't load a driver for it. The sound system built into the machine is a NeoMagic MagicWave 3DX, and as far as I've been able to determine, there has never been a Linux driver for this sound hardware, primarily because NeoMagic has never released the specs that would be needed to create one (it also apparently does some bizarre things, like using the top of video memory for the sound buffers). Obviously, there's a perfectly fine Windows 98 (presumably 32-bit) driver available, but though I've read there's a project in work to allow using Wine to access Windows drivers for Linux, I don't know of an estimated availability date or whether that would work on a general basis or be specific to individual software.

On the short term, according to the documentation I've been able to locate, the MagicWave 3DX is supposed to be"compatible" with Sound Blaster 16, at least for game settings (IO ports, DMA, and interrupts), so I'm looking for a way to convince antiX that I have, in fact, a Sound Blaster so ALSA can output sound (that would let me run the machine in antiX 24/7 and avoid concerns with leaving it on the network while in Win98, which is currently used primarily as a sound playback system). How can I force the Sound Blaster driver to load and tell it what specs to use? All the relevant resources on
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://linux-sound.org/drivers.html"
linktext was:"this page"
====================================
are gone (haven't tried Wayback Machine yet, but there's nothing current) -- I don't expect anything from Creative to work, since it'll be all low-level rather than game-level connections. Is there a game-level SB driver around that might work with a range of obscure SB-compatible hardware?

Edit to add: Closer examination of the System Information reveals there are Yamaha components as well as the proprietary NeoMagic drivers -- this may indicate that the NeoMagic hardware (which was the first one-chip implementation, which made it popular for laptops for a short time until other systems came along) integrated an OPL2 or OPL3 layer, and forcing an OPL driver might work -- but I don't know how to do that.
Posts: 630
Eino
Joined: 12 Oct 2012
#2
This is my sound card that I use, and I'm able to access it with Jack to produce MIDI files from it.
The card is much newer than SB 16 tho. Did you try alsa-firmware-drivers? It may have the legacy driver needed.

Code: Select all

Audio:     Card: Creative Labs SB Audigy driver: snd_emu10k1 Sound: ALSA ver: k3.7.10-antix.4-amd64-smp
Posts: 347
Silent Observer
Joined: 08 Aug 2013
#3
From what I've read since posting above, Sound Blaster drivers almost never work on hardware that wasn't made by Creative Labs. __{{emoticon}}__ Further, I don't know how to force antiX to load a driver for hardware that wasn't detected on startup. This is also slightly complicated by the fact I don't yet have a network connection to the laptop (it's been running as a bedside stereo in Win98 for years; a network connection wasn't needed and Internet connectivity positively undesirable due to insecure OS). It's appalling what sixty feet of Cat 5 cable costs these days...

I checked from my other antiX machine (directly beneath my main desktop system) and found an alsa-firmware-loaders package, but it doesn't seem to have anything related to NeoMagic (not surprising).
Posts: 2,238
dolphin_oracle
Joined: 16 Dec 2007
#4
this guy is spoofing his system into using the magicwave 3dx. Its old info, using the 2.4 kernel, but maybe it will lead you down a new path.


========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://ftp.intevation.de/users/bernhard/acer_travelmate722tx_sound.txt"
linktext was:"http://ftp.intevation.de/users/bernhard ... _sound.txt"
====================================
Posts: 347
Silent Observer
Joined: 08 Aug 2013
#5
That looks like a good"proof of life" in terms of getting the MagicWave sound hardware to work in Linux, but it's using OSS, which has been replaced by ALSA, which has been partially supplanted by Pulse. My understanding here is very limited (and I hope I'm wrong, and will find that what he's doing is at a lower level than OSS and ALSA and further is still supported in the antiX 3.7.x kernel), but I don't expect much from something that far out of date.

That said, I'm about to go boot the laptop into antiX and see if the first bits work...

Edit: even if this doesn't work due to the kernel and sound system changes, now I can look for solutions for the Acer Travelmate, which I think is a bit more common than my Gateway Solo 2500.

Further edit: Well, the files referenced in that article don't exist in the antiX installation on my laptop; I can only presume that isa-pnp hardware detection is no longer used and/or that the files and method in that linked article are specific to OSS (which, as far as I'm aware, doesn't exist in antiX, which uses ALSA). I can get a USB sound device on a short cord (so it won't interfere with use of the second USB port on the machine) for about $3 shipped from China, so I'm not going to worry further about trying to get the MagicWave to work in antiX -- the USB unit should detect and"just work" as long as it's plugged when I start the OS.