From owner-freebsd-current@FreeBSD.ORG Fri Nov 16 12:52:39 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C4FBEE2C for ; Fri, 16 Nov 2012 12:52:39 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe06.c2i.net [212.247.154.162]) by mx1.freebsd.org (Postfix) with ESMTP id 3F7118FC17 for ; Fri, 16 Nov 2012 12:52:38 +0000 (UTC) X-T2-Spam-Status: No, hits=-0.2 required=5.0 tests=ALL_TRUSTED, BAYES_50 Received: from [176.74.213.204] (account mc467741@c2i.net HELO laptop015.hselasky.homeunix.org) by mailfe06.swip.net (CommuniGate Pro SMTP 5.4.4) with ESMTPA id 344480467; Fri, 16 Nov 2012 13:52:36 +0100 From: Hans Petter Selasky To: freebsd-current@freebsd.org Subject: Re: USB keyboard problem Date: Fri, 16 Nov 2012 13:54:17 +0100 User-Agent: KMail/1.13.7 (FreeBSD/9.1-PRERELEASE; KDE/4.8.4; amd64; ; ) References: In-Reply-To: X-Face: 'mmZ:T{)),Oru^0c+/}w'`gU1$ubmG?lp!=R4Wy\ELYo2)@'UZ24N@d2+AyewRX}mAm; Yp |U[@, _z/([?1bCfM{_"B<.J>mICJCHAzzGHI{y7{%JVz%R~yJHIji`y>Y}k1C4TfysrsUI -%GU9V5]iUZF&nRn9mJ'?&>O MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201211161354.17043.hselasky@c2i.net> Cc: "Sam Fourman Jr." X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Nov 2012 12:52:39 -0000 On Thursday 15 November 2012 20:24:08 Sam Fourman Jr. wrote: > On Mon, Nov 12, 2012 at 2:22 PM, Sam Fourman Jr. wrote: > > hello, > > > > I believe my keyboard is being detected as a mouse by mistake using amd64 > > HEAD svn r242748 > > I can not use this keyboard, I have to plug in another one. > > > > this is also broken in FreeBSD 9.1RC3 > > > > is this simple to patch? any help is appreciated > > > > > > uhid0: on > > usbus0 uhid1: > addr 2> on usbus3 > > ums0: on > > usbus0 ums0: 3 buttons and [XYZ] coordinates ID=0 > > ums1: on usbus0 > > ums1: 7 buttons and [XYZ] coordinates ID=0 > > > > > > verbose dmesg follows > > http://www.samjess.com/keyboard.txt > > > > -- > > > > Sam Fourman Jr. > > What does "usbconfig -d X.Y dump_device_desc dump_curr_config_desc" say > about > > > your device? > > > > --HPS > > http://www.samjess.com/usbconfig.txt > Hi, > Does anyone know where I would start hacking around to fix this? I think you can try hack in /sys/dev/usb/input/ukbd.c to make it attach by having the probe return 0 on your device. Will look more at this later. --HPS