Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Jun 2014 08:18:57 +0200
From:      Hans Petter Selasky <hps@selasky.org>
To:        Eitan Adler <lists@eitanadler.com>, usb@freebsd.org,  Adrian Chadd <adrian.chadd@gmail.com>
Subject:   Re: weird mouse: acts as keyboard and mouse
Message-ID:  <539E8C51.30903@selasky.org>
In-Reply-To: <CAF6rxgnaK8vNqQd2QynA6xHxhNYXs8sKUD0S073wub7X6oiX=w@mail.gmail.com>
References:  <CAF6rxgnaK8vNqQd2QynA6xHxhNYXs8sKUD0S073wub7X6oiX=w@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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