>Rangel Reale wrote: >> I got a combined USB-Serial Serial-MIDI device, it has midi connectors >> on one side, and USB on the other. Its brand is "Prelude Interface MIDI >> USB", seems to be brazilian-developed, in windows it uses 2 drivers, and >> USB-Serial, and a generic Roland MIDI Serial driver. >> >> It is detected as as USB-Serial FTDI device, I looked at the serial MIDI >> driver, but it seems to only work with physical serial ports (it >> requires an ioport, which I don't think USB-Serial devices have).
>The alsa-driver package (but not the kernel) contains the snd-serialmidi >driver which should work with any serial port. Try: >modprobe snd-serialmidi sdev=/dev/ttyUSB0 Hmm the serialmidi driver seems to be broken with the kernel Ubuntu 8.04 uses (2.6.24-17-generic) (I had to enable CONFIG_BROKEN on configure to be allowed to compile it) /usr/src/alsa-driver-1.0.16/drivers/serialmidi.c:117: error: conflicting types for ‘tty_ioctl’ include/linux/tty.h:335: error: previous declaration of ‘tty_ioctl’ was here /usr/src/alsa-driver-1.0.16/drivers/serialmidi.c: In function ‘open_tty’: /usr/src/alsa-driver-1.0.16/drivers/serialmidi.c:220: error: incompatible types in assignment /usr/src/alsa-driver-1.0.16/drivers/serialmidi.c:221: warning: assignment from incompatible pointer type /usr/src/alsa-driver-1.0.16/drivers/serialmidi.c:231: warning: passing argument 2 of ‘driver->set_termios’ from incompatible pointer type /usr/src/alsa-driver-1.0.16/drivers/serialmidi.c: In function ‘tx_loop’: /usr/src/alsa-driver-1.0.16/drivers/serialmidi.c:317: error: ‘struct tty_struct’ has no member named ‘atomic_write’ /usr/src/alsa-driver-1.0.16/drivers/serialmidi.c:322: error: ‘struct tty_struct’ has no member named ‘atomic_write’ /usr/src/alsa-driver-1.0.16/drivers/serialmidi.c:339: error: ‘struct tty_struct’ has no member named ‘atomic_write’ make[3]: *** [/usr/src/alsa-driver-1.0.16/drivers/serialmidi.o] Error 1 make[2]: *** [/usr/src/alsa-driver-1.0.16/drivers] Error 2 make[1]: *** [_module_/usr/src/alsa-driver-1.0.16] Error 2 make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-17-generic' make: *** [compile] Error 2 Is still someone working on this driver? Doesn't look like too many things to fix. >Regards, >Clemens []s Rangel ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user