Date: Wed, 6 Nov 1996 22:02:10 +0200 (SAT) From: Peter van Heusden <pvh@leftside.wcape.school.za> To: Amancio Hasty <hasty@rah.star-gate.com> Cc: Michael Smith <msmith@atrad.adelaide.edu.au>, freebsd-hackers@FreeBSD.org Subject: Re: Probe failing on SoundBlaster component of Phoneblasterd Message-ID: <Pine.BSD.3.91.961106215643.877A-100000@leftside.wcape.school.za> In-Reply-To: <199611041127.DAA00705@rah.star-gate.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSD.3.91.961106215643.877A-100000>
