Skip to content

How to disable PS/2 input devices? #196

@nobinson1021

Description

@nobinson1021

Describe the Issue

Hello.

I am trying to pass through a USB device (iPhone), but it is conflicting with the default PS/2 mouse and keyboard. I am using ULTMOS v0.13.3.

Here is what I have tried to solve this:

  1. I tried removing the PS/2 devices from virt-manager, but they are automatically re-added.

  2. I tried editing the XML with 'virsh edit' to add '' inside the '' block.

This causes a persistent XML validation error: "Extra element features in interleave". I have tried different element orders and even replacing the entire features block with known-good configurations, but the validation always fails.

Could you please provide the correct XML syntax to permanently disable the PS/2 controller/devices for ULTMOS v0.13.3?

Thank you.

Reproduce the Issue

  1. I tried to remove the PS/2 mouse and keyboard from the VM's hardware in virt-manager.

  2. The devices are automatically re-added.

  3. I tried to edit the XML with 'virsh edit' to add '<i8042 present='no'/

' inside the '' block.

  1. This causes an XML validation error: "Extra element features in interleave".

Expectation

I expect to find a way to permanently disable the PS/2 input devices so they do not conflict with my USB devices. I need to know the correct XML syntax for this project.

Screenshots

No response

Operating System

Ubuntu 24.04.2 LTS

Kernel

6.14.0-28-generic

Processor

11th Gen Intel(R) Core(TM) i5-1135G7 @ 2m40GHz

RAM (in GB)

16G

GPU(s)

Intel Corporation TigerLake-LP GT2 [Iris Xe Graphics]

Version

v0.13.3

Branch

main

Additional Information

Hello, I am trying to pass through a USB device (iPhone), but it seems to be conflicting with the default PS/2 mouse and keyboard.

Here is what I have tried:

  1. I tried to remove the PS/2 mouse and keyboard from the VM's hardware in virt-manager, but the devices are automatically re-added.
  2. I tried to edit the XML with virsh edit to add <i8042 present='no'/> inside the <features> block.
  3. This causes an XML validation error: "Extra element features in interleave".

My goal is to permanently disable the PS/2 input devices so they do not conflict with my USB devices. Could you please tell me the correct XML syntax to achieve this for ULTMOS v0.13.3?

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't workingPendingThe issue or pull request is being reviewed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions