Unable to see MIDI keyboard with the aconnect -i command

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 </dev/snd/midiC1D0'
BUT, the command 'aconnect -i' doesn't show the device:

    # aconnect -i
    client 0: 'System' [type=kernel]
        0 'Timer           '
        1 'Announce        '

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 hw:0 'AMLAUGESOUND'/'AML-AUGESOUND'
  Mixer name	: ''
  Components	: ''
  Controls      : 199
  Simple ctrls  : 32
Simple mixer control 'Lineout left N switch',0
  Capabilities: enum
  Items: 'None' 'LOLN_SEL_DACL_INV' 'LOLN_SEL_DACL'
  Item0: 'LOLN_SEL_DACL_INV'
Simple mixer control 'Lineout left P switch',0
  Capabilities: enum
  Items: 'None' 'LOLP_SEL_DACL' 'LOLP_SEL_DACL_INV'
  Item0: 'LOLP_SEL_DACL'
Simple mixer control 'Lineout right N switch',0
  Capabilities: enum
  Items: 'None' 'LORN_SEL_DACR_INV' 'LORN_SEL_DACR'
  Item0: 'LORN_SEL_DACR_INV'
Simple mixer control 'Lineout right P switch',0
  Capabilities: enum
  Items: 'None' 'LORP_SEL_DACR' 'LORP_SEL_DACR_INV'
  Item0: 'LORP_SEL_DACR'
Simple mixer control 'Audio In Source',0
  Capabilities: enum
  Items: 'TDMIN_A' 'TDMIN_B' 'TDMIN_C' 'SPDIFIN' 'PDMIN' 'FRATV' 'TDMIN_LB' 'LOOPBACK_A' 'FRHDMIRX' 'LOOPBACK_B' 'SPDIFIN_LB' 'RESERVED' 'RESERVED' 'RESERVED' 'RESERVED' 'VAD'
  Item0: 'VAD'
Simple mixer control 'Audio Out Sink',0
  Capabilities: enum
  Items: 'TDMIN_A' 'TDMIN_B' 'TDMIN_C' 'SPDIFIN' 'PDMIN' 'FRATV' 'TDMIN_LB' 'LOOPBACK_A' 'FRHDMIRX' 'LOOPBACK_B' 'SPDIFIN_LB' 'RESERVED' 'RESERVED' 'RESERVED' 'RESERVED' 'VAD'
  Item0: 'VAD'
Simple mixer control 'Audio spdif format',0
  Capabilities: enum
  Items: '2 CH PCM' 'DTS RAW Mode' 'Dolby Digital' 'DTS' 'DD+' 'DTS-HD' 'Multi-channel LPCM' 'TrueHD' 'DTS-HD MA' 'HIGH SR Stereo LPCM'
  Item0: '2 CH PCM'
Simple mixer control 'Audio spdif mute',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'Audio spdifin source',0
  Capabilities: enum
  Items: 'spdifin pad' 'spdifout' 'N/A' 'HDMIRX'
  Item0: 'spdifin pad'
Simple mixer control 'DAC Digital',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Mono:
  Front Left: Playback 254 [100%] [0.00dB]
  Front Right: Playback 254 [100%] [0.00dB]
Simple mixer control 'DAC Extra Digital Gain',0
  Capabilities: enum
  Items: '0dB' '6dB' '12dB' '18dB'
  Item0: '0dB'
Simple mixer control 'DRC enable',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'EQ Volume Pos',0
  Capabilities: volume volume-joined
  Playback channels: Mono
  Capture channels: Mono
  Limits: 0 - 1
  Mono: 0 [0%]
Simple mixer control 'EQ ch1 volume',0
  Capabilities: volume volume-joined
  Playback channels: Mono
  Capture channels: Mono
  Limits: 0 - 255
  Mono: 207 [81%]
Simple mixer control 'EQ ch2 volume',0
  Capabilities: volume volume-joined
  Playback channels: Mono
  Capture channels: Mono
  Limits: 0 - 255
  Mono: 207 [81%]
Simple mixer control 'EQ enable',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'EQ master volume',0
  Capabilities: volume volume-joined
  Playback channels: Mono
  Capture channels: Mono
  Limits: 0 - 1023
  Mono: 831 [81%]
Simple mixer control 'EQ master volume mute',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'EQ/DRC Channel Mask',0
  Capabilities: volume volume-joined
  Playback channels: Mono
  Capture channels: Mono
  Limits: 0 - 255
  Mono: 3 [1%]
Simple mixer control 'EQ/DRC Lane Mask',0
  Capabilities: volume volume-joined
  Playback channels: Mono
  Capture channels: Mono
  Limits: 0 - 15
  Mono: 1 [7%]
Simple mixer control 'EQ/DRC Req Module',0
  Capabilities: volume volume-joined
  Playback channels: Mono
  Capture channels: Mono
  Limits: 0 - 7
  Mono: 1 [14%]
Simple mixer control 'LINE_OUT mute',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'Loopback Enable',0
  Capabilities: enum
  Items: 'Disable' 'Enable'
  Item0: 'Disable'
Simple mixer control 'Loopback datain source',0
  Capabilities: enum
  Items: 'TDMIN_A' 'TDMIN_B' 'TDMIN_C' 'SPDIFIN' 'PDMIN'
  Item0: 'TDMIN_A'
Simple mixer control 'Loopback tmdin lb source',0
  Capabilities: enum
  Items: 'TDMOUT_A' 'TDMOUT_B' 'TDMOUT_C' 'TDMIN_A' 'TDMIN_B' 'TDMIN_C'
  Item0: 'TDMOUT_A'
Simple mixer control 'NG counter thd',0
  Capabilities: volume volume-joined
  Playback channels: Mono
  Capture channels: Mono
  Limits: 0 - 65535
  Mono: 2048 [3%]
Simple mixer control 'NG enable',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'NG noise thd',0
  Capabilities: volume volume-joined
  Playback channels: Mono
  Capture channels: Mono
  Limits: 0 - 32767
  Mono: 0 [0%]
Simple mixer control 'NG signal thd',0
  Capabilities: volume volume-joined
  Playback channels: Mono
  Capture channels: Mono
  Limits: 0 - 32767
  Mono: 0 [0%]
Simple mixer control 'SPDIFIN Audio Type',0
  Capabilities: enum
  Items: 'LPCM' 'AC3' 'EAC3' 'DTS' 'DTS-HD' 'TRUEHD' 'PAUSE'
  Item0: 'LPCM'
Simple mixer control 'SPDIFIN audio samplerate',0
  Capabilities: enum
  Items: 'N/A' '32000' '44100' '48000' '88200' '96000' '176400' '192000'
  Item0: 'N/A'
Simple mixer control 'audio locker enable',0
  Capabilities: enum
  Items: 'Disable' 'Enable'
  Item0: 'Disable'

!!-------Mixer controls for card 1 [Keyboard]

Card hw:1 'Keyboard'/'Roland A-Series Keyboard at usb-xhci-hcd.0.auto-1.3, full speed'
  Mixer name	: 'USB Mixer'
  Components	: 'USB0582:0157'
  Controls      : 0
  Simple ctrls  : 0


!!Alsactl output
!!--------------

--startcollapse--
state.AMLAUGESOUND {
	control.1 {
		iface MIXER
		name 'DAC Digital Playback Volume'
		value.0 254
		value.1 254
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 255'
			dbmin -9999999
			dbmax 375
			dbvalue.0 0
			dbvalue.1 0
		}
	}

    (Other controls info removed by Guy)
}
state.Keyboard {
	control {
	}
}
--endcollapse--


!!All Loaded Modules
!!------------------

Module
snd_seq
snd_seq_device
8021q
garp
stp
mrp
llc
rt2800usb
rt2800lib
snd_usb_audio
rt2x00usb
rt2x00lib
snd_hwdep
rtc_pcf8563
snd_usbmidi_lib
i2c_meson_master
sch_fq_codel
ip_tables
x_tables
ipv6


!!ALSA/HDA dmesg
!!--------------

[    0.348408] set_rdma_handle video rdma handle = 1.
[    0.349353] aml_snd_reg_map[0], reg:ff640000, size:2000
[    0.349377] aml_snd_reg_map[1], reg:ff642000, size:2000
[    0.349390] aml_snd_reg_map[2], reg:ff64a000, size:2000
[    0.349403] aml_snd_reg_map[3], reg:ff656000, size:1800
[    0.349416] aml_snd_reg_map[4], reg:ffd01000, size:1000
[    0.349422] amlogic auge_snd_iomap probe done
[    0.351176] codec_mm codec_mm: assigned reserved memory node linux,codec_mm_cma
--
[    5.074067] spdifout_play_with_zerodata_free, spdif id:1
[    5.074139] asoc-aml-card auge_sound: dit-hifi <-> SPDIF-B mapping ok
[    5.080584] set mclk:12288000, mpll:24576000, get mclk:12287994, mpll:24575987
--
[    5.080599] master_mode(1), binv(1), finv(1) out_skew(2), in_skew(3)
[    5.087230] asoc-aml-card auge_sound: T9015-audio-hifi <-> TDM-C mapping ok
[    5.094181] set normal 512 fs /4 fs
--
[    5.094228] spdifout_play_with_zerodata_free, spdif id:0
[    5.094291] asoc-aml-card auge_sound: dit-hifi <-> SPDIF mapping ok
[    5.101158] snd_card_add_kcontrols card:ffffffc03d200818
[    5.106060] effect_v2 is not init
--
[    5.280040] gxbb_pm: meson_pm_probe done
[    5.280208] ALSA device list:
[    5.280209]   #0: AML-AUGESOUND
--
[    9.301336] rtc-pcf8563 3-0051: rtc core: registered rtc-pcf8563 as rtc0
[    9.317273] usbcore: registered new interface driver snd-usb-audio
[    9.427548] usb 1-1.1: reset high-speed USB device number 3 using xhci-hcd




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




[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux