LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
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?

Notices


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

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


Hi,

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:

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

Code:
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:

Code:
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
bartkl
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:

Code:
#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:
Code:
# Workaround at bug #499695
So perhaps it's commented out for a good reason?

Now, the result of amidi -l is:

Code:
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
cladisch
Member
 
Registered: Oct 2008
Location: Earth
Distribution: Slackware
Posts: 228

Rep: Reputation: 54
Quote:
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
bartkl
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.
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 07:35 PM.

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