weird mouse: acts as keyboard and mouse
Hans Petter Selasky
hps at selasky.org
Mon Jun 16 06:18:36 UTC 2014
On 06/16/14 08:09, Eitan Adler wrote:
> Hey Hans,
>
> I have a <Logitech G500s Laser Gaming Mouse, class 0/0, rev
> 2.00/84.01, addr 12> which is reporting itself as both a mouse and a
> keyboard. I know that the mouse has the ability to remap itself as it
> used to not do this (I was able to configure this on a mac).
>
> The annoying effect is that the "back" and "forward" keys now report
> themselves as "[" and "]" keys.
>
> [1645919] ugen0.2: <Logitech> at usbus0
> [1645919] ums0: <Logitech G500s Laser Gaming Mouse, class 0/0, rev
> 2.00/84.01, addr 12> on usbus0
> [1645919] ums0: 16 buttons and [XYZT] coordinates ID=0
> [1645919] ukbd0: <Logitech G500s Laser Gaming Mouse, class 0/0, rev
> 2.00/84.01, addr 12> on usbus0
> [1645919] kbd2 at ukbd0
>
> I think it would be a good idea to write a utility to configure this
> stuff on FreeBSD. What information do I need to obtain / how should I
> obtain it? I'm guessing its possible to talk to the mouse over USB
> but I'm not sure how.
>
>
Hi,
Can you check the configuration descriptor first?
usbconfig -d X.Y dump_device_desc dump_curr_config_desc
Possibly you need to issue some HID command (set report descriptor) to
make the device change behaviour.
--HPS
More information about the freebsd-usb
mailing list