From owner-freebsd-bugs@FreeBSD.ORG Mon Oct 22 19:20:03 2007 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 65CF916A469 for ; Mon, 22 Oct 2007 19:20:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 4717213C4BB for ; Mon, 22 Oct 2007 19:20:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l9MJK2LL009195 for ; Mon, 22 Oct 2007 19:20:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l9MJK2xf009194; Mon, 22 Oct 2007 19:20:02 GMT (envelope-from gnats) Date: Mon, 22 Oct 2007 19:20:02 GMT Message-Id: <200710221920.l9MJK2xf009194@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Alexander Stepanov Cc: Subject: Re: kern/117366: USB keyboard status lights not working properly X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Alexander Stepanov List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Oct 2007 19:20:03 -0000 The following reply was made to PR kern/117366; it has been noted by GNATS. From: Alexander Stepanov To: bug-followup@freebsd.org, bruce@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.