Hi,
My midi keyboard is not listed in aconnect -i -l upon installing drivers from Takashi's git using gitcompile/make install. However, when I reinstall the whole kernel package 3.1.5 (from some ubuntu ppa), the midi works ok again.
I compared loaded modules and found out for my hand-compiled drivers from git the module snd_seq_midi is missing. I re-run the compilation. Here is what I get at the beginning:
utils/mod-deps --basedir /home/pavel/projects/alsa-tiwai/alsa-driver-build/alsa-kernel --hiddendir /home/pavel/projects/alsa-tiwai/alsa-driver-build --versiondep /home/pavel/projects/alsa-tiwai/alsa-driver-build/kconfig-vers --makeconf > toplevel.config.in can't handle 'default SND_SEQUENCER && SND_RAWMIDI', translating as depends on can't handle 'default SND_SEQUENCER && SND_OPL3_LIB', translating as depends on can't handle 'default SND_SEQUENCER && SND_OPL4_LIB', translating as depends on can't handle 'default SND_SEQUENCER && SND_SBAWE', translating as depends on can't handle 'default SND_SEQUENCER && SND_EMU10K1', translating as depends on can't handle 'default SND_FM801 || SND_ES1968 || RADIO_SF16FMR2', translating as depends on can't handle word INPUT=y properly, supposing it's OK can't handle word INPUT=SND_ES1968 properly, supposing it's OK can't handle word VIDEO_V4L2=y properly, supposing it's OK can't handle word VIDEO_V4L2=SND_ES1968 properly, supposing it's OK can't handle word VIDEO_V4L2=y properly, supposing it's OK can't handle word VIDEO_V4L2=SND_FM801 properly, supposing it's OK can't handle word INPUT=y properly, supposing it's OK can't handle word INPUT=SND_HDA_INTEL properly, supposing it's OK can't handle word SND_HDA_INPUT_BEEP=y properly, supposing it's OK can't handle word INPUT=y properly, supposing it's OK can't handle word INPUT=SND properly, supposing it's OK can't handle word INPUT=y properly, supposing it's OK can't handle word INPUT=SND_MAESTRO3 properly, supposing it's OK can't handle word INPUT=y properly, supposing it's OK can't handle word INPUT=SND_USB_CAIAQ properly, supposing it's OK can't handle word I2C=y properly, supposing it's OK can't handle word I2C=y properly, supposing it's OK can't handle word I2C=y properly, supposing it's OK utils/mod-deps --basedir /home/pavel/projects/alsa-tiwai/alsa-driver-build/alsa-kernel --hiddendir /home/pavel/projects/alsa-tiwai/alsa-driver-build --versiondep /home/pavel/projects/alsa-tiwai/alsa-driver-build/kconfig-vers --acinclude > acinclude.m4 can't handle 'default SND_SEQUENCER && SND_RAWMIDI', translating as depends on can't handle 'default SND_SEQUENCER && SND_OPL3_LIB', translating as depends on can't handle 'default SND_SEQUENCER && SND_OPL4_LIB', translating as depends on can't handle 'default SND_SEQUENCER && SND_SBAWE', translating as depends on can't handle 'default SND_SEQUENCER && SND_EMU10K1', translating as depends on can't handle 'default SND_FM801 || SND_ES1968 || RADIO_SF16FMR2', translating as depends on can't handle word INPUT=y properly, supposing it's OK can't handle word INPUT=SND_ES1968 properly, supposing it's OK can't handle word VIDEO_V4L2=y properly, supposing it's OK can't handle word VIDEO_V4L2=SND_ES1968 properly, supposing it's OK can't handle word VIDEO_V4L2=y properly, supposing it's OK can't handle word VIDEO_V4L2=SND_FM801 properly, supposing it's OK can't handle word INPUT=y properly, supposing it's OK can't handle word INPUT=SND_HDA_INTEL properly, supposing it's OK can't handle word SND_HDA_INPUT_BEEP=y properly, supposing it's OK can't handle word INPUT=y properly, supposing it's OK can't handle word INPUT=SND properly, supposing it's OK can't handle word INPUT=y properly, supposing it's OK can't handle word INPUT=SND_MAESTRO3 properly, supposing it's OK can't handle word INPUT=y properly, supposing it's OK can't handle word INPUT=SND_USB_CAIAQ properly, supposing it's OK can't handle word I2C=y properly, supposing it's OK can't handle word I2C=y properly, supposing it's OK can't handle word I2C=y properly, supposing it's OK utils/mod-deps --basedir /home/pavel/projects/alsa-tiwai/alsa-driver-build/alsa-kernel --hiddendir /home/pavel/projects/alsa-tiwai/alsa-driver-build --versiondep /home/pavel/projects/alsa-tiwai/alsa-driver-build/kconfig-vers --include
include/config1.h.in
can't handle 'default SND_SEQUENCER && SND_RAWMIDI', translating as depends on can't handle 'default SND_SEQUENCER && SND_OPL3_LIB', translating as depends on can't handle 'default SND_SEQUENCER && SND_OPL4_LIB', translating as depends on can't handle 'default SND_SEQUENCER && SND_SBAWE', translating as depends on can't handle 'default SND_SEQUENCER && SND_EMU10K1', translating as depends on can't handle 'default SND_FM801 || SND_ES1968 || RADIO_SF16FMR2', translating as depends on can't handle word INPUT=y properly, supposing it's OK can't handle word INPUT=SND_ES1968 properly, supposing it's OK
In config.status there is
S["CONFIG_SND_RAWMIDI_SEQ"]=""
I assume there should be "m" instead.
And there is no D["CONFIG_SND_RAWMIDI_SEQ_MODULE"]=" 1" in config.status, only:
D["CONFIG_SND_RAWMIDI_MODULE"]=" 1" D["CONFIG_SND_SEQUENCER_MODULE"]=" 1" ...
As a result, the source acore/seq/seq_midi.c does not get compiled at all.
pavel@nahore:~/projects/alsa-tiwai/alsa-driver-build$ ls -l acore/seq/ .... -rw-r--r-- 1 pavel pavel 13124 2012-03-04 21:53 seq_memory.c -rw-r--r-- 1 pavel pavel 12745 2012-03-04 21:53 seq_memory.c.orig -rw-r--r-- 1 pavel pavel 126440 2012-03-04 21:54 seq_memory.o -rw-r--r-- 1 pavel pavel 1112 2012-03-04 21:41 seq_memory.patch -rw-r--r-- 1 pavel pavel 89 2012-03-04 21:41 seq_midi.c <=== -rw-r--r-- 1 pavel pavel 75 2012-03-04 21:41 seq_midi_emul.c -rw-r--r-- 1 pavel pavel 93676 2012-03-04 21:54 seq_midi_emul.o -rw-r--r-- 1 pavel pavel 76 2012-03-04 21:41 seq_midi_event.c -rw-r--r-- 1 pavel pavel 95992 2012-03-04 21:54 seq_midi_event.o -rw-r--r-- 1 pavel pavel 101100 2012-03-04 21:54 seq.o -rw-r--r-- 1 pavel pavel 762 2012-03-04 21:41 seq.patch -rw-r--r-- 1 pavel pavel 94 2012-03-04 21:41 seq_ports.c -rw-r--r-- 1 pavel pavel 125464 2012-03-04 21:54 seq_ports.o ....
Thanks a lot for any suggestion or help.
Best regards,
Pavel.