Comments (14)
What type of PC are you connected to?
from hidman.
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.
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.
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.
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.
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.
from hidman.
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.
Line 11 in 7ea815a
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.
from hidman.
Oh yeah I forgot you're having trouble building. Here's a hex with the ratelimit set to 2000
hidman.zip
from hidman.
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.
![Screenshot 2024-08-05 at 5 54 25 PM](https://private-user-images.githubusercontent.com/154926924/355250032-8cf7abe4-cde4-4413-9d76-21a2e9157314.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjM5NDQ2NTEsIm5iZiI6MTcyMzk0NDM1MSwicGF0aCI6Ii8xNTQ5MjY5MjQvMzU1MjUwMDMyLThjZjdhYmU0LWNkZTQtNDQxMy05ZDc2LTIxYTJlOTE1NzMxNC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODE4JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgxOFQwMTI1NTFaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0wYWJmMmUzNjJhNzg0MjIwZmQ1MjhjMTAwMTBjYTM0NTM2NjUzYmIxOGVmMzhhZTQzMDk4ZDgwZmQwYTM0NTYzJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.eiIQFYXBARaVVXQNePNgqcxBExXkYBQT9yj5pi1anYU)
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.
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.
from hidman.
Related Issues (20)
- Hidman usb to Amiga HOT 1
- Possible to output combined keyboard and mouse? (re: weeCee PS/2 input) HOT 3
- What enclosure are you using for the original PS/2 version? HOT 2
- Restore PS/2 version functionality HOT 4
- How to build from source? HOT 1
- Collaboration request for Gamepad/Joystick to UART HOT 1
- menu not working in XT mode HOT 1
- Some USB Hubs don't work HOT 2
- USB connect/disconnects don't work through hubs
- Latency is unknown
- Centron does not match Gerbers? HOT 6
- Keyboards sometimes don't enumerate if you mash keys while plugging them in
- First keyboard press gets eaten HOT 1
- Some devices don't like to be hotplugged/re-enumerated HOT 1
- Xinput devices unsupported
- downarrow seems to get stuck in commander keen games on XT HOT 1
- Mouse scaling option in menu
- Is the .hex available? I tried download sdcc to build but no luck (above my pay grade); if you have a .hex that would be grand. Thank you. HOT 1
- Crashing on startup when in Amstrad mode HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hidman.