From: Happy <happy.musicmaker@gmail.com>
To: alsa-devel@alsa-project.org
Subject: Where do amidi MIDI port names come from ?
Date: Mon, 22 Jan 2018 22:48:52 +0800 [thread overview]
Message-ID: <1516632532.3556.14.camel@gmail.com> (raw)
Does someone know where (USB) MIDI port names in Linux come from ?
For example a MIDISport 4x4 shows "Midiman" at lsusb (the same for each
one if there is more than one device. This comes from the idVendor,
idProduct in the device descriptor)
But "MIDISPORT 4x4 Anniv MIDI 1 to 4" by amidi -l for the device.
Thus wonder where amidi (ALSA) gets the product/portname from.
There are other examples where the SUB device ID is not known by
Linux but the port name does have the vendor/product name
Microsoft argues that some MIDI devices do not report a name
But since Linux does not have a driver for each device
I highly doubt so. (have not come across one)
Microsoft chose to use the name from the device driver in their
UWP MIDI implementation which has apparantly been not a good idea
It has resulted in multiple duplicate device/port names for
different devices.
next reply other threads:[~2018-01-22 14:48 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-22 14:48 Happy [this message]
2018-01-22 15:29 ` Where do amidi MIDI port names come from ? Clemens Ladisch
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1516632532.3556.14.camel@gmail.com \
--to=happy.musicmaker@gmail.com \
--cc=alsa-devel@alsa-project.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.