From owner-freebsd-multimedia Tue May 14 03:53:11 1996 Return-Path: owner-multimedia Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id DAA29064 for multimedia-outgoing; Tue, 14 May 1996 03:53:11 -0700 (PDT) Received: from beeblebrox.cc.jyu.fi (beeblebrox.cc.jyu.fi [130.234.41.34]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id DAA29055; Tue, 14 May 1996 03:53:07 -0700 (PDT) Received: (from kallio@localhost) by beeblebrox.cc.jyu.fi (8.7.5/8.7.3) id NAA00322; Tue, 14 May 1996 13:52:48 +0300 (EET DST) Date: Tue, 14 May 1996 13:52:48 +0300 (EET DST) From: Seppo Kallio To: "Amancio Hasty Jr." cc: multimedia@FreeBSD.ORG, current@FreeBSD.ORG Subject: ** Sorry cannot get GUS working in 2.2 SNAP 960501 ** In-Reply-To: <199605140102.SAA00343@rah.star-gate.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Content-Transfer-Encoding: QUOTED-PRINTABLE Sender: owner-multimedia@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Could someone help? 1. I have this in kernel config *************************************** # Controls all sound devices controller snd0 device gus0 at isa? port 0x220 irq 11 drq 1 flags 0x3 vector gusintr The irq and port in GUS card should be OK.=20 Does someone know what are the jumpers on the card? I have jp9 open and closed on jp8 3-4, 7-8 and 9-10. The only manual I got was Quick=20 Start. It tells nothing about the jumpers. sh MAKEDEV snd0 does not make the /dev/snd should it? On 2.1R with sb= =20 it made this device (I think). 2. gus driver is from 960501 SNAP *************************************** 3. dd if=3D/dev/audio0 dd: /dev/audio0: Device not configured cat xx.au > /dev/audio0=20 works OK, but no sound coming out 4. cat /dev/sndstat **************************************************** VoxWare Sound Driver:3.0-beta-950506 (Sun Feb 5 14:38:12 EST 1995=20 freebsd-hackers@freefall.cdrom.com) Config options: ffffffff Installed drivers:=20 Type 4: Gravis Ultrasound Card config:=20 Gravis Ultrasound at 0x220 irq 11 drq 1 Audio devices: 0: Gravis UltraSound 1: Gravis UltraSound - read only Synth devices: 0: Gravis UltraSound 2.4 (256k) Midi devices: 0: Gravis UltraSound Midi Timers: 0: System Timer 1: OPL-3/GUS Timer Mixers: 0: Gravis Ultrasound 4. cat sound.au > /dev/audio ******************************************* It sees to copy the file to the device (the time is about correct) but no= =20 sound. Here ktrace if someone understands something about it: 237 ktrace RET ktrace 0 237 ktrace CALL mmap(0,0x1000,0x3,0x1002,0xffffffff,0,0,0) 237 ktrace RET mmap 134324224/0x801a000 237 ktrace CALL break(0x5000) 237 ktrace RET break 0 237 ktrace CALL break(0x6000) 237 ktrace RET break 0 237 ktrace CALL execve(0xefbfd474,0xefbfd8d0,0xefbfd8dc) 237 ktrace NAMI "/export/lk/kallio/bin/cat" 237 ktrace RET execve -1 errno 2 No such file or directory 237 ktrace CALL execve(0xefbfd474,0xefbfd8d0,0xefbfd8dc) 237 ktrace NAMI "/bin/cat" 237 cat RET execve 0 237 cat CALL open(0xefbfd950,0,0) 237 cat NAMI "Beeblebrox/au/cuckoo.au" 237 cat RET open 3 237 cat CALL fstat(0x1,0xefbfd828) 237 cat RET fstat 0 237 cat CALL mmap(0,0x1000,0x3,0x1002,0xffffffff,0,0,0) 237 cat RET mmap 134258688/0x800a000 237 cat CALL break(0xd000) 237 cat RET break 0 237 cat CALL break(0x11000) 237 cat RET break 0 237 cat CALL read(0x3,0xd000,0x4000) 237 cat GIO fd 3 read 6400 bytes ".snd\0\0\0000\0\0\^X=D0\0\0\0\^A\0\0\^_@\0\0\0\^Acuckoo clock: one= =20 chime\ =09... =09[{=E6~=E9=DE=E2=EF=DE=EAm\^?=E9iO[u=EFp" 237 cat RET read 6400/0x1900 237 cat CALL write(0x1,0xd000,0x1900) 237 cat GIO fd 1 wrote 6400 bytes ".snd\0\0\0000\0\0\^X=D0\0\0\0\^A\0\0\^_@\0\0\0\^Acuckoo clock: one= =20 chime\ =09\0t=F0z~=F5x=F0=FD=FC~y=F5=FB|mx=EAr=D3=C2E=CE7=CE\M^_#%=DB=B8=B9$\M^X= =B2\^]!=A820C?\M^JD\^Y#=A9=A2/=A1N\^Y8K=C9\ =09... =09[{=E6~=E9=DE=E2=EF=DE=EAm\^?=E9iO[u=EFp" 237 cat RET write 6400/0x1900 237 cat CALL read(0x3,0xd000,0x4000) 237 cat GIO fd 3 read 0 bytes "" 237 cat RET read 0 237 cat CALL close(0x3) 237 cat RET close 0 237 cat CALL close(0x1) 237 cat RET close 0 237 cat CALL exit(0)