breakintoprogram / agon-mos

Official AGON QUARK Firmware: eZ80 MOS
MIT License
74 stars 16 forks source link

USB Keyboard Support #48

Closed fadeddata closed 1 year ago

fadeddata commented 1 year ago

Just received an Agon Light from Olimex. It has the new USB port but it doesn’t actually support USB keyboards. It supports keyboards that speak PS2 protocol (over USB connector?) Unfortunately I don’t have a keyboard that does that. I do remember when keyboards were made like this. Basically they supported both protocols and you used a passive converter. Ideally MOS would support USB HID? Maybe there is another option?

leventp commented 1 year ago

The following Amazon keyboard works with Olimex Agon Light.

Amazon Basics USB Wired Computer Keyboard and Wired Mouse Bundle Pack https://www.amazon.com/dp/B00B7GV802?psc=1&ref=ppx_yo2ov_dt_b_product_details

tonedef71 commented 1 year ago

Just received an Agon Light from Olimex. It has the new USB port but it doesn’t actually support USB keyboards. It supports keyboards that speak PS2 protocol (over USB connector?) Unfortunately I don’t have a keyboard that does that. I do remember when keyboards were made like this. Basically they supported both protocols and you used a passive converter. Ideally MOS would support USB HID? Maybe there is another option?

If I am not mistaken, neither the original AgonLight nor the Olimex AgonLight2 have the necessary hardware to implement the USB protocol, so a software/firmware workaround would not be possible.

If you are able to obtain a USB keyboard which supports the PS/2 protocol without an adapter (such as the one suggested by @leventp, that would be the ideal solution for the AgonLight2. At the cost of two AgonLight 2's I purchased the AgonLight 2 from Olimex in Bulgaria along with the PS/2-compatible Delux USB keyboard they sell.

I do have a nice Mitsumi PS/2 keyboard along with a passive adapter which I had wanted to use with the AgonLight initially; unfortunately, two diagonal lines of keys (4,5,R,T,F,G,V,B) do not work, and I do not have the confidence that I could restore the lost functionality with conductive ink/paint.

breakintoprogram commented 1 year ago

I'm going to mark this as 'Won't Do' as it is a hardware limitation of the platform that can't be resolved in software.