Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Jan 1998 06:10:23 -0800 (PST)
From:      Donald Burr <dburr@POBoxes.com>
To:        luigi@iet.unipi.it, FreeBSD Questions <freebsd-questions@freebsd.org>, FreeBSD Hardware <freebsd-hardware@freebsd.org>
Subject:   Avance Logic PnP soundcard under FreeBSD - Help
Message-ID:  <XFMail.980113160722.dburr@POBoxes.com>

next in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----

I just got a new sound card.  It is supposedly a SoundBlaster
16-compatible 16-bit sound card.  It is Plug and Play. (or should I say
"Plug and Pray"? :-( )

It is labeled on the box as a "ASound PLUS" soundcard.  It appears to be
based on the Avance Logic chipset (is it is either the ALS0110, the
ALS100+, or ALS120, I can't tell which).

Anyway, after a bit of fiddling around, I managed to get the Luigi's new
PnP and sound drivers hacked into my (2.2.5-R) kernel.  (yes, I did
download the latest version of this stuff off of his web site.)  The sound
card works -- I can 'cat' an au file to /dev/audio, and it plays. 
However, while a sound is playing, I get tons of these messages spit out
to the console: (and if the sound is a particularly long one, it is sounds
very choppy and broken up...)

WARNING: rdintr but read DMA inactive!

I have no clue whatsoever as to what's going on here.

One weird thing about this card is that it supposedly has two DMA channels,
because it (supposedly) is a full-duplex sound card.  Does this have
anything to do with it?

Any ideas what's going on?  I'd like to get this working.  Please respond
by e-mail to <dburr@POBoxes.com>.

Many thanks in advance!

PS: for future information, where are questions of this nature best to be
posted in?  -hardware, or -questions?  I wasn't sure which, since this is a
_question_, but it has to do with a particular piece of _hardware_, so I
cross-posted.  If this has caused any upset, please accept my apologies.

Information on my system:
Pentium 133 (motherboard based on VIA 580VPX chipset)
BIOS is Award v4.51pg, with Plug and Play support
32 MB EDO RAM
Other hardware:
DTC 3130B SCSI controller (uses NCR53c815 chipset)
Creative labs Video Blaster MA202 video card (based on Cirrus CL-GD5446)
US Robotics Sportster 56K internal fax/modem
RealTek 8029 ethernet card (Ne2000 compatible, PCI)

Here is the declaration in my config file:
==========================================
controller      pnp0                    # Plug and Play support
device pcm0 at isa? port? conflicts tty irq 5 conflicts drq 1 flags 0x13
vector pcmintr                                        # PnP sound card

Here is the boot messages (dmesg):
==================================
Copyright (c) 1992-1997 FreeBSD Inc.
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California.  All rights reserved.

FreeBSD 2.2.5-RELEASE #0: Tue Jan 13 05:44:03 PST 1998
    root@control.colossus.dyn.ml.org:/usr/src/sys/compile/CONTROL
CPU: Pentium (133.64-MHz 586-class CPU)
  Origin = "GenuineIntel"  Id = 0x52c  Stepping=12
  Features=0x1bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8>
real memory  = 33554432 (32768K bytes)
avail memory = 30171136 (29464K bytes)
Probing for devices on PCI bus 0:
chip0 <generic PCI bridge (vendor=1106 device=0585 subclass=0)> rev 35 on
pci0:0
chip1 <generic PCI bridge (vendor=1106 device=0586 subclass=1)> rev 37 on
pci0:7:0
pci0:7:1: VIA Technologies, device=0x0571, class=storage (ide) [no driver
assigned]
vga0 <VGA-compatible display device> rev 0 on pci0:8
ncr0 <ncr 53c815 fast10 scsi> rev 4 int a irq 11 on pci0:9
ncr0 waiting for scsi devices to settle
(ncr0:0:0): "CONNER CP3500-540MB-3.5 3231" type 0 fixed SCSI 2
sd0(ncr0:0:0): Direct-Access 
sd0(ncr0:0:0): 5.0 MB/s (200 ns, offset 8)
518MB (1062516 512 byte sectors)
sd0(ncr0:0:0): with 1807 cyls, 12 heads, and an average 49 sectors/track
(ncr0:1:0): "NEC CD-ROM DRIVE:462 1.16" type 5 removable SCSI 2
cd0(ncr0:1:0): CD-ROM 
cd0(ncr0:1:0): 10.0 MB/s (100 ns, offset 8)
cd present [19913 x 2048 byte records]
(ncr0:2:0): "iomega jaz 1GB H.72" type 0 removable SCSI 2
sd1(ncr0:2:0): Direct-Access 
sd1(ncr0:2:0): 10.0 MB/s (100 ns, offset 8)

sd1(ncr0:2:0): ILLEGAL REQUEST asc:24,0 Invalid field in CDB
sd1 could not mode sense (4). Using ficticious geometry
1021MB (2091050 512 byte sectors)
sd1(ncr0:2:0): with 1021 cyls, 64 heads, and an average 32 sectors/track
ed0 <NE2000 PCI Ethernet (RealTek 8029)> rev 0 int a irq 10 on pci0:10
ed0: address 00:00:b4:5a:4e:71, type NE2000 (16 bit) 
Probing for PnP devices:
CSN 1 Vendor ID: ALS0110 [0x10019305] Serial 0xffffffff
Probing for devices on the ISA bus:
sc0 at 0x60-0x6f irq 1 on motherboard
sc0: VGA color <12 virtual consoles, flags=0x0>
lpt0 at 0x378-0x37f irq 7 on isa
lpt0: Interrupt-driven port
lp0: TCP/IP capable interface
psm0 at 0x60-0x64 irq 12 on motherboard
psm0: device ID 0
sio0 at 0x3f8-0x3ff irq 4 on isa
sio0: type 16550A
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16550A
pca0 on motherboard
pca0: PC speaker audio driver
mss_probe: no address supplied, try default 0x530
sb_probe: no address supplied, try defaults (0x220,0x240)
pcm0 at 0x220 irq 5 drq 1 flags 0x13 on isa
wdc0 at 0x1f0-0x1f7 irq 14 flags 0x80ff80ff on isa
wdc0: unit 0 (wd0): <ST51080A>, 32-bit, multi-block-32
wd0: 1033MB (2116800 sectors), 2100 cyls, 16 heads, 63 S/T, 512 B/S
wdc1 at 0x170-0x177 irq 15 flags 0x80ff80ff on isa
wdc1: unit 0 (wd2): <Maxtor 7245 AT>, 32-bit, multi-block-32
wd2: 234MB (479632 sectors), 967 cyls, 16 heads, 31 S/T, 512 B/S
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1.44MB 3.5in
npx0 on motherboard
npx0: INT 16 interface
sctarg0(noadapter::): Processor Target 
ccd0-3: Concatenated disk drivers

And here is the output of pnpinfo on this card:
===============================================
Checking for Plug-n-Play devices...

Card assigned CSN #1
Vendor ID ALS0110 (0x10019305), Serial Number 0xffffffff
PnP Version 1.0, Vendor Version 0
Device Description: PnP Sound Chip

Logical Device ID: @@@1001 0x01100000 #0
        Device supports I/O Range Check
TAG Start DF
Good Configuration
    I/O Range 0x220 .. 0x220, alignment 0x10, len 0x10
        [16-bit addr]
    IRQ: 5  - only one type (true/edge)
    DMA: channel(s) 1
        8-bit, not a bus master, count by byte, , Type F
    DMA: channel(s) 0 3
        8-bit, not a bus master, count by byte, , Type F
TAG Start DF
Acceptable Configuration
    I/O Range 0x220 .. 0x280, alignment 0x20, len 0x10
        [16-bit addr]
    IRQ: 5 7 9 10 11  - only one type (true/edge)
    DMA: channel(s) 0 1 3
        8-bit, not a bus master, count by byte, , Type F
    DMA: channel(s) 0 1 3
        8-bit, not a bus master, count by byte, , Type F
TAG Start DF
Sub-optimal Configuration
    I/O Range 0x100 .. 0x3f0, alignment 0x10, len 0x10
        [16-bit addr]
    IRQ: 5 7 9 10 11  - only one type (true/edge)
    DMA: channel(s) 0 1 3
        8-bit, not a bus master, count by byte, , Type F
TAG End DF

Logical Device ID: @H@1001 0x01100001 #1
        Device supports I/O Range Check
    I/O Range 0x388 .. 0x388, alignment 0x8, len 0x8
        [16-bit addr]

Logical Device ID: @P@1001 0x01100002 #2
        Device supports I/O Range Check
    I/O Range 0x200 .. 0x200, alignment 0x8, len 0x8
        [16-bit addr]

Logical Device ID: @X@1001 0x01100003 #3
        Device supports I/O Range Check
TAG Start DF
Good Configuration
    I/O Range 0x330 .. 0x330, alignment 0x2, len 0x2
        [16-bit addr]
    IRQ: 9  - only one type (true/edge)
TAG Start DF
Acceptable Configuration
    I/O Range 0x100 .. 0x3f0, alignment 0x10, len 0x2
        [16-bit addr]
    IRQ: 5 7 9 10 11  - only one type (true/edge)
TAG End DF
End Tag

Successfully got 30 resources, 4 logical fdevs
- -- card select # 0x0001

CSN ALS0110 (0x10019305), Serial Number 0xffffffff

Logical device #0
IO:  0x0020 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
IRQ 5 0
DMA 1 3
IO range check 0x00 activate 0x01

Logical device #1
IO:  0x0088 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
IRQ 0 0
DMA 4 4
IO range check 0x00 activate 0x01

Logical device #2
IO:  0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
IRQ 0 0
DMA 4 4
IO range check 0x00 activate 0x01

Logical device #3
IO:  0x0030 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
IRQ 9 0
DMA 4 4
IO range check 0x00 activate 0x01

0x3f0, alignment 0x10, len 0x2
        [16-bit addr]
    IRQ: 5 7 9 10 11  - only one type (true/edge)
TAG End DF
End Tag

Successfully got 30 resources, 4 logical fdevs
- -- card select # 0x0001

CSN ALS0110 (0x10019305), Serial Number 0xffffffff
- ---
Donald Burr <dburr@POBoxes.com> - Ask me for my PGP key | PGP: Your
WWW HomePage: http://DonaldBurr.base.org/  ICQ #1347455 | right to
Address: P.O. Box 91212, Santa Barbara, CA 93190-1212   | 'Net privacy.
Phone: (805) 957-9666    FAX: (800) 492-5954            | USE IT.

-----BEGIN PGP SIGNATURE-----
Version: 2.6.2

iQCVAwUBNLwBt/jpixuAwagxAQFM7AQAk2p9nmoQ4lKxat1ZwPN0yd7O/nQUwPf2
Z8gQ8Leyl0sETDIHWjqzY4rMUTVwJSHL0L+01hSJqXDLBlJccNCcTsEidcq5LHSJ
ff+Avf6S6EiBdwTs9ckSKk4ML6I5edLScek4JIR2r3dxpq6Vqv8N3YC4EZZ/twcw
ZOkNL9Hwmec=
=X9gm
-----END PGP SIGNATURE-----



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