USB transaction failed warnings with AKAI MPK Mini MIDI controller #340
-
Hi Rene and anyone else who could help! I am using Circle Step 45 on a Raspberry Pi 1 (B2). I'm trying to use an AKAI MPK Mini 3. However, once Circle recognizes it, I get a string of these warnings:
It seems to still work—it detects when I press the keys, but these messages are concerning. I assume I can just suppress them, but I wondered if there was a fix or workaround? I don't know a lot about USB, so I don't really know where to begin. I've added |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi Daniel, this problem is caused by an unfavorable timing on the USB. These messages are not critical, but it is recommended to enable the system option
Everything must be rebuild, after adding this.
|
Beta Was this translation helpful? Give feedback.
Hi Daniel, this problem is caused by an unfavorable timing on the USB. These messages are not critical, but it is recommended to enable the system option
REALTIME
or even betterUSE_USB_FIQ
by adding the following line to the file Config.mk in your project root:Everything must be rebuild, after adding this.
REALTIME
suppresses log messages from IRQ handlers. Because IRQ handlers cannot be interrupted by another IRQ, the system timing may be bad, when a log message is generated in an IRQ handler and for example, the screen has to be scrolled because of this. This happens all inside the IRQ handler and takes milliseconds. WithREALTIME
ena…