Re: [LAU] midi sub-devices in OSS emulation

From: Clemens Ladisch <clemens@email-addr-hidden>
Date: Mon Apr 09 2018 - 19:49:08 EEST

Brent Busby wrote:
> Is there a way to access individual subdevices through the OSS emulation?

Short answer: no.
Long answer: opening a device will open the first available subdevice.

> What is the difference between midi, dmmidi, amidi, and admmidi?

/dev/midiX and /dev/dmmidiX are the same.
/dev/amidiX and /dev/admmidiX are the same.

/dev/midiX is MIDI device 0 of card X.
/dev/amidiX is MIDI device 1 of card X.

You can change the OSS device numbers with the midi_map and amidi_map options
of the snd-rawmidi module, with one number per card. E.g., to let /dev/amidi4
point to device 2, use "options snd-rawmidi amidi_map=1,1,1,1,2".

Regards,
Clemens
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@lists.linuxaudio.org
https://lists.linuxaudio.org/listinfo/linux-audio-user
Received on Mon Jun 18 21:51:46 2018

This archive was generated by hypermail 2.1.8 : Mon Jun 18 2018 - 21:51:47 EEST