GithubHelp home page GithubHelp logo

Comments (14)

rasteri avatar rasteri commented on August 30, 2024

What type of PC are you connected to?

from hidman.

rasteri avatar rasteri commented on August 30, 2024

Oh and have you tried doing a HARD factory reset from the menu? (or alternatively check "clear dataflash" when you program the firmware)

from hidman.

tortion avatar tortion commented on August 30, 2024

I'll try reflashing w that box checked when I get home tonight. I had PCBway build it and assume the microcontroller part was factory/not used. The "PC" is a 6502 based retro system called the Foenix F256 and I've been using a WASD brand PS/2 keyboard with it which works equally well w a MacBook or Dell laptop. As mentioned every other key works except the cursor keys and a few quick of the special keys. Let me try flashing and I'll get back to you. I'll post a quick unlisted video so you can see the menu situation as well. Thanks for the support. -Mike

from hidman.

rasteri avatar rasteri commented on August 30, 2024

Yeah there's an option in the menu for "81-key keyboard" that disables a lot of keys. It's intended for REALLY old PCs but if you didnt clear the dataflash it might have defaulted to on. My guess is thats why half the keys don't work.

To be honest I've had problems with the menu corrupting on other non-PC devices, I'm investigating as we speak.

from hidman.

tortion avatar tortion commented on August 30, 2024

This system is 6.29MHz so perhaps the interrupt service routine is not pleased with the MCU's rapid serial stream of menu text (albeit clocked and relatively short in length). Will have some feedback tonight (I'm Eastern time Zone) thx again.

from hidman.

rasteri avatar rasteri commented on August 30, 2024

Most PS/2 computers will use the Inhibit feature of PS/2 to tell HIDman to delay sending text if it can't process it quickly enough.

from hidman.

foenixrising avatar foenixrising commented on August 30, 2024

from hidman.

rasteri avatar rasteri commented on August 30, 2024

If you increase PS2_RATE_LIMIT to a few thousand in ps2.h then that will slow everything down. I have to do this on XT PCs.

#define PS2_RATE_LIMIT 0

However this may not make a difference. I have other PS/2 hosts that corrupt in a similar way to yours and limiting the rate makes no difference. My guess is it's an incompatibility caused by the inhibit logic but I don't know if it's HIDman's fault or the host's fault.

from hidman.

foenixrising avatar foenixrising commented on August 30, 2024

from hidman.

rasteri avatar rasteri commented on August 30, 2024

Oh yeah I forgot you're having trouble building. Here's a hex with the ratelimit set to 2000
hidman.zip

from hidman.

foenixrising avatar foenixrising commented on August 30, 2024

Well, good news/same news. Good news is clearing out dataflash did the trick; cursor keys and other keys all work now. 'same' news is chars received are still garbled, but are partially discernable now. Of course typing rate is very slow and I had high hopes but still nothing wonderful; I'll email you a pic of the output.

So two quick questions; outside of the config not working, is there anything else that might not work properly (as mentioned all keys now work). Second question, how does one use the 9-pin serial Mouse? I tried plugging in a USB Mouse on one side and monitored the serial port on the other but didn't see any output? Thanks. I have 10 of these built, do you want me to mail you two (not sure how far your hardware design has evolved but if you've only built one or two by hand, I can give you a pair). Let me know and thanks.

from hidman.

foenixrising avatar foenixrising commented on August 30, 2024
Screenshot 2024-08-05 at 5 54 25 PM

This is just a simple basic program the does "inkey()" and prints the char with ASCII # and then cprints (which essentially prints the graphic characters to the screen, as you can see with the 13). Interestingly, all of these chars are normal ascii range values as opposed to the first time I tried it with the 1.1 firmware which output high order ASCII 251, etc. At this point, I'll see if I can get some info from the person that integrated the PS/2, but if you can respond to my prior message, I'll be all set for now. Thanks again.

from hidman.

rasteri avatar rasteri commented on August 30, 2024

The serial mouse should just work, no prep necessary. Does the LED on the front of HIDman blink when you move the mouse/press mouse buttons?

The only other bug I'm aware of is the aforementioned issue with certain other non-PC devices. I have some PS/2-to-USB adapters (i.e. the opposite of HIDman) that don't work, and I'm still to figure out what's going on there. I'll make an effort to investigate this week - maybe if I get them to work it will fix your problem too.

Obviously I've mostly been testing with "Normal" PCs so maybe there's a subtle bug in the firmware that PC's dont mind but other devices have problems with. The logic around inhibits is pretty complicated so it's quite possible.

I actually have 20 HIDmen already made up, so no I don't need any more :) I'll probably be selling a few but not until I do some more testing.

from hidman.

foenixrising avatar foenixrising commented on August 30, 2024

from hidman.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.