Hi,
I'm trying to get the second high speed USB port on Teensy 3.6 working for my scenario.
To power the Pi-like device I have a separate 5v power supply, connected power and ground pins of the USB connector to that power supply, D+ and D- to the Teensy's USB pins...
I've recompiled my Pi's device kernel with g_serial support (so that the device acts like a USB client).
And here goes the confusing part. When I try to connect the mouse, it is being detected ok every time. But the Pi device was detected only a few times (and when it's detected, the data sending/receiving works ok). If I restart Teensy after the Pi is detected, it's never detected again. Then I start to fiddle with the cables, reboot everything, and eventually sometimes the Pi is there again, but only till first Teensy restart.
The log from the happy moment of being detected:
Does anybody have an idea?
Thanks.
I'm trying to get the second high speed USB port on Teensy 3.6 working for my scenario.
To power the Pi-like device I have a separate 5v power supply, connected power and ground pins of the USB connector to that power supply, D+ and D- to the Teensy's USB pins...
I've recompiled my Pi's device kernel with g_serial support (so that the device acts like a USB client).
And here goes the confusing part. When I try to connect the mouse, it is being detected ok every time. But the Pi device was detected only a few times (and when it's detected, the data sending/receiving works ok). If I restart Teensy after the Pi is detected, it's never detected again. Then I start to fiddle with the cables, reboot everything, and eventually sometimes the Pi is there again, but only till first Teensy restart.
The log from the happy moment of being detected:
Code:
USB Host Testing - Serial
*** Device HID1 46d:c016 - connected ***
manufacturer: Logitech
product: Optical USB Mouse
*** Device HID1 - disconnected ***
*** Device USERIAL1 525:a4a7 - connected ***
manufacturer: Linux 4.4.49-s5p4418 with c0040000.dwc2otg
product: Gadget
Does anybody have an idea?
Thanks.