Re: USB keyboard problem

From: Hans Petter Selasky <hselasky_at_c2i.net>
Date: Fri, 16 Nov 2012 13:54:17 +0100
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_at_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
Received on Fri Nov 16 2012 - 11:52:39 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:32 UTC