USB keyboard Polygon 7 not recogniced

From: Matthias Apitz <guru_at_unixarea.de>
Date: Tue, 01 Apr 2025 18:21:47 UTC
Hello,

My son (15 years old, Linux freak) bought for his PC such an USB
keyboard kit: https://d-r.works/products/polygon-7-keyboard-kit
(One can build the keyboard layout on own ideas.)

It works fine on his PC connected via USB. On my beloved FreeBSD 14-CURRENT
it gives in /var/log/messages on attach:

Apr  1 19:22:21 c720-1400094 kernel: ugen0.4: <Hangsheng PG-7> at usbus0
Apr  1 19:22:21 c720-1400094 kernel: ukbd0 on uhub0
Apr  1 19:22:21 c720-1400094 kernel: ukbd0: <Hangsheng PG-7, class 0/0, rev 2.00/0.05, addr 7> on usbus0
Apr  1 19:22:21 c720-1400094 kernel: kbd2 at ukbd0
Apr  1 19:22:21 c720-1400094 kernel: uhid0 on uhub0
Apr  1 19:22:21 c720-1400094 kernel: uhid0: <Hangsheng PG-7, class 0/0, rev 2.00/0.05, addr 7> on usbus0
Apr  1 19:22:21 c720-1400094 kernel: ums0 on uhub0
Apr  1 19:22:21 c720-1400094 kernel: ums0: <Hangsheng PG-7, class 0/0, rev 2.00/0.05, addr 7> on usbus0
Apr  1 19:22:21 c720-1400094 kernel: ums0: 8 buttons and [XYZT] coordinates ID=2

But no keypress is visible in any terminal.

I will attach as well, what my Debian Linux cellular says on attache and there
it works fine too.

The idVendor=1d6b and idProduct=0002 visible in /var/log/syslog in Debian are not
shown in FreeBSD. Perhaps we miss them in our driver?

	matthias

-- 
Matthias Apitz, ✉ guru@unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub