Reply 400 of 559, by NachtRave
- Rank
- Member
*slaps forehead* ugh. You're right, you're mounting them on their side and I'm mounting them upright.
Guess I got some rework to do.
*slaps forehead* ugh. You're right, you're mounting them on their side and I'm mounting them upright.
Guess I got some rework to do.
rasteri wrote on 2024-11-20, 19:48:You just need the latest sdcc and gnu make. Build it like any other makefile project. I build on windows typically but linux works too (unless I've broken it again)
I tested it this AM, and it was very easy and painless, thanks! To keep it the same, I also did Windows (Win10). One additional dependency seems to be zlib... at the end of the build process, sdobjcopy would error due to the lack of zlib1.dll .
To make this even easier for anyone in the future, here's what I grabbed:
https://sourceforge.net/projects/sdcc/files/
https://gnuwin32.sourceforge.net/packages/make.htm
https://gnuwin32.sourceforge.net/packages/zlib.htm
I used the Win32 SDCC, since make and zlib also appeared to be Win32 versions... though maybe that's not totally necessary. It also looked like the Win32 SDCC got a real 4.4.0 release, while x64 showed 4.4.0 RC3 as its latest.
Thanks,
DogP
Nice project, i'm currently building a HIDman to try out myself.
I just hope the support of USB Connect/reconnect of Keyboard/mouse will be supported soon, maintly for users who have one keyboard for multiple PC to change often.
TgamesFR wrote on 2024-11-27, 16:19:I just hope the support of USB Connect/reconnect of Keyboard/mouse will be supported soon, maintly for users who have one keyboard for multiple PC to change often.
I don't think that's an issue... I've unplugged/replugged the KB/Mouse a bunch of times without a problem.
IIRC, HIDman doesn't detect unplug/replug if it's used through a USB hub, but since HIDman has two USB ports, I personally haven't had a need to use a hub.
DogP
DogP wrote on 2024-11-27, 17:50:I don't think that's an issue... I've unplugged/replugged the KB/Mouse a bunch of times without a problem.
IIRC, HIDman doesn't detect unplug/replug if it's used through a USB hub, but since HIDman has two USB ports, I personally haven't had a need to use a hub.
DogP
I use a KVM Switch to toggle my mouse + keyboard and VGA input setup on all PC without unplug physically my stuff so for me it will be a issue.
Normally my hub is supported cause it's a very old one with slow 1.1 USB support and i've tried in the past my devices on a PC with only USB 1.0 support.
If the author support USB keyboards/mouse unplug/replug from hub will be great.
PCBway just sent me these for verification.
I think that looks alright, but... isn't the whole point of their PCB marketplace thing that the original author has already ordered a batch of his creation, and therefore PCBway already knows how to make them?
Bzzz wrote on 2024-12-09, 14:43:PCBway just sent me these for verification.
I think that looks alright, but... isn't the whole point of their PCB marketplace thing that the original author has already ordered a batch of his creation, and therefore PCBway already knows how to make them?
looks fine to me!
Does someone tested the latency of inputs from keyboard/mouse ?
I'm aware it's very low latency but could be cool to really measure it.
TgamesFR wrote on 2024-12-14, 23:18:Does someone tested the latency of inputs from keyboard/mouse ?
I'm aware it's very low latency but could be cool to really measure it.
Yeah I've been pondering this for a while. The trouble is pinning down exactly what we mean by "latency".
If we're talking pure processing latency, i.e. the time from the USB packet reaching HIDman to the time it emits a PS/2 packet, then we can easily measure that with a logic analyzer. I'd expect it to be in the sub-1ms range.
That doesn't really tell us anything useful though. Whereas PS/2 devices can send packets instantly, USB is a polled protocol, usually at 125hz. So that's going to introduce an extra 8ms latency.
Then again, that's true for EVERY USB host, PCs included. So it isn't really fair to say that HIDman introduced that 8ms latency. And also, PS/2 keyboards have a finite scan rate (that presumably varies by manufacturer), so they can't in reality send packets instantly either. So this is all stuff we have to take into account.
I suppose the most actually useful measurement would be a real-world comparison. Take a bunch of different PS/2 keyboards and measure their average latency (from keypress to PS/2 output). Then compare that with a bunch of different USB keyboards through HIDman.
rasteri wrote on 2024-12-15, 15:08:Yeah I've been pondering this for a while. The trouble is pinning down exactly what we mean by "latency". […]
Yeah I've been pondering this for a while. The trouble is pinning down exactly what we mean by "latency".
If we're talking pure processing latency, i.e. the time from the USB packet reaching HIDman to the time it emits a PS/2 packet, then we can easily measure that with a logic analyzer. I'd expect it to be in the sub-1ms range.
That doesn't really tell us anything useful though. Whereas PS/2 devices can send packets instantly, USB is a polled protocol, usually at 125hz. So that's going to introduce an extra 8ms latency.
Then again, that's true for EVERY USB host, PCs included. So it isn't really fair to say that HIDman introduced that 8ms latency. And also, PS/2 keyboards have a finite scan rate (that presumably varies by manufacturer), so they can't in reality send packets instantly either. So this is all stuff we have to take into account.
I suppose the most actually useful measurement would be a real-world comparison. Take a bunch of different PS/2 keyboards and measure their average latency (from keypress to PS/2 output). Then compare that with a bunch of different USB keyboards through HIDman.
Maybe if you use a USB auto key inputter who record when it send a key and on the computer a program who record when it receive the key. That way you have the latency of the device.
Then you use HIDman with that autokey input and do the same thing.
The difference between the two results will give the latency of HIDman.
Of course i know it's a bit of a setup to just measure latency xd.
Also i will get my HIDman tomorrow so i will be able to test it with my KVM Switch.
I hope it gonna works because it's very convenient for me to have just a button switch to use keyboard/mouse on all my devices without unplug/replug.
I don't know if i will have the same issue you told about USB Hub and gettings devices plugged in.
I've just received HIDman, sadly so far i've encounted lot of issues atm.
My keyboard is a Logitech G910 (old USB keyboard more than 10 years) (Wired keyboard).
And my mouse is a Logitech G502 Hero (Wired mouse).
[1] First issue i've got is (maybe because i have a french AZERTY keyboard ?) the menu is glitched out with strange characters, same for debug features :

HID,qn v&:&:'&: Keyé: ?ouse": Gq,e': Qdv:ESC to exit ,enu--Qdvqnced&: Fqctory Reseté: Log HID Dqtq": PSé ,ouse stqtus': Seriql Log - NoESC ,qin ,enuLogging HID Dqtq: Press ESC to stop:::Ià L_- àà àà àà àà àà àà àà ààIà L'- àà à& àà ààIà L'- àà à& àà ààIà L'- àà FF àà ààIà L'- àà FF àà ààIà L'- àà FF àà ààIà L'- àà F_ àà ààIà L'- àà CF '" ààIà L'- àà à& àà ààIà L'- àà '& Q( ààIà L'- àà èF _& ààIà L'- àà èF _& ààIà L'- àà éB _& ààIà L'- àà Dç FB ààIà L'- àà _& -( ààIà L'- àà _& èF ààIà L'- àà CF éB ààIà L'- àà èF &( àà
Ià L'- àà èF "D ààIà L'- àà "B E' ààIà L'- àà àà FF ààIà L'- àà à& àà ààIà L'- àà èD _' ààIà L'- àà éç _& ààIà L'- àà Dé àà ààIà L'- àà _& àQ ààIà L'- àà FF à& ààIà L'- àà FF àà ààIà L'- àà FF à& ààIà L'- àà F' àB ààIà L'- àà _& èF ààIà L'- àà _& èF ààIà L'- àà è( 'D ààIà L'- àà èF _D ààIà L'- àà èF _& ààIà L'- àà _& Dà ààIà L'- àà _& EF ààIà L'- àà _& DQ ààIà L'- àà éè FQ ààIà L'- àà èF àç ààIà L'- àà èF F& ààIà L'- à& àà àà ààIà L'- àà àà àà ààIà L'- àé àà àà ààIà L'- àé FF àà ààIà L'- àé FF àà ààIà L'- àé FF à& ààIà L'- àà àà àà ààIà L'- à' àà àà ààIà L'- àà àà àà ààIà L'- àà àà FF ààIà L'- àà àà FF ààIà L'- àà àà FF ààIà L'- àà àà FE ààIà L'- à& àà àà ààIà L'- àà àà àà ààIà L'- àà FF àà ààIà L'- àà FF àà ààIà L'- àà FF àà ààIà L'- àà FF àà ààIà L'- àà F_ C_ ààIà L'- àà àQ Fè ààIà L'- àà à' F- ààIà L'- àà F- à' ààIà L'- àà FC à' ààIà L'- àà FF àé ààIà L'- àà àà FC ààIà L'- àà F( àé ààIà L'- àà à& àà ààIà L'- àà à& àà ààIà L'- àà àQ F( ààIà L_- àà àà &' àà àà àà àà ààIà L_- àà àà àà àà àà àà àà ààIà L_- àà àà &Q àà àà àà àà ààIà L_- àà àà àà àà àà àà àà ààIà L_- àà àà àç àà àà àà àà ààIà L_- àà àà àç à_ àà àà àà ààIà L_- àà àà à_ àà àà àà àà ààIà L_- àà àà àà àà àà àà àà ààIà L_- àà àà &è àà àà àà àà ààIà L_- àà àà àà àà àà àà àà ààIà L_- àà àà àB àà àà àà àà ààIà L_- àà àà àà àà àà àà àà ààIà L_- àà àà "è àà àà àà àà ààIà L_- àà àà àà àà àà àà àà ààIà L_- àà àà éC àà àà àà àà ààIà L_- àà àà àà àà àà àà àà ààIà L_- àà àà &à àà àà àà àà ààIà L_- àà àà àà àà àà àà àà ààIà L_- àà àà éC àà àà àà àà ààIà L_- àà àà àà àà àà àà àà ààIà L_- à& àà àà àà àà àà àà ààIà L_- àà àà àà àà àà àà àà ààIà L_- àé àà àà àà àà àà àà ààIà L_- àà àà àà àà àà àà àà ààIà L_- à_ àà àà àà àà àà àà ààIà L_- àà àà àà àà àà àà àà ààIà L_- à_ àà àà àà àà àà àà ààIà L_- àà àà àà àà àà àà àà ààIà L_- à' àà àà àà àà àà àà ààIà L_- àà àà àà àà àà àà àà ààIà L_- àà àà (ç àà àà àà àà ààIà L_- àà àà àà àà àà àà àà ààIà L_- àà àà (Q àà àà àà àà ààIà L_- àà àà àà àà àà àà àà ààIà L_- àà àà (C àà àà àà àà ààIà L_- àà àà àà àà àà àà àà ààIà L_- àà àà (F àà àà àà àà ààIà L_- àà àà (F -à àà àà àà ààIà L_- àà àà (F àà àà àà àà ààIà L_- àà àà àà àà àà àà àà ààIà L_- àà àà -& àà àà àà àà ààIà L_- àà àà àà àà àà àà àà ààIà L_- àà àà àà àà àà àà àà ààIà L_- àà àà éç àà àà àà àà ààHID,qn v&:&:'&: Keyé: ?ouse": Gq,e': Qdv:ESC to exit ,enuGq,e Controllers&: Use qs ?ouse - NoESC ,qin ,enuHID,qn v&:&:'&: Keyé: ?ouse": Gq,e': Qdv:ESC to exit ,enu--Qdvqnced&: Fqctory Reseté: Log HID Dqtq": PSé ,ouse stqtus': Seriql Log - NoESC ,qin ,enuType àRqte àResolution àScqling àDqtq reporting àCo,,qnd bufferàà àà àà àà àà àà àà àà àà àà àà àà àà àà àà àààà àà àà àà àà àà àà àà àà àà àà àà àà àà àà ààHID,qn v&:&:'&: Keyé: ?ouse": Gq,e': Qdv:ESC to exit ,enuGoodbyeHID,qn v&:&:'&: Keyé: ?ouse": Gq,e': Qdv:ESC to exit ,en
[2] My KVM Switch is not seems to works with HIDman. None of my devices powering on. I've tried in theses configurations :
- With keyboard and mouse
- With only the keyboard
- With only the mouse
It's strange because i've never got any issue with the KVM directly plugged in USB on my Windows 98 machine.
[3] In native-mode with my mouse and keyboard directly plugged in USB to the HIDman i have theses issues :
- Many keys stop working on the keyboard like Ctrl, Alt
- Some keys keep be sended over and over without touching the keyboard
- The mouse move backward and freeze movement then again move backward
[4] When restoring everything to default, i have keyboard and mouse working but :
- No wheel (althought the HIDman led react when i using it)
- No others buttons on Mouse (except Left and Right Mouse)
- Keyboard loose his parameters for lighting of keys as i need unplug it from the KVM
[5] I cannot share debug data as they appear like this :
Logging HID Dqtq: Press ESC to stop:::Ià L_- àà àà àà àà àà àà àà ààIà L'- àà à& àà ààIà L'- àà à& àà ààIà L'- àà FF àà ààIà L'- àà FF àà ààIà L'- àà FF àà ààIà L'- àà F_ àà àà
I hope some the issues are fixable, sadly for me atm it's not usable in my setup xD.
I'm going to start with the obvious.
Flash it again. It looks corrupt.
If that doesn't work, try adding English language
If that doesn't work, post high res pics of the board so we can see the soldering
I built:
Convert old ASUS ASC boardviews to KICAD PCB!
Re: A comprehensive guide to install and play MechWarrior 2 on new versions on Windows.
Dos+Windows 3.11+tcp+vbe_svga auto-install iso template
Script to backup Win9x\ME drivers from a working install
Re: The thing no one asked for: KICAD 440bx reference schematic
TgamesFR wrote on 2024-12-16, 14:32:I've just received HIDman, sadly so far i've encounted lot of issues atm.
Yeah this sounds like something is severely wrong. Do you have a scope or logic analyzer to check the PS/2 outputs?
EDIT : And yeah take a picture of both sides of the board. I don't think it has anything to do with english language.
rasteri wrote on 2024-12-16, 15:16:Yeah this sounds like something is severely wrong. Do you have a scope or logic analyzer to check the PS/2 outputs?
EDIT : And yeah take a picture of both sides of the board. I don't think it has anything to do with english language.
I don't have a scope or logic analyzer sadly.
My board is mounted in the case but i've checked before and it's exactly same condition as the photos PCBWay made before shipping :




I gonna try to reflash the firmware just in case.
I've tried HIDman on my Windows 10 modern PC (who hopefully still have a PS2 port).
Exactly same behavior, but if i swap keyboard layout to Qwerty now the menu no longuer glitch out and it display correctly.
If i revert my keyboard layout to Azerty it's again same issue as the photo i've did.
Just to be sure i've tried with 2 others keyboards and it's exactly the same in Azerty layout it's glitched.
And all others issues listed remains whatever Qwerty/Azerty.
TgamesFR wrote on 2024-12-16, 16:15:I've tried HIDman on my Windows 10 modern PC (who hopefully still have a PS2 port). Exactly same behavior, but if i swap keyboar […]
I've tried HIDman on my Windows 10 modern PC (who hopefully still have a PS2 port).
Exactly same behavior, but if i swap keyboard layout to Qwerty now the menu no longuer glitch out and it display correctly.
If i revert my keyboard layout to Azerty it's again same issue as the photo i've did.Just to be sure i've tried with 2 others keyboards and it's exactly the same in Azerty layout it's glitched.
And all others issues listed remains whatever Qwerty/Azerty.
Wow OK I didn't think it would be the keyboard settings. That's fascinating... I'll set one of my computers to azerty to see what the problem is
rasteri wrote on 2024-12-16, 16:37:Wow OK I didn't think it would be the keyboard settings. That's fascinating... I'll set one of my computers to azerty to see what the problem is
Yeah strange bug but indeed in French Azerty the menu is unusable and debug too.
I did more tests in Qwerty, the option who was making some keys not working for me is "81 Key Mode".
I wasn't able to see it as the menu was glitched 🤣.
In that mode i don't have the Windows key working too for example (even if same HIDman led react to the key).
For the mouse, as soon i enable "Advanced USB" the mouse act strangely (backward movement, freezing during like 1 minute and moving backward again).
But same as keyboard HIDman led react to movements of the mouse and buttons still.
I gonna post debugs in few mins.
Edit : there the logs (Keyboard & Mouse in Advanced USB).
HIDman v1.1.41. Key2. Mouse3. Game4. Adv.ESC to exit menu--Advanced1. Factory Reset2. Log HID Data3. PS2 mouse status4. Serial Log - NoESC main menuLogging HID Data. Press ESC to stop...I0 L8- 00 00 00 00 00 00 00 00I0 L8- 08 00 00 00 00 00 00 00I0 L8- 00 00 00 00 00 00 00 00I0 L8- 08 00 00 00 00 00 00 00I0 L8- 00 00 00 00 00 00 00 00I0 L8- 08 00 00 00 00 00 00 00I0 L8- 00 00 00 00 00 00 00 00I0 L8- 00 00 14 00 00 00 00 00I0 L8- 00 00 00 00 00 00 00 00I0 L8- 00 00 1A 00 00 00 00 00I0 L8- 00 00 00 00 00 00 00 00I0 L8- 00 00 08 00 00 00 00 00I0 L8- 00 00 00 00 00 00 00 00I0 L8- 00 00 15 00 00 00 00 00I0 L8- 00 00 00 00 00 00 00 00I0 L8- 00 00 17 00 00 00 00 00I0 L8- 00 00 00 00 00 00 00 00I0 L8- 00 00 1C 00 00 00 00 00I0 L8- 00 00 00 00 00 00 00 00
I0 L8- 00 00 18 00 00 00 00 00I0 L8- 00 00 00 00 00 00 00 00I0 L8- 00 00 0C 00 00 00 00 00I0 L8- 00 00 00 00 00 00 00 00I0 L8- 00 00 12 00 00 00 00 00I0 L8- 00 00 00 00 00 00 00 00I0 L8- 00 00 13 00 00 00 00 00I0 L8- 00 00 00 00 00 00 00 00I0 L8- 00 00 2F 00 00 00 00 00I0 L8- 00 00 00 00 00 00 00 00I0 L8- 00 00 30 00 00 00 00 00I0 L8- 00 00 00 00 00 00 00 00I0 L8- 00 00 04 00 00 00 00 00I0 L8- 00 00 00 00 00 00 00 00I0 L8- 00 00 16 00 00 00 00 00I0 L8- 00 00 00 00 00 00 00 00I0 L8- 00 00 07 00 00 00 00 00I0 L8- 00 00 00 00 00 00 00 00I0 L8- 00 00 09 00 00 00 00 00I0 L8- 00 00 00 00 00 00 00 00I0 L8- 00 00 0A 00 00 00 00 00I0 L8- 00 00 00 00 00 00 00 00I0 L8- 00 00 0B 00 00 00 00 00I0 L8- 00 00 00 00 00 00 00 00I0 L8- 00 00 0D 00 00 00 00 00I0 L8- 00 00 00 00 00 00 00 00I0 L8- 00 00 0E 00 00 00 00 00I0 L8- 00 00 00 00 00 00 00 00I0 L8- 00 00 0F 00 00 00 00 00I0 L8- 00 00 00 00 00 00 00 00I0 L8- 00 00 33 00 00 00 00 00I0 L8- 00 00 00 00 00 00 00 00I0 L8- 00 00 34 00 00 00 00 00I0 L8- 00 00 00 00 00 00 00 00I0 L8- 00 00 32 00 00 00 00 00I0 L8- 00 00 00 00 00 00 00 00I0 L8- 00 00 1D 00 00 00 00 00I0 L8- 00 00 00 00 00 00 00 00I0 L8- 00 00 1B 00 00 00 00 00I0 L8- 00 00 00 00 00 00 00 00I0 L8- 00 00 06 00 00 00 00 00I0 L8- 00 00 00 00 00 00 00 00I0 L8- 00 00 19 00 00 00 00 00I0 L8- 00 00 00 00 00 00 00 00I0 L8- 00 00 05 00 00 00 00 00I0 L8- 00 00 00 00 00 00 00 00I0 L8- 00 00 11 00 00 00 00 00I0 L8- 00 00 00 00 00 00 00 00I0 L8- 00 00 10 00 00 00 00 00I0 L8- 00 00 00 00 00 00 00 00I0 L8- 00 00 36 00 00 00 00 00I0 L8- 00 00 00 00 00 00 00 00I0 L8- 00 00 37 00 00 00 00 00I0 L8- 00 00 00 00 00 00 00 00I0 L8- 00 00 38 00 00 00 00 00I0 L8- 00 00 00 00 00 00 00 00I0 L8- 00 00 28 00 00 00 00 00I0 L8- 00 00 00 00 00 00 00 00I0 L8- 00 00 28 00 00 00 00 00I0 L8- 00 00 00 00 00 00 00 00I0 L8- 00 00 2A 00 00 00 00 00I0 L8- 00 00 00 00 00 00 00 00I0 L8- 00 00 1E 00 00 00 00 00I0 L8- 00 00 00 00 00 00 00 00I0 L8- 00 00 1F 00 00 00 00 00I0 L8- 00 00 00 00 00 00 00 00I0 L8- 00 00 20 00 00 00 00 00I0 L8- 00 00 00 00 00 00 00 00I0 L8- 00 00 21 00 00 00 00 00I0 L8- 00 00 00 00 00 00 00 00I0 L8- 00 00 22 00 00 00 00 00I0 L8- 00 00 00 00 00 00 00 00I0 L8- 00 00 23 00 00 00 00 00I0 L8- 00 00 00 00 00 00 00 00I0 L8- 00 00 24 00 00 00 00 00I0 L8- 00 00 00 00 00 00 00 00I0 L8- 00 00 25 00 00 00 00 00I0 L8- 00 00 00 00 00 00 00 00I0 L8- 00 00 26 00 00 00 00 00I0 L8- 00 00 00 00 00 00 00 00I0 L8- 00 00 27 00 00 00 00 00I0 L8- 00 00 00 00 00 00 00 00I0 L8- 00 00 2D 00 00 00 00 00I0 L8- 00 00 00 00 00 00 00 00I0 L8- 00 00 2E 00 00 00 00 00I0 L8- 00 00 00 00 00 00 00 00I0 L8- 00 00 2C 00 00 00 00 00I0 L8- 00 00 2C 06 00 00 00 00I0 L8- 00 00 2C 00 00 00 00 00I0 L8- 00 00 00 00 00 00 00 00I0 L8- 01 00 00 00 00 00 00 00I0 L8- 00 00 00 00 00 00 00 00I0 L8- 04 00 00 00 00 00 00 00I0 L8- 00 00 00 00 00 00 00 00I0 L8- 08 00 00 00 00 00 00 00I0 L8- 00 00 00 00 00 00 00 00I0 L8- 40 00 00 00 00 00 00 00I0 L8- 00 00 00 00 00 00 00 00I0 L8- 80 00 00 00 00 00 00 00I0 L8- 00 00 00 00 00 00 00 00I0 L8- 00 00 65 00 00 00 00 00I0 L8- 00 00 00 00 00 00 00 00I0 L8- 10 00 00 00 00 00 00 00I0 L8- 00 00 00 00 00 00 00 00I0 L8- 00 00 50 00 00 00 00 00I0 L8- 00 00 00 00 00 00 00 00I0 L8- 00 00 52 00 00 00 00 00I0 L8- 00 00 00 00 00 00 00 00I0 L8- 00 00 51 00 00 00 00 00I0 L8- 00 00 00 00 00 00 00 00I0 L8- 00 00 4F 00 00 00 00 00I0 L8- 00 00 00 00 00 00 00 00I0 L8- 00 00 4C 00 00 00 00 00I0 L8- 00 00 00 00 00 00 00 00I0 L8- 00 00 49 00 00 00 00 00I0 L8- 00 00 00 00 00 00 00 00I0 L8- 00 00 4A 00 00 00 00 00I0 L8- 00 00 00 00 00 00 00 00I0 L8- 00 00 4B 00 00 00 00 00I0 L8- 00 00 00 00 00 00 00 00I0 L8- 00 00 4E 00 00 00 00 00I0 L8- 00 00 00 00 00 00 00 00I0 L8- 00 00 62 00 00 00 00 00I0 L8- 00 00 00 00 00 00 00 00I0 L8- 00 00 63 00 00 00 00 00I0 L8- 00 00 00 00 00 00 00 00I0 L8- 00 00 59 00 00 00 00 00I0 L8- 00 00 00 00 00 00 00 00I0 L8- 00 00 5A 00 00 00 00 00I0 L8- 00 00 00 00 00 00 00 00I0 L8- 00 00 5B 00 00 00 00 00I0 L8- 00 00 00 00 00 00 00 00I0 L8- 00 00 5C 00 00 00 00 00I0 L8- 00 00 00 00 00 00 00 00I0 L8- 00 00 5D 00 00 00 00 00I0 L8- 00 00 00 00 00 00 00 00I0 L8- 00 00 5E 00 00 00 00 00I0 L8- 00 00 00 00 00 00 00 00I0 L8- 00 00 5F 00 00 00 00 00I0 L8- 00 00 00 00 00 00 00 00I0 L8- 00 00 60 00 00 00 00 00I0 L8- 00 00 00 00 00 00 00 00I0 L8- 00 00 00 00 00 00 00 00I0 L8- 00 00 53 00 00 00 00 00I0 L8- 00 00 00 00 00 00 00 00I0 L8- 00 00 54 00 00 00 00 00I0 L8- 00 00 00 00 00 00 00 00I0 L8- 00 00 00 00 00 00 00 00I0 L8- 00 00 56 00 00 00 00 00I0 L8- 00 00 00 00 00 00 00 00I0 L8- 00 00 57 00 00 00 00 00I0 L8- 00 00 00 00 00 00 00 00I0 L8- 00 00 58 00 00 00 00 00I0 L8- 00 00 00 00 00 00 00 00I0 L8- 00 00 3A 00 00 00 00 00I0 L8- 00 00 00 00 00 00 00 00I0 L8- 00 00 3B 00 00 00 00 00I0 L8- 00 00 00 00 00 00 00 00I0 L8- 00 00 3C 00 00 00 00 00I0 L8- 00 00 00 00 00 00 00 00I0 L8- 00 00 3D 00 00 00 00 00I0 L8- 00 00 00 00 00 00 00 00I0 L8- 00 00 3E 00 00 00 00 00I0 L8- 00 00 00 00 00 00 00 00I0 L8- 00 00 3F 00 00 00 00 00I0 L8- 00 00 00 00 00 00 00 00I0 L8- 00 00 40 00 00 00 00 00I0 L8- 00 00 00 00 00 00 00 00I0 L8- 00 00 41 00 00 00 00 00I0 L8- 00 00 00 00 00 00 00 00I0 L8- 00 00 43 00 00 00 00 00I0 L8- 00 00 00 00 00 00 00 00I0 L8- 00 00 45 00 00 00 00 00I0 L8- 00 00 00 00 00 00 00 00I0 L8- 00 00 46 00 00 00 00 00I0 L8- 00 00 00 00 00 00 00 00I0 L8- 00 00 47 00 00 00 00 00I0 L8- 00 00 00 00 00 00 00 00I0 L8- 00 00 48 00 00 00 00 00I0 L8- 00 00 00 00 00 00 00 00I0 L8- 00 00 3F 00 00 00 00 00I0 L8- 00 00 00 00 00 00 00 00I0 L8- 00 00 40 00 00 00 00 00I0 L8- 00 00 00 00 00 00 00 00I0 L8- 00 00 41 00 00 00 00 00I0 L8- 00 00 00 00 00 00 00 00I0 L8- 00 00 42 00 00 00 00 00I0 L8- 00 00 00 00 00 00 00 00I0 L8- 00 00 29 00 00 00 00 00HIDman v1.1.41. Key2. Mouse3. Game4. Adv.ESC to exit menu--Advanced1. Factory Reset2. Log HID Data3. PS2 mouse status4. Serial Log - NoESC main menuLogging HID Data. Press ESC to stop...I0 L8- 00 00 00 00 00 00 00 00I0 L4- 00 00 01 00I0 L4- 00 00 02 00I0 L4- 00 04 1E 00I0 L4- 00 07 79 00I0 L4- 00 3E 7F 00I0 L4- 00 19 7F 00I0 L4- 00 FD C0 00I0 L4- 00 E7 81 00I0 L4- 00 0D 81 00I0 L4- 00 04 81 00I0 L4- 00 04 81 00I0 L4- 00 0C 81 00I0 L4- 00 01 FF 00I0 L4- 00 FF 00 00I0 L4- 00 FF 00 00I0 L4- 00 81 35 00I0 L4- 00 81 6A 00I0 L4- 00 81 AC 00I0 L4- 00 81 F0 00I0 L4- 00 B0 01 00I0 L4- 00 17 14 00I0 L4- 00 7F 53 00I0 L4- 00 7F 5E 00I0 L4- 00 7F 25 00I0 L4- 00 7F 02 00I0 L4- 00 35 00 00I0 L4- 00 12 FC 00I0 L4- 00 C2 08 00I0 L4- 00 81 7F 00I0 L4- 00 81 7F 00I0 L4- 00 A7 59 00I0 L4- 00 D6 FE 00I0 L4- 00 D8 89 00I0 L4- 00 CD 81 00I0 L4- 00 F3 81 00I0 L4- 00 03 A6 00I0 L4- 00 FC EA 00I0 L4- 00 81 FA 00I0 L4- 00 81 66 00I0 L4- 00 81 6B 00I0 L4- 00 81 44 00I0 L4- 00 01 01 00I0 L4- 00 1F 1A 00I0 L4- 00 7F 7F 00I0 L4- 00 7F 7F 00I0 L4- 00 7F 57 00I0 L4- 00 7F 81 00I0 L4- 00 5A 81 00I0 L4- 00 00 CD 00I0 L4- 01 00 00 00I0 L4- 00 00 00 00I0 L4- 02 00 00 00I0 L4- 02 00 01 00I0 L4- 02 FF 00 00I0 L4- 02 FF 01 00I0 L4- 00 FE 02 00I0 L4- 00 01 00 00I0 L4- 00 01 00 00I0 L4- 00 01 FF 00I0 L4- 00 07 FB 00I0 L4- 00 07 FC 00I0 L4- 00 01 00 00I0 L4- 00 02 00 00I0 L4- 00 00 01 00I0 L4- 04 00 00 00I0 L4- 00 00 00 00I0 L4- 00 04 00 00I0 L4- 00 03 02 00I0 L4- 00 FF 04 00I0 L4- 00 FF 00 00I0 L4- 00 F6 FF 00I0 L4- 00 F6 02 00I0 L4- 00 00 FF 00I0 L4- 00 02 FF 00I0 L4- 00 00 FF 00I0 L4- 00 00 01 00I0 L4- 00 FF 01 00I0 L4- 00 FB 07 00I0 L4- 00 FD 05 00I0 L4- 00 F5 FE 00I0 L4- 00 EB FD 00I0 L4- 00 00 FF 00I0 L4- 00 00 00 00I0 L4- 00 01 00 00I0 L4- 00 01 00 00I0 L4- 00 03 01 00I0 L4- 00 06 01 00I0 L4- 00 08 01 00I0 L4- 00 F7 00 00I0 L4- 00 FF 00 00I0 L4- 00 00 FF 00I0 L4- 00 B9 CD 00I0 L4- 00 01 00 00I0 L4- 00 07 00 00I0 L4- 00 01 00 00I0 L4- 00 01 00 00I0 L4- 00 05 00 00I0 L4- 00 02 00 00I0 L4- 00 08 00 00I0 L4- 00 F8 F8 00I0 L4- 00 DB 04 00I0 L4- 00 FA 00 00I0 L4- 04 00 00 00I0 L4- 00 00 00 00I0 L4- 00 01 00 00I0 L4- 00 01 00 00I0 L4- 00 01 00 00I0 L4- 00 00 00 FFI0 L4- 00 00 00 FFI0 L4- 00 00 00 FFI0 L4- 00 00 00 FFI0 L4- 00 00 00 FEI0 L4- 00 00 00 01I0 L4- 00 00 00 01I0 L4- 00 00 00 01I0 L4- 00 00 00 01I0 L4- 00 00 00 02I0 L4- 00 00 00 01I0 L4- 00 00 00 FFI0 L4- 00 00 00 FFI0 L4- 00 00 00 FFI0 L4- 00 00 00 FFI0 L4- 00 0C 05 FBI0 L4- 00 01 01 00I0 L4- 00 0A 0C 00I0 L4- 00 0B 1C 00I0 L4- 02 00 00 00I0 L4- 00 00 00 00I0 L4- 01 00 00 00I0 L4- 00 00 00 00I0 L4- 00 01 00 00I0 L4- 00 01 00 00I0 L4- 00 01 00 00I0 L4- 00 07 08 00I0 L4- 00 CE 7F 00I0 L4- 00 81 7F 00I0 L4- 00 C4 7F 00I0 L4- 00 46 81 00I0 L4- 00 7F 81 00I0 L4- 00 81 81 00I0 L4- 00 81 81 00I0 L4- 00 81 81 00I0 L4- 00 35 AE 00I0 L4- 00 7F EE 00I0 L4- 00 7F 81 00I0 L4- 00 7F 29 00I0 L4- 00 7F 7F 00I0 L4- 00 12 0E 00I0 L8- 00 00 29 00 00 00 00 00HIDman v1.1.41. Key2. Mouse3. Game4. Adv.ESC to exit menuGoodbye
Edit: For the KVM Switch i think i know what happens.
I noticed Hidman is able to init the KVMSwitch on his side but as normally devices get init 1-2 seconds later it not init the devices on it.
Maybe related to the same bug with USB Hubs ?
TgamesFR wrote on 2024-12-16, 16:45:Yeah strange bug but indeed in French Azerty the menu is unusable and debug too.
Hmm since there isn't really any way for hidman to detect the language then I'm not sure how I can fix this. I think for the moment if you need the menu you'll have to set keyboard to english.
I need you to capture the connection of the device while in log mode. Turn on log mode then plug any devices in.
rasteri wrote on 2024-12-16, 17:35:Hmm since there isn't really any way for hidman to detect the language then I'm not sure how I can fix this. I think for the moment if you need the menu you'll have to set keyboard to english.
I need you to capture the connection of the device while in log mode. Turn on log mode then plug any devices in.
Thanks for your help.
Indeed as visible on logs it see my KVM but he have issues parsings keyboard and mouse plugged on it.
Here the logs you requested :
Edit: I've re-edited i noticed there was more logs in native mode for Keyboard and Mouse. Idk if it's important to fix my issues.
KVM Switch :
Logging HID Data. Press ESC to stop...I0 L8- 00 00 00 00 00 00 00 00reenumerating all portsport 0sp 52gdd len8mps 64addr ok 0gddfull ok 18Device Descriptor12 01 00 02 09 00 00 40 40 1A 01 01 11 01 00 0100 010x1A40 0x0101 0x0111Config Descriptor09 02 19 00 01 01 00 E0 32 09 04 00 00 01 09 0000 00 07 05 81 03 01 00 FFgcd ok 25Found hub4 port hubDoing new thing - 64new enum. failedport 1gdd.faildone reenumeratingreenumerating all portsport 0sp 52gdd len8mps 64addr ok 0gddfull ok 18Device Descriptor12 01 00 02 09 00 00 40 40 1A 01 01 11 01 00 0100 010x1A40 0x0101 0x0111Config Descriptor09 02 19 00 01 01 00 E0 32 09 04 00 00 01 09 0000 00 07 05 81 03 01 00 FFgcd ok 25Found hub4 port hubDoing new thing - 64new enum. failedport 1gdd.faildone reenumerating
I've noticed during 1 second the led on my keyboard is on then instantly off during the logs.
Logitech G910 (Keyboard Direct Plugin)
Logging HID Data. Press ESC to stop...I0 L8- 00 00 00 00 00 00 00 00reenumerating all portsport 0sp 52gdd len8mps 64addr ok 0gddfull ok 18Device Descriptor12 01 00 02 00 00 00 40 6D 04 35 C3 02 06 01 0203 010x046D 0xC335 0x0602Config Descriptor09 02 3B 00 02 01 04 A0 FA 09 04 00 00 01 03 0101 00 09 21 11 01 00 01 22 41 00 07 05 81 03 0800 01 09 04 01 00 01 03 00 00 00 09 21 11 01 0001 22 77 00 07 05 82 03 40 00 01gcd ok 59Interface 0InterfaceProtocol 1Interface 0 Report Descriptor -05 01 09 06 A1 01 05 07 19 E0 29 E7 15 00 25 0175 01 95 08 81 02 95 01 75 08 81 01 95 03 75 0105 08 19 01 29 03 91 02 95 05 75 01 91 01 95 0675 08 15 00 26 FF 00 05 07 19 00 2A FF 00 81 00C0set report mode - 1 - 1Report 0 usage 6 length 64startbit 56 it 4 ip 0 chan 0 cont 0 size 8 count 6startbit 48 it 4 ip 0 chan 0 cont 0 size 8 count 6startbit 40 it 4 ip 0 chan 0 cont 0 size 8 count 6startbit 32 it 4 ip 0 chan 0 cont 0 size 8 count 6startbit 24 it 4 ip 0 chan 0 cont 0 size 8 count 6startbit 16 it 4 ip 0 chan 0 cont 0 size 8 count 6startbit 8 it 4 ip 0 chan 0 cont 0 size 8 count 1startbit 0 it 5 ip 0 chan 0 cont e0 size 1 count 8SetReportInterface 1InterfaceProtocol 0Interface 1 Report Descriptor -05 01 09 06 A1 01 05 07 19 00 29 E7 15 00 26 E700 75 08 95 14 85 01 81 00 C0 05 0C 09 01 A1 0185 02 15 00 25 01 75 01 95 07 09 B5 09 B6 09 B709 CD 09 E9 09 EA 09 E2 81 02 95 01 81 01 C0 0643 FF 0A 02 06 A1 01 85 11 75 08 95 13 15 00 26FF 00 09 02 81 00 09 02 91 00 C0 06 43 FF 0A 0406 A1 01 85 12 75 08 95 3F 15 00 26 FF 00 09 0481 00 09 04 91 00 C0
set report mode - 1 - 1Report 1 usage 6 length 168startbit 160 it 4 ip 0 chan 0 cont 0 size 8 count 14startbit 152 it 4 ip 0 chan 0 cont 0 size 8 count 14startbit 144 it 4 ip 0 chan 0 cont 0 size 8 count 14startbit 136 it 4 ip 0 chan 0 cont 0 size 8 count 14startbit 128 it 4 ip 0 chan 0 cont 0 size 8 count 14startbit 120 it 4 ip 0 chan 0 cont 0 size 8 count 14startbit 112 it 4 ip 0 chan 0 cont 0 size 8 count 14startbit 104 it 4 ip 0 chan 0 cont 0 size 8 count 14startbit 96 it 4 ip 0 chan 0 cont 0 size 8 count 14startbit 88 it 4 ip 0 chan 0 cont 0 size 8 count 14startbit 80 it 4 ip 0 chan 0 cont 0 size 8 count 14startbit 72 it 4 ip 0 chan 0 cont 0 size 8 count 14startbit 64 it 4 ip 0 chan 0 cont 0 size 8 count 14startbit 56 it 4 ip 0 chan 0 cont 0 size 8 count 14startbit 48 it 4 ip 0 chan 0 cont 0 size 8 count 14startbit 40 it 4 ip 0 chan 0 cont 0 size 8 count 14startbit 32 it 4 ip 0 chan 0 cont 0 size 8 count 14startbit 24 it 4 ip 0 chan 0 cont 0 size 8 count 14startbit 16 it 4 ip 0 chan 0 cont 0 size 8 count 14startbit 8 it 4 ip 0 chan 0 cont 0 size 8 count 14port 1gdd.faildone reenumeratingI0 L8- 00 00 29 00 00 00 00 00
Logitech G502 Hero (Mouse Direct Plugin)
Logging HID Data. Press ESC to stop...I0 L8- 00 00 00 00 00 00 00 00reenumerating all portsport 0sp 52gdd len8mps 64addr ok 0gddfull ok 18Device Descriptor12 01 00 02 00 00 00 40 6D 04 8B C0 03 27 01 0203 010x046D 0xC08B 0x2703Config Descriptor09 02 3B 00 02 01 04 A0 96 09 04 00 00 01 03 0102 00 09 21 11 01 00 01 22 43 00 07 05 81 03 0800 01 09 04 01 00 01 03 00 00 00 09 21 11 01 0001 22 97 00 07 05 82 03 14 00 01gcd ok 59Interface 0InterfaceProtocol 2Interface 0 Report Descriptor -05 01 09 02 A1 01 09 01 A1 00 05 09 19 01 29 1015 00 25 01 95 10 75 01 81 02 05 01 16 01 80 26FF 7F 75 10 95 02 09 30 09 31 81 06 15 81 25 7F75 08 95 01 09 38 81 06 05 0C 0A 38 02 95 01 8106 C0 C0set report mode - 1 - 1Report 0 usage 2 length 64startbit 56 it 0 ip 0 chan 0 cont 0 size 8 count 1startbit 48 it 3 ip 0 chan 1 cont 6 size 8 count 1startbit 32 it 3 ip 0 chan 1 cont 5 size 10 count 2startbit 16 it 3 ip 0 chan 1 cont 4 size 10 count 2startbit 0 it 5 ip 0 chan 1 cont 1 size 1 count 10Interface 1InterfaceProtocol 0Interface 1 Report Descriptor -05 01 09 06 A1 01 85 01 05 07 19 E0 29 E7 15 0025 01 75 01 95 08 81 02 81 03 95 06 75 08 15 0026 A4 00 19 00 2A A4 00 81 00 C0 05 0C 09 01 A101 85 03 75 10 95 02 15 01 26 8C 02 19 01 2A 8C02 81 00 C0 05 01 09 80 A1 01 85 04 75 02 95 0115 01 25 03 09 82 09 81 09 83 81 60 75 06 81 03C0 06 00 FF 09 01 A1 01 85 10 75 08 95 06 15 0026 FF 00 09 01 81 00 09 01 91 00 C0 06 00 FF 0902 A1 01 85 11 75 08 95 13 15 00 26 FF 00 09 0281 00 09 02 91 00 C0set report mode - 1 - 1Report 1 usage 6 length 72
startbit 64 it 4 ip 0 chan 0 cont 0 size 8 count 6startbit 56 it 4 ip 0 chan 0 cont 0 size 8 count 6startbit 48 it 4 ip 0 chan 0 cont 0 size 8 count 6startbit 40 it 4 ip 0 chan 0 cont 0 size 8 count 6startbit 32 it 4 ip 0 chan 0 cont 0 size 8 count 6startbit 24 it 4 ip 0 chan 0 cont 0 size 8 count 6startbit 8 it 5 ip 0 chan 0 cont e0 size 1 count 8port 1gdd.faildone reenumeratingI0 L8- 00 00 00 00 00 00 00 00I1 L9- 01 00 00 00 00 00 00 00 00Invalid reportI1 L5- 03 00 00 00 00
TgamesFR wrote on 2024-12-16, 17:41:Indeed as visible on logs it see my KVM but he have issues parsings keyboard and mouse plugged on it.
Here the logs you requested :
Ah, your mouse uses 16-bit positioning data, support will likely come in next hidman firmware version.
What make/model of kvm switch is it?