Subject: Sound? //was Re: xmcd - how to with ATAPI?
To: Port-i386 <port-i386@NetBSD.ORG>
From: Andrew Y Ng <ayn@Ngbert.org>
List: port-i386
Date: 02/13/1998 05:39:05
-----BEGIN PGP SIGNED MESSAGE-----

Hi all:-

where can i find the package?  i could only find the src on ftp.netbsd.org,
as well as a patch, i patched it in but it didn't compile out of the box,
and i didn't feel like hacking it...

also, mpg123 doesn't quite work (i got it with pkg_add), like i tried
`mpg123 -s foo.mp3>/dev/audio`... how exactly do i setup my sound card
and stuff to get it to play mp3's, realaudio, wav, mov, and the CD?

i did MAKEDEV audio in /dev, and my atapi cdrom is recognized by my kernel,
i just updated my machine from 1.2E to 1.3, so things are still a little
screwed up...  =)  any help in how to get my sound blaster to work will
be highly appreciated, thx!

FYI, here's the dmesg:

Copyright (c) 1996, 1997 The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 1.3 (NGBERT) #37: Fri Feb 13 04:11:11 EST 1998
    root@andrew.Ngbert.org:/home/src/sys/arch/i386/compile/NGBERT
cpu0: family 6 model 1 step 7
cpu0: Intel Pentium Pro (686-class)
real mem  = 66711552
avail mem = 62853120
using 839 buffers containing 3436544 bytes of memory
mainbus0 (root)
pci0 at mainbus0 bus 0: configuration mode 1
pchb0 at pci0 dev 0 function 0
pchb0: Intel 82441FX PCI and Memory Controller (PMC) (rev. 0x02)
pcib0 at pci0 dev 7 function 0
pcib0: Intel 82371SB PCI-to-ISA Bridge (PIIX3) (rev. 0x01)
Intel 82371SB IDE Interface (PIIX3) (IDE mass storage, interface 0x80) at pci0 dev 7 function 1 not configured
S3 Trio32/64 (VGA display, revision 0x43) at pci0 dev 11 function 0 not configured
ep1 at pci0 dev 15 function 0: 3Com 3C590 Ethernet
ep1: MAC address 00:a0:24:c0:ee:af
ep1: 8KB byte-wide FIFO, 1:1 Rx:Tx split, utp/aui/bnc default utp
ep1: interrupting at irq 10
isa0 at pcib0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
lpt0 at isa0 port 0x378-0x37b irq 7
wdc0 at isa0 port 0x1f0-0x1f7 irq 14
atapibus0 at wdc0
wd0 at wdc0 drive 0: <IBM-DAQA-33240>
wd0: 3098MB, 6296 cyl, 16 head, 63 sec, 512 bytes/sec
wd0: using 16-sector 16-bit pio transfers, lba addressing
wdc1 at isa0 port 0x170-0x177 irq 15
atapibus1 at wdc1
cd0 at atapibus1 drive 0: <CD-ROM CDU311, , 3.0h> type 5 cdrom removable
sb: setting irq mask 04 failed, got 02
npx0 at isa0 port 0xf0-0xff: using exception 16
vt0 at isa0 port 0x60-0x6f irq 1
vt0: unknown s3, 80 col, color, 8 scr, mf2-kbd, [R3.32]
pms0 at vt0 irq 12
spkr0 at vt0 port 0x61
vt0: console
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
isapnp0 at isa0 port 0x279: read port 0x203
sb1 at isapnp0 port 0x220/16,0x330/2,0x388/4 irq 5 drq 1,5
sb1: Creative SB AWE32 PnP Audio: dsp v4.13
audio0 at sb1
isapnp0: <Creative SB AWE32 PnP, PNPFFFF, , Reserved> port 0x100/1 not configured
isapnp0: <Creative SB AWE32 PnP, CTL0021, , WaveTable> port 0x620/4 not configured
joy0 at isapnp0 port 0x200/8
joy0: Creative SB AWE32 PnP Game
joy0: joystick not connected
isapnp0: <Creative SB AWE32 PnP, CTL0051, , StereoEnhance> port 0x100/1 not configured
biomask c040 netmask c440 ttymask d4c2
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
AFS 3.3 ($Revision: 1.52 $) initialized
Starting AFS cache scan...found 763 non-empty cache files (74%).

/ayn

On Wed, 4 Feb 1998, Jukka Marin wrote:

> How do I configure xmcd (using the package system) for ATAPI drives on
> NetBSD 1.3?
> 
> I took some wild guesses, used the "other SCSI drive" seletion and all
> the functions that worked were play, stop, and eject ;)  I would like
> the volume controls work as well as the time display...
> 
> I guess there's a readme somewhere, I just don't know where..
> "man atapi" doesn't exist :-I
> 
> Thanks,
> 
>   -jm
> 

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

iQCVAwUBNOQioJ6qvWJYgw1hAQGlPgP7B02XJ0/wZ+Rc1bKiDCQwFV8I9PaOCLjQ
9ZLvqB7xku47fo3HE/Z+Xuhq+loM06Ankpt7GJBIOAgDHmB7hTSPfTvD6Be1SQ2+
UPjrByFGsDs5QJXByGoCKbniDdLNIJ6D8OsqxhFJp8o5iDEtv8v+4Tn835SvsB0k
CDPSVMuhNJs=
=j4zj
-----END PGP SIGNATURE-----

--
Andrew Y Ng  |  <ayn@Ngbert.org>  |  http://andrew.Ngbert.org/
--------------------------------------------------------------
          (-) please finger ayn@CMU.EDU if u need more info...

Once Law was sitting on the bench
	And Mercy knelt a-weeping.
"Clear out!" he cried, "disordered wench!
	Nor come before me creeping.
Upon you knees if you appear,
'Tis plain you have no standing here."

Then Justice came.  His Honor cried:
	"YOUR states? -- Devil seize you!"
"Amica curiae," she replied --
	"Friend of the court, so please you."
"Begone!" he shouted -- "There's the door --
I never saw your face before!"
		-- Ambrose Bierce, "The Devil's Dictionary"