From: Clemens Ladisch <clemens@ladisch.de>
To: Pedro Lopez-Cabanillas <plcl@telefonica.net>
Cc: Michal Seta <mis@creazone.com>, alsa-devel@lists.sourceforge.net
Subject: Re: MIDI+USB - one way?
Date: Fri, 02 Aug 2002 19:08:54 +0200 [thread overview]
Message-ID: <3D4ABCA6.9E126597@ladisch.de> (raw)
In-Reply-To: 200208021817.08060.plcl@telefonica.net
Pedro Lopez-Cabanillas wrote:
> It also works for me with OSS emulation:
>
> $ ./rawmidi -v -I /dev/midi02
> Using:
> Input: /dev/midi02
> Output: NONE
> Read midi in
> Press ctrl-c to stop
> read fe
> read fe
> read fe
> read fe
> read fe
> read fe
> read fe
> Closing
>
> But something as simple as:
> $ cat /dev/midi02 | od -x
> Doesn't work. Nothing received. ?!
rawmidi.c uses the ALSA library functions to access the rawmidi device.
Internally, alsa-lib should use the same read() call as cat, but there
seems to be a difference somewhere, maybe in the initialization.
I'm looking into it.
HTH
Clemens
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
next prev parent reply other threads:[~2002-08-02 17:08 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-08-02 5:15 MIDI+USB - one way? Michal Seta
2002-08-02 11:06 ` Clemens Ladisch
2002-08-02 13:35 ` Michal Seta
2002-08-02 13:07 ` Clemens Ladisch
2002-08-02 16:17 ` Pedro Lopez-Cabanillas
2002-08-02 17:08 ` Clemens Ladisch [this message]
2002-08-02 19:03 ` Patrick Shirkey
2002-08-02 19:34 ` Patrick Shirkey
2002-08-02 23:28 ` Pedro Lopez-Cabanillas
2002-08-03 0:21 ` Martin Langer
2002-08-04 12:07 ` Pedro Lopez-Cabanillas
2002-08-03 15:56 ` Patrick Shirkey
2002-08-04 18:50 ` Jaroslav Kysela
2002-08-05 8:43 ` Clemens Ladisch
2002-08-05 10:07 ` Takashi Iwai
2002-08-05 10:40 ` Clemens Ladisch
2002-08-05 12:24 ` Takashi Iwai
2002-08-05 12:54 ` Clemens Ladisch
2002-08-05 16:37 ` Jaroslav Kysela
2002-08-05 14:22 ` MIDI+USB - back on track Michal Seta
2002-08-07 13:38 ` Michal Seta
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=3D4ABCA6.9E126597@ladisch.de \
--to=clemens@ladisch.de \
--cc=alsa-devel@lists.sourceforge.net \
--cc=mis@creazone.com \
--cc=plcl@telefonica.net \
/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.