[LAU] No joy from KeyKit

From: Paul Coccoli <pcoccoli@email-addr-hidden>
Date: Fri Aug 24 2007 - 05:20:38 EEST

Any KeyKit users out there? I'm not familiar with this ALSA virmidi
business, but I'm getting the following error trying to run KeyKit
using the virmidi device:

[paul@email-addr-hidden doc]$ key
ALSA lib rawmidi.c:283:(snd_rawmidi_open_noupdate) Unknown RawMidi hw:1,0
Unable to open MIDI device 'hw:1,0', snd_rawmidi_open failed: err=No
such file or directory
key_alsa: conf.c:3075: snd_config_update_free: Assertion
`update->count > 0 && update->finfo' failed.

Here are the steps that led me to this error. First, I installed the
virmidi module:

[paul@email-addr-hidden doc]$ sudo /sbin/modprobe snd-virmidi

Then I check for the card number:

[paul@email-addr-hidden doc]$ cat /proc/asound/cards
 0 [M66 ]: ICE1712 - M Audio Delta 66
                      M Audio Delta 66 at 0xc000, irq 19
 1 [VirMIDI ]: VirMIDI - VirMIDI
                      Virtual MIDI Card 1

Card 1, no surprises. Check the device file:

[paul@email-addr-hidden doc]$ ll /dev/snd/midiC1*
crw------- 1 paul root 116, 40 Aug 23 22:10 /dev/snd/midiC1D0
crw------- 1 paul root 116, 41 Aug 23 22:10 /dev/snd/midiC1D1
crw------- 1 paul root 116, 42 Aug 23 22:10 /dev/snd/midiC1D2
crw------- 1 paul root 116, 43 Aug 23 22:10 /dev/snd/midiC1D3

Ok, sure. Set the environment variable telling KeyKit which device to use:

[paul@email-addr-hidden doc]$ export ALSA_RAWMIDI_DEVICE=hw:1,0

Then I ran the "key" command, and got the error above.

What am I doing wrong here? This is on FC5/PlanetCCRMA.

[paul@email-addr-hidden doc]$ rpm -qa | grep alsa
alsaplayer-0.99.76-2.rhfc5.ccrma
clalsadrv-1.1.0-1.rhfc5.ccrma
alsa-lib-1.0.14-0.1.rc1.fc5
kernel-module-alsa-2.6.16-1.2080.13.rdt.rhfc5.ccrma-1.0.11-1.rhfc5.ccrma
alsa-tools-1.0.11-1.rhfc5.ccrma
alsa-utils-1.0.14-0.1.rc1.fc5
alsa-driver-1.0.11-1.rhfc5.ccrma
alsa-firmware-1.0.11-1.rhfc5.ccrma
alsa-lib-devel-1.0.14-0.1.rc1.fc5
alsa-oss-1.0.11-1.rhfc5.ccrma
kernel-module-alsa-2.6.16-1.2080.16.rdt.rhfc5.ccrma-1.0.11-1.rhfc5.ccrma
[paul@email-addr-hidden doc]$ uname -r
2.6.16-1.2080.16.rdt.rhfc5.ccrma
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo.cgi/linux-audio-user
Received on Fri Aug 24 08:15:02 2007

This archive was generated by hypermail 2.1.8 : Fri Aug 24 2007 - 08:15:02 EEST