Date: 08 Dec 1997 17:41:25 +0100 From: dag-erli@ifi.uio.no (Dag-Erling Coidan Smørgrav) To: luigi@iet.unipi.it Cc: hardware@FreeBSD.ORG Subject: pnp audio drivers on 2.2.1R Message-ID: <xzpafebn5xm.fsf@gjallarhorn.ifi.uio.no>
next 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 have the following CVS ID: $Id: isa.c,v 1.74.2.3 1997/10/12 16:07:42 jkh Exp $ which obviously isn't the case on a 2.2.1R system since 2.2.1R came out in march/april (AFAIR) 1997. isa.c on my system has the following ID: $Id: isa.c,v 1.74.2.1 1997/02/13 07:20:42 bde Exp $ 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. Is there a patch for 2.2.1R available somewhere? Upgrading to 2.2.2R is not an option. I have the CD, but I don't have the possibility to do a full backup, without which I don't want to attempt an upgrade. Alternatively, I can manage without the pnp audio drivers if I can make my SB16 PnP work by configuring it manually. I tried the following: config> pnp 1 0 enable os irq0 5 drq0 1 port0 0x220 port1 0x330 port2 0x388 config> pnp 1 1 enable os drq0 5 which should set the SB16 to IRQ 5, DRQ 1 and 5 (based mostly on guesswork and pnpinfo) My kernel is configured to find an SB16 card at port 0x220, IRQ 5, low DRQ 1, high DRQ 5. It has worked properly with these settings with an SB32 earlier; at that time I used a DOS utility to configure the card. 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 machine or OS, though I assume that it works. 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. 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 :) -- * Finrod (INTJ) * Unix weenie * dag-erli@ifi.uio.no * cellular +47-92835919 * RFC1123: "Be liberal in what you accept, and conservative in what you send" # unzip ; strip ; touch ; finger ; mount ; fsck ; more ; yes ; umount ; sleep
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzpafebn5xm.fsf>