Hallo,

I cross-compiled alsa-lib-1.2.2 and alsa-utils-1.2.2 for LibreELEC on a
Raspberry Pi after adding MIDI support to the kernel (4.19.36).

When I connect my Clavinova digital piano (which comes with an embedded
USB MIDI interface) to the Raspberry, it does not get listed as a valid
I/O by arecordmidi/aplaymidi.  It is, however, recognized by amidi as a
raw device; amidi --dump -p hw:1,0,0 does indeed list events from the
keyboard.

Some misc debug information:


dmesg:
[606964.257417] usb 1-1.2: new full-speed USB device number 7 using dwc_otg
[606964.395178] usb 1-1.2: New USB device found, idVendor=0499, idProduct=1034, 
bcdDevice= 1.00
[606964.395207] usb 1-1.2: New USB device strings: Mfr=1, Product=2, 
SerialNumber=0
[606964.395223] usb 1-1.2: Product: Clavinova
[606964.395240] usb 1-1.2: Manufacturer: YAMAHA Corporation


kodi:~ # ./aplaymidi -l
 Port    Client name                      Port name
 14:0    Midi Through                     Midi Through Port-0

kodi:~ # ./aseqdump -l
 Port    Client name                      Port name
  0:0    System                           Timer
  0:1    System                           Announce
 14:0    Midi Through                     Midi Through Port-0

kodi:~ # ./amidi -l
Dir Device    Name
IO  hw:1,0,0  Clavinova MIDI 1

kodi:~ # lsmod | grep snd
snd_hrtimer            16384  0
snd_seq_midi           16384  0
snd_seq_midi_event     16384  1 snd_seq_midi
snd_seq_dummy          16384  0
snd_seq                57344  3 snd_seq_midi_event,snd_seq_dummy,snd_seq_midi
snd_seq_device         16384  2 snd_seq,snd_seq_midi
snd_usb_audio         163840  0
snd_usbmidi_lib        28672  1 snd_usb_audio
snd_hwdep              16384  1 snd_usb_audio
snd_pcm                77824  1 snd_usb_audio
snd_timer              28672  3 snd_seq,snd_hrtimer,snd_pcm
snd_rawmidi            28672  2 snd_seq_midi,snd_usbmidi_lib
snd                    53248  8 
snd_hwdep,snd_seq,snd_usb_audio,snd_timer,snd_rawmidi,snd_usbmidi_lib,snd_seq_device,snd_pcm


Thanks in advance,
 David


_______________________________________________
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to