Have been using Comet Pro for couple of months without issue but suddenly it has stopped responding in BIOS (still works within OS')
Dual boot between CachyOS and Windows and have been able to select the desired OS in Limine during the countdown window, but now it will not accept any inputs from mouse or keyboard. Sending command to boot directly into BIOS from CachyOS to select boot option from BIOS interface does not work as it does not recognize inputs there either, and I'm forced to use physically connected mouse and keyboard (defeating purpose of headless fully remote device).
Have attempted disconnecting and reconnecting several times are well as trying different USB ports and disconnecting other devices and nothing works. Also updated firmware to 1.10.1 and selected different options in Device Identity with no luck. Any assistance would be very much appreciated. Thanks.
@_eli I only have the PoE model, not Pro, so there might be some differences, but given that the firmware is identical, it should work. Here are some observations:
Wrong filename (why it does nothing). GL's /etc/init.d/S99custom only runs files in that folder that match S??*, meaning a name starting with S and two characters (normally digits). usb-class-fix doesn't match, so it never runs at boot. It needs a name like S90usb-class-fix.sh.
The override.yaml "hooks" block isn't a real kvmd setting. kvmd has no kvmd: hooks: option, so that block does nothing, and kvmd may refuse to start because of the unknown key. You should remove it.
Remounting as writable isn't needed. On my device /etc was writable as-is, and I never remounted. It's harmless, though.
Corrected steps:
mkdir -p /etc/kvmd/user/scripts
mv /etc/kvmd/user/scripts/usb-class-fix /etc/kvmd/user/scripts/S90usb-class-fix.sh
chmod +x /etc/kvmd/user/scripts/S90usb-class-fix.sh
# then remove the "hooks:" block they added to /etc/kvmd/override.yaml
reboot
To check after the reboot:
cat /sys/kernel/config/usb_gadget/rockchip/bDeviceClass # should print 0x00
logread | grep usb-class-fix # should show "bDeviceClass set to 0"
If it still shows 0xEF after the reboot, check that /etc/init.d/S99custom exists and that ls /sys/kernel/config/usb_gadget/ shows rockchip. I only verified this on my GL-RM1PE with firmware 1.10.0beta2, and other models or firmware versions may name things differently.
Thank you so much for assisting. I performed the following in this order:
Removed the "hooks:" block added to /etc/kvmd/override.yaml
Ran the three commands provided successfully:
mkdir -p /etc/kvmd/user/scripts
mv /etc/kvmd/user/scripts/usb-class-fix /etc/kvmd/user/scripts/S90usb-class-fix.sh
chmod +x /etc/kvmd/user/scripts/S90usb-class-fix.sh
Rebooted
Below are results of running final checks:
bash-5.2# cat /sys/kernel/config/usb_gadget/rockchip/bDeviceClass
0x00
bash-5.2# logread | grep usb-class-fix
Oct 21 18:47:20 glkvm user.notice usb-class-fix: bDeviceClass set to 0 on 21500000.usb
bash-5.2#
This however actually made the KVM stop working entirely on the OS. I manually forced shut down the PC by holding the power button and after turning on it did not work on Limine bootloader and when it got back to CachyOS the mouse and keyboard is not working at all
EDIT: Disconnecting and reconnecting USB cable made the Comet Pro reboot on its own. When back in OS I disconnected and reconnected again. I rebooted the PC and still not working in bootloader, but it is at least working again in OS
@_eli depending on how technical you are, you should be able to debug this issue by spinning up an AI agent and giving it SSH access to your RM10. It's ordinary Linux underneath, so the agent should be able to navigate and experiment by changing all properties of the USB device until something works.
My preference is that GLiNet finds a permanent fix as access so Bios is core feature and selling point of these devices. I travel for work and have come to depend on this feature to access and manage home PC/server
@_eli I'm sure they're trying their best, but there's thousands of different devices with varying behaviors, it's impossible to test them all. If you can figure it out with AI and report it to them, I am sure they will make it a proper/permanent fix.
Did some more troubleshooting with Gemini and it advised to unplug PC and hold down power button for 30 seconds and this actually worked. Do not want to mark issue as resolved in the event it occurs again over the next couple of days and will update accordingly.