Skip to content
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

UsbKeyboard driver not recognizing keyboards #14

Closed
cristianoag opened this issue Feb 23, 2022 · 11 comments
Closed

UsbKeyboard driver not recognizing keyboards #14

cristianoag opened this issue Feb 23, 2022 · 11 comments

Comments

@cristianoag
Copy link
Contributor

Opening this one so we can invest time to discover the reason the UsbKeyboard driver is not recognizing keyboards that it is supposed to support.

@issalig
Copy link

issalig commented Feb 23, 2022

A friend of mine also reported he is not able to make it work (I have not tried yet) . I will ask kim for details.

@cristianoag, I am working in the flash tool because it does not work for 39sf040 because it has different operation bytecodes. Maybe you are also interesed in the discussion. You can see it at #1

@S0urceror
Copy link
Owner

Cristiano, Issalig, please check the MSXUSB version I just checked in.

I fixed an issue in the USB STALL mechanism. When a device is not ready it STALLs and then the driver just has to retry after clearing the STALL situation. Somehow the CH376s does not report the status of this correctly and the driver thought it was failing. As a result the keyboard (and other devices) where not recognised at start.

You should see a message at MSX start saying:

  • x device(s) connected
  • No USB storage

Where x is bigger or equal to 1, depending if you run behind an USB Hub.

@issalig
Copy link

issalig commented Mar 15, 2022

Nice, it is good to see some progress here!

I am testing in a real VG8020 MSX1 with a usb hub, a usb drive formatted as 720kb and a keyboard and the new version of MSXUsbHost (nextor.rom)

I get correctly the 3 devices (Hub, usb drive and keyboard but I had to capture video and pause it, because this message appears just some ms, maybe a 1s delay would be nice
image
)

Then tried usbkeybd.com but it gets an error.

Is this the right way of using it?

image

@cristianoag
Copy link
Contributor Author

cristianoag commented Mar 15, 2022 via email

@issalig
Copy link

issalig commented Mar 15, 2022

Now it loads but nothing happens, I mean when I press keys in the keyboard nothing appears. (I use a logitech k120 usb keyboard)
Also I noticed caps/numeric leds do not work (in the usb keyboard).

@cristianoag did you manage to make it work?

image

@cristianoag
Copy link
Contributor Author

cristianoag commented Mar 15, 2022 via email

@S0urceror
Copy link
Owner

S0urceror commented Mar 15, 2022 via email

@cristianoag
Copy link
Contributor Author

cristianoag commented Mar 21, 2022 via email

@S0urceror
Copy link
Owner

S0urceror commented Mar 21, 2022 via email

@cristianoag
Copy link
Contributor Author

We can close this one. Keyboard need to follow the specifications to be recognized ok. I got a few already working.

@issalig
Copy link

issalig commented Jan 25, 2023

Can you post the keyboard models that work?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants