Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Oct 2003 14:33:40 -0500
From:      "T.M. Sommers" <tms2@mail.ptd.net>
To:        freebsd-multimedia@freebsd.org
Subject:   Re: missing /dev/midi with CMI8738
Message-ID:  <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>

next in thread | previous in thread | raw e-mail | index | archive | help

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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3F9D7314.7020708>