kern/117366: USB keyboard status lights not working properly
Alexander Stepanov
core at comintel.ru
Mon Oct 22 12:20:03 PDT 2007
The following reply was made to PR kern/117366; it has been noted by GNATS.
From: Alexander Stepanov <core at comintel.ru>
To: bug-followup at freebsd.org,
bruce at cran.org.uk
Cc:
Subject: Re: kern/117366: USB keyboard status lights not working properly
Date: Tue, 23 Oct 2007 00:43:14 +0600
This bug is a serious showstopper on the desktop for me. I'm using the
MS NEK4000 keyboard, and it's switching F-keys every time tty is changed or
ScrollLock's pressed.
The simple
===
- usbd_set_report_async(state->ks_iface, UHID_OUTPUT_REPORT, 0, &res, 1);
+ usbd_set_report(state->ks_iface, UHID_OUTPUT_REPORT, 0, &res, 1);
===
in sys/dev/usb/ukbd.c set_leds() fixes this issue, but can cause the kernel
panic.
I think it's sort of a locking problem, leading to overlapped usb transfers.
More information about the freebsd-bugs
mailing list