All of lore.kernel.org
 help / color / mirror / Atom feed
* Drivers from tiwai/sound.git - module snd_seq_midi not compiled?
@ 2012-03-04 21:18 Pavel Hofman
  2012-03-06  2:07 ` Raymond Yau
  0 siblings, 1 reply; 5+ messages in thread
From: Pavel Hofman @ 2012-03-04 21:18 UTC (permalink / raw)
  To: ALSA development; +Cc: Takashi Iwai

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.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-03-06 20:06 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-04 21:18 Drivers from tiwai/sound.git - module snd_seq_midi not compiled? Pavel Hofman
2012-03-06  2:07 ` Raymond Yau
2012-03-06  7:29   ` Pavel Hofman
2012-03-06  9:47     ` Takashi Iwai
2012-03-06 20:06       ` Pavel Hofman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.