Proprietary PS2 keyboard in HAL
18 Feb 2024 21:02 #293718
by tom_no
Proprietary PS2 keyboard in HAL was created by tom_no
In my endeavours of convertin a Biesse Rover 322 to LinuxCNC control, I'm about to start on the keyboards.
As stock the machine has 3 PS2 connectors to the PC: One for standard keyboard (red box), one for mouse/joystick (blue box) and the last for a custom keyboard (green box in picture). The former two are straight-forward as they work direcly as-is.
The custom/propriatary keyboard does not work as-is, probably due to Linux not recognizing it as a keyboard and therefore ignores it.
In my initial research I found 3 options for interfacing: Using PS2 connector on PC. Using passive PS2-to-USB adapter. Using active PS2-to-USB converter. The active converter seems the most promising route, but I'm at a loss on where to start.
What is the easiest way to get signals from the keyboard into LinuxCNC? I would expect HAL to be the go-to tool?
Some keys should map 1:1 to normal keyboard (numbers, home, end, arrow etc)
The most interesting ones are the 12 black ones on top, that also have LEDs built-in to indicate if function is active or not.
There is also a potmeter to control spindle speed.
As stock the machine has 3 PS2 connectors to the PC: One for standard keyboard (red box), one for mouse/joystick (blue box) and the last for a custom keyboard (green box in picture). The former two are straight-forward as they work direcly as-is.
The custom/propriatary keyboard does not work as-is, probably due to Linux not recognizing it as a keyboard and therefore ignores it.
In my initial research I found 3 options for interfacing: Using PS2 connector on PC. Using passive PS2-to-USB adapter. Using active PS2-to-USB converter. The active converter seems the most promising route, but I'm at a loss on where to start.
What is the easiest way to get signals from the keyboard into LinuxCNC? I would expect HAL to be the go-to tool?
Some keys should map 1:1 to normal keyboard (numbers, home, end, arrow etc)
The most interesting ones are the 12 black ones on top, that also have LEDs built-in to indicate if function is active or not.
There is also a potmeter to control spindle speed.
Attachments:
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19200
- Thank you received: 6436
18 Feb 2024 21:08 #293720
by tommylight
Replied by tommylight on topic Proprietary PS2 keyboard in HAL
Please Log in or Create an account to join the conversation.
Time to create page: 0.099 seconds