Re: Problem with CME UF5 MIDI keyboard master volume slider

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux