USB mouse hotplug does not work (possibly Pi-specific)
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Ít trao đổi
- Công nghệ
- c, linux, raspberry-pi
- Lĩnh vực
- embedded-iot, operating-systems
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- C
- Star
- 12
- Fork
- 3
- Merge trung bình
- 7 giờ 1 phút
- Pull request đã merge (30 ngày)
- 7
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của nextbsd/nextbsd-kernel
-
area:bluetooth bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
nextbsd/nextbsd-kernel#236 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area:vm bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
nextbsd/nextbsd-kernel#226 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area:network enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
nextbsd/nextbsd-kernel#53 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
nextbsd/nextbsd-kernel#254 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
linsysfs: create DRM sysfs nodes for platform-bus GPUs so Linux libdrm finds vc4/v3d on the Pi 5Đang mởarea:linux area:rpi5 enhancement
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 47/100
nextbsd/nextbsd-kernel#248 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của nextbsd/nextbsd-kernel
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
dosemu2/dosemu2#3178 · 1 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
backlog bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
EchoTools/nevr-runtime#653 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
InfiniTimeOrg/InfiniTime#2492 ·
-
Build fails when `memset_s` is unavailable: `Undefined symbols for architecture ppc: "_memset_s"`Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
-
XML_GetCurrentByteIndex64() returns -1 instead of a meaningful offset when m_eventPtr is NULLĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
Maintainer thường phản hồi trong vòng 1 ngày