Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Dec 1997 17:22:24 +0100 (MET)
From:      Luigi Rizzo <luigi@labinfo.iet.unipi.it>
To:        dag-erli@ifi.uio.no (Dag-Erling Coidan Smxrgrav)
Cc:        luigi@iet.unipi.it, hardware@FreeBSD.ORG
Subject:   Re: pnp audio drivers on 2.2.1R
Message-ID:  <199712081622.RAA28871@labinfo.iet.unipi.it>
In-Reply-To: <xzpafebn5xm.fsf@gjallarhorn.ifi.uio.no> from "Dag-Erling Coidan Smxrgrav" at Dec 8, 97 05:41:06 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> I'm having some trouble with the pnp audio drivers. According to the
> README file, 2.2.x systems older than 2.2.5-RELEASE require the
> patches in patches.22x to be applied. However, these patches fail on
> my system (2.2.1-RELEASE). The patch expects /sys/i386/isa/isa.c to

try applying them by hand...

> The README file claims that the pnp audio drivers have been tested on
> 2.2.1 - obviously they have not been tested on a vanilla 2.2.1 system.

obviously -- a vanilla 2.2.1 did not have the pnp/audio driver :)
seriously, all the relevant bits should be in the patches. I cannot
test that they apply cleanly but really minor work should be needed.

In any case I am running 2.2.1 myself.

> config> pnp 1 0 enable os irq0 5 drq0 1 port0 0x220 port1 0x330 port2 0x388
> config> pnp 1 1 enable os drq0 5

second line should be pnp 1 0 enable os drq1 5 (you can put the
"drq1 5" in the first line as well)

> The problems I am experienceing now are DMA timeouts. The audio
> drivers detect the card properly, but playback does not work and
> generates console messages to the tune of "DMA timeout, IRQ/DRQ config
> error?". The card is brand new; I haven't tested it on another

error consistent with the above mistake.

> When I run pnpinfo, it properly reports the settings I have selected,
> although it seems to drop the high byte on the port numbers. I assume
> this is a bug in pnpinfo since 'ls' at the kernel configuration prompt
> reports them properly.

yes, fixed in the pnpinfo version in -current

> By the way, I'd like the pnp driver to report the settings of pnp
> devices which are manually configured (or if possible, of all pnp
> devices detected) instead of just reporting "override config for CSN
> %d LDN %d vend_id 0x%08x". Would that be possible? Yes, I *can* be
> bothered to try and do it myself and submit a patch for it :)

would be easy, if it is not already there booting with -v (in -current).
Basically you should print out something every time write_pnp_info() (or
similar function) is called.

	Cheers
	Luigi



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199712081622.RAA28871>