[PlanetCCRMA] snd_seq loaded but no midi

Kenneth cocteau@phreaker.net
Wed May 25 15:45:01 2005


Fernando Lopez-Lezcano wrote:

>On Wed, 2005-05-25 at 04:10, Kenneth wrote:
>  
>
>>Fernando Lopez-Lezcano wrote:
>>
>>    
>>
>>>On Tue, 2005-05-24 at 07:13, Kenneth wrote:
>>> 
>>>
>>>      
>>>
>>>>       Hi
>>>>
>>>>   This is odd. A while back I used chkconfig to get alsa to load the
>>>>snd_seq on startup, to get my Radium49 midi keyboard to work. This
>>>>worked and I could use midi. However, this has stopped working for
>>>>some reason. I can see that snd_seq is loaded, but JACK and Pd doesn´t
>>>>see any midi devices available. Checked cable and usb plug. All fine.
>>>>
>>>>Here´s a listing from lsmod:
>>>>snd_usb_audio          67904  3
>>>>snd_usb_lib            13824  1 snd_usb_audio
>>>>snd_via82xx            30592  0
>>>>snd_ac97_codec         76512  1 snd_via82xx
>>>>snd_pcm_oss            55716  0
>>>>snd_mixer_oss          20224  1 snd_pcm_oss
>>>>snd_pcm               113544  6
>>>>snd_usb_audio,snd_via82xx,snd_ac97_codec,snd_pcm_oss
>>>>snd_timer              36100  2 snd_seq,snd_pcm
>>>>snd_page_alloc         10372  2 snd_via82xx,snd_pcm
>>>>snd_mpu401_uart        10752  1 snd_via82xx
>>>>snd_rawmidi            31008  2 snd_usb_lib,snd_mpu401_uart
>>>>snd_seq_device          9484  2 snd_seq,snd_rawmidi
>>>>snd                    59748  16
>>>>snd_seq,snd_usb_audio,snd_via82xx,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device
>>>>        
>>>>
>>>It looks like the right kernel module is actually loaded
>>>(snd-usb-audio). Maybe you need to point pd to use the right device?
>>>Check soundcards recognized and devices present by doing:
>>>
>>> cat /proc/asound/cards
>>> cat /proc/asound/devices
>>>      
>>>
>>    Thanks for the answer, however there's still no luck. Cat gives:
>>
>>cat /proc/asound/cards 
>>0 [V8235          ]: VIA8233 - VIA 8235
>>                     VIA 8235 with CMI9739 at 0xe200, irq 22
>>1 [UA25           ]: USB-Audio - EDIROL UA-25
>>                     Roland EDIROL UA-25 at usb-0000:00:10.0-2, full speed
>>
>>cat /proc/asound/devices
>>  0: [0- 0]: ctl
>> 17: [0- 1]: digital audio playback
>> 25: [0- 1]: digital audio capture
>> 16: [0- 0]: digital audio playback
>> 24: [0- 0]: digital audio capture
>>  1:       : sequencer
>> 33:       : timer
>> 32: [1- 0]: ctl
>> 48: [1- 0]: digital audio playback
>> 56: [1- 0]: digital audio capture
>>
>>	
>>	I'm guessing that starting pd with -mididev 2 would point it to the sequencer in the device list, but that didn't work either.
>>	Also JACK fails to recognize the keyboard as well. Before I would just run pd through JACK and everything was fine.
>>    
>>
>
>Ah, pd, of course. Pd (the version at Planet CCRMA, at least) still uses
>oss for midi i/o. See if you have the OSS midi devices in /dev ("ls -l
>/dev/midi*")
>
>-- Fernando
>
And we have a winner... there are no midi devices in the /dev or 
/dev/snd directories. So... how do I fix that? I checked my kernel and 
the oss sequencer API is compiled as a moduled together with alsa.

Any thoughts?

kenneth