* AWE ISA correction + a new question
@ 2003-03-06 14:32 Roberto De Leo
0 siblings, 0 replies; only message in thread
From: Roberto De Leo @ 2003-03-06 14:32 UTC (permalink / raw)
To: alsa-devel
Hi,
the user that had reported a code CTL00e3 told me that he had made a
mistake and that the code was actually CTL00c3, so the problem
disappeared. Sorry about that!
Still, I have a question about the isa cards autodetection.
I first tried the isapnpmodules.c program but for some reason it was
unable to detect anything.
At that point, I wrote the following shell script modifying a similar
script I found for pci modules:
<----------------------------------------------------
##############################################
# Detect & load ISA modules #
##############################################
get_isapnp_modules () {
while read IGNORE ID IGNORE
do
DEVICE="0x"`echo $ID | cut -b6-7``echo $ID | cut -b4-5`
cat /lib/modules/`uname -r`/modules.isapnpmap | awk "{ if (
\$3 ~ /$DEVICE/ ) print \$1 }"
done
}
for MODULE in `get_isapnp_modules < /proc/bus/isapnp/devices | sort -u`
do echo Loading module $MODULE
modprobe $MODULE
done
----------------------------------------------------->
I know the script is not very clean, I far from being an expert :-)
My question is: does this script seem to you good for identifying the
isapnp card modules?
I tried on a PC with a "CTL00e4" ISA AWE card but for some odd reason it
seems not to work on the PC of the user with the "CTL00c3" ISA AWE card.
Incidentally, why the exadecimal pairs identifying the card are switched
in /proc/bus/isapnp/devices and modules.isapnpmap?
Thanks and sorry again for the previous mistake,
Roberto De Leo
-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger
for complex code. Debugging C/C++ programs can leave you feeling lost and
disoriented. TotalView can help you find your way. Available on major UNIX
and Linux platforms. Try it free. www.etnus.com
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-03-06 14:32 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-06 14:32 AWE ISA correction + a new question Roberto De Leo
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.