USB keyboard problem
Hans Petter Selasky
hselasky at c2i.net
Fri Nov 16 12:52:39 UTC 2012
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
> > your device?
> > --HPS
> 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.
More information about the freebsd-current