Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?


  Search this Thread
Old 11-12-2008, 06:08 AM   #1
LQ Newbie
Registered: Nov 2007
Posts: 5

Rep: Reputation: 0
MIDI and ALSA: no ports at all!


I'm trying to get MIDI to work on ALSA, using pmidi or any other player but it won't do.
I don't seem to have MIDI support. See:

bart@bart-desktop:~/Desktop$ amidi -l
Dir Device    Name
cannot determine device number: Inappropriate ioctl for device

bart@bart-desktop:~/Desktop$ pmidi -l
 Port     Client name                       Port name
 14:0     Midi Through                      Midi Through Port-0
How can I add output ports for MIDI? Most people who experience problems don't seem to be experiencing this one. My sound driver, finally, is:

bart@bart-desktop:~/Desktop$ cat /proc/asound/cards
 0 [Intel          ]: HDA-Intel - HDA Intel
                      HDA Intel at 0xfa100000 irq 22
Hopefully someone can help me out. Thanks.
Old 11-12-2008, 06:23 AM   #2
LQ Newbie
Registered: Nov 2007
Posts: 5

Original Poster
Rep: Reputation: 0
Ok, I at least managed to get rid of the first error. I'm not too sure if it's correct the way I've done though.
I edited /etc/modprobe.d/alsa-base. The following line was commented out:

#install snd-seq /sbin/modprobe --ignore-install snd-seq && { /sbin/modprobe --quiet snd-seq-midi ; /sbin/modprobe --quiet snd-seq-oss ; : ; }
I removed the "#" so and reloaded ALSA (sudo /usr/sbin/alsa reload).
Important note though: a few lines above this one is the line:
# Workaround at bug #499695
So perhaps it's commented out for a good reason?

Now, the result of amidi -l is:

bart@bart-desktop:~/Desktop$ amidi -l
Dir Device    Name
Still not good, but I THINK it's better than an error. Or am I wrong? Anyways, can't get MIDI to work
Old 11-19-2008, 07:54 AM   #3
Registered: Oct 2008
Location: Earth
Distribution: Slackware
Posts: 228

Rep: Reputation: 54
Originally Posted by bartkl View Post
How can I add output ports for MIDI?
Buy some hardware that does MIDI. (Your motherboard device does not.)

If you just want to play .mid files, you can use a software synthesizer like Timidity or fluidsynth.
Old 11-22-2008, 06:25 AM   #4
LQ Newbie
Registered: Nov 2007
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks, I never realised ALSA doesn't have a software sequencer like Windows does.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
midi software and alsa troubles... lostinpurdy Linux - Software 1 05-18-2007 03:35 PM
cannot start ALSA midi ctdarksilver Ubuntu 2 10-18-2006 12:15 AM
no sound from MIDI ports [ITA]freeware Linux - Software 0 06-08-2006 01:22 PM
CreativeAudioPCI128+ALSA - No midi playback? leadazide Linux - Hardware 1 07-29-2004 12:53 PM
MIDI with ALSA on ESS1869 xianath Linux - Hardware 0 03-02-2004 03:50 AM > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 04:16 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration