Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
no midi with alsa
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
mathfeel
l33t
l33t


Joined: 03 Aug 2004
Posts: 700

PostPosted: Sat Nov 04, 2006 5:16 am    Post subject: no midi with alsa Reply with quote

I just followed this guide here: http://www.gentoo.org/doc/en/alsa-guide.xml
Since my alsa driver is snd_intel8x0, and the card is (from lspci):
Code:

00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 01)
00:1f.6 Modem: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Modem Controller (rev 01)

timidiy++ service starts with no error, but I don't see any port:
Code:

$ aplaymidi -l
 Port    Client name                      Port name


I have emerged all necessary packages:
Code:

$ equery list timidity++
[ Searching for package 'timidity++' in all categories among: ]
 * installed packages
[I--] [  ] media-sound/timidity++-2.13.2-r2 (0)
$ equery list patches
[ Searching for package 'patches' in all categories among: ]
 * installed packages
[I--] [  ] media-sound/timidity-eawpatches-12-r4 (0)
[I--] [  ] media-sound/timidity-shompatches-19960409-r3 (0)


Any help is appreciated.
_________________
-----------------------------------------------------------
"In heaven all the interesting people are missing"
-- Friedrich Nietzsche
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Sat Nov 04, 2006 6:45 am    Post subject: Re: no midi with alsa Reply with quote

mathfeel wrote:
timidiy++ service starts with no error

Does ps ax shows that timidity is running?
Back to top
View user's profile Send private message
mathfeel
l33t
l33t


Joined: 03 Aug 2004
Posts: 700

PostPosted: Sat Nov 04, 2006 8:42 am    Post subject: Re: no midi with alsa Reply with quote

PaulBredbury wrote:
mathfeel wrote:
timidiy++ service starts with no error

Does ps ax shows that timidity is running?


Good call...it's not running! How to fix?

Edit: I finally found the problem. There is a symb link in /usr/share/timidity that points to /etc/timidity.cfg, whose content is:
Code:
$ cat /etc/timidity.cfg
##############################################################################
#
# timidity-update core configuration file
#
# Easy process:
#
#  1.  Change directory to patch directory
#  2.  Source current/timidity.cfg
#
# Current patch set will always be symlinked to current, so make sure that the
# proper timidity.cfg is in there
#
#
#  - source /usr/share/timidity
#  - source ~/.timidity/current
#  - Make ~/.timidity/current point to the current patch set, or to whatever
#    the individual user sets
#  - If ~/.timidity/current isn't found, it will try
#    /usr/share/timidity/current
#

dir /usr/share/timidity
dir ~/.timidity
source current/timidity.cfg

The last line just loops to the same file. I deleted the symb link and created a new one pointing to the timidity.cfg in the patch set that I want. And wa.la.:

Code:
$ aplaymidi -l
 Port    Client name                      Port name
128:0    TiMidity                         TiMidity port 0
128:1    TiMidity                         TiMidity port 1
128:2    TiMidity                         TiMidity port 2
128:3    TiMidity                         TiMidity port 3

_________________
-----------------------------------------------------------
"In heaven all the interesting people are missing"
-- Friedrich Nietzsche


Last edited by mathfeel on Sat Nov 04, 2006 9:02 am; edited 2 times in total
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Sat Nov 04, 2006 8:51 am    Post subject: Reply with quote

Look at /etc/init.d/timidity - it's that darn "quiet" that's probably hiding an error message at startup. Remove "--quiet" and try it again.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum