module ALSA snd_seq for Ubuntu Minimal not installed

Post Reply
turgu1
Posts: 22
Joined: Fri May 31, 2019 6:57 am
languages_spoken: english
ODROIDs: odroid-n2 odroid-c2
Has thanked: 3 times
Been thanked: 0
Contact:

module ALSA snd_seq for Ubuntu Minimal not installed

Unread post by turgu1 » Fri May 31, 2019 7:15 am

Hello,

I have the new odroid-n2 installed with the Ubuntu Minimal system image dated 2019-03-29.
I can't find how to get the snd-seq module installed and loaded.

I first updated the system to the last revision using prescribed 'apt update' and 'apt full-upgrade' commands. Then installed the 'alsa-base' package and rebooted.

I expected that a new device file would have appeared as /dev/snd/seq but it's not there.

Any help would be appreciated.

Cheers!

Guy

User avatar
odroid
Site Admin
Posts: 31765
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Has thanked: 83 times
Been thanked: 241 times
Contact:

Re: module ALSA snd_seq for Ubuntu Minimal not installed

Unread post by odroid » Fri May 31, 2019 9:24 am

Some sound/alsa drivers were not enabled.
https://github.com/hardkernel/linux/blo ... 3970-L3972

We will enable it and release a Kernel update package in several days with other users' requests.

If you can't wait, you can build your own custom kernel.
https://wiki.odroid.com/odroid-n2/softw ... d-n2ubuntu
These users thanked the author odroid for the post:
turgu1 (Sun Jun 02, 2019 2:10 am)

User avatar
meveric
Posts: 10389
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go, H2 (N4100), N2
Has thanked: 15 times
Been thanked: 117 times
Contact:

Re: module ALSA snd_seq for Ubuntu Minimal not installed

Unread post by meveric » Fri May 31, 2019 9:41 am

odroid wrote:
Fri May 31, 2019 9:24 am
If you can't wait, you can build your own custom kernel.
https://wiki.odroid.com/odroid-n2/softw ... d-n2ubuntu
Or use the Debian Image I provide, or replace the Kernel from HardKernel with the ones from my repository as I always build these sound modules ;)
These users thanked the author meveric for the post:
turgu1 (Sun Jun 02, 2019 2:10 am)
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.

turgu1
Posts: 22
Joined: Fri May 31, 2019 6:57 am
languages_spoken: english
ODROIDs: odroid-n2 odroid-c2
Has thanked: 3 times
Been thanked: 0
Contact:

Re: module ALSA snd_seq for Ubuntu Minimal not installed

Unread post by turgu1 » Fri May 31, 2019 11:29 am

Thanks a lot for both answers! I Will wait for the new OS image I guess. But building a new kernel could be an interesting endevour... 8-)

I may try the Debian alternative in the interim.

Cheers!

Guy

turgu1
Posts: 22
Joined: Fri May 31, 2019 6:57 am
languages_spoken: english
ODROIDs: odroid-n2 odroid-c2
Has thanked: 3 times
Been thanked: 0
Contact:

Re: module ALSA snd_seq for Ubuntu Minimal not installed

Unread post by turgu1 » Sun Jun 02, 2019 2:08 am

Hello again...

I’ve tried the Debian image on meveric site. The snd-seq driver is there, thanks!

I’m stuck with the next step: getting midi working with my usb midi controller (a Roland A88). I found that the snd-usb-midi was not loaded, i did so using modprobe, but aconnect -lo doesnt show the device. lsusb do show it. I’m clueless... still searching. Maybe there is still another module required, but can’t find info.

Cheers

Guy

User avatar
igorpec
Posts: 366
Joined: Sat Dec 12, 2015 4:34 pm
languages_spoken: english,german,slovene
ODROIDs: XU4, HC1, C2, C1+
Has thanked: 7 times
Been thanked: 20 times
Contact:

Re: module ALSA snd_seq for Ubuntu Minimal not installed

Unread post by igorpec » Sun Jun 02, 2019 2:33 am

turgu1 wrote:
Sun Jun 02, 2019 2:08 am
Maybe there is still another module required, but can’t find info.
Easy kernel/image rebuilding with modules you need: https://github.com/armbian/build
ARMBIAN - follow on Twitter
linux for ARM development boards with user friendly development tools

turgu1
Posts: 22
Joined: Fri May 31, 2019 6:57 am
languages_spoken: english
ODROIDs: odroid-n2 odroid-c2
Has thanked: 3 times
Been thanked: 0
Contact:

Re: module ALSA snd_seq for Ubuntu Minimal not installed

Unread post by turgu1 » Sun Jun 02, 2019 4:53 am

igorpec wrote:
Sun Jun 02, 2019 2:33 am
turgu1 wrote:
Sun Jun 02, 2019 2:08 am
Maybe there is still another module required, but can’t find info.
Easy kernel/image rebuilding with modules you need: https://github.com/armbian/build
This is a potential avenue, but I can’t see what the problem is (i don’t known if a module is required...). Using “amidi -l” displays the usb midi devices, but “aconnect -i” nor “aconnect -o” doesn’t show them.

User avatar
meveric
Posts: 10389
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go, H2 (N4100), N2
Has thanked: 15 times
Been thanked: 117 times
Contact:

Re: module ALSA snd_seq for Ubuntu Minimal not installed

Unread post by meveric » Sun Jun 02, 2019 5:54 am

maybe you need a /etc/asound.conf file for this?
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.

turgu1
Posts: 22
Joined: Fri May 31, 2019 6:57 am
languages_spoken: english
ODROIDs: odroid-n2 odroid-c2
Has thanked: 3 times
Been thanked: 0
Contact:

Re: module ALSA snd_seq for Ubuntu Minimal not installed

Unread post by turgu1 » Sun Jun 02, 2019 10:41 am

meveric wrote:
Sun Jun 02, 2019 5:54 am
maybe you need a /etc/asound.conf file for this?
I may have found the problem. Comparing with another linux computer, the module snd_rawmidi is not available in the Debian image. I'm currently looking at module-assistant to compile it but I'm struggling with the tool (first time usage).

Guy

User avatar
meveric
Posts: 10389
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go, H2 (N4100), N2
Has thanked: 15 times
Been thanked: 117 times
Contact:

Re: module ALSA snd_seq for Ubuntu Minimal not installed

Unread post by meveric » Sun Jun 02, 2019 3:49 pm

I can add that to my next Kernel build.. but it will probably available around the same time HardKernel does update their Kernel.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.

turgu1
Posts: 22
Joined: Fri May 31, 2019 6:57 am
languages_spoken: english
ODROIDs: odroid-n2 odroid-c2
Has thanked: 3 times
Been thanked: 0
Contact:

Re: module ALSA snd_seq for Ubuntu Minimal not installed

Unread post by turgu1 » Sun Jun 02, 2019 4:31 pm

meveric wrote:
Sun Jun 02, 2019 3:49 pm
I can add that to my next Kernel build.. but it will probably available around the same time HardKernel does update their Kernel.
It would be great! I'm new to kernel management (have been involved in unix/linux software development since 1986, but never touched the linux kernel building process).

Thanks for your support!

Guy

User avatar
meveric
Posts: 10389
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go, H2 (N4100), N2
Has thanked: 15 times
Been thanked: 117 times
Contact:

Re: module ALSA snd_seq for Ubuntu Minimal not installed

Unread post by meveric » Mon Jun 03, 2019 4:49 pm

I just checked on the Kernel... the snd-rawmidi module is already part of the Kernel and a "build-in" module, which means it's always activated (not sure why though, it should rather be a module in my opinion).
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.

turgu1
Posts: 22
Joined: Fri May 31, 2019 6:57 am
languages_spoken: english
ODROIDs: odroid-n2 odroid-c2
Has thanked: 3 times
Been thanked: 0
Contact:

Re: module ALSA snd_seq for Ubuntu Minimal not installed

Unread post by turgu1 » Tue Jun 04, 2019 2:05 am

meveric wrote:
Mon Jun 03, 2019 4:49 pm
I just checked on the Kernel... the snd-rawmidi module is already part of the Kernel and a "build-in" module, which means it's always activated (not sure why though, it should rather be a module in my opinion).
Yes, that is what I've found also this morning. I made my first trial at compiling a new kernel 8-). I downloaded the kernel from the hardkernel/odroid wiki and looked at getting both snd-seq and snd-rawmidi compiled as modules. Using "make menuconfig", I found how to get a snd-seq module compiled, but snd-rawmini doesn't seem to be configurable through menuconfig. I tried to change the default value located in arch/arm64/config/odroidn2_defconfig, replacing by hand CONFIG_SND_RAWMIDI=y with CONFIG_SND_RAWMIDI=m, but I've got no effect rebuilding the .config file (still showing CONFIG_SND_RAWMIDI=y).

Well, I'm not even sure that my problem will be resolved, considering that the snd-rawmidi seems to be loaded inside the kernel image. 8-(

The problem I'm facing is the following:

The midi keyboard is connected to the N2;
The command 'lsusb' shows the device
The command 'amidi -l' shows the device
I can see the device special file /dev/midi1
I can see the midi keyboard output using 'cat </dev/midi1'
BUT, the command 'aconnect -i' doesn't show the device

The aconnect is important to work such that the device could be selected in software by the user.

Guy

User avatar
odroid
Site Admin
Posts: 31765
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Has thanked: 83 times
Been thanked: 241 times
Contact:

Re: module ALSA snd_seq for Ubuntu Minimal not installed

Unread post by odroid » Tue Jun 11, 2019 2:41 pm

Can you test the latest update Kernel 4.9.180-30?
https://github.com/hardkernel/linux/com ... 84ebbcfae2

turgu1
Posts: 22
Joined: Fri May 31, 2019 6:57 am
languages_spoken: english
ODROIDs: odroid-n2 odroid-c2
Has thanked: 3 times
Been thanked: 0
Contact:

Re: module ALSA snd_seq for Ubuntu Minimal not installed

Unread post by turgu1 » Wed Jun 12, 2019 12:57 pm

odroid wrote:
Tue Jun 11, 2019 2:41 pm
Can you test the latest update Kernel 4.9.180-30?
https://github.com/hardkernel/linux/com ... 84ebbcfae2
I did some trials today (Tuesday) without success. I got some difficulties having WiFi properly working. The sound related modules seems to be present but I still can't see the USB midi controller using the aconnect ALSA utility. I will try again tomorrow.

I'm wandering if there is any way to get the snd-rawmidi driver compiled as a module. I've not been able to do that and I'm not sure that this is required (as a module) considering that it is integrated in the kernel. Another aspect: could it be possible that the ALSA utilities version is not compatible with kernel 4.9?

A question: is there effort done to get a workable kernel 5.x for the odroid-n2?

Cheers!

Guy

User avatar
odroid
Site Admin
Posts: 31765
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Has thanked: 83 times
Been thanked: 241 times
Contact:

Re: module ALSA snd_seq for Ubuntu Minimal not installed

Unread post by odroid » Wed Jun 12, 2019 1:20 pm

Kernel 5.x is work-in-progress. But there are many missing features probably.
Try an Armbian nightly build.
viewtopic.php?f=176&t=33993&start=200#p259159

BTW, which USB MIDI input device do you use?

turgu1
Posts: 22
Joined: Fri May 31, 2019 6:57 am
languages_spoken: english
ODROIDs: odroid-n2 odroid-c2
Has thanked: 3 times
Been thanked: 0
Contact:

Re: module ALSA snd_seq for Ubuntu Minimal not installed

Unread post by turgu1 » Wed Jun 12, 2019 7:50 pm

odroid wrote:
Wed Jun 12, 2019 1:20 pm
Kernel 5.x is work-in-progress. But there are many missing features probably.
Try an Armbian nightly build.
viewtopic.php?f=176&t=33993&start=200#p259159

BTW, which USB MIDI input device do you use?
I have two Roland devices: HP307 and A-88.

turgu1
Posts: 22
Joined: Fri May 31, 2019 6:57 am
languages_spoken: english
ODROIDs: odroid-n2 odroid-c2
Has thanked: 3 times
Been thanked: 0
Contact:

Re: module ALSA snd_seq for Ubuntu Minimal not installed

Unread post by turgu1 » Thu Jun 13, 2019 2:40 am

turgu1 wrote:
Wed Jun 12, 2019 12:57 pm
odroid wrote:
Tue Jun 11, 2019 2:41 pm
Can you test the latest update Kernel 4.9.180-30?
https://github.com/hardkernel/linux/com ... 84ebbcfae2
I did some trials today (Tuesday) without success. I got some difficulties having WiFi properly working. The sound related modules seems to be present but I still can't see the USB midi controller using the aconnect ALSA utility. I will try again tomorrow.

I'm wandering if there is any way to get the snd-rawmidi driver compiled as a module. I've not been able to do that and I'm not sure that this is required (as a module) considering that it is integrated in the kernel. Another aspect: could it be possible that the ALSA utilities version is not compatible with kernel 4.9?

A question: is there effort done to get a workable kernel 5.x for the odroid-n2?

Cheers!

Guy
I made some new trials this morning. I have a Raspberry Pi that I configured with Ubuntu 18.04.2 version. I had to install (apt-get) both alsa and alsa-utils (they are not part of the Ubuntu server image) and then reboot. No change to the configuration. As soon as I connected the MIDI controller (Roland HP307) on the Raspberry Pi, I was able to see the device in the resulting "aconnect -i" command.

With the odroid-n2, I installed the March 2019 image and made an "apt-get update; apt-get upgrade" cycle. Got the linux kernel 4.9.180-30 through these commands. No luck, the Midi controller did not appeared in the "aconnect -i" command. I also tried to do the following: "apt-get purge alsa alsa-utils; apt-get install alsa alsa-utils; sync; reboot" Still no luck.

I would say that all sound drivers on the ubuntu Raspberry Pi where compiled as modules (even the snd module was showned with lsmod). Also, there was a /proc/asound/modules file in the Raspberry Pi that was not present on the odroid-n2. Some of the sound drivers are compiled directly in the kernel on the odroid. Some individual mention me that it could be the problem. I can't tell as I don't have enough expertise to comment.

I've retrived the result of using the "alsa-info" command on both the Raspberry Pi and the Odroid-N2. This command retrieve many system parameters in relation with the alsa installation. I added them as an attachment to this message.

Cheers!

Guy
Attachments
alsa-info-odroid.txt
(59.64 KiB) Downloaded 17 times
alsa-info-raspberry.txt
(5.26 KiB) Downloaded 13 times

User avatar
odroid
Site Admin
Posts: 31765
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Has thanked: 83 times
Been thanked: 241 times
Contact:

Re: module ALSA snd_seq for Ubuntu Minimal not installed

Unread post by odroid » Thu Jun 13, 2019 10:23 am

Thank you for sharing the various test results.
We will try to make "snd-rawmidi" driver as a module first by early next week.

I'm considering buy a KORG microKEY-25 MIDI keyboard if we can't fix this issue soon.

turgu1
Posts: 22
Joined: Fri May 31, 2019 6:57 am
languages_spoken: english
ODROIDs: odroid-n2 odroid-c2
Has thanked: 3 times
Been thanked: 0
Contact:

Re: module ALSA snd_seq for Ubuntu Minimal not installed

Unread post by turgu1 » Thu Jun 13, 2019 10:41 am

odroid wrote:
Thu Jun 13, 2019 10:23 am
Thank you for sharing the various test results.
We will try to make "snd-rawmidi" driver as a module first by early next week.

I'm considering buy a KORG microKEY-25 MIDI keyboard if we can't fix this issue soon.
I'm looking at the kernel 5.3 effort too. Hope that we will find a solution at some point.

I've made my own sampling synthesizer software. A kind of daemon without a graphical interface (still a work in progress but is functional). I bought the Odroid-N2 to run it with the Roland A-88 keyboard, mainly as a piano. I was used to play with a raspberry-pi 3 but I required more RAM/CPU performance to add new audio processing on the samples. The code is open-source: https://github.com/turgu1/mezzo

The N2 is ideal for that, if we can fix the midi stuff.

Cheers!

Guy

mdrjr
Site Admin
Posts: 11710
Joined: Fri Feb 22, 2013 11:34 pm
languages_spoken: english, portuguese
ODROIDs: -
Location: Brazil
Has thanked: 0
Been thanked: 6 times
Contact:

Re: module ALSA snd_seq for Ubuntu Minimal not installed

Unread post by mdrjr » Wed Jun 19, 2019 2:15 am

Can you try something?

Maybe add those lines below to /etc/modules at the bottom of the file ?
snd_usb_audio
snd_hwdep
snd_usbmidi_lib
snd_pcm_oss
snd_mixer_oss
snd_pcm
snd_seq_dummy
snd_seq_oss
snd_seq_midi
snd_seq_midi_event
snd_rawmidi
snd_seq
snd_seq_device
snd_timer
You need to reboot and try again.. let me know if it helps

turgu1
Posts: 22
Joined: Fri May 31, 2019 6:57 am
languages_spoken: english
ODROIDs: odroid-n2 odroid-c2
Has thanked: 3 times
Been thanked: 0
Contact:

Re: module ALSA snd_seq for Ubuntu Minimal not installed

Unread post by turgu1 » Wed Jun 19, 2019 5:56 am

mdrjr wrote:
Wed Jun 19, 2019 2:15 am
Can you try something?

Maybe add those lines below to /etc/modules at the bottom of the file ?
snd_usb_audio
snd_hwdep
snd_usbmidi_lib
snd_pcm_oss
snd_mixer_oss
snd_pcm
snd_seq_dummy
snd_seq_oss
snd_seq_midi
snd_seq_midi_event
snd_rawmidi
snd_seq
snd_seq_device
snd_timer
You need to reboot and try again.. let me know if it helps
Hello,

Thanks for the help, but it still not working. I've updated the system to get last kernel update (through apt-get update; apt-get upgrade). Here is some data:
# uname -a
Linux odroid 4.9.182-31 #1 SMP PREEMPT Tue Jun 18 14:45:56 -03 2019 aarch64 aarch64 aarch64 GNU/Linux

# lsmod | grep snd
snd_seq_midi 16384 0
snd_seq_oss 49152 0
snd_seq_midi_event 16384 2 snd_seq_midi,snd_seq_oss
snd_seq_dummy 16384 0
snd_seq 77824 6 snd_seq_midi_event,snd_seq_dummy,snd_seq_midi,snd_seq_oss
snd_seq_device 16384 3 snd_seq,snd_seq_midi,snd_seq_oss
snd_pcm_oss 57344 0
snd_mixer_oss 32768 1 snd_pcm_oss
snd_usb_audio 196608 0
snd_hwdep 20480 1 snd_usb_audio
snd_usbmidi_lib 32768 1 snd_usb_audio

# amidi -l
Dir Device Name
IO hw:1,0,0 Roland HP Series MIDI 1

# aconnect -i
client 0: 'System' [type=kernel]
0 'Timer '
1 'Announce '
client 14: 'Midi Through' [type=kernel]
0 'Midi Through Port-0'
So still no appearance of the midi keyboard on the "aconnect -i" command. :roll:

Cheers!

Guy

User avatar
odroid
Site Admin
Posts: 31765
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Has thanked: 83 times
Been thanked: 241 times
Contact:

Re: module ALSA snd_seq for Ubuntu Minimal not installed

Unread post by odroid » Wed Jun 19, 2019 9:20 am

All the snd_seq* drivers are module with Kernel 4.9.182 obviously.
It is really hard to know what's wrong.

turgu1
Posts: 22
Joined: Fri May 31, 2019 6:57 am
languages_spoken: english
ODROIDs: odroid-n2 odroid-c2
Has thanked: 3 times
Been thanked: 0
Contact:

Re: module ALSA snd_seq for Ubuntu Minimal not installed

Unread post by turgu1 » Wed Jun 19, 2019 10:12 am

odroid wrote:
Wed Jun 19, 2019 9:20 am
All the snd_seq* drivers are module with Kernel 4.9.182 obviously.
It is really hard to know what's wrong.
There is still snd_rawmidi that isn’t there. Don’t know if it could be the solution to get it as a module.

User avatar
odroid
Site Admin
Posts: 31765
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Has thanked: 83 times
Been thanked: 241 times
Contact:

Re: module ALSA snd_seq for Ubuntu Minimal not installed

Unread post by odroid » Wed Jun 19, 2019 11:21 am

I could run "modprobe snd-rawmidi" without error after Kernel update to 4.9.182-31.
But it doesn't exist in the "lsmod" output. We will check it first.

turgu1
Posts: 22
Joined: Fri May 31, 2019 6:57 am
languages_spoken: english
ODROIDs: odroid-n2 odroid-c2
Has thanked: 3 times
Been thanked: 0
Contact:

Re: module ALSA snd_seq for Ubuntu Minimal not installed

Unread post by turgu1 » Wed Jun 19, 2019 11:37 am

odroid wrote:
Wed Jun 19, 2019 11:21 am
I could run "modprobe snd-rawmidi" without error after Kernel update to 4.9.182-31.
But it doesn't exist in the "lsmod" output. We will check it first.
The snd-rawmidi is compiled inside the kernel but is not visible as a module.

Another aspect I have just seen (or not seen...): there is no /proc/asound/modules file created. Don’t really know if it could be related. It may also be a file only available with a more recent version of the kernel.

User avatar
odroid
Site Admin
Posts: 31765
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Has thanked: 83 times
Been thanked: 241 times
Contact:

Re: module ALSA snd_seq for Ubuntu Minimal not installed

Unread post by odroid » Wed Jun 19, 2019 12:13 pm

Ah.. sorry. Something was wrong.
We were confused with the snd-rawmidi-seq driver.
https://github.com/hardkernel/linux/blo ... nfig#L3989

We will try to make snd-rawmidi module again and look into the "modules" file.

turgu1
Posts: 22
Joined: Fri May 31, 2019 6:57 am
languages_spoken: english
ODROIDs: odroid-n2 odroid-c2
Has thanked: 3 times
Been thanked: 0
Contact:

Re: module ALSA snd_seq for Ubuntu Minimal not installed

Unread post by turgu1 » Tue Jul 02, 2019 12:58 am

Hello, in another thread I’ve started on Debian forums, somebody proposed me to use a usb-2 port instead of a usb-3 port to connect my midi controller. I will have a usb-otg cable next week and will try that. I understand that there is many issues related to the usb-3 ports, but I didn’t expected that it could be the problem with such a low speed device. I’ll keep you informed.

User avatar
odroid
Site Admin
Posts: 31765
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Has thanked: 83 times
Been thanked: 241 times
Contact:

Re: module ALSA snd_seq for Ubuntu Minimal not installed

Unread post by odroid » Tue Jul 02, 2019 1:14 pm

I don't think USB 2.0 can solve your issue either. :(

Due to a bad dependency between ALSA driver and HDMI audio driver, we could not make the snd-rawmidi driver as a module.
To make the snd-rawmidi driver as a module, the ALSA base driver must be a module too.
But the ALSA base driver must be a built-in driver due the HDMI/SPDIF driver characteristics.

We think the MIDI input driver might have an internal problem by itself.
The driver should work regardless of the module or builtin.
But we couldn't find where we have to look into to start a debugging.

turgu1
Posts: 22
Joined: Fri May 31, 2019 6:57 am
languages_spoken: english
ODROIDs: odroid-n2 odroid-c2
Has thanked: 3 times
Been thanked: 0
Contact:

Re: module ALSA snd_seq for Ubuntu Minimal not installed

Unread post by turgu1 » Wed Jul 03, 2019 5:33 am

I can confirm that the OTG behave the same way as the usb-3 ports.

User avatar
odroid
Site Admin
Posts: 31765
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Has thanked: 83 times
Been thanked: 241 times
Contact:

Re: module ALSA snd_seq for Ubuntu Minimal not installed

Unread post by odroid » Wed Jul 03, 2019 2:59 pm

I see, :(

We will order KORG microKEY-25 USB MIDI keyboard to solve this issue very soon.
Do you think the KORG microKEY is compatible with snd-rawmidi driver?
These users thanked the author odroid for the post:
ManuelFantoni (Thu Jul 04, 2019 1:22 am)

turgu1
Posts: 22
Joined: Fri May 31, 2019 6:57 am
languages_spoken: english
ODROIDs: odroid-n2 odroid-c2
Has thanked: 3 times
Been thanked: 0
Contact:

Re: module ALSA snd_seq for Ubuntu Minimal not installed

Unread post by turgu1 » Wed Jul 03, 2019 7:33 pm

odroid wrote:
Wed Jul 03, 2019 2:59 pm
I see, :(

We will order KORG microKEY-25 USB MIDI keyboard to solve this issue very soon.
Do you think the KORG microKEY is compatible with snd-rawmidi driver?
I would say so.
I will continue my investigation. This week, I will try to use alsa in debug mode and see if it can give some more detail.

User avatar
odroid
Site Admin
Posts: 31765
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Has thanked: 83 times
Been thanked: 241 times
Contact:

Re: module ALSA snd_seq for Ubuntu Minimal not installed

Unread post by odroid » Thu Jul 04, 2019 8:06 am

Ok. We've ordered it and may take a week for delivery.

cap00k
Posts: 85
Joined: Tue May 21, 2013 10:46 am
languages_spoken: english
ODROIDs: ODROID
Has thanked: 0
Been thanked: 6 times
Contact:

Re: module ALSA snd_seq for Ubuntu Minimal not installed

Unread post by cap00k » Tue Jul 09, 2019 5:57 pm

It has been tested through the KORG microKEY-25 USB MIDI keyboard.
And a quick driver fix will be included in the next kernel release.

Code: Select all

odroid@odroid:~$ amidi -l
Dir Device    Name
IO  hw:1,0,0  microKEY-25 MIDI 1
odroid@odroid:~$ 
odroid@odroid:~$ aconnect -i
client 0: 'System' [type=kernel]
    0 'Timer           '
    1 'Announce        '
client 20: 'microKEY-25' [type=kernel,card=1]
    0 'microKEY-25 MIDI 1'
odroid@odroid:~$ 
usb-midi.png
usb-midi.png (343.84 KiB) Viewed 632 times
These users thanked the author cap00k for the post:
ManuelFantoni (Tue Jul 09, 2019 6:15 pm)

turgu1
Posts: 22
Joined: Fri May 31, 2019 6:57 am
languages_spoken: english
ODROIDs: odroid-n2 odroid-c2
Has thanked: 3 times
Been thanked: 0
Contact:

Re: module ALSA snd_seq for Ubuntu Minimal not installed

Unread post by turgu1 » Tue Jul 09, 2019 8:53 pm

cap00k wrote:
Tue Jul 09, 2019 5:57 pm
It has been tested through the KORG microKEY-25 USB MIDI keyboard.
And a quick driver fix will be included in the next kernel release.

Code: Select all

odroid@odroid:~$ amidi -l
Dir Device    Name
IO  hw:1,0,0  microKEY-25 MIDI 1
odroid@odroid:~$ 
odroid@odroid:~$ aconnect -i
client 0: 'System' [type=kernel]
    0 'Timer           '
    1 'Announce        '
client 20: 'microKEY-25' [type=kernel,card=1]
    0 'microKEY-25 MIDI 1'
odroid@odroid:~$ 
usb-midi.png
Thanks a lot! Please let me know what the problem is.

Cheers!

Guy

User avatar
odroid
Site Admin
Posts: 31765
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Has thanked: 83 times
Been thanked: 241 times
Contact:

Re: module ALSA snd_seq for Ubuntu Minimal not installed

Unread post by odroid » Wed Jul 10, 2019 9:05 am

All the ALSA and snd-usb-audio device drivers must be included in the Kernel image.
Give us a couple of more days. We will update our kernel configuration in the github and release a Kernel update package in this week.
These users thanked the author odroid for the post:
turgu1 (Wed Jul 10, 2019 9:12 am)

turgu1
Posts: 22
Joined: Fri May 31, 2019 6:57 am
languages_spoken: english
ODROIDs: odroid-n2 odroid-c2
Has thanked: 3 times
Been thanked: 0
Contact:

Re: module ALSA snd_seq for Ubuntu Minimal not installed

Unread post by turgu1 » Thu Jul 11, 2019 7:57 am

odroid wrote:
Wed Jul 10, 2019 9:05 am
All the ALSA and snd-usb-audio device drivers must be included in the Kernel image.
Give us a couple of more days. We will update our kernel configuration in the github and release a Kernel update package in this week.
Hello,

I've tried the last kernel update and I was then able to see the midi controller appearing in the list.

Thank you, thank you thaaaaaaaank yooooooooou!!!!! :D

Guy

User avatar
odroid
Site Admin
Posts: 31765
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Has thanked: 83 times
Been thanked: 241 times
Contact:

Re: module ALSA snd_seq for Ubuntu Minimal not installed

Unread post by odroid » Thu Jul 11, 2019 10:11 am

Glad to hear that you can play music on Kernel 4.9.184-37 finally ;)

Refer to this patch to know what was wrong.
https://github.com/hardkernel/linux/com ... 7295b57a31

The most important thing seems to be CONFIG_SND_USB_AUDIO

Post Reply

Return to “Ubuntu”

Who is online

Users browsing this forum: No registered users and 0 guests