alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
From: Damon Chaplin <damon@karuna.eclipse.co.uk>
To: Clemens Ladisch <cladisch@fastmail.net>
Cc: alsa-devel@alsa-project.org
Subject: Re: Problem with CME UF5 MIDI keyboard master volume	slider
Date: Mon, 13 Aug 2007 16:38:40 +0100	[thread overview]
Message-ID: <1187019520.3219.5.camel@localhost.localdomain> (raw)
In-Reply-To: <1186757723.30437.1204736811@webmail.messagingengine.com>

On Fri, 2007-08-10 at 16:55 +0200, Clemens Ladisch wrote:
> I wrote:
> > Damon Chaplin wrote:
> > > Is it possible to workaround the problem?
> > 
> > Only by changing the driver.  Please wait until tomorrow.
> 
> Well, the driver should now continue after receiving bad data.
> 
> To be able to convert the data sent by the CME UFx to a real master
> volume message, I need to know the data format at a lower level.
> Please change line 58 of sound/usb/usbmidi.c to
> 	#define DUMP_PACKETS
> and recompile the driver, then show the entries that are written to the
> (debug) system log when a master volume message is received.

Here they are. Only one byte changes as the slider moves,from 00 to 7f:

received packet: [ 0f f0 7f 7f 04 01 7f 00 f7 ]
received packet: [ 0f f0 7f 7f 04 01 7f 7f f7 ]
                                        ^^

Damon

      reply	other threads:[~2007-08-13 15:39 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-04 10:34 Problem with CME UF5 MIDI keyboard master volume slider Damon Chaplin
2007-08-06 10:41 ` Clemens Ladisch
2007-08-07 16:18   ` Damon Chaplin
2007-08-08  8:11     ` Clemens Ladisch
2007-08-08 13:53       ` Damon Chaplin
2007-08-08 14:44         ` Clemens Ladisch
2007-08-08 16:36           ` Damon Chaplin
2007-08-09  8:27             ` Clemens Ladisch
2007-08-10 14:55               ` Clemens Ladisch
2007-08-13 15:38                 ` Damon Chaplin [this message]

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=1187019520.3219.5.camel@localhost.localdomain \
    --to=damon@karuna.eclipse.co.uk \
    --cc=alsa-devel@alsa-project.org \
    --cc=cladisch@fastmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).