QNX RTOS v4 Knowledge Base
QNX RTOS v4 Knowledge Base
Title |
Configuring a Plug and Play Sound Card |
Ref. No. |
QNX.000009284 |
Category(ies) |
Configuration, Audio |
Issue |
We are having a problem configuring some SoundBlaster PNP sound cards (standard SB 16 card). When I boot in Win98 I get IRQ 5 p220 DMA 1 and 5. When I boot in QNX I get (with a autodetect program we wrote) IRQ 3 p 220 and DMA 1 and 1. Win98 does not seem to save the settings to the card?
We have played with the BIOS settings to get it to set up the card but the best we can do is with the BIOS setting PNP OS = FALSE, I can make the DMA channel shift by setting them to LEGACY ISA, however the DMA8 and DMA16 both shift together, ie. 1 and 1 or 3 and 3.
Is there a recommended way to setup these PNP cards for QNX?
|
Solution |
There is an archive of a set of utilities called isapnp.tgz on our Contributed software section in the path /usr/free/qnx4/os/utils/misc/ that will help you set up PNP devices.
There are two utilities that work in conjunction to setup your PNP devices. (Note: both must be run as root) 1. pnpdump x09'pnpdump > pnp.cfg' will detect all of the ISA PNP devices on your machine and create a template configuration file named pnp.cfg (The filenamex09is arbitrary) 2. edit pnp.cfg x09You must uncomment (remove the leading # from) the lines that represent the configuration that you want. Don't forget to uncomment the (ACT Y) line from the end of the block. I have included an example from one of my cards at the end of this posting. Note that you don't have to configure everything if you don't want to. (I don't configure the Joystick in my example)
3. isapnp x09'isapnp pnp.cfg' will configure your devices to the settings that you have chosen. It should output a checksum for each card on successfullx09completion. You must execute this command everytimex09that you reboot from a cold machine before runningx09Audio. Putting it in your sysinit.node file before Audio is the usual solution. |
|