Hi. I had these entries in /boot/loader.conf: usbhid_load="YES" hw.usb.usbhid.enable="1" Using both of them at the same time causes keyboard to froze when booted in single-user mode. If you only use hw.usb.usbhid.enable="1", keyboard's multimedia keys keep working and keyboard doesn't freeze. I think that usbhid_load is totally useless here and causes issues.
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.