DoorPi icon indicating copy to clipboard operation
DoorPi copied to clipboard

USB Keyboard intregration

Open mikewolf opened this issue 5 years ago • 2 comments

Hello I have a nummeric Keypad with USB, is there a chance to integrate into Doorpi Keyboards? i Hope so https://www.aliexpress.com/item/IP65-100-Waterproof-keyboard-Stainless-Steel-Industrial-Keyboard-With-12-keys-Matrix-Metal-Keyboard/32820392011.html?spm=2114.search0104.3.99.58c774d8EumiIg&ws_ab_test=searchweb0_0,searchweb201602_4_10065_10068_10547_319_317_10548_10696_10084_453_10083_454_10618_10304_10307_10820_10821_537_10302_536_10902_10059_10884_10887_321_322_10103,searchweb201603_56,ppcSwitch_0&algo_expid=2f9cf5bd-27d6-4b6b-a7fb-1f84f64a7cf2-13&algo_pvid=2f9cf5bd-27d6-4b6b-a7fb-1f84f64a7cf2

mikewolf avatar Mar 04 '19 14:03 mikewolf

Whether it can work at all pretty much only depends on how the keypad registers itself. Execute

dmesg | tail

on your Raspi right after you plug in the keypad, that should tell us quite a bit already. (When you post the output, please make sure to use a code block.)

It looks like it's supposed to register as standard USB keyboard, which means you should be able to type with it if you e.g. plug it into your desktop computer. If that is the case, I'm not sure how/if DoorPi would be able to catch these key events, as it runs as system service and not in a user session.
If it registers as serial connection (you'll see /dev/tty<something> mentioned in above command's output), that's a whole different story and should be relatively easy, as the rdm6300 RFID reader is connected like that too.

Wuestengecko avatar Mar 14 '19 17:03 Wuestengecko

Hi mikewolf,

can you tell if uses a standard USB (HID?) protocol? Did you manage to integrate it?

Thanks Rainer

rdorsch avatar Sep 15 '19 14:09 rdorsch