[Bug]: VirtualBox reports peripheral battery on host as system battery on guest

Aperta
#919 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 6 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
46/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
c, linux

Direzione di ricerca

Start by reproducing this with a PlayStation 5 controller connected to a Linux host and a Windows guest, then inspect how host power supplies under /sys/class/power_supply are discovered and exposed to the guest. The issue does not name source files or tests, so locate the relevant host battery detection and guest reporting paths. Done means a peripheral battery no longer appears as the guest's system battery, while a real host battery is still reported.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

bug
Version

7.2.20

Host OS Type

Linux

Host OS name + version

Arch Linux (2026-10-17)

Host Architecture

x86

Guest OS Type

Windows

Guest Architecture

x86

Guest OS name + version

Windows 10 Build 19044.7725

Component

Other

What happened?

With a PlayStation controller connected to a desktop host, a newly started guest will report a system battery.

Image

Unplugging the controller will make the guest OS report "no battery".

Image

VBox (1).log: It seems not to contain how the battery is reported.

How can we reproduce this?
  1. Have a PlayStation 5 controller connected to a Linux host (or some other device that will report its battery in /sys/class/power_supply but is not meant to power the host)
  2. Start a Windows guest.
Did you upload all of your necessary log files, screenshots, etc.?
  • Yes, I've uploaded all pertinent files to this issue.
Lingua principale
C
Stelle
1.4k
Fork
219
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di VirtualBox/virtualbox

Tutte le issue di VirtualBox/virtualbox

Issue simili

Altre issue su C

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.