Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Nov 2012 13:54:17 +0100
From:      Hans Petter Selasky <hselasky@c2i.net>
To:        freebsd-current@freebsd.org
Cc:        "Sam Fourman Jr." <sfourman@gmail.com>
Subject:   Re: USB keyboard problem
Message-ID:  <201211161354.17043.hselasky@c2i.net>
In-Reply-To: <CAOFF%2BZ1cH8ZjnqVFqweHk8wqtF-nBEj1LCcoYv2nP_o-dxFFcQ@mail.gmail.com>
References:  <CAOFF%2BZ1GbSvhpeFsE6KTa1u_SaVRc11dgC16PfX44o45j_kHCw@mail.gmail.com> <CAOFF%2BZ1cH8ZjnqVFqweHk8wqtF-nBEj1LCcoYv2nP_o-dxFFcQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 15 November 2012 20:24:08 Sam Fourman Jr. wrote:
> On Mon, Nov 12, 2012 at 2:22 PM, Sam Fourman Jr. <sfourman@gmail.com> 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: <Razer Razer BlackWidow, class 0/0, rev 2.00/2.00, addr 1> on
> > usbus0 uhid1: <vendor 0x04d9 product 0x1203, class 0/0, rev 2.00/2.80,
> > addr 2> on usbus3
> > ums0: <Razer Razer BlackWidow, class 0/0, rev 2.00/2.00, addr 1> on
> > usbus0 ums0: 3 buttons and [XYZ] coordinates ID=0
> > ums1: <Razer Razer Naga, class 0/0, rev 2.00/2.00, addr 2> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201211161354.17043.hselasky>