From owner-freebsd-current@FreeBSD.ORG Fri Jul 20 11:05:17 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EB0B616A41A for ; Fri, 20 Jul 2007 11:05:17 +0000 (UTC) (envelope-from vova@sw.ru) Received: from vbook.fbsd.ru (swsoft-mipt-nat.sw.ru [195.214.233.10]) by mx1.freebsd.org (Postfix) with ESMTP id 9EE2013C45D for ; Fri, 20 Jul 2007 11:05:17 +0000 (UTC) (envelope-from vova@sw.ru) Received: from vova by vbook.fbsd.ru with local (Exim 4.67 (FreeBSD)) (envelope-from ) id 1IBqII-0000hO-N7; Fri, 20 Jul 2007 15:05:10 +0400 From: Vladimir Grebenschikov To: Mark Hobden In-Reply-To: References: Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable Organization: SWsoft Date: Fri, 20 Jul 2007 15:05:09 +0400 Message-Id: <1184929509.1415.10.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.10.3 FreeBSD GNOME Team Port Sender: Vladimir Grebenschikov Cc: freebsd-current@freebsd.org, freebsd-usb@freebsd.org Subject: Re: uhidev(4) update - USB HID driver level for devices with multiple report ids X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: vova@fbsd.ru List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Jul 2007 11:05:18 -0000 =F7 =D7=D4, 17/07/2007 =D7 23:05 +0100, Mark Hobden =D0=C9=DB=C5=D4: > I have updated the uhidev(4) patch from NetBSD to apply to today's 7-CURR= ENT. >=20 > http://www.terinea.co.uk/~mark/patches/uhidev-7-current-p2.diff >=20 > The following patch is also required for Microsoft wireless keyboard/mice= sets > and Microsoft wireless notebook mice (but the uhidev patch to be applied = first). >=20 > http://www.terinea.co.uk/~mark/patches/uhidev-add-ms-p2.diff Tries your patch under 7-CURRENT,=20 Both USB keyboard and USB mouse (MS) was not attached after boot, but detected successful. Most probably due to not fixed default entry in devd.conf: attach 100 { device-name "ums[0-9]+"; action "/etc/rc.d/moused start $device-name"; }; ... # When a USB keyboard arrives, attach it as the console keyboard. attach 100 { device-name "ukbd0"; action "/etc/rc.d/syscons setkeyboard /dev/ukbd0"; }; detach 100 { device-name "ukbd0"; action "/etc/rc.d/syscons setkeyboard /dev/kbd0"; }; ... # usbdevs -v=20 ... port 6 addr 2: high speed, self powered, config 1, product 0x4486(0x4486),= vendor 0x04b3(0x04b3), rev 0.01 port 1 powered port 2 powered port 3 powered port 4 powered port 5 addr 3: low speed, power 100 mA, config 1, USB KMp(0x6782), BTC(0x= 046e), rev 1.00 port 6 powered port 7 addr 4: low speed, power 100 mA, config 1, Microsoft 5-Button Mous= e with IntelliEye(TM)(0x0047), Microsoft(0x045e), rev 3.00 port 7 powered port 8 powered part of dmesg: uhub5: 7 ports with 7 removable, self powered uhidev0: on uhub5 uhid0 on uhidev0 uhid0: input=3D8, output=3D1, feature=3D0 uhidev1: on uhub5 uhid1 on uhidev1 uhid1: input=3D3, output=3D0, feature=3D0 uhidev2: on uhub5 uhid2 on uhidev2 I just think may be it fix problem with bluetooth wireless MS mouse, see http://archive.netbsd.se/?ml=3Dfreebsd-bluetooth&a=3D2007-06&m=3D4551687 But not, it does not fix it. --=20 Vladimir B. Grebenschikov vova@fbsd.ru