Date: Sun, 26 Mar 2000 04:16:49 -0500 From: Bill Fumerola <billf@chc-chimes.com> To: cg@FreeBSD.org, multimedia@FreeBSD.org Cc: sagi@webair.com Subject: ENSONIQ Soundscape VIVO woes. Message-ID: <20000326041649.Y25438@jade.chc-chimes.com>
next in thread | raw e-mail | index | archive | help
Cameron and -multimedia,
Someone recently came into #freebsd on efnet looking for some sound help. I
was in an uncharacteristicly helpful mood, and offered to help. He had the
following card:
Card assigned CSN #1
Vendor ID ENS4080 (0x8040d315), Serial Number 0x0123abcd
PnP Version 1.0, Vendor Version 0
Device Description: ENSONIQ SoundscapeVIVO
Logical Device ID: ENS1010 0x1010d315 #0
[.. stuff about this device ..]
Logical Device ID: ENS2020 0x2020d315 #1
Compatible Device ID: PNPb02f (2fb0d041)
I/O Range 0x200 .. 0x200, alignment 0x8, len 0x8
[16-bit addr]
End Tag
Which I noticed didn't have a pnp id and such, so I had the owner apply the
following simple patch(copy/paste, beware):
--- mss.c 2000/03/05 15:51:09 1.48
+++ mss.c 2000/03/26 08:32:32
@@ -1335,4 +1335,5 @@
{0x01000000, "CMI8330"}, /* @@@0001 */
{0x2100a865, "Yamaha OPL-SAx"}, /* YMH0021 */
+ {0x1010d315, "ENSONIQ SoundscapeVIVO 2"}, /* ENS1010 */
{0x1110d315, "ENSONIQ SoundscapeVIVO"}, /* ENS1011 */
{0x1093143e, "OPTi931"}, /* OPT9310 */
@@ -1387,4 +1388,5 @@
case 0x1110d315: /* ENS1011 */
+ case 0x1010d315: /* ENS1010 */
mss->io_rid = 1;
mss->bd_id = MD_VIVO;
Which did allow him to match the pcm code to that device:
Trying Read_Port at 203
ENS1010: start dependant
ENS1010: adding io range 0x330-0x33f, size=0x10, align=0x10
ENS1010: adding io range 0x530-0x537, size=0x8, align=0x10
ENS1010: adding io range 0x2100-0xd07f, size=0x40, align=0x40
ENS1010: adding irq mask 0xa0
ENS1010: adding irq mask 0x200
ENS1010: adding dma mask 0x2
ENS1010: adding dma mask 0x9
ENS1010: start dependant
ENS1010: adding io range 0x330-0x33f, size=0x10, align=0x10
ENS1010: adding io range 0xe80-0xe87, size=0x8, align=0x10
ENS1010: adding io range 0x2100-0xd07f, size=0x40, align=0x40
ENS1010: adding irq mask 0xa0
ENS1010: adding irq mask 0x200
ENS1010: adding dma mask 0x2
ENS1010: adding dma mask 0x9
ENS1010: start dependant
ENS1010: adding io range 0x320-0x35f, size=0x10, align=0x10
ENS1010: adding io range 0x530-0x537, size=0x8, align=0x10
ENS1010: adding io range 0x2100-0xd07f, size=0x40, align=0x40
ENS1010: adding irq mask 0x2a0
ENS1010: adding irq mask 0x1e80
ENS1010: adding dma mask 0xa
ENS1010: adding dma mask 0x9
ENS1010: start dependant
ENS1010: adding io range 0x320-0x35f, size=0x10, align=0x10
ENS1010: adding io range 0x530-0x537, size=0x8, align=0x10
ENS1010: adding io range 0x2100-0xd07f, size=0x40, align=0x40
ENS1010: adding irq mask 0x1ea0
ENS1010: adding irq mask 0x1e80
ENS1010: adding dma mask 0xb
ENS1010: start dependant
ENS1010: adding io range 0x320-0x35f, size=0x10, align=0x10
ENS1010: adding io range 0xe80-0xe87, size=0x8, align=0x10
ENS1010: adding io range 0x2100-0xd07f, size=0x40, align=0x40
ENS1010: adding irq mask 0x1ea0
ENS1010: adding irq mask 0x1e80
ENS1010: adding dma mask 0xb
ENS1010: end dependant
ENS2020: adding io range 0x200-0x207, size=0x8, align=0x8
[ other dmesg stuff ]
pcm0: <ENSONIQ SoundscapeVIVO 2> at port 0x330-0x33f,0x530-0x537,0x2100-0x213f
+irq 5,9 drq 1,0 on isa0
AD_WAIT_INIT FAILED 201 0x80
AD_WAIT_INIT FAILED 1002 0x80
AD_WAIT_INIT FAILED 203 0x80
AD_WAIT_INIT FAILED 1002 0x80
AD_WAIT_INIT FAILED 1000 0x80
AD_WAIT_INIT FAILED 1000 0x80
mss: Auto calibration timed out(1).
AD_WAIT_INIT FAILED 201 0x80
[ a lot more "AD_WAIT_INIT FAILED 201 0x80" ]
pcm: setmap 30000, ff00; 0xc9aa8000 -> 30000
pcm: setmap 40000, ff00; 0xc9ab8000 -> 40000
unknown0: <ENSONIQ SoundscapeVIVO> at port 0x200-0x207 on isa0
Unfortunatly it seems that the two cards are not the same, or I haven't found
all the appropriate spots to add the PNP id for this card (because unknown0 is
still coming up, usurping 0x200..)
Just for shits and giggles, I had him try and add the pnpid for the other
device:
pcm0: <ENSONIQ SoundscapeVIVO 2> at port 0x200-0x207 on isa0
device_probe_and_attach: pcm0 attach returned 6
unknown0: <ENSONIQ SoundscapeVIVO> at port 0x330-0x33f,0x530-0x537,0x2100-0x213f irq 5,9 drq 1,0 on isa0
Which isn't right either.
Thanks for looking into this,
--
Bill Fumerola - Network Architect
Computer Horizons Corp - CVM
e-mail: billf@chc-chimes.com / billf@FreeBSD.org
Office: 800-252-2421 x128 / Cell: 248-761-7272
PS. All of the above displays my ignorance of newbus / newpcm.
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-multimedia" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000326041649.Y25438>
