Re: [Alsa-user] Unable to see MIDI keyboard with the aconnect -i command

2019-06-07 Thread Guy Tucotte



On 2019-06-07 3:27 a.m., Clemens Ladisch wrote:

Guy Tucotte wrote:

The command 'amidi -l' shows the device
BUT, the command 'aconnect -i' doesn't show the device

Does it help to re-plug the device?


I've tried that already but it doesn't work.

The snd_rawmidi module as been compiled inside the kernel image.

Why only some modules?  I don't know if it is related, but please
try to have all snd* modules compiled in, or none.


The "make menuconfig" command to configure the kernel doesn't allow to 
change the SND_RAWMIDI option (Kernel Version 4.9). I've tried to change 
the value to "m" directly inside the .config file, but it is 
automatically returning back to "y" when I start the compilation process.

Regards,
Clemens



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


Re: [Alsa-user] Unable to see MIDI keyboard with the aconnect -i command

2019-06-07 Thread Clemens Ladisch via Alsa-user
Guy Tucotte wrote:
> The command 'amidi -l' shows the device
> BUT, the command 'aconnect -i' doesn't show the device

Does it help to re-plug the device?

> The snd_rawmidi module as been compiled inside the kernel image.

Why only some modules?  I don't know if it is related, but please
try to have all snd* modules compiled in, or none.


Regards,
Clemens


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


[Alsa-user] Unable to see MIDI keyboard with the aconnect -i command

2019-06-06 Thread Guy Tucotte

Hello all,

I'm trying to use both a Roland A88 midi controller (Keyboard) using a 
USB connection. The os is ArchLinux with kernel 4.9


In a nutshell:

The midi keyboard is connected to the computer (odroid-n2 sbc);

The command 'lsusb' shows the device (3rd line):

    # lsusb
    Bus 002 Device 002: ID 05e3:0620 Genesys Logic, Inc.
    Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    Bus 001 Device 004: ID 0582:0157 Roland Corp.
    Bus 001 Device 003: ID 148f:5370 Ralink Technology, Corp. RT5370 
Wireless Adapter

    Bus 001 Device 002: ID 05e3:0610 Genesys Logic, Inc. 4-port hub
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

The command 'amidi -l' shows the device

    # amidi -l
    Dir Device    Name
    IO  hw:1,0,0  A-Series Keyboard MIDI 1
     O  hw:1,0,1  A-Series Keyboard MIDI 2

I can see the device special files /dev/snd/midiC1D0 and /dev/snd/seq
I can see the midi keyboard output using 'cat The aconnect is important to work such that the device could be selected 
in software by the user.


The snd_rawmidi module as been compiled inside the kernel image.

Any idea how I can solve the problem?

Thanks!

Guy


-- alsa-info.sh output -

upload=true&script=true&cardinfo=
!!
!!ALSA Information Script v 0.4.64
!!

!!Script ran on: Wed Jun  5 22:14:42 UTC 2019


!!Linux Distribution
!!--

Arch Linux \r (\l) NAME="Arch Linux ARM" PRETTY_NAME="Arch Linux ARM" ID=archarm ID_LIKE=arch 
HOME_URL="https://archlinuxarm.org/"; DOCUMENTATION_URL="https://archlinuxarm.org/wiki"; 
SUPPORT_URL="https://archlinuxarm.org/forum"; BUG_REPORT_URL="https://github.com/archlinuxarm/PKGBUILDs/issues"; 
LOGO=archlinux


!!DMI Information
!!---

Manufacturer:
Product Name:
Product Version:
Firmware Version:
Board Vendor:
Board Name:


!!ACPI Device Status Information
!!---



!!Kernel Information
!!--

Kernel release:4.9.177+
Operating System:  GNU/Linux
Architecture:  aarch64
Processor: unknown
SMP Enabled:   Yes


!!ALSA Version
!!

Driver version: k4.9.177+
Library version:1.1.9
Utilities version:  1.1.9


!!Loaded ALSA modules
!!---



!!Sound Servers on this system
!!

No sound servers found.


!!Soundcards recognised by ALSA
!!-

 0 [AMLAUGESOUND   ]: AML-AUGESOUND - AML-AUGESOUND
  AML-AUGESOUND
 1 [Keyboard   ]: USB-Audio - A-Series Keyboard
  Roland A-Series Keyboard at usb-xhci-hcd.0.auto-1.3, full 
speed


!!PCI Soundcards installed in the system
!!--



!!Advanced information - PCI Vendor/Device/Subsystem ID's
!!---



!!Loaded sound module options
!!---


!!USB Mixer information
!!-
--startcollapse--

USB Mixer: usb_id=0x05820157, ctrlif=0, ctlerr=0
Card: Roland A-Series Keyboard at usb-xhci-hcd.0.auto-1.3, full speed
--endcollapse--


!!ALSA Device nodes
!!-

crw-rw 1 root audio 116,  0 May 12 22:02 /dev/snd/controlC0
crw-rw 1 root audio 116, 32 May 12 22:02 /dev/snd/controlC1
crw-rw 1 root audio 116, 40 May 12 22:02 /dev/snd/midiC1D0
crw-rw 1 root audio 116, 16 May 12 22:02 /dev/snd/pcmC0D0p
crw-rw 1 root audio 116, 25 May 12 22:02 /dev/snd/pcmC0D1c
crw-rw 1 root audio 116, 17 May 12 22:02 /dev/snd/pcmC0D1p
crw-rw 1 root audio 116, 18 May 12 22:02 /dev/snd/pcmC0D2p
crw-rw 1 root audio 116,  1 Jun  5 22:08 /dev/snd/seq
crw-rw 1 root audio 116, 33 May 12 22:02 /dev/snd/timer

/dev/snd/by-id:
total 0
drwxr-xr-x 2 root root  60 May 12 22:02 .
drwxr-xr-x 4 root root 260 May 12 22:02 ..
lrwxrwxrwx 1 root root  12 May 12 22:02 usb-Roland_A-Series_Keyboard-00 -> 
../controlC1

/dev/snd/by-path:
total 0
drwxr-xr-x 2 root root  80 May 12 22:02 .
drwxr-xr-x 4 root root 260 May 12 22:02 ..
lrwxrwxrwx 1 root root  12 May 12 22:02 platform-auge_sound -> ../controlC0
lrwxrwxrwx 1 root root  12 May 12 22:02 platform-xhci-hcd.0.auto-usb-0:1.3:1.0 
-> ../controlC1


!!Aplay/Arecord output
!!

APLAY

 List of PLAYBACK Hardware Devices 
card 0: AMLAUGESOUND [AML-AUGESOUND], device 0: SPDIF-B-dit-hifi dit-hifi-0 []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: AMLAUGESOUND [AML-AUGESOUND], device 1: TDM-C-T9015-audio-hifi 
T9015-audio-hifi-1 []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: AMLAUGESOUND [AML-AUGESOUND], device 2: SPDIF-dit-hifi dit-hifi-2 []
  Subdevices: 1/1
  Subdevice #0: subdevice #0

ARECORD

 List of CAPTURE Hardware Devices 
card 0: AMLAUGESOUND [AML-AUGESOUND], device 1: TDM-C-T9015-audio-hifi 
T9015-audio-hifi-1 []
  Subdevices: 1/1
  Subdevice #0: subdevice #0

!!Amixer output
!!-

!!---Mixer controls for card 0 [AMLAUGESOUND]

Card