Re: [Alsa-user] ALSA MIDI on Raspberry PI: no events from input device (USB keyboard)

2021-02-05 Thread Fernando Carello
Is there any other test I could perform to understand what's going on? Thanks Fernando > > > The keyboard seem to send raw midi messages in a stream, but Alsa does > > > not translate them in Sequencer events. > > > > Strange. This should happen automatically, especially if the sequencer > >

Re: [Alsa-user] ALSA MIDI on Raspberry PI: no events from input device (USB keyboard)

2021-01-31 Thread Fernando Carello
> > The keyboard seem to send raw midi messages in a stream, but Alsa does > > not translate them in Sequencer events. > > Strange. This should happen automatically, especially if the sequencer > device (port 20) is there. > > Does the count in /proc/asound/card1/midi0 increase while aseqdump > is

Re: [Alsa-user] ALSA MIDI on Raspberry PI: no events from input device (USB keyboard)

2021-01-31 Thread Clemens Ladisch via Alsa-user
Fernando Carello wrote: > So, I've seen that a working MIDI keyboard "creates" this device: > > /dev/snd/-midiC0D0 > > while my problematic MIDI keyboard has instead: > > /dev/snd/-midiC1D0 "C1" means "card 1"; this is because card 0 is already occupied by another device. > The keyboard seem to

Re: [Alsa-user] ALSA MIDI on Raspberry PI: no events from input device (USB keyboard)

2021-01-31 Thread Robert M. Riches Jr.
For temporary purposes and/or a manual workaround, you could create a symlink: cd /dev/snd ln -s ./-midiC0D0 ./-midiC1D0 The "./" prefix is to force the command parser in the 'ln' executable to interpret the names as arguments rather than options. At the very least, that should tell you

Re: [Alsa-user] ALSA MIDI on Raspberry PI: no events from input device (USB keyboard)

2021-01-31 Thread Fernando Carello
Sorry, wrong clue. The problem is more subtle. The keyboard seem to send raw midi messages in a stream, but Alsa does not translate them in Sequencer events. The softsynth expects Seq midi events (Note On / Note Off and such): it cannot manage raw MIDI messages directly. So the question

Re: [Alsa-user] ALSA MIDI on Raspberry PI: no events from input device (USB keyboard)

2021-01-31 Thread Fernando Carello
So, I've seen that a working MIDI keyboard "creates" this device: /dev/snd/-midiC0D0 while my problematic MIDI keyboard has instead: /dev/snd/-midiC1D0 see that "C1"? This has to do with "amidi --dump" requiring "--port hw:1" instead of the usual "--port hw:0" Now: How can I configure ALSA

Re: [Alsa-user] ALSA MIDI on Raspberry PI: no events from input device (USB keyboard)

2021-01-30 Thread Fernando Carello
> > No events with asqedump: :-( > > Try with "amidi --dump --port hw:1". This works! amidi --dump --port hw:1 90 42 17 80 42 00 90 3D 19 90 3F 0C Thanks a lot! Now, how should I configure ALSA in order for my softsynth (ZynAddSubFx) to "see" this keyboard? > Do other USB MIDI devices (or

Re: [Alsa-user] ALSA MIDI on Raspberry PI: no events from input device (USB keyboard)

2021-01-30 Thread Clemens Ladisch via Alsa-user
Fernando Carello wrote: > Problem: when I connect my MIDI USB keyboard (GarageKey), it is > correctly detected, but I don't receive MIDI messages from it. > > No events with asqedump: :-( Try with "amidi --dump --port hw:1". Do other USB MIDI devices (or USB devices) work? > In fact, ALSA

[Alsa-user] ALSA MIDI on Raspberry PI: no events from input device (USB keyboard)

2021-01-30 Thread Fernando Carello
Hello everyone, new user. I'm having, for the first time (longtime ALSA user), a problem with my headless setup. Board: Raspberry PI 4B OS: Raspberry OS (Debian 10-derived) Kernel: 5.10.5-v8+ ALSA version: Advanced Linux Sound Architecture Driver Version k5.10.5-v8+ ALSA only: no jack, no