USB mouse hotplug does not work (possibly Pi-specific)
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Tranquilo
- Stack tecnológico
- c, linux, raspberry-pi
Línea de trabajo
Start by collecting the missing reproduction details: board, whether the mouse works when connected before boot, port, and dmesg, /dev/input/, and usbconfig list output before and after plugging. Check whether devd reports the attach event; these observations distinguish USB event delivery, devd, and userland input handling. No code files or tests are identified, and done means locating which layer fails and recording enough evidence to route the issue appropriately.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Placeholder so this is not lost. Reported informally; symptom details not yet
captured — see "What to record" below before investigating.
Report
A USB mouse hotplugged after boot does not work. Possibly Raspberry Pi specific.
What is already ruled out
Not a missing driver. The HID input stack is compiled into the shipping config
(config/NEXTBSD, inherited by NEXTBSD-RPI5 via include NEXTBSD):
device hms # hidbus mouse leaf: relative mice and absolute pointers
device hidmap # usage->evdev mapper hms/hpen are built on
device hmt # multitouch
device hpen
device hconf
So usbhid0 -> hidbus0 -> hms should bind, and the question is why it does not happen
on a hotplug specifically.
Likely areas, roughly in order
- Hotplug event delivery. If the device attaches on a cold boot but not on a
hotplug, the drivers are fine and the problem is USB port-change notification. On the
Pi 5 family both USB controllers are behind RP1 (PCIe), so this may be RP1 interrupt
related — cf. patch 0028,rp1: acknowledge level-triggered interrupts from post-ithread.
That would make it genuinely Pi-specific, as suspected. - devd. Not running, or running without the rules to react to the new device.
- The consumer. A new
/dev/input/*node appearing but Gershwin/X not picking it
up until restart. This would be userland, not kernel, and the ticket should move.
What to record when picking this up
None of this is known yet, and the answers change which of the three areas above it is:
- Which board — Pi 500+, Pi 5 B, CM5, or a VM? Does it reproduce off-Pi at all?
- Does the same mouse work when plugged in before boot? This is the single most
useful bit: it splits "driver never binds" from "hotplug path broken". - Which port — RP1 USB (the normal ones) or something else?
dmesgacross the plug event: does anything appear at all (ugen,usbhid,hms)?ls /dev/input/andusbconfig listbefore and after plugging.- Is
devdrunning, and doesdevd -dshow the attach event? - Does unplug/replug of a mouse that worked at boot break it, or is it only
never-seen-before devices?
Not blocking anything
Filed to avoid losing it, not because it is urgent. No owner.
- Lenguaje dominante
- C
- Estrellas
- 12
- Forks
- 3
- Merge medio
- 7 h 1 min
- PR fusionados (30 d)
- 7
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de nextbsd/nextbsd-kernel
-
area:bluetooth bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
nextbsd/nextbsd-kernel#236 ·
Los mantenedores suelen responder en 1 día
-
area:vm bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
nextbsd/nextbsd-kernel#226 ·
Los mantenedores suelen responder en 1 día
-
area:network enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
nextbsd/nextbsd-kernel#53 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
nextbsd/nextbsd-kernel#254 ·
Los mantenedores suelen responder en 1 día
-
linsysfs: create DRM sysfs nodes for platform-bus GPUs so Linux libdrm finds vc4/v3d on the Pi 5Abiertoarea:linux area:rpi5 enhancement
Dificultad 4/5 3-5 días Aptitud para principiantes 47/100
nextbsd/nextbsd-kernel#248 ·
Los mantenedores suelen responder en 1 día
Todos los issues de nextbsd/nextbsd-kernel
Issues similares
-
backlog bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
EchoTools/nevr-runtime#653 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
InfiniTimeOrg/InfiniTime#2492 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 80/100
Los mantenedores suelen responder en 1 día
-
base-files: 82_config_generate: regenerate /etc/board.json if 0-bytes / truncated after power cutAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
openwrt/openwrt#25940 · 5 comentarios ·
Los mantenedores suelen responder en 1 día
-
extension-modules topic-socket type-bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
python/cpython#159561 · 1 reacción ·
Los mantenedores suelen responder en 1 día