Hi everyone, I'm new here.
I bought a Comet PoE (GL-RM1PE) so I could install operating systems on a lab machine remotely, which is what the "install OS remotely" tutorial describes. Video, keyboard and mouse all work beautifully and I've been really happy with the device. But I can't get the virtual drive to boot, and I've hit a wall.
I think I'm hitting the same bug as #66265. Same model. There, enabling Virtual Media with no ISO mounted killed HDMI output on a Dell OptiPlex 3000. Here it's an HP EliteDesk 705 G3 Mini and the symptom is different, the machine stops responding to the Comet's keyboard in BIOS, but the trigger is identical: simply having Virtual Media enabled, no image required. That thread was closed because the logs never got sent. I've attached mine, so hopefully this one can go further.
One thing up front, because I've seen it answered this way before: this doesn't look like "that BIOS can't be driven". This HP's BIOS takes the Comet's keyboard perfectly, I can open the Startup Menu and move around in it. It stops responding only when Virtual Media is on, and starts again the moment it's off, without a reboot.
Setup
-
Comet PoE (GL-RM1PE), firmware V1.10.1 release2
-
HP EliteDesk 705 G3 Mini, BIOS P26 Ver. 02.44, Secure Boot disabled, USB above the internal SSD in both boot orders, Fast Boot off
-
Single Type-C to the target, per the documentation
The test (screenshots attached)
One uninterrupted firmware session, parked at the HP Startup Menu, no reboot between steps. Only the Virtual Media function changed:
-
Virtual Media off. Opened the Startup Menu by streaming Esc. Arrow Down works, the highlight moves.
-
Virtual Media on (
otg_functions?start_flash=1, image attached). Arrow Down and F9 now do nothing at all. Five consecutive screenshots are byte-identical to each other and to step 1. -
Virtual Media off again (
otg_functions?start_flash=0), still with no reboot. The same Arrow Down works immediately, the highlight moves to "System Diagnostics".
There are only two screenshots below, and that is the point: the step 1 and step 2 screens are the same image file, byte for byte. The menu simply never changed while Virtual Media was on, so there was no second picture to take. The first screenshot is that unchanging screen, the second is the highlight finally moving once Virtual Media was switched off again.
The keyboard itself is never broken. In one failing boot I streamed ~1450 Esc presses through POST. The firmware ignored all of them, then every one appeared at once in the Linux console as ^[ the instant the OS took over.
In the Comet's own logs
From /api/upgrade/log (attached as comet-rm1pe-logs.zip, IPs and MACs redacted, happy to send the unredacted bundle privately), around the gadget restarts:
configfs-gadget.rockchip gadget.0: End Point Request ERROR: -108
configfs-gadget.rockchip gadget.0: End Point Request ERROR: -108
android_work: sent uevent USB_STATE=DISCONNECTED
dwc3 21500000.usb: device reset
android_work: sent uevent USB_STATE=CONNECTED
-108 is -ESHUTDOWN. There are also 198 occurrences of usb-gadget: usb-service is unavailable in the same log, which I don't know how to interpret but looks wrong.
Ruled out
-
Not the composite descriptor: a storage-only gadget (
enable_keyboard=0,enable_mouse=0,enable_mouse_alt=0,start_flash=1) still didn't boot. -
Not the image:
start_flash=1with no media connected breaks input identically. -
Not CD-ROM vs USB disk, both behave the same.
-
Not target BIOS config, and raising Startup Delay 0 to 20 s changed nothing.
-
Not cabling: everything works on that cable whenever Virtual Media is off.
Once Linux is running, the target enumerates the device fine (Glinet Composite Device, usb-storage 2-3:1.3), so the gadget is well formed and only the pre-boot firmware rejects it. With Virtual Media on, POST also takes about 30 seconds longer, like an enumeration attempt timing out.
Question
In #62019 the fix was forcing the target to Full/Low Speed USB, because that BIOS wouldn't initialise GLKVM HID at High Speed. My HP has no USB speed setting. Can the Comet be made to advertise Full Speed instead of High Speed, by setting or API? If not, could it be added? Given #66265 and #62019 that looks like it would fix a class of machines rather than just mine.
Happy to run any test and send more logs, it's a lab machine so I can wipe it freely. Thanks for any pointers.
Logs
comet-rm1pe-logs.zip (38.9 KB)
Screens

