All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pedro Lopez-Cabanillas <plcl@telefonica.net>
To: Michal Seta <mis@creazone.com>, alsa-devel@lists.sourceforge.net
Subject: Re: MIDI+USB - one way?
Date: Fri, 2 Aug 2002 18:17:07 +0200	[thread overview]
Message-ID: <200208021817.08060.plcl@telefonica.net> (raw)
In-Reply-To: <20020802083548.5ff93902.mis@creazone.com>

El Vie 02 Ago 2002 15:35, Michal Seta escribió:
> On Fri, 02 Aug 2002 13:06:32 +0200
> Clemens Ladisch <clemens@ladisch.de> wrote:
> > I tested the snd-usb-midi driver with the ALSA rawmidi test programs
> > (rawmidi and midiloop in alsa-lib/test), and it worked.
>
> It didn't work for me.
>
> when called with -i option it is silent (and I am unable to ctrl-c it to
> exit - I have to kill the proces).  With the -o option it sends note
> on/note off properly.  And yes, I used the -v option as well.

I have a Midiman Midisport 2x2 too, and is working with snd-usb-midi and Lars 
Doelle's ezusbmidi firmware. I have tested it just now, with current cvs's  
alsa-lib/test/rawmidi program and it works for me.

And yes, ctrl-c does not work well with this program. It only works after some 
events received from the MIDI device. If there is no MIDI input for some 
reason (cable disconnected, wrong parameters) you have to kill it.

$ ./rawmidi -v -i hw:2,0
Using:
Input: device hw:2,0
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

>
> > I've already heard rumors that the OSS-compatible rawmidi input doesn't
> > work. Try to use /dev/snd/midiC?D? instead.

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. ?!

>
> I used that, too.  And at all times I get MIDI output working fine but no
> input.  The funny thing is that it _did_ work and then it stopped working
> just like that...

A broken MIDI cable, perhaps? Also, keep watch over hotplug and the usb-oss 
modules/usb-audio modules. Sorry, I can't think of any more suggestions.

Regards,
Pedro



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

  parent reply	other threads:[~2002-08-02 16:17 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 [this message]
2002-08-02 17:08       ` Clemens Ladisch
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=200208021817.08060.plcl@telefonica.net \
    --to=plcl@telefonica.net \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=mis@creazone.com \
    /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.