Audiotrix Pro support as a module

Pierre Phaneuf (pphaneuf@sx.nec.com)
Wed, 15 Apr 1998 15:16:54 -0400


I am now running 2.1.94 (without any sound support) and trying to
compile 2.1.96 with Audiotrix Pro support as a module.

I'd *really* like to get this going, and I am ready to help out testing
and bugfixing this thing, as there doesn't seem to be many Audiotrix
users out there (too bad, it's a cool sound card).

For the record, my setup is the following:

- Lightly customized Red Hat 5.0 distribution
- i486DX4/100 on a Gigabyte board (the spooky ones with both VLB and
PCI)
- S3 Trio64V+ video chipset (noname card)
- 16 megs RAM, 32 megs swap
- Mediatrix Audiotrix Pro sound card (of course!)
- Magitronic NE2000 clone (cheap, but works, not PnP)
- CMD640 PCI IDE controller ("buggy cmd640b")
- 1.6 gig IDE drive
- CD-ROM 6x, IDE ATAPI
- 102-key keyboard
- Logitech 3-button serial mouse

Here's what I have up to now. I use 'make menuconfig' to configure all
that stuff. I started with almost everything static (no modules) except
for net/dummy.o. I have CONFIG_SOUND and CONFIG_TRIX configured as
modules.

A 'make dep && make clean && make bzImage && make modules && make
modules_install' later, I do a 'depmod -a 2.1.96 -e' to check out if
everything is all right. Of course, it's not. Unresolved symbols related
to sb, ad1848 and uart401.

So I add CONFIG_SB and CONFIG_PSS (for the AD1848 stuff), but can't find
anything about the uart401. By looking at the scripts, I gather they're
supposed to add themselves automatically (from line 102 to 118 of
drivers/sound/Defines).

'make modules && make modules_install' and depmod still complains about
the AD1848 (so it wasn't fixed by CONFIG_PSS) and sound.o complains
about a few MPU401 things, still everything about the UART401. I check
into drivers/sound/Defines again and see that both CONFIG_AD1848 and
CONFIG_UART401 should be enabled by choosing CONFIG_TRIX.

I'm not extremely familiar with the way the Makefiles and the
configuration scripts all interact to build some part or not. If that
Defines file is used, why isn't it working? If it isn't used, where
should I look? Or should Defines be tweaked so that it is more specific
about modules?

-- 
Pierre Phaneuf <pphaneuf@sx.nec.com>, HNSX Supercomputers Inc.

And the Answer is... 42. -- Deep Thought

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu