VOGONS


Reply 141 of 225, by Eivind

User metadata
Rank Member
Rank
Member
rasteri wrote on 2023-02-08, 09:12:
tabm0de wrote on 2023-02-07, 21:01:

Question, are you guys and girls using usb-a to usb-a for programming or usb-a to usb-c?

A to A for me.

I'm using an A-to-C cable (for connecting to my Macbook).
I've also used an A-to-MicroB cable -> MicroB-to-A adapter -> A-to-C adapter, just for the heck of it. Works fine - use whatever you need, basically! 😀

The LlamaBlaster sound card
ITX-Llama motherboard
TinyLlama SBC

Reply 142 of 225, by tabm0de

User metadata
Rank Member
Rank
Member

Thanks, soon done with one for test, sadly I don’t read what i order so good so the cap was ordered as 0402 instead of 0603, there is no chance in hell I will try to solder those haha

@serisman question regarding the hidman mini, what way did you go with securing the cables so it isnt possible to accidentally pull of wire from the pads ? is it somehow secured in the 3d case you made?
I might ad an extra 5mm to the pcb with hole so i could strip wire it or equal to be on the safe side.

Attachments

naa, nothing yet...

Reply 143 of 225, by serisman

User metadata
Rank Newbie
Rank
Newbie
tabm0de wrote on 2023-02-08, 10:56:

Thanks, soon done with one for test, sadly I don’t read what i order so good so the cap was ordered as 0402 instead of 0603, there is no chance in hell I will try to solder those haha

Nice! Yeah, 0402 is pretty small. I prefer 0603 or 0805 because they still have visible codes on them and are reasonably easy to hand solder still.

tabm0de wrote on 2023-02-08, 10:56:

@serisman question regarding the hidman mini, what way did you go with securing the cables so it isnt possible to accidentally pull of wire from the pads ? is it somehow secured in the 3d case you made?
I might ad an extra 5mm to the pcb with hole so i could strip wire it or equal to be on the safe side.

Honestly, I think the individual wires would probably break before you pulled one of those traces off. You can use a bit of heat shrink over both PS/2 cables to hold them together a bit better. The 3D printed case does extend an additional 5mm or so beyond the PCB which helps a bit as well. If you don't want to go with the 3D printed case you can always use heatshrink (clear?) around the whole thing, possibly with some hot glue first.

Reply 144 of 225, by tabm0de

User metadata
Rank Member
Rank
Member
serisman wrote on 2023-02-09, 01:13:
Nice! Yeah, 0402 is pretty small. I prefer 0603 or 0805 because they still have visible codes on them and are reasonably easy […]
Show full quote
tabm0de wrote on 2023-02-08, 10:56:

Thanks, soon done with one for test, sadly I don’t read what i order so good so the cap was ordered as 0402 instead of 0603, there is no chance in hell I will try to solder those haha

Nice! Yeah, 0402 is pretty small. I prefer 0603 or 0805 because they still have visible codes on them and are reasonably easy to hand solder still.

tabm0de wrote on 2023-02-08, 10:56:

@serisman question regarding the hidman mini, what way did you go with securing the cables so it isnt possible to accidentally pull of wire from the pads ? is it somehow secured in the 3d case you made?
I might ad an extra 5mm to the pcb with hole so i could strip wire it or equal to be on the safe side.

Honestly, I think the individual wires would probably break before you pulled one of those traces off. You can use a bit of heat shrink over both PS/2 cables to hold them together a bit better. The 3D printed case does extend an additional 5mm or so beyond the PCB which helps a bit as well. If you don't want to go with the 3D printed case you can always use heatshrink (clear?) around the whole thing, possibly with some hot glue first.

Thanks for the input and keep up the good work 😁

ps ye you to rasteri as we wouldn't be here otherwise 😉

naa, nothing yet...

Reply 145 of 225, by tabm0de

User metadata
Rank Member
Rank
Member

I did try usb-a to usb-c yesterday and wouldnt work for me, luckly i had a usb-a to usb-a cable that came with aliexpress sata/ide dock and that worked perfectly! 😀

Going to try using logitech bolt usb dongel tonight which hasnt worked on any old computer like p4 or tinyllama 1.1 for some reason, dont really know whats so special with that dongel.

naa, nothing yet...

Reply 146 of 225, by tabm0de

User metadata
Rank Member
Rank
Member
rasteri wrote on 2022-12-11, 23:04:
Maybe its report format is a bit weird. Can you gather some log data for me? […]
Show full quote
Eivind wrote on 2022-12-11, 15:10:

Mouse however was a bit strange, ctmouse recognizes the ps/2 mouse, but whenever I try a program that uses a mouse, the cursor immediately jumps to the lower right corner (ie, max value) when I move it. Have you experienced anything similar?

Maybe its report format is a bit weird. Can you gather some log data for me?

I've just pushed an update to HIDMAN that will re-enable the debugging menu facility.

Once you have it flashed, fire up a text editor (MSDOS edit, windows notepad etc) on the PC that HIDMAN is attached to and momentarily hit the reflashing button (that's wired to 4.6). A menu will be typed up by HIDMAN.

Hit "2" for Log HID Data, and then unplug/replug your mouse to get the report descriptor(s). Wiggle it around a bit to gather some report data then save the text file and post it here (or DM it to me).

(Long term I may add a "safe mode" that forces keyboards/mice to BOOT MODE to account for weirdness like this)

EDIT : Oh, and "mode con rate=blah delay=blah" works for me. I'll add some more debugging options eventually.

As i was afraid of, the logitech bolt usb dongel did not work, worked like 2-3 seconds then it stop working.

Could i help with debug with information as above?

naa, nothing yet...

Reply 147 of 225, by rasteri

User metadata
Rank Member
Rank
Member
tabm0de wrote on 2023-02-14, 17:51:

As i was afraid of, the logitech bolt usb dongel did not work, worked like 2-3 seconds then it stop working.

Could i help with debug with information as above?

yes please! Plug a normal keyboard in, fire up MSDOS edit (or whatever), then press the button on HIDMAN. A menu will pop up, then select 2 for log HID data. Then plug the logitech dongle in, do some stuff with the mouse/keyboard, then save the text file and post it here.

Reply 148 of 225, by florian3

User metadata
Rank Newbie
Rank
Newbie

I built a HIDman into my 386 case.
Still planning to make a better DIN5 keyboard cable.

Attachments

  • HIDman-i2.jpg
    Filename
    HIDman-i2.jpg
    File size
    111.11 KiB
    Views
    1499 views
    File comment
    HIDman USB bracket
    File license
    Fair use/fair dealing exception
  • HIDman-i1.jpg
    Filename
    HIDman-i1.jpg
    File size
    215.75 KiB
    Views
    1499 views
    File comment
    Internal HIDman
    File license
    Fair use/fair dealing exception

Reply 149 of 225, by tabm0de

User metadata
Rank Member
Rank
Member
florian3 wrote on 2023-02-15, 01:06:

I built a HIDman into my 386 case.
Still planning to make a better DIN5 keyboard cable.

Good idea.

You could always solder it to the pins under the board, then you would also have access to the port as usually:)

naa, nothing yet...

Reply 150 of 225, by tabm0de

User metadata
Rank Member
Rank
Member

I might been wrong as I started to test on a real 486 which worked without problems, so I will continue on that pc instead.

Doh I seem to have some kind of issue or if I am doing something wrong somehow, as soon i move a mouse everything freezez ( logitech unify, normal usb mouse ), i have checked the pinouts and it is as it should, i have no clue what i am doing wrong.I have tested two HIDman-mini that i have built and they have same result, even just tried to use mouse only and have the same issue.
does not matter if i do load driver or not, and i am able to move it like 5cm before everything freezez when loading drivers.

I did try the debug button the only thing that occurs befor it freezez is "I".

naa, nothing yet...

Reply 151 of 225, by rasteri

User metadata
Rank Member
Rank
Member
tabm0de wrote on 2023-02-16, 12:10:
I might been wrong as I started to test on a real 486 which worked without problems, so I will continue on that pc instead. […]
Show full quote

I might been wrong as I started to test on a real 486 which worked without problems, so I will continue on that pc instead.

Doh I seem to have some kind of issue or if I am doing something wrong somehow, as soon i move a mouse everything freezez ( logitech unify, normal usb mouse ), i have checked the pinouts and it is as it should, i have no clue what i am doing wrong.I have tested two HIDman-mini that i have built and they have same result, even just tried to use mouse only and have the same issue.
does not matter if i do load driver or not, and i am able to move it like 5cm before everything freezez when loading drivers.

I did try the debug button the only thing that occurs befor it freezez is "I".

tabm0de wrote on 2023-02-16, 11:10:

I did try the debug button the only thing that occurs befor it freezez is "I".

This sounds like your devices have report descriptors that hidman is struggling to parse. You are using the latest version of firmware right? What brand of "normal" USB mouse is it?

This time enable USB HID logging, then JUST insert and remove the dongle or mouse without moving the mouse or pressing any keys. That should hopefully mean it won't crash, and we'll capture the report descriptors.

Reply 152 of 225, by tabm0de

User metadata
Rank Member
Rank
Member
rasteri wrote on 2023-02-16, 12:11:
tabm0de wrote on 2023-02-16, 12:10:
I might been wrong as I started to test on a real 486 which worked without problems, so I will continue on that pc instead. […]
Show full quote

I might been wrong as I started to test on a real 486 which worked without problems, so I will continue on that pc instead.

Doh I seem to have some kind of issue or if I am doing something wrong somehow, as soon i move a mouse everything freezez ( logitech unify, normal usb mouse ), i have checked the pinouts and it is as it should, i have no clue what i am doing wrong.I have tested two HIDman-mini that i have built and they have same result, even just tried to use mouse only and have the same issue.
does not matter if i do load driver or not, and i am able to move it like 5cm before everything freezez when loading drivers.

I did try the debug button the only thing that occurs befor it freezez is "I".

tabm0de wrote on 2023-02-16, 11:10:

I did try the debug button the only thing that occurs befor it freezez is "I".

rasteri wrote on 2023-02-16, 12:11:

This sounds like your devices have report descriptors that hidman is struggling to parse. You are using the latest version of firmware right? What brand of "normal" USB mouse is it?

Ye sorry there isnt really any "normal" mouse 😉 the usb cable mouse is a Logitech B110s, and the logitech unify dongle mouse is a anywhere mx.
I downloaded hidman source yeasterday.

rasteri wrote on 2023-02-16, 12:11:

This time enable USB HID logging, then JUST insert and remove the dongle or mouse without moving the mouse or pressing any keys. That should hopefully mean it won't crash, and we'll capture the report descriptors.

Have to try that later this weekend/tomorrow, sadly dont have any usb cable keyboard at home for some reason so i will grab one tomorrow from work.

naa, nothing yet...

Reply 153 of 225, by rasteri

User metadata
Rank Member
Rank
Member
florian3 wrote on 2023-02-15, 01:06:

I built a HIDman into my 386 case.
Still planning to make a better DIN5 keyboard cable.

Dunno how I missed this. super cool!

you could probably design a little PCB with a DIN-5 male plug on it to go into the keyboard socket. Hell put the whole HIDman on that PCB!

Reply 154 of 225, by florian3

User metadata
Rank Newbie
Rank
Newbie
rasteri wrote on 2023-02-19, 15:22:

Dunno how I missed this. super cool!

you could probably design a little PCB with a DIN-5 male plug on it to go into the keyboard socket. Hell put the whole HIDman on that PCB!

I thought about that but went the easy route.
The board now is just a HIDman AXP where I replaced all connectors with headers.
I also added another extension header that should give access to the P1 I/O pins to potentially try do add gameport support. But haven't done anything with it yet.

For the DIN cable I'm now using a cable built from this angled MIDI cable.

If anyone is interested, the modified board is in this branch.

Attachments

  • hidman-i3.jpg
    Filename
    hidman-i3.jpg
    File size
    223.56 KiB
    Views
    1336 views
    File comment
    DIN5 cable
    File license
    Fair use/fair dealing exception

Reply 155 of 225, by tabm0de

User metadata
Rank Member
Rank
Member

So im going crazy 😁 dont really know whats wrong. After few seconds something is freezing i have no idea what it is.

So i did grab a dell kb216t keyboard, it does work for alitel time then i dont know what really is freezing, there is no input going to the pc, the debug dont show any updates but i can see the led blinking when pressing keys on the keyboard.

So i tried to be fast and start debug and press key before it freezed, this is what i got:

Logging HID Data. Press ESC to stop... I0 L8- 0 0 0 0 0 0 0 0 Old Protocol 1 New Protocol 0 […]
Show full quote

Logging HID Data. Press ESC to stop...
I0 L8- 0 0 0 0 0 0 0 0
Old Protocol 1
New Protocol 0

Interface 0 Report Descriptor -
05 01 09 06 A1 01 05 07 19 E0 29 E7 15 00 25 01
75 01 95 08 81 02 95 01 75 08 81 01 95 03 75 01
05 08 19 01 29 03 91 02 95 01 75 05 91 01 95 06
75 08 15 00 26 FF 00 05 07 1

Please note i have two dongles (HIDman-mini) and both of them behaves the same.

*EDIT
So i tried the dongle on dell optiplex 7050 and the keyboard works without problem in windows 10, even if i leave it for few minutes it keeps working.
But using it with mouse (logitech b110s ) it freezez whit following debug when it gets conneced and able to move it few cm befor it stops:

iNTERFACE 0 rEPORT dESCRIPTOR 05 01 09 06 a1 01 05 07 19 e0 29 e7 15 00 25 01 75 01 95 08 81 02 95 01 75 08 81 01 95 03 75 01 05 […]
Show full quote

iNTERFACE 0 rEPORT dESCRIPTOR
05 01 09 06 a1 01 05 07 19 e0 29 e7 15 00 25 01
75 01 95 08 81 02 95 01 75 08 81 01 95 03 75 01
05 08 19 01 29 03 91 02 95 01 75 05 91 01 95 06
75 08 15 00 26 ff 00 05 07 19 00 2a

naa, nothing yet...

Reply 156 of 225, by rasteri

User metadata
Rank Member
Rank
Member
tabm0de wrote on 2023-02-19, 20:17:

So im going crazy 😁 dont really know whats wrong. After few seconds something is freezing i have no idea what it is.

Hmm I have found a combination of cheap keyboard/mouse (Advent/HP) that also crashes my hidman.

I'm investigating further.

Reply 158 of 225, by tabm0de

User metadata
Rank Member
Rank
Member

Tried attaching the mouse logitech b110s and the HIDman with the new build and it sadly stopped to responding after outputting:
unsure way its random caps and not caps sometimes 😉

hidman VO. 1 mAIN mENU
1. CONFIGURE GAME CONTROLLER MAPPINGS
2. 10G hid dATA
esc TO EXIT MENU
10GGING hid dATA. pRESS esc TO STOP..
10 18-0 0 0 0 0 0 0 0
iNTERFACE O rEPORT dESCRIPTOR
05 01 09 02 a1 01 09 01 al 00 05 09 19 01 29 03
15 00 25 01 95 08 75 01 81 02 05 01 09 30 09 31
09 38 15 81 25 7 75 08 95 03 81 06 c0 cO
iNTERFACE 0 rEPORT dESCRIPTOR -
05 01 09 02 al 01 09 01 al 00 05 09 19 01 29 03
15 00 25 01 95 08 75 01 81 02 05 01 09 30 09 31
09 38 15 81 25 7f 75 08 95 03 81 06 c0

do you have a model off mouse that work? so i could try buy one and just to be sure everything is working as it should 😉 even tried wireless logitech with unifyin reciver , dell wireless mouse, logitech g305 and gives me same act sadly

naa, nothing yet...

Reply 159 of 225, by rasteri

User metadata
Rank Member
Rank
Member
tabm0de wrote on 2023-02-21, 09:38:
Tried attaching the mouse logitech b110s and the HIDman with the new build and it sadly stopped to responding after outputting: […]
Show full quote

Tried attaching the mouse logitech b110s and the HIDman with the new build and it sadly stopped to responding after outputting:
unsure way its random caps and not caps sometimes 😉

hidman VO. 1 mAIN mENU
1. CONFIGURE GAME CONTROLLER MAPPINGS
2. 10G hid dATA
esc TO EXIT MENU
10GGING hid dATA. pRESS esc TO STOP..
10 18-0 0 0 0 0 0 0 0
iNTERFACE O rEPORT dESCRIPTOR
05 01 09 02 a1 01 09 01 al 00 05 09 19 01 29 03
15 00 25 01 95 08 75 01 81 02 05 01 09 30 09 31
09 38 15 81 25 7 75 08 95 03 81 06 c0 cO
iNTERFACE 0 rEPORT dESCRIPTOR -
05 01 09 02 al 01 09 01 al 00 05 09 19 01 29 03
15 00 25 01 95 08 75 01 81 02 05 01 09 30 09 31
09 38 15 81 25 7f 75 08 95 03 81 06 c0

do you have a model off mouse that work? so i could try buy one and just to be sure everything is working as it should 😉 even tried wireless logitech with unifyin reciver , dell wireless mouse, logitech g305 and gives me same act sadly

OK that's just bizarre, I am not sure what's wrong there at all. Maybe a different silicon revision of the CH559?

I have just ordered a new batch of hidman PCBs, if you send me one that doesn't work for investigation I'll send you one of the new ones. I've DM'd you my address.