I am trying to get a Planet CCRMA linux box up and running with PD. I am having one problem. I cannot get UM-1 (USB MIDI) to show up as a MIDI input/output device in the MIDI Settings... window of PD (Media>MIDI settings...).
This MIDI device shows up as an Audio device instead. When I click on the Audio Settings (Media>Audio settings...) the UM-1 is in the audio list. This audio list also shows my Modem.
I know I have not configured something correctly but cannot figure out the problem.
Here is my setup: Fedora Core 3 (from CCRMA) all of the Planet CCRMA audio apps (including ALSA, PD, etc...)
Any help would be greatly appreciated, Mitch
Do 'aconnect -i' or 'pmidi -l', give a list of MIDI devices? If they do your problem is with PD not 'seeing' the device. I would guess that you don't have the right symbolic link in your dev tree. Try something like:
ln -s /dev/snd/midiC1D0 /dev/midi.
Where midiC1D0 is your first MIDI interface.
Jamie
On Mon, 2005-02-14 at 20:34 -0500, Mitchell Turner wrote:
I am trying to get a Planet CCRMA linux box up and running with PD. I am having one problem. I cannot get UM-1 (USB MIDI) to show up as a MIDI input/output device in the MIDI Settings... window of PD (Media>MIDI settings...).
This MIDI device shows up as an Audio device instead. When I click on the Audio Settings (Media>Audio settings...) the UM-1 is in the audio list. This audio list also shows my Modem.
I know I have not configured something correctly but cannot figure out the problem.
Here is my setup: Fedora Core 3 (from CCRMA) all of the Planet CCRMA audio apps (including ALSA, PD, etc...)
Any help would be greatly appreciated, Mitch
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://iem.at/cgi-bin/mailman/listinfo/pd-list
Hmm.. well I have the same problem as you. Yesterday the fix below worked for me, now it doesn't. Strange..
Jamie
On Tue, 2005-02-15 at 09:53 +0000, Jamie Bullock wrote:
Do 'aconnect -i' or 'pmidi -l', give a list of MIDI devices? If they do your problem is with PD not 'seeing' the device. I would guess that you don't have the right symbolic link in your dev tree. Try something like:
ln -s /dev/snd/midiC1D0 /dev/midi.
Where midiC1D0 is your first MIDI interface.
Jamie
On Mon, 2005-02-14 at 20:34 -0500, Mitchell Turner wrote:
I am trying to get a Planet CCRMA linux box up and running with PD. I am having one problem. I cannot get UM-1 (USB MIDI) to show up as a MIDI input/output device in the MIDI Settings... window of PD (Media>MIDI settings...).
This MIDI device shows up as an Audio device instead. When I click on the Audio Settings (Media>Audio settings...) the UM-1 is in the audio list. This audio list also shows my Modem.
I know I have not configured something correctly but cannot figure out the problem.
Here is my setup: Fedora Core 3 (from CCRMA) all of the Planet CCRMA audio apps (including ALSA, PD, etc...)
Any help would be greatly appreciated, Mitch
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://iem.at/cgi-bin/mailman/listinfo/pd-list
I don't have a um1 but I have a pcr keyboard which I think are similar in there USB MIDI implementation. I vaguely remember having to symbolically link to the D1 device and not D0. Sorry I can't verify this I don't have my gear with me.
...steve...
Jamie Bullock wrote:
Hmm.. well I have the same problem as you. Yesterday the fix below worked for me, now it doesn't. Strange..
Jamie
On Tue, 2005-02-15 at 09:53 +0000, Jamie Bullock wrote:
Do 'aconnect -i' or 'pmidi -l', give a list of MIDI devices? If they do your problem is with PD not 'seeing' the device. I would guess that you don't have the right symbolic link in your dev tree. Try something like:
ln -s /dev/snd/midiC1D0 /dev/midi.
Where midiC1D0 is your first MIDI interface.
Jamie
On Mon, 2005-02-14 at 20:34 -0500, Mitchell Turner wrote:
I am trying to get a Planet CCRMA linux box up and running with PD. I am having one problem. I cannot get UM-1 (USB MIDI) to show up as a MIDI input/output device in the MIDI Settings... window of PD (Media>MIDI settings...).
This MIDI device shows up as an Audio device instead. When I click on the Audio Settings (Media>Audio settings...) the UM-1 is in the audio list. This audio list also shows my Modem.
I know I have not configured something correctly but cannot figure out the problem.
Here is my setup: Fedora Core 3 (from CCRMA) all of the Planet CCRMA audio apps (including ALSA, PD, etc...)
Any help would be greatly appreciated, Mitch
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://iem.at/cgi-bin/mailman/listinfo/pd-list
I am getting a bit closer to sorting the problem. It seems that /dev/midiX devices are unique to the TclMIDI implementation, and nothing to do with Alsa or OSS per se. Hence, the problem being unique to PD and not other apps.
The problem is that on my system the all sound hardware is presented under /dev/snd. This wouldn't be a problem because, to make midi work under PD (for example), all I would have to do is make a symbolic link from /dev/midi1 to /dev/snd/midi1 etc. The problem is that whenever I reboot, the symbolic link gets destroyed.
Any ideas?
Jamie
The problem that I have is that
On Tue, 2005-02-15 at 11:56 -0600, Steve Briggs wrote:
I don't have a um1 but I have a pcr keyboard which I think are similar in there USB MIDI implementation. I vaguely remember having to symbolically link to the D1 device and not D0. Sorry I can't verify this I don't have my gear with me.
...steve...
Jamie Bullock wrote:
Hmm.. well I have the same problem as you. Yesterday the fix below worked for me, now it doesn't. Strange..
Jamie
On Tue, 2005-02-15 at 09:53 +0000, Jamie Bullock wrote:
Do 'aconnect -i' or 'pmidi -l', give a list of MIDI devices? If they do your problem is with PD not 'seeing' the device. I would guess that you don't have the right symbolic link in your dev tree. Try something like:
ln -s /dev/snd/midiC1D0 /dev/midi.
Where midiC1D0 is your first MIDI interface.
Jamie
On Mon, 2005-02-14 at 20:34 -0500, Mitchell Turner wrote:
I am trying to get a Planet CCRMA linux box up and running with PD. I am having one problem. I cannot get UM-1 (USB MIDI) to show up as a MIDI input/output device in the MIDI Settings... window of PD (Media>MIDI settings...).
This MIDI device shows up as an Audio device instead. When I click on the Audio Settings (Media>Audio settings...) the UM-1 is in the audio list. This audio list also shows my Modem.
I know I have not configured something correctly but cannot figure out the problem.
Here is my setup: Fedora Core 3 (from CCRMA) all of the Planet CCRMA audio apps (including ALSA, PD, etc...)
Any help would be greatly appreciated, Mitch
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://iem.at/cgi-bin/mailman/listinfo/pd-list
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://iem.at/cgi-bin/mailman/listinfo/pd-list
You could re-create them at startup by putting them in /etc/rc.local rc.local gets run at startup after all other system scripts. Your links are disapearing because you are using devfs or udev right? so the whole /dev/ directory tree is dynamicaly created in the same way /proc/ is.
The /dev/midiX devices are OSS specific btw not TCL specific I believe.
...steve...
Jamie Bullock wrote:
I am getting a bit closer to sorting the problem. It seems that /dev/midiX devices are unique to the TclMIDI implementation, and nothing to do with Alsa or OSS per se. Hence, the problem being unique to PD and not other apps.
The problem is that on my system the all sound hardware is presented under /dev/snd. This wouldn't be a problem because, to make midi work under PD (for example), all I would have to do is make a symbolic link from /dev/midi1 to /dev/snd/midi1 etc. The problem is that whenever I reboot, the symbolic link gets destroyed.
Any ideas?
Jamie
The problem that I have is that
On Tue, 2005-02-15 at 11:56 -0600, Steve Briggs wrote:
I don't have a um1 but I have a pcr keyboard which I think are similar in there USB MIDI implementation. I vaguely remember having to symbolically link to the D1 device and not D0. Sorry I can't verify this I don't have my gear with me.
...steve...
Jamie Bullock wrote:
Hmm.. well I have the same problem as you. Yesterday the fix below worked for me, now it doesn't. Strange..
Jamie
On Tue, 2005-02-15 at 09:53 +0000, Jamie Bullock wrote:
Do 'aconnect -i' or 'pmidi -l', give a list of MIDI devices? If they do your problem is with PD not 'seeing' the device. I would guess that you don't have the right symbolic link in your dev tree. Try something like:
ln -s /dev/snd/midiC1D0 /dev/midi.
Where midiC1D0 is your first MIDI interface.
Jamie
On Mon, 2005-02-14 at 20:34 -0500, Mitchell Turner wrote:
I am trying to get a Planet CCRMA linux box up and running with PD. I am having one problem. I cannot get UM-1 (USB MIDI) to show up as a MIDI input/output device in the MIDI Settings... window of PD (Media>MIDI settings...).
This MIDI device shows up as an Audio device instead. When I click on the Audio Settings (Media>Audio settings...) the UM-1 is in the audio list. This audio list also shows my Modem.
I know I have not configured something correctly but cannot figure out the problem.
Here is my setup: Fedora Core 3 (from CCRMA) all of the Planet CCRMA audio apps (including ALSA, PD, etc...)
Any help would be greatly appreciated, Mitch
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://iem.at/cgi-bin/mailman/listinfo/pd-list
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://iem.at/cgi-bin/mailman/listinfo/pd-list
Thanks Steve!
It seems like I am using udev! I'd never heard of it before, but it seems quite cool. The problem is solved by replacing:
KERNEL="midi[CD0-9]*", NAME="snd/%k"
with
KERNEL="midi[CD0-9]*", NAME="snd/%k", SYMLINK="midi%e"
in /etc/udev/rules.d/_your_rules_file
I didn't want to go down the rc.local route because that seemed like a workaround rather than a fix.
Jamie
On Tue, 2005-02-15 at 14:18 -0600, Steve Briggs wrote:
You could re-create them at startup by putting them in /etc/rc.local rc.local gets run at startup after all other system scripts. Your links are disapearing because you are using devfs or udev right? so the whole /dev/ directory tree is dynamicaly created in the same way /proc/ is.
The /dev/midiX devices are OSS specific btw not TCL specific I believe.
...steve...
Cool :) I've not used udev yet. Glad to see it has built in symlink/aliasing. Strange re:rc.local. I always feel like I've failed to find the right answer if I have to use rc.local. Even though it's a perfectly good place to put things it always feels slightly dirty.
For those who would like to know about the udev/devfs situation here is a link to an informative read: http://lwn.net/Articles/65197/
...steve... Jamie Bullock wrote:
Thanks Steve!
It seems like I am using udev! I'd never heard of it before, but it seems quite cool. The problem is solved by replacing:
KERNEL="midi[CD0-9]*", NAME="snd/%k"
with
KERNEL="midi[CD0-9]*", NAME="snd/%k", SYMLINK="midi%e"
in /etc/udev/rules.d/_your_rules_file
I didn't want to go down the rc.local route because that seemed like a workaround rather than a fix.
Jamie
On Tue, 2005-02-15 at 14:18 -0600, Steve Briggs wrote:
You could re-create them at startup by putting them in /etc/rc.local rc.local gets run at startup after all other system scripts. Your links are disapearing because you are using devfs or udev right? so the whole /dev/ directory tree is dynamicaly created in the same way /proc/ is.
The /dev/midiX devices are OSS specific btw not TCL specific I believe.
...steve...
Mitchell Turner mmturner@mindspring.com writes:
I am trying to get a Planet CCRMA linux box up and running with PD. I am having one problem. I cannot get UM-1 (USB MIDI) to show up as a MIDI input/output device in the MIDI Settings... window of PD (Media>MIDI settings...).
This MIDI device shows up as an Audio device instead. When I click on the Audio Settings (Media>Audio settings...) the UM-1 is in the audio list.
AFAIK, all usb devices (MIDI and audio) are being managed by one and the same alsa driver, namely snd-usb-audio. Assuming you use hotplug, snd-usb-audio is being loaded at fairly early stage, when usb is being configured. Hotplug simply detects a usb device and loads it even before you get to the sound/alsa loading rutines. One efficient way to prevent this is to blacklist snd-usb-audio and let the sound loading scripts take care of loading that driver.
As a test, try booting with your MIDI interface unplugged and se where that gets you. then see what happens when you plug it in.
HTH
./MiS