-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ADB: Support for multiple devices? #683
Comments
The ADB conveter should work with multiple devices. Use hid_listen to see debug outputs. I usually use 1k Ohm but 4.7k won't be problem. |
Can't use the hid_listen.mac file because it's 32-bit only and I'm on Catalina on one machine and Big Sur on another. Used the HID console in QMK Toolbox, I get normal readouts for mouse movement on the trackball, then I plug in another ADB device to the second port on the trackball (in this case an Apple Desktop Bus Mouse), and I get this output in the console:
Then, the ADB Mouse works but the trackball no longer works. Unplugging the ADB Mouse does not restore the trackball's functionality, it has to be unplugged and re-plugged to work again. The same thing happens if I use an ADB keyboard instead. |
what version of firmware are you using? You can see its version by pressing Power and v. Try default prebuilt firmware on github or keymap editor if you are using your own firmware. I remember that 1) two keyboards worked, 2) one keyboard and one pointing device worked at same time. I don't have ADB converter in hand now to test this, but multiple pointing devices seems to be supported at a glance of source code. Let me know when you find something. |
Device hotplug is kind of supported but you may get better result with coldplug. |
I'm using rev 1 from this link: http://www.tmk-kbd.com/tmk_keyboard/editor/unimap/?adb_usb_rev1 Sorry, not at my work computer right now, which is where I have the adapter/devices. I was trying two mice today, because that's what I happened to have near me, but in my original post I noted I was trying with the Kensington Turbo Mouse and Apple M0116 keyboard and had the same results. I also tried hotplug and coldplug, and different combinations of cable (Adapter > Keyboard > Mouse & Adapter > Mouse > Keyboard) and neither worked. |
I confirmed that your problem and that the converter firmware itself supports multiple keyboards and multiple pointing devices. You will need stronger pull-up resistor in case of multiple devices with lengthy cable. Pull-up resistor 4.7K ohm doesn't seem to enough for the case against my expectation. Test results in my setup(M0116, Turbo mouse and ADB mouse with two straight cables[1m, 1.5m]): Your result may vary depending on your setup. I think longer or curled cable makes the situation worse. Use 1K ohm as pull-up resistor and let me know your result. |
See 'pull-up resistor' seciton in this post also. |
Built the adapter using an Adafruit ItsyBitsy, works great so far. I've got it wired up with a 4.7k Ohm pull-up resistor as recommended.
However, when I plug the adapter into the computer, my M0116 keyboard into the adapter, and then my Kensington Turbo Mouse into the keyboard's ADB port, the keyboard continues to work but the trackball no longer works. I also tried the other way around (Adapter > Mouse > Keyboard) and the mouse stops working once the keyboard is plugged in.
Is this a limitation of the adapter, or something in software causing this? Would a 10k Ohm resistor enable daisy-chaining multiple devices?
The text was updated successfully, but these errors were encountered: