The CT4520 is a SoundBlaster AWE64 value (100% PnP, no jumpers).
Apparently, enum-pnpisa though it finds your card, does not
find its settings. I will have to look into this, but in the
mean time there are a couple of things you can try.
Note: the following only works for SoundBlaster cards.
Even though it is PnP, it should have a default setting. Try
the following commands one at a time and see if you can determine
which one is the default. One of the simplest ways to do this
is to ‘ls /dev/snd’ after each command. When the ‘ls’ returns
a directory listing; stop.
deva-sb -p220 -i5 -d1,5 &
deva-sb -p240 -i5 -d1,5 &
deva-sb -p260 -i5 -d1,5 &
deva-sb -p280 -i5 -d1,5 &
That should get you the correct i/o port (220, 240, 260 or 280)
but probably won’t get you the correct irq (2, 5, 7, 10) or
dma ((0, 1, 3), (5, 6, 7)) To get that there is another test.
Make sure that your speakers are connected, powered on and turned up
so that you should be able to hear them. Run ‘mixer &’ and turn up the
Master and PCM volumes.
Use a .wav player (ex. phplay) to play the /usr/share/audio/QNX_RTP.wav
Did you hear any sound?
No: Your 16-bit DMA Channel is probably wrong. In the -d option, try
changing the ‘5’ for a ‘6’ or ‘7’ and try again.
Did you hear sound but it only played for a short time then cut
off suddenly? (you may need a longer file, try playing an .mp3 file)
Yes: You probably have the wrong irq. In the -i option, try changing
the ‘5’ for a ‘2’, ‘7’ or ‘10’ and try again.
As an exercise for the reader (^_^) there is one more thing that you
can check. You may find that some files do not play on your soundcard.
That is because in this sequence we only verified the 16-bit DMA channel.
We did not verify the 8-bit DMA channel (the ‘1’ in ‘-d1,5’) To do this,
you use exactly the same technique as for the 16-bit channel, but the
options are ‘0’, ‘1’ or ‘3’.
I will try and find a similar card to yours and see about fixing
enum-pnpisa. Thanks for pointing out the issue and good luck.
lenins <email@example.com> wrote:
Here’s the o/p of enum-pnpisa
#1622051 PNPBIOS version=1.00
#1622051 PNPISA revision=1 num=1 ioport=20b
D1622051 bus=isapnp devid=CTL00E4 card=1 sernum=178675319
The card box says CT4520. Must be that.