Re: [Alsa-user] snd-serialmidi / snd-serial-u16550 ??
Brought to you by:
perex
From: Clemens L. <cl...@la...> - 2003-09-04 11:45:09
|
rossen wrote: > I have Yamaha CS1X which has "to host" interface that output midi > to a serial port. [...] > Also, what is the difference between snd-serialmidi and snd-serial-u16550 ? There are two ways of using a serial port for MIDI: 1) Load the standard Linux serial driver for the port, and use the snd-serialmidi driver, specifying the name of the device file with the sdev parameter. You should set the correct speed, too (if it isn't the default value 38400). modprobe snd-serialmidi sdev=/dev/tty... speed=... 2) Do _not_ load the standard serial driver for the port, and use the snd-serial-u16550 driver. This driver accesses the hardware directly, so you have to set the port, irq (and maybe speed) parameters. modprobe snd-serial-u16550 port=... irq=... speed=... (usually, COM1 is 0x3f8/4, and COM2 is 0x2f8/3) In both cases, you have to know which port your MIDI device is connected to. Please note that the module options do not have a "snd_" prefix anymore. HTH Clemens |