From owner-freebsd-hackers Mon Feb 2 18:45:21 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA07043 for hackers-outgoing; Mon, 2 Feb 1998 18:45:21 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from kinclaith.pdl.cs.cmu.edu (KINCLAITH.PDL.CS.CMU.EDU [128.2.189.18]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id SAA07032 for ; Mon, 2 Feb 1998 18:45:07 -0800 (PST) (envelope-from dpetrou@kinclaith.pdl.cs.cmu.edu) Message-Id: <199802030245.SAA07032@hub.freebsd.org> Subject: Q: MIDI support in FreeBSD To: freebsd-hackers@FreeBSD.ORG Date: Mon, 2 Feb 1998 21:44:26 -0500 (EST) From: David Petrou X-Mailer: ELM [version 2.4 PL25-40] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG X-To-Unsubscribe: mail to majordomo@FreeBSD.org "unsubscribe hackers" Hi. I'm trying to get /dev/midi0 working in FreeBSD 2.2.5 but am failing. I added the following lines to my kernel config: controller snd0 device mpu0 at isa? port 0x330 irq 5 drq 0 After rebuilding, reinstalling, and rebooting, I see the following in my dmesg: mpu0 at 0x330 irq 5 drq 0 on isa mpu0: Then I did a 'MAKEDEV snd0' to create a variety of devices. But, when I try to open() /dev/midi0, I get errno = 19 (Operation not supported by device). Whenever I do these opens, the following line gets printed to console: SoundCard Error: The soundcard system has not been configured After looking through the code a bit, I see that this message is printed when soundcard_configured (in soundcard.c) equals 0. Strangely, from what I can see, soundcard_configured gets set to one via a call to sndattach() during isa device initialization. Another thing: it seems like the sound driver code, VoxWare v3.0, is 1995 code. Is there a newer version of VoxWare? Has anyone ported the newer version to FreeBSD? If not, I may give it a try. Also, there's a comment at the bottom of sound.doc that reads "NOTE: The MPU-401 driver may or may not work, and is unfortunately unverifiable since no one I know has one." Has anyone out there gotten the MPU-401 code to work? Last thing: It looks like http://www.4front-tech.com sells sound drivers, including an MPU-401 driver, for FreeBSD. Anyone have experience with these? I'd prefer a free, source solution, naturally... Thanks, David