Modify the keyboard and mouse device properties of comet

We plan to add the ability to configure the keyboard and mouse device name in the UI in version 1.4, but before that, we provide a manual modification method.
You can try it when you encounter keyboard and mouse compatibility issues or need to modify the device name.
First enter the comet terminal.

By executing commands to simulate keyboards and mice of different manufacturers, the following are some common manufacturers' keyboard and mouse parameters. If you have a need, you can choose any one to try
Corsair

cat > ./etc/kvmd/override.d/hidname.yaml  << EOF
otg:
  manufacturer: Corsair
  product: 'Corsair Gaming RGB '
  product_id: 26995
  serial: ''
  vendor_id: 26944
EOF
sync

Logitech Inc

cat > ./etc/kvmd/override.d/hidname.yaml  << EOF
otg:
  manufacturer: 'Logitech Inc'
  product: 'Logitech, Inc. Keyboard K120'
  product_id: 49948
  serial: ''
  vendor_id: 1133
EOF
sync

Microsoft Corporation

cat > ./etc/kvmd/override.d/hidname.yaml  << EOF
otg:
  manufacturer: 'Microsoft Corporation'
  product: 'Microsoft Corporation<br>Wireless MultiMedia Keyboard'
  product_id: 95
  serial: ''
  vendor_id: 1118
EOF
sync

Dell Inc

cat > ./etc/kvmd/override.d/hidname.yaml  << EOF
otg:
  manufacturer: 'Dell Inc'
  product: 'Dell Computer Corp.<br>Multimedia Pro Keyboard'
  product_id: 8209
  serial: ''
  vendor_id: 16700
EOF
sync

After executing the command, reboot comet to take effect

When you no longer need it, just delete the configuration file and restart the device

rm /etc/kvmd/override.d/hidname.yaml
reboot

During the modification process, if the configuration file format is incorrect, comet may be inaccessible. At this time, you can try to restore the device by pressing the key for more than 8S.

3 Likes