From owner-freebsd-hackers Wed Nov 6 12:20:17 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA22300 for hackers-outgoing; Wed, 6 Nov 1996 12:20:17 -0800 (PST) Received: from picasso.wcape.school.za (picasso.wcape.school.za [196.21.102.12]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id MAA22288 for ; Wed, 6 Nov 1996 12:20:13 -0800 (PST) Received: by picasso.wcape.school.za via rmail with stdio id for freebsd-hackers@FreeBSD.org; Wed, 6 Nov 1996 22:19:28 +0200 (SAT) (Smail-3.2 1996-Jul-4 #1 built 1996-Oct-15) Received: from leftside.wcape.school.za (localhost [127.0.0.1]) by leftside.wcape.school.za (8.7.5/8.7.3) with SMTP id WAA01041; Wed, 6 Nov 1996 22:02:13 +0200 (SAT) Date: Wed, 6 Nov 1996 22:02:10 +0200 (SAT) From: Peter van Heusden To: Amancio Hasty cc: Michael Smith , freebsd-hackers@FreeBSD.org Subject: Re: Probe failing on SoundBlaster component of Phoneblasterd In-Reply-To: <199611041127.DAA00705@rah.star-gate.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-hackers@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk On Mon, 4 Nov 1996, Amancio Hasty wrote: > His problem most likely is that his card is not configured properly. > > Curious, what does the PnP code in the kernel prints out at boot time? > > Amancio > Hm, this sounds correct, since I looked at my test code again and found a bug. Now the DSP_READ also returns 0xff - i.e. nothing there. The PnP init seems to go fine. Quoting dmesg: Checking for Plug-n-Play devices... Board Vendor ID: CTL3002 Board Serial Number: 00000adb Configuring (Logical Device 0) Configuring (Logical Device 4) Logical Device 0 is the sound card, logical dev. 4 is the modem. (Output from pnpinfo starts with: Checking for Plug-n-Play devices... Trying Read_Port at 203 Card assigned CSN #1 Board Vendor ID: CTL3002 Board Serial Number: 00000adb PnP Version: 1.0 Vendor Version: 16 Device Description: Creative Phone Blaster 28.8 Logical Device ID: CTL0031 (31008c0e) Device Description: Audio Start Dependent Function Good Configuration .... which make me think that Audio (i.e. Soundblaster) is logical dev. 0) Configuration for the logical device 0 in pnp.c reads /* Configuration for the PhoneBlaster PnP Audio */ { 0x00000adb, /* Serial Number */ 0, /* Logical Device Number */ { { 10, -1 }, /* Primary IRQ Number, Type */ { -1, -1 } /* Second IRQ Number, Type */ }, { 1, 5 }, /* DRQ Number */ { 0x220, /* Ports 1 */ 0x330, /* Ports 2 */ 0x388, /* Ports 3 */ -1, /* Ports 4 */ -1, /* Ports 5 */ -1, /* Ports 6 */ -1, /* Ports 7 */ -1, /* Ports 8 */ }, { { -1, -1, -1 }, /* Memory desc0 - base, ctrl, range */ { -1, -1, -1 }, /* Memory desc1 - base, ctrl, range */ { -1, -1, -1 }, /* Memory desc2 - base, ctrl, range */ { -1, -1, -1 } /* Memory desc3 - base, ctrl, range */ } }, Does anyone see a bug with this configuration? I'm going to try and debug the PnP stuff anyway, but if someone can spot a glaring mistake, I'd really appreciate some advice. Thanks, Peter -- Peter van Heusden | Computers Networks Greens Justice Peace Beer Africa pvh@leftside.wcape.school.za pvh@gem.co.za