VOGONS


HIDman - USB to PS/2 converter (Open Source)

Topic actions

Reply 340 of 514, by Darmok

User metadata
Rank Newbie
Rank
Newbie

Does the IntelliMouse serial mouse protocol actually support the fourth and fifth buttons?

Reply 341 of 514, by rasteri

User metadata
Rank Oldbie
Rank
Oldbie
Darmok wrote on 2024-09-23, 15:38:

Does the IntelliMouse serial mouse protocol actually support the fourth and fifth buttons?

Not to my knowledge. Intellimouse PS/2 does though.

Reply 342 of 514, by mikeisfly

User metadata
Rank Newbie
Rank
Newbie
rasteri wrote on 2024-09-23, 10:59:
mikeisfly wrote on 2024-09-23, 02:15:

I have tried it with my Logitech Performance MK710 wireless keyboard and mouse and everything seemed to work. The scroll wheel on the mouse didn't work but the left and right clicks did. Also the forward and back buttons on the side of the mouse didn't work. Interestingly trying to get the menu to work on my Windows 11 Pro HP Z-Book with i9 (something and 64GB of ram) wouldn't work.

Yeah you need to have "Advanced USB" and "intellimouse" turned on in the menu for the scroll wheel and extra buttons to work. (and also disconnect/connect your USB devices, and probably restart your PC).

Regarding the problems with your modern laptop, how did you connect it? HIDman seems to have problems with PS2-to-USB adapters so if you used one of them then that could be the issue. I'm working on that as we speak.

You got it, I was using a ps2 to usb adapter Monoprice branded. I have a Tripplite one too, but I did get a chance to check that one. I didn't mention it but when I rebooted my laptop I got a boot failure but I told Windows 11 to continue with a normal boot and everything booted just fine.

Reply 343 of 514, by KVM Nerd

User metadata
Rank Newbie
Rank
Newbie

I didn't follow the whole discussion, but why should someone chain USB to PS/2 to USB?

Why not hook it up to a KVM switch?

Reply 344 of 514, by rasteri

User metadata
Rank Oldbie
Rank
Oldbie
KVM Nerd wrote on 2024-09-24, 13:24:

I didn't follow the whole discussion, but why should someone chain USB to PS/2 to USB?

To access HIDman's menu, I suppose. I've been trying to use it for debugging but most of those cheap adapters are a bit sketchy

Reply 345 of 514, by mikeisfly

User metadata
Rank Newbie
Rank
Newbie
KVM Nerd wrote on 2024-09-24, 13:24:

I didn't follow the whole discussion, but why should someone chain USB to PS/2 to USB?

I just wanted to access the menu, I do agree that this is not a normal use case and would probably never do that in a normal scenario. Under a normal use the menu works. I would love to have console access to make configuration changes if it is possible.

Reply 346 of 514, by rasteri

User metadata
Rank Oldbie
Rank
Oldbie
mikeisfly wrote on 2024-09-24, 22:08:

I would love to have console access to make configuration changes if it is possible.

Yeah a virtual console would be nice. I'll think about it.

Reply 347 of 514, by mikeisfly

User metadata
Rank Newbie
Rank
Newbie

One of the critiques that I had the Hidman was the placement of the ports particularly the mouse PS/2 Ports. I would like to see both the PS/2 and the serial port on the same side making the wiring better. Reading the this hole thread I found out that you can use a Y-adapter and you can plug the mouse and keyboard into the same port. I can confirm that this is working for me and it is making the wiring so much cleaner in my application. This is such a great project! Thanks again for your efforts, is there any plans for documentation or will the YouTube video handle this?

Reply 348 of 514, by dukeyusupov

User metadata
Rank Newbie
Rank
Newbie

Hello! Please help me launch this device. I soldered the HIDman mini board, it is flashed via WHCHIPTool (flashed hidman_axp_v1.1.1.hex), but I can't test it in action at all. When plugged into the PS/2 port, it only briefly blinks green at the moment of switching on and then does not react to anything at all. I checked with a keyboard and a mouse on several PCs and devices. No signals are given for a multiple press of the button. Nothing for a long press either. I rang all the pins of the microcircuit and the inputs and outputs on the board - everything works fine. +5 and +3.3 volts come to the microcircuit. From the PS/2 connector I output CLK (5), VCC (4), GND (3), DATA (1). Did I flash the correct firmware or not?

Reply 349 of 514, by rasteri

User metadata
Rank Oldbie
Rank
Oldbie
dukeyusupov wrote on 2024-09-26, 19:10:

Hello! Please help me launch this device. I soldered the HIDman mini board, it is flashed via WHCHIPTool (flashed hidman_axp_v1.1.1.hex), but I can't test it in action at all. When plugged into the PS/2 port, it only briefly blinks green at the moment of switching on and then does not react to anything at all. I checked with a keyboard and a mouse on several PCs and devices. No signals are given for a multiple press of the button. Nothing for a long press either. I rang all the pins of the microcircuit and the inputs and outputs on the board - everything works fine. +5 and +3.3 volts come to the microcircuit. From the PS/2 connector I output CLK (5), VCC (4), GND (3), DATA (1). Did I flash the correct firmware or not?

I didn't really have anything to do with the mini board, but the firmware in the github definitely won't work.

I've tried to compile the latest firmware for mini boards but it may or may not work

Reply 350 of 514, by dukeyusupov

User metadata
Rank Newbie
Rank
Newbie
rasteri wrote on 2024-09-26, 20:34:
dukeyusupov wrote on 2024-09-26, 19:10:

Hello! Please help me launch this device. I soldered the HIDman mini board, it is flashed via WHCHIPTool (flashed hidman_axp_v1.1.1.hex), but I can't test it in action at all. When plugged into the PS/2 port, it only briefly blinks green at the moment of switching on and then does not react to anything at all. I checked with a keyboard and a mouse on several PCs and devices. No signals are given for a multiple press of the button. Nothing for a long press either. I rang all the pins of the microcircuit and the inputs and outputs on the board - everything works fine. +5 and +3.3 volts come to the microcircuit. From the PS/2 connector I output CLK (5), VCC (4), GND (3), DATA (1). Did I flash the correct firmware or not?

I didn't really have anything to do with the mini board, but the firmware in the github definitely won't work.

I've tried to compile the latest firmware for mini boards but it may or may not work

I read that on the page https://github.com/serisman/HIDman-mini: "USB keyboard/mouse for PS/2 (or AT, Serial) computers. This is the miniature hardware version compatible with the https://github.com/rasteri/HIDman firmware."
Does this mean that what is written here is not true?

Reply 351 of 514, by dukeyusupov

User metadata
Rank Newbie
Rank
Newbie
serisman wrote on 2022-11-24, 06:11:

@rasteri - Very cool project!

Please tell me, does your HIDman mini board work with the firmware posted on HIDMan's github?

Reply 352 of 514, by rasteri

User metadata
Rank Oldbie
Rank
Oldbie
dukeyusupov wrote on 2024-09-27, 03:43:

I read that on the page https://github.com/serisman/HIDman-mini: "USB keyboard/mouse for PS/2 (or AT, Serial) computers. This is the miniature hardware version compatible with the https://github.com/rasteri/HIDman firmware."
Does this mean that what is written here is not true?

It certainly worked at one point but there has been a lot of firmware and hardware development since then

Theoretically I haven't done anything that should break it but I also haven't tested it

Does the firmware I posted work?

Reply 353 of 514, by dukeyusupov

User metadata
Rank Newbie
Rank
Newbie
rasteri wrote on 2024-09-27, 11:01:
It certainly worked at one point but there has been a lot of firmware and hardware development since then […]
Show full quote
dukeyusupov wrote on 2024-09-27, 03:43:

I read that on the page https://github.com/serisman/HIDman-mini: "USB keyboard/mouse for PS/2 (or AT, Serial) computers. This is the miniature hardware version compatible with the https://github.com/rasteri/HIDman firmware."
Does this mean that what is written here is not true?

It certainly worked at one point but there has been a lot of firmware and hardware development since then

Theoretically I haven't done anything that should break it but I also haven't tested it

Does the firmware I posted work?

I have only managed to check it on one device so far - I have not noticed any difference. As far as I understand, the device versions were practically the same, only the size was reduced? I do not see the HIDman circuit diagram to compare the pins that come out of the microcontroller.
Maybe the pins have changed during development? I called them according to the HIDman mini circuit diagram.
Maybe the firmware that worked before has been saved?
Can you answer a few questions so that I can at least understand something?
1) Can I flash both HEX and BIN - is there any difference?
2) When turned on, how should the device behave - does it blink green and go out or continue to glow?
3) If the device is inserted into the PS / 2 port, then when pressed, should the LED somehow react?
4) If the device works - should the keyboard or mouse somehow react (the LEDs glow there, for example).
5) If I insert the device into the USB port of a PC, what can I check?

Reply 354 of 514, by rasteri

User metadata
Rank Oldbie
Rank
Oldbie

I checked the code and it looks like I broke hidman-mini compatibility.

But the AXP code should work if it's compiled to use internal oscillator.

I've attached that, see if it works

dukeyusupov wrote on 2024-09-27, 12:14:
Can you answer a few questions so that I can at least understand something? 1) Can I flash both HEX and BIN - is there any diff […]
Show full quote

Can you answer a few questions so that I can at least understand something?
1) Can I flash both HEX and BIN - is there any difference?
2) When turned on, how should the device behave - does it blink green and go out or continue to glow?
3) If the device is inserted into the PS / 2 port, then when pressed, should the LED somehow react?
4) If the device works - should the keyboard or mouse somehow react (the LEDs glow there, for example).
5) If I insert the device into the USB port of a PC, what can I check?

1. it doesn't matter (use hex by default probably)
2. Light should glow blue by default
3. Not until you press keys/move mouse
4. see 4 sorry I misread, the LEDs on keyboard will depend on if caps lock/num lock/etc are on
5. nothing really

Reply 355 of 514, by serisman

User metadata
Rank Newbie
Rank
Newbie
rasteri wrote on 2024-09-27, 13:46:

I checked the code and it looks like I broke hidman-mini compatibility.

But the AXP code should work if it's compiled to use internal oscillator.

I've attached that, see if it works

I just updated one of my HIDman-mini boards with the .bin file you posted, and after a quick test it does seem like everything is working. That said, there have been a fair number of changes since the last time I looked at the firmware, so its possible there are a few other tweaks we'd want to make to ensure ongoing compatibility. If I have a chance, I'll try and take a look around.

The HIDman-micro, however, has a different pinout for the ps2 ports and would need a different .bin. There should be options in the Makefile to switch to BOARD_MICRO and optionally enable OPT_SWAP_KBD_MSC that at least used to work.

Reply 356 of 514, by serisman

User metadata
Rank Newbie
Rank
Newbie
serisman wrote on 2024-09-27, 15:11:
rasteri wrote on 2024-09-27, 13:46:

I checked the code and it looks like I broke hidman-mini compatibility.

But the AXP code should work if it's compiled to use internal oscillator.

I've attached that, see if it works

I just updated one of my HIDman-mini boards with the .bin file you posted, and after a quick test it does seem like everything is working. That said, there have been a fair number of changes since the last time I looked at the firmware, so its possible there are a few other tweaks we'd want to make to ensure ongoing compatibility. If I have a chance, I'll try and take a look around.

The HIDman-micro, however, has a different pinout for the ps2 ports and would need a different .bin. There should be options in the Makefile to switch to BOARD_MICRO and optionally enable OPT_SWAP_KBD_MSC that at least used to work.

I was able to review the current state of the firmware and submitted a PR (https://github.com/rasteri/HIDman/pull/36) that seems to work properly on my HIDman-mini and HIDman-micro boards.

`OSC_TYPE=OSC_INTERNAL` will be needed for both boards as they do not have an external crystal.
`BOARD_TYPE=BOARD_AXP` works fine with the mini and enables support for the serial mouse. Otherwise use `BOARD_TYPE=BOARD_MINI` for a build with just ps/2 support.
`BOARD_TYPE=BOARD_MICRO` is needed for the micro board.

I have no idea if the newly added support for XT and/or Amstrad systems works, as I don't have these systems to test with.

Reply 357 of 514, by rasteri

User metadata
Rank Oldbie
Rank
Oldbie
serisman wrote on 2024-09-27, 16:55:

I have no idea if the newly added support for XT and/or Amstrad systems works, as I don't have these systems to test with.

Thanks! I'll give em a test and merge the PR if they work.

Reply 359 of 514, by serisman

User metadata
Rank Newbie
Rank
Newbie

FYI... I just added pre-compiled binaries for v1.1.3 for the HIDman-mini and HIDman-micro to my GitHub repo:
https://github.com/serisman/HIDman-mini/releases/tag/v1.1.3

@rasteri - Let me know if you'd rather host these on your repo instead.