[LAU] No joy from KeyKit

Paul Coccoli pcoccoli at gmail.com
Thu Aug 23 22:20:38 EDT 2007


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 at boon 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 at boon doc]$ sudo /sbin/modprobe snd-virmidi

Then I check for the card number:

[paul at boon 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 at boon 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 at boon 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 at boon 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 at boon doc]$ uname -r
2.6.16-1.2080.16.rdt.rhfc5.ccrma



More information about the Linux-audio-user mailing list