Hello mvdhoning, welcome to Ultibo!
mvdhoning wrote:I am trying to get the 04-KeyboardInput example to work on my rpi 3a+.
After updating the core via git and doing a build ultibo rtl i get text on the monitor.
However the usb keyboard does not work when connected via both of the 2 usb hubs i have available.
It does work when the usb keyboard is plugged in directly on the one usb port the rpi3a+ has, but only when it is plugged in during start of the rpi not when hotplugging.
Am i unlucky to have 2 usb hubs that dont get recognized? Or is the rpi3a+ still to new?
The Pi 3A+ is still only a few weeks old so we haven't done much with it yet other than to add detection of it and run some standard tests to make sure all the normal functionality works.
We just tested our 3A+ with a keyboard connected directly and with a keyboard connected via a USB 2.0 hub and also via a USB 3.0 hub and it works in all cases regardless of whether we connect it before or after boot.
That isn't definitive because there are a lot of different keyboards and hubs around, it just confirms that it isn't a problem for all devices.
mvdhoning wrote:What steps can i try next?
These can be tricky to figure out but if you are willing to do some testing it would be nice to see if we can work out what is happening.
The first step would be to post the descriptor information from lsusb on Linux for both the keyboard and the hubs so we can see if there is anything different about them to the ones we have.
After that we have some test code that we used to diagnose the problem we had originally where connecting more than one low or full speed USB device to the same hub would fail and an even earlier problem with connecting low and full speed devices directly to the old Pi A+, this outputs a lot of information from the DWCOTG driver to the screen to help with understanding the failures.
We'll try to test some other keyboards as well while we wait to see your results from lsusb and put the test code into an example we can post here.
Out of interest have you tried any other devices like USB flash drives to see if they work?
Yes, we saw and tried your work when we first started looking at the RPi, thank you for sharing it