Summary: | If both usbhid entries used in /boot/loader.conf, keyboard gets frozen when booted in single user mode | ||
---|---|---|---|
Product: | Base System | Reporter: | Yusuf Yaman <nxjoseph> |
Component: | usb | Assignee: | freebsd-usb (Nobody) <usb> |
Status: | Closed Works As Intended | ||
Severity: | Affects Only Me | CC: | imp, manu, mohammad, nxjoseph |
Priority: | --- | ||
Version: | 14.1-RELEASE | ||
Hardware: | Any | ||
OS: | Any |
Description
Yusuf Yaman
2024-06-24 17:32:02 UTC
I wanted to test the issue more and used hw.usb.usbhid.enable="1" variable in /etc/sysctl.conf instead of in /boot/loader.conf and freezing issue didn't occur. Now my /boot/loader.conf has this: usbhid_load="YES" and my /etc/sysctl.conf has this: hw.usb.usbhid.enable=1 usbhid's man page says that the hw.usb.usbhid.enable variable can be used either in /boot/loader.conf or in /etc/sysctl.conf but using it in /boot/loader.conf causes freezing issue. Cc'd Manu to look at. He can rope more people in. This is expected. With usbhid loaded and the sysctl set to 1 the ukbd(4) driver will have no chance to attach and GENERIC doesn't have hkbd(4). Which is one of the reason I did https://reviews.freebsd.org/D45658 Until then you can add hkbd_load="YES" to loader.conf to "fix" this issue. > Until then you can add hkbd_load="YES" to loader.conf to "fix" this issue.
Thanks, I removed sysctl variable and used both entries about usbhid in /boot/loader.conf and added hkbd_load="YES" to /boot/loader.conf and it didn't freeze.
Have a good one.
|