xhciep: Transfer timed out with Circuitpython device #460
-
I'm using a Circuitpython v8 USB MIDI device plugged into a Pi 4 running Circle (MiniDexed) which seems to be recognised as the following USB devices: The only one I'm really interested in is int1-3-0 for audio/MIDI, but when accessing the SD card filesystem (this is on MiniDexed) for some reason I'm getting xhciep Transfer timeouts which causes the execution/UI to pause (presumably whilst the timeout occurs). I've tried using usbignore= for some of the above - with int8-6-50 being the most suspect as a mass storage device, but it doesn't seem to make a difference. I've also used the following boot.py code (more here):
And also tried disabling storage completely too using:
(which I know it warns not to do - I still had REPL access so could turn it back on again). But so far, it doesn't seem to make any difference. As I'm largely trying things pretty much at random at the moment, I just wondered if anyone had any more concrete ideas for what might be going on? I'll keep trying various configurations and see if anything changes. Thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
I'm trying to reproduce this with sample/29-miniorgan and a RPi Pico. What would be helpful is a simple code.py for Circuitpython, which sends some MIDI events (notes) to the USB host. Unfortunately I'm not familiar with Circuitpython. |
Beta Was this translation helpful? Give feedback.
Ok. So, turns out it is the MIDI int1-3-0 endpoint - so the one I actually want. Then I realised this is happening on send - i.e. when MiniDexed tries to send some data back over the MIDI link.
Also, it turns out it is a lot worse when changing voices. Then I realised what is going on...
In MiniDexed there is an option someone added (that personally I don't agree with!) that automatically does a SysEx voice dump of all voice parameters whenever the voice changes. This happens when a performance is selected too, as it resets voices on each TG, but performances have to be selected to load, but voices change on menu changing - so every click of the Voice menu is dumping data out on all USB M…