[PlanetCCRMA] /dev/midi and pd

Fernando Lopez-Lezcano nando@ccrma.Stanford.EDU
Tue Feb 8 18:52:00 2005

On Tue, 2005-02-08 at 16:33, Jon B wrote:
> So I tried to get pd to use MIDI (both virmidi and a midisport 1x1). 
> With some help, I figured out that I needed to map some things:
> ln -s /dev/snd/midiC2D0 /dev/midi00
> ln -s /dev/snd/midiC2D1 /dev/midi01
> ln -s /dev/snd/midiC2D2 /dev/midi02
> ln -s /dev/snd/midiC2D3 /dev/midi03
> ln -s /dev/snd/midiC3D0 /dev/midi04
> But apparently there's some thing called udev that recreates the
> entire /dev/ directory every bootup.  So how do I make this change
> permanent?

I also have to learn about udev.... sigh...

There is a way to tell udev to recreate devices automatically on boot
(it's on the fc3 release notes). Copy the devices from /dev/ to
/etc/udev/devices/. Again, would be better to alter the creation rules
or really find the bug :-)

-- Fernando