From owner-freebsd-multimedia@FreeBSD.ORG Mon Oct 27 12:06:20 2003 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C72C216A4B3 for ; Mon, 27 Oct 2003 12:06:20 -0800 (PST) Received: from hak.cnd.mcgill.ca (hak.cnd.mcgill.ca [132.216.11.133]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3447743FBD for ; Mon, 27 Oct 2003 12:06:19 -0800 (PST) (envelope-from mat@hak.cnd.mcgill.ca) Received: from hak.cnd.mcgill.ca (localhost [127.0.0.1]) by hak.cnd.mcgill.ca (8.12.9/8.12.8) with ESMTP id h9RK4Nk4000401; Mon, 27 Oct 2003 15:04:23 -0500 (EST) (envelope-from mat@hak.cnd.mcgill.ca) Received: (from mat@localhost) by hak.cnd.mcgill.ca (8.12.9/8.12.8/Submit) id h9RK4NWu000400; Mon, 27 Oct 2003 15:04:23 -0500 (EST) Date: Mon, 27 Oct 2003 15:04:23 -0500 From: Mathew Kanner To: "T.M. Sommers" Message-ID: <20031027200423.GL31273@cnd.mcgill.ca> References: <3F8A7AC1.9090909@mail.ptd.net> <20031013160743.GN533@funkthat.com> <20031015211635.GF1810@cnd.mcgill.ca> <3F9CE878.7040903@mail.ptd.net> <3F9D7314.7020708@mail.ptd.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3F9D7314.7020708@mail.ptd.net> User-Agent: Mutt/1.4.1i Organization: I speak for myself, operating in Montreal, CANADA X-Spam-Status: No, hits=-5.0 required=5.0 tests=EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES, REPLY_WITH_QUOTES,USER_AGENT_MUTT version=2.55 X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) cc: freebsd-multimedia@freebsd.org Subject: Re: missing /dev/midi with CMI8738 X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Oct 2003 20:06:20 -0000 On Oct 27, T.M. Sommers wrote: > T.M. Sommers wrote: > >Mathew Kanner wrote: > > > >>On Oct 13, John-Mark Gurney wrote: > >> > >>>T.M. Sommers wrote this message on Mon, Oct 13, 2003 at 06:13 -0400: > >>> > >>>>-> cat /boot/loader.conf > >>>>snd_pcm_load="YES" # Digital sound subsystem > >>>>snd_cmi_load="YES" # cmi > >>> > >>> > >>>This is for digital sound only, not for midi. > >>> > >>> > >>>>Another device is using irq 9, but that shouldn't be a problem, > >>>>should it? > >>>> > >>>>ohci0: mem > >>>>0xeb800000-0xeb800fff irq 9 at device 2.0 on pci0 > >>>> > >>>>Does anyone have any ideas about how to get midi working? Thanks. > >>> > >>>It looks like midi isn't a loadable module, but you can try to recomile > >>>your kernel with: > >>>device seq > >>>device midi > >>> > >>>and that should give you the necessary devices to do midi. I haven't > >>>used this, so I'm not sure it'll work, but give it a try. Hope it helps > >>>you! > >> > >> The stock midi drivers has nothing for cmi. I've posted links > >>to my driver which does support cmi. > > > > > >Thanks. I did not find it myself because I was searching for CMI8738, > >not cmi. > > > >Unfortunately, when I try to load it, it fails: > > > >-> kldload snd_cmi > >kldload: can't load snd_cmi: File exists > > > >which seems odd. kldload(2) is returning -1. > > > >kldunload does not work, either: > > > >-> kldunload snd_cmi > >kldunload: can't find file snd_cmi: No such file or directory > > Never mind. The sound device was statically built into the kernel; > when I changed that, I was able to load the modified snd_cmi, and > /dev/midi0.0 exists. > > However, I still have a problem. The midiplay program runs, and > reports no errors, but no sound comes out of the speakers. Who's speakers? You have a midi keyboard (or other midi processing unit) right? --Mat -- Canada is a country whose main exports are hockey players and cold fronts. Our main imports are baseball players and acid rain. - Pierre Elliott Trudeau