1
0
Fork 0
mirror of https://github.com/pikvm/pikvm.git synced 2026-03-02 18:16:56 -05:00

Some DELL and HP UEFIs can't handle MSD + HID #1066

Open
opened 2026-02-20 14:10:36 -05:00 by deekerman · 13 comments
Owner

Originally created by @freaky-m0 on GitHub (Aug 4, 2025).

Originally assigned to: @mdevaev on GitHub.

Describe the bug
I use PiKVM 4+ and PiKVM Switch with Dell Optiplex/Pro Micro 7020 Desktop Devices. When I exit the BIOS or PowerOn the device I get no image (in the browser and on the passthrough hdmi) and weird behaviour (bootloop, no date / BIOS Settings after next Boot without USB) while the USB uplink cable to PiKVM is connected. When I disconnect the USB cable everything works as expected.

I already tried different EDIDs, USB Ports, BIOS Settings, without USB Passthrough, without external Monitor etc.

To Reproduce
Steps to reproduce the behavior, like:

  1. Restart Dell Optiplex/Pro Micro 7020 Desktop Computer'
  2. Enter BIOS with F2
  3. Exit BIOS
  4. Device will don't show Image / not boot correctly

Expected behavior
Image and USB working after PowerOn / BIOS exit

Screenshots
This setting also helps instead of disconnecting the USB cable physically:
Image

Desktop (please complete the following information):

  • OS: Windows 11
  • Browser Firefox

PiKVM info:

  • Raspberry Pi board version (it was a complete device I guess with RPi4? no DIY)
  • PiKVM platform V4+ with PiKVM Switch
  • Video capture type: ? Should be the default
  • KVMD version:
    kvmd 4.92-1
    kvmd-fan 0.32-1
    kvmd-platform-v4plus-hdmi-rpi4 4.92-1
    kvmd-webterm 0.50-1
  • uStreamer version: ustreamer 6.40-1
  • Linux kernel: Linux pikvm 6.6.45-13-rpi #1 SMP PREEMPT Tue May 27 17:29:07 UTC 2025 aarch64 GNU/Linux
Originally created by @freaky-m0 on GitHub (Aug 4, 2025). Originally assigned to: @mdevaev on GitHub. **Describe the bug** I use PiKVM 4+ and PiKVM Switch with Dell Optiplex/Pro Micro 7020 Desktop Devices. When I exit the BIOS or PowerOn the device I get no image (in the browser and on the passthrough hdmi) and weird behaviour (bootloop, no date / BIOS Settings after next Boot without USB) while the USB uplink cable to PiKVM is connected. When I disconnect the USB cable everything works as expected. I already tried different EDIDs, USB Ports, BIOS Settings, without USB Passthrough, without external Monitor etc. **To Reproduce** Steps to reproduce the behavior, like: 1. Restart Dell Optiplex/Pro Micro 7020 Desktop Computer' 2. Enter BIOS with F2 3. Exit BIOS 4. Device will don't show Image / not boot correctly **Expected behavior** Image and USB working after PowerOn / BIOS exit **Screenshots** This setting also helps instead of disconnecting the USB cable physically: <img width="1528" height="852" alt="Image" src="https://github.com/user-attachments/assets/6c4a898c-5634-4f63-9928-e11f7b629008" /> **Desktop (please complete the following information):** - OS: Windows 11 - Browser Firefox **PiKVM info:** - Raspberry Pi board version (it was a complete device I guess with RPi4? no DIY) - PiKVM platform V4+ with PiKVM Switch - Video capture type: ? Should be the default - KVMD version: kvmd 4.92-1 kvmd-fan 0.32-1 kvmd-platform-v4plus-hdmi-rpi4 4.92-1 kvmd-webterm 0.50-1 - uStreamer version: ustreamer 6.40-1 - Linux kernel: Linux pikvm 6.6.45-13-rpi #1 SMP PREEMPT Tue May 27 17:29:07 UTC 2025 aarch64 GNU/Linux
Author
Owner

@mdevaev commented on GitHub (Aug 4, 2025):

Hello!

Please see this guide and try to disable mass storage: https://docs.pikvm.org/usb

This will help us understand if the situation you are facing is a variant of one of known problems.

@mdevaev commented on GitHub (Aug 4, 2025): Hello! Please see this guide and try to disable mass storage: https://docs.pikvm.org/usb This will help us understand if the situation you are facing is a variant of one of known problems.
Author
Owner

@freaky-m0 commented on GitHub (Aug 6, 2025):

Disabling mass storage with kvmd-otgconf helps. I can turn off and on the device and exit the BIOS without any problems.

Can I help you further with any additional information?

@freaky-m0 commented on GitHub (Aug 6, 2025): Disabling mass storage with kvmd-otgconf helps. I can turn off and on the device and exit the BIOS without any problems. Can I help you further with any additional information?
Author
Owner

@mdevaev commented on GitHub (Aug 6, 2025):

This is a defect in the DELL BIOS. Or rather, a defect in the framework that they and HP use for some chipsets. We are exploring possible workarounds for this.

@mdevaev commented on GitHub (Aug 6, 2025): This is a defect in the DELL BIOS. Or rather, a defect in the framework that they and HP use for some chipsets. We are exploring possible workarounds for this.
Author
Owner

@asheroto commented on GitHub (Sep 11, 2025):

I have experienced this as well on several Dell OptiPlex Micro computers (newer models are now called Dell Pro Micro).

Disabling mass storage did fix the issue for me as mentioned above.

kvmd-otgconf -d mass_storage.usb0
@asheroto commented on GitHub (Sep 11, 2025): I have experienced this as well on several Dell OptiPlex Micro computers (newer models are now called Dell Pro Micro). Disabling mass storage did fix the issue for me as mentioned above. ```bash kvmd-otgconf -d mass_storage.usb0 ```
Author
Owner

@freaky-m0 commented on GitHub (Sep 12, 2025):

What is the correct way to disable mass_storage.usb0 by default? Adding the following to /etc/kvmd/override.yaml?

otg:
    devices:
        drives:
            start: false
@freaky-m0 commented on GitHub (Sep 12, 2025): What is the correct way to disable mass_storage.usb0 by default? Adding the following to `/etc/kvmd/override.yaml`? ``` otg: devices: drives: start: false ```
Author
Owner

@mdevaev commented on GitHub (Sep 12, 2025):

@freaky-m0 Correct.

@mdevaev commented on GitHub (Sep 12, 2025): @freaky-m0 Correct.
Author
Owner

@freaky-m0 commented on GitHub (Sep 16, 2025):

It's still activated after a reboot:

Image Image
@freaky-m0 commented on GitHub (Sep 16, 2025): It's still activated after a reboot: <img width="322" height="111" alt="Image" src="https://github.com/user-attachments/assets/4c6a4f14-49c1-408b-a57b-539cd78564da" /> <img width="605" height="693" alt="Image" src="https://github.com/user-attachments/assets/f148b341-925e-4d4b-b90a-68d42dc94660" />
Author
Owner

@mdevaev commented on GitHub (Sep 16, 2025):

Try this:

otg:
    devices:
        msd:
            start: false
@mdevaev commented on GitHub (Sep 16, 2025): Try this: ```yaml otg: devices: msd: start: false ```
Author
Owner

@freaky-m0 commented on GitHub (Sep 17, 2025):

Try this:

otg:
devices:
msd:
start: false

That worked. Thank you for your help. 👍

@freaky-m0 commented on GitHub (Sep 17, 2025): > Try this: > > otg: > devices: > msd: > start: false That worked. Thank you for your help. 👍
Author
Owner

@mdevaev commented on GitHub (Nov 9, 2025):

I'll use this issue to track our research on this topic. If we find a generalized solution, it will be a celebration.

@mdevaev commented on GitHub (Nov 9, 2025): I'll use this issue to track our research on this topic. If we find a generalized solution, it will be a celebration.
Author
Owner

@prawilny commented on GitHub (Nov 11, 2025):

Try this:

otg:
devices:
msd:
start: false

Probably not really surprising, but I can attest that it also works for HP Elitedesk 800 G4.
Interestingly, the solution from https://docs.pikvm.org/msd/#disabling-mass-storage did not.
Maybe it should be replaced?

@prawilny commented on GitHub (Nov 11, 2025): > Try this: > > otg: > devices: > msd: > start: false Probably not really surprising, but I can attest that it also works for HP Elitedesk 800 G4. Interestingly, the solution from https://docs.pikvm.org/msd/#disabling-mass-storage did not. Maybe it should be replaced?
Author
Owner

@mdevaev commented on GitHub (Nov 11, 2025):

@prawilny It does almost the same thing from the host point of view. Probably you missed something in the config.

@mdevaev commented on GitHub (Nov 11, 2025): @prawilny It does almost the same thing from the host point of view. Probably you missed something in the config.
Author
Owner

@prawilny commented on GitHub (Nov 19, 2025):

@mdevaev, you're right - both options work now (on my HP Elitedesk 800 G4).

I still think I tested the documented method some time ago and it I'm pretty sure it didn't work for me then (I think I remember checking that msd entry disappeared from kvmd-otgconf).
So my conclusion would be that you fixed it in the meantime. So thank you!

@prawilny commented on GitHub (Nov 19, 2025): @mdevaev, you're right - both options work now (on my HP Elitedesk 800 G4). I still think I tested the [documented method](https://docs.pikvm.org/msd/#disabling-mass-storage) some time ago and it I'm pretty sure it didn't work for me then (I think I remember checking that `msd` entry disappeared from `kvmd-otgconf`). So my conclusion would be that you fixed it in the meantime. So thank you!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/pikvm-pikvm#1066
No description provided.