From owner-freebsd-bugs@FreeBSD.ORG Wed Nov 17 07:39:48 2004 Return-Path: Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6534416A4CE; Wed, 17 Nov 2004 07:39:48 +0000 (GMT) Received: from mail.kurskline.ru (mail.kurskline.ru [195.161.221.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id BBF4D43D31; Wed, 17 Nov 2004 07:39:47 +0000 (GMT) (envelope-from unicorn@kurskline.ru) Received: by mail.kurskline.ru (Postfix, from userid 1028) id A346C7920B4; Wed, 17 Nov 2004 10:39:45 +0300 (MSK) Received: from KISELIOV (gw-61.kurskline.ru [195.161.221.61]) by mail.kurskline.ru (Postfix) with ESMTP id 143BF791D6B; Wed, 17 Nov 2004 10:39:41 +0300 (MSK) Date: Wed, 17 Nov 2004 10:39:41 +0300 From: "Roman V. Kiseliov" X-Mailer: The Bat! (v2.11) X-Priority: 3 (Normal) Message-ID: <1304396369.20041117103941@mail.kurskline.ru> To: Anish Mistry , freebsd-hardware@freebsd.org, freebsd-questions@freebsd.org, , FreeBsdBeni In-Reply-To: <200411142119.24870.mistry.7@osu.edu> References: <766270721.20041114161914@mail.kurskline.ru> <200411142119.24870.mistry.7@osu.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on mail2.kurskline.ru X-Spam-Status: No, score=-105.9 required=5.0 tests=ALL_TRUSTED,BAYES_00, USER_IN_WHITELIST autolearn=ham version=3.0.1 X-Spam-Level: Subject: Re[2]: HID support (http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/63837) X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: "Roman V. Kiseliov" List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Nov 2004 07:39:48 -0000 AM> On Sunday 14 November 2004 08:19 am, Roman V. Kiseliov wrote: >> It seems that "USB keyboard and mouse" wireless sets doesn't work >> properly in FreeBSD (my opinion based on mailing lists archives). At >> least sets from A4Tech (see my earlier post), Logitech, Chicony & M$. >> >> These sets works fine in Linux and M$ Windows. >> I think because of better HID support. Mouse and keyboard must thought >> as one HID device. >> >> How I can configure my funny FreeBSD to work with my keyboard and >> mouse set as with one HID device? >> AM> Does the patch I posted here solve you problem? AM> http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/63837 AM> If so, go ahead and reply to the PR saying that it worked. http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/63837 --- /sys/dev/usb/hid.c.orig Sun Jun 20 17:20:03 2004 +++ /sys/dev/usb/hid.c Tue Jun 29 00:51:39 2004 @@ -373,9 +373,10 @@ struct hid_item h; int size, id; + h.report_ID = 0; id = 0; for (d = hid_start_parse(buf, len, 1<) solved problem existing in 4.9-STABLE, 5.3-STABLE. Without patch USB HID keyboard+mouse sets (at least from A4Tech, Logitech, Chicony, Microsoft) doesn't work properly: keyboard work but mouse doesn't. Problem arise because HID driver looks only for first item in HID collection. I would like to thank all people who help me find solution, especially Mr. Anish Mistry To comitters: why this patch isn't comitted? Why we must boot M$ Windows hated by us because this patch isn't applied and mouse work only in NetBSD, Linux and M$? Why we must be in troubles with Lovely, Funny FreeBSD? Sorry for emotion