[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sound card trouble



> I'm having trouble configuring a sound card for use with openbsd 2.4 on an
> i386.
> This is the dmesg output:
> 
> isapnp0 at isa0 port 0x279: read port 0x203
> isapnp0: <OPTi Audio 16, OPTFFFF, , AUX0> not configured
> isapnp0: <OPTi Audio 16, OPT9310, , OPTi Audio 16> port
> 0x534/4,0x380/12,0x220/16,0xe0c/4 irq 5 drq 0,0 not configured
> isapnp0: <OPTi Audio 16, OPT0001, , Game Port> port 0x200/1 not configured
> isapnp0: <OPTi Audio 16, OPT0002, , MPU401> port 0x320/2 irq 5 not
> configured
> 
> The card is a digital research generic 16 bit soundblaster and wss clone.

Get the following file:

	src/sys/dev/isa/pnpdevs

Then
	cd /usr/src/sys/dev/isa
	make

Then build your kernel from scratch.

The above mentioned file is a database that provides mappings between
PNP identifiers and the matching device driver.  For most devices, this
works trivially since the devices can define TWO identifiers, for instance:

joy1 at isapnp0 <Creative SB AWE64 Gold, CTL7002, PNPB02F, Game> port 0x200/8

Note PNPB02F matches all joysticks, but yours.

> isapnp0: <OPTi Audio 16, OPT0001, , Game Port> port 0x200/1 not configured

Doesn't.  It only has the single identifiers.  Does OPTI really want us to
believe that their joystick port is different?  I don't think so.

The same applies to the other devices you describe.