Date: Mon, 27 Oct 2003 15:04:23 -0500 From: Mathew Kanner <mat@cnd.mcgill.ca> To: "T.M. Sommers" <tms2@mail.ptd.net> Cc: freebsd-multimedia@freebsd.org Subject: Re: missing /dev/midi with CMI8738 Message-ID: <20031027200423.GL31273@cnd.mcgill.ca> In-Reply-To: <3F9D7314.7020708@mail.ptd.net> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
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: <AcerLabs M5237 (Aladdin-V) USB controller> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031027200423.GL31273>
