I installed Linux-Mandrake 7.2 on my HP Pavilion 4540 about
two weeks ago.  I haven't succeeded yet in getting it to
use my Sound Blaster 16 PCI sound card.  I am currently
trying to use pnpdump to get the vendor ID and serial
number from the card.  Using that information, I hope
to manually configure the card using isapnp.

However, it appears that pnpdump will not access the
I/O address used by the card.  Would someone please
tell me what I should do?

I read in an earlier message on this mailing list
that "YOU MUST ALWAYS remove all loaded sound modules
from memory before running sndconfig or any sound
configuration program."  That may be the problem.
Whenever I shut down the system, I see a message
reporting that sound module es1371 is being unloaded.
How can I unload es1371?  Apparently, I don't know
the correct name to use in identifying the module
to rmmod.  When I type command "rmmod es1371", I
receive this error message:

rmmod: module es1371 is not loaded

The output of lsmod is as follows:

Module                  Size  Used by
parport_pc              7568   0  (autoclean)
parport                 7744   0  (autoclean) [parport_pc]
printer                 3968   0  (unused)
ppp                    20976   0  (autoclean) (unused)
slhc                    4544   0  (autoclean) [ppp]
nls_cp437               3952   2  (autoclean)
vfat                    9408   1  (autoclean)
fat                    30432   1  (autoclean) [vfat]
supermount             14224   2  (autoclean)
ide-scsi                7664   0
usb-storage            11568   0  (unused)
usbcore                43632   1  [printer usb-storage]

However, I believe that the es1371 sound module is
loaded because I see this message whenever the
system is shutting down:

Shutting down anacron
Unloading sound module (es1371)

Here is a long list of information that may or may not
be helpful:

My system can boot with either Windows 98 Second Edition
or Linux-Mandrake 7.2.  From Windows 98, I gathered this
information about the card:

Selected Resource Report  - Page: 1

********* SYSTEM DEVICE ***********

Class: Sound, video and game controllers
Device: Suond Blaster AudioPCI
Resources:
  IRQ: 05
  I/O: 1400h-143Fh

pnpdump reports "No boards found" before reaching
address 1400.  Here is the output from typing
command "pnpdump" with no parameters:

# $Id: pnpdump_main.c,v 1.23 2000/04/19 22:49:44 fox Exp $
# Release isapnptools-1.22
#
# This is free software, see the sources for details.
# This software has NO WARRANTY, use at your OWN RISK
#
# For details of the output file format, see isapnp.conf(5)
#
# For latest information and FAQ on isapnp and pnpdump see:
# http://www.roestock.demon.co.uk/isapnptools/
#
# Compiler flags:  -DREALTIME -DNEEDSETSCHEDULER -DABORT_ONRESERR
#
# Trying port address 0273
# Trying port address 027b
# Trying port address 0283
# Trying port address 028b
# Trying port address 0293
# Trying port address 029b
# Trying port address 02a3
# Trying port address 02ab
# Trying port address 02b3
# Trying port address 02bb
# Trying port address 02c3
# Trying port address 02cb
# Trying port address 02d3
# Trying port address 02db
# Trying port address 02e3
# Trying port address 02eb
# Trying port address 02f3
# Trying port address 02fb
# Trying port address 0303
# Trying port address 030b
# Trying port address 0313
# Trying port address 031b
# Trying port address 0323
# Trying port address 032b
# Trying port address 0333
# Trying port address 033b
# Trying port address 0343
# Trying port address 034b
# Trying port address 0353
# Trying port address 035b
# Trying port address 0363
# Trying port address 036b
# Trying port address 0373
# Trying port address 037b
# Trying port address 0383
# Trying port address 038b
# Trying port address 0393
# Trying port address 039b
# Trying port address 03a3
# Trying port address 03ab
# Trying port address 03b3
# Trying port address 03bb
# Trying port address 03e3
# Trying port address 03eb
# Trying port address 03f3
# No boards found

When I tried specifying the I/O address to
pnpdump, here were the results:

# pnpdump 0x1400
Port address 0x1400 (0x1400) out of range 0x203..0x3ff

When I run sndconfig, it reports the following:

Sound Configuration Utility 0.55

PCI Probe Results

A PCI sound card was found in
your system.  The details are:

Model: Ensoniq|CT5880

When sndconfig tries to play a test sound, it
reports the following error:

modprobe error
The following error occurred running the modprobe program:

/lib/modules/2.2.17-21mdk/misc/es1371.o: init_module: Device
or resource busy.
/lib/modules/2.2.17-21mdk/misc/es1371.o: insmod
/lib/modules/2.2.17-21mdk/misc/es1371.o failed
/lib/modules/2.2.17-21mdk/misc/es1371.o: insmod sound-slot-0
failed

I don't think that my BIOS configures pnp cards.
The information about my BIOS is:
PhoenixBIOS 4.06 Release 6.0.C
Core Version 4.06
BIOS Revision 1.09 05/07/99

I could not find any place in the BIOS setup
screens to disable pnp cofiguration.  However,
you can reserve some IRQ levels and I/O ranges
for pnp.  I tried reserving IRQ 5.  Unfortunately,
that did not resolve my problem.  Also, address
hex 1400 was not in any of the address ranges
that were listed.

Some program has found information about my sound
card.  Please see the information about my sound
card which is listed below as Bus 0, device 11,
function 0 in /proc/pci:

PCI devices found:
  Bus  0, device   0, function  0:
    Host bridge: Intel 440BX - 82443BX Host (rev 3).
      Medium devsel.  Master Capable.  Latency=32.
      Prefetchable 32 bit memory at 0xf8000000 [0xf8000008].
  Bus  0, device   1, function  0:
    PCI bridge: Intel 440BX - 82443BX AGP (rev 3).
      Medium devsel.  Master Capable.  Latency=128.  Min Gnt=140.
  Bus  0, device   7, function  0:
    ISA bridge: Intel 82371AB PIIX4 ISA (rev 2).
      Medium devsel.  Fast back-to-back capable.  Master Capable.  No bursts.
  Bus  0, device   7, function  1:
    IDE interface: Intel 82371AB PIIX4 IDE (rev 1).
      Medium devsel.  Fast back-to-back capable.  Master Capable.  Latency=32.
      I/O at 0x1050 [0x1051].
  Bus  0, device   7, function  2:
    USB Controller: Intel 82371AB PIIX4 USB (rev 1).
      Medium devsel.  Fast back-to-back capable.  IRQ 11.  Master Capable. 
Latency=32.
      I/O at 0x1060 [0x1061].
  Bus  0, device   7, function  3:
    Bridge: Intel 82371AB PIIX4 ACPI (rev 2).
      Medium devsel.  Fast back-to-back capable.
  Bus  0, device  10, function  0:
    Ethernet controller: 3Com Unknown device (rev 48).
      Vendor id=10b7. Device id=7646.
      Medium devsel.  Master Capable.  Latency=80.  Min Gnt=10.Max Lat=10.
      I/O at 0x1080 [0x1081].
      Non-prefetchable 32 bit memory at 0xf4000000 [0xf4000000].
  Bus  0, device  11, function  0:
    Multimedia audio controller: Ensoniq Unknown device (rev 2).
      Vendor id=1274. Device id=5880.
      Slow devsel.  Master Capable.  Latency=96.  Min Gnt=12.Max Lat=128.
      I/O at 0x1400 [0x1401].
  Bus  1, device   0, function  0:
    VGA compatible controller: ATI Unknown device (rev 122).
      Vendor id=1002. Device id=4757.
      Medium devsel.  Fast back-to-back capable.  IRQ 10.  Master Capable. 
Latency=66.  Min Gnt=8.
      Non-prefetchable 32 bit memory at 0xf5000000 [0xf5000000].
      I/O at 0x2000 [0x2001].
      Non-prefetchable 32 bit memory at 0xf4100000 [0xf4100000].

Just in case this is part of the problem, I will mention
that isapnp reports that there is a resource conflict.
I placed the following in /etc/isapnp.conf:

(ISOLATE)
(IDENTIFY *)

When I ran isapnp using the command "isapnp /etc/isapnp.conf",
it produced the following output:

Read port 03C3 cannot be allocated - resource conflict (see /proc/ioports)
Read port 03CB cannot be allocated - resource conflict (see /proc/ioports)
Read port 03D3 cannot be allocated - resource conflict (see /proc/ioports)
Read port 03DB cannot be allocated - resource conflict (see /proc/ioports)
Read port 03FB cannot be allocated - resource conflict (see /proc/ioports)
/etc/isapnp.conf:1 -- Fatal - Error occurred executing request 'ISOLATE ' ---
further action aborted

The contents of /proc/ioports is:

0000-001f : dma1
0020-003f : pic1
0040-005f : timer
0060-006f : keyboard
0070-007f : rtc
0080-008f : dma page reg
00a0-00bf : pic2
00c0-00df : dma2
00f0-00ff : fpu
0170-0177 : ide1
01f0-01f7 : ide0
0376-0376 : ide1
0378-037a : parport0
03c0-03df : vga+
03f6-03f6 : ide0
03f8-03ff : serial(auto)
1050-1057 : ide0
1058-105f : ide1

Since the name of one of the ports with a confilict is vga+,
I guess that is for my video card.  Perhaps the conflict
would explain why my Hewlett Packard Pavilion M70 monitor
was not automatically detected.  Also, it would not
produce a clear, flicker-free picture even if I selected
the M70 monitor from the list.  I eventually had to
select a generic monitor from the list.

I don't know how to resolve this resource conflict.
The hardware works well under Windows 98.

Thank you for whatever advice you can offer.

Coy Scott
[EMAIL PROTECTED]


Reply via email to