<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/drivers/hid/hid-elecom.c, branch linux-6.9.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.</subtitle>
<id>https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-6.9.y</id>
<link rel='self' href='https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-6.9.y'/>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/'/>
<updated>2023-01-20T17:44:10Z</updated>
<entry>
<title>HID: elecom: add support for TrackBall 056E:011C</title>
<updated>2023-01-20T17:44:10Z</updated>
<author>
<name>Takahiro Fujii</name>
<email>fujii@xaxxi.net</email>
</author>
<published>2023-01-19T18:30:02Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=29f316a1d7e0a570be9a47fa283ece53a67cebb7'/>
<id>urn:sha1:29f316a1d7e0a570be9a47fa283ece53a67cebb7</id>
<content type='text'>
Make function buttons on ELECOM M-HT1DRBK trackball mouse work. This model
has two devices with different device IDs (010D and 011C). Both of
them misreports the number of buttons as 5 in the report descriptor, even
though they have 8 buttons. hid-elecom overwrites the report to fix them,
but supports only on 010D and does not work on 011C. This patch fixes
011C in the similar way but with specialized position parameters.
In fact, it is sufficient to rewrite only 17th byte (05 -&gt; 08). However I
followed the existing way.

Signed-off-by: Takahiro Fujii &lt;fujii@xaxxi.net&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</content>
</entry>
<entry>
<title>HID: elecom: drop stray comment</title>
<updated>2020-11-25T16:40:23Z</updated>
<author>
<name>Jiri Kosina</name>
<email>jkosina@suse.cz</email>
</author>
<published>2020-11-25T16:40:23Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=82514ecd61435c2d47c235e1343872b38db17be4'/>
<id>urn:sha1:82514ecd61435c2d47c235e1343872b38db17be4</id>
<content type='text'>
Drop spurious leftover comment.

Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</content>
</entry>
<entry>
<title>HID: elecom: add support for EX-G M-XGL20DLBK wireless mouse</title>
<updated>2020-11-25T13:27:45Z</updated>
<author>
<name>YOSHIOKA Takuma</name>
<email>lo48576@hard-wi.red</email>
</author>
<published>2020-11-21T20:54:38Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=55633e681afb57c9a8ff8a3b22083d44cbaee9e8'/>
<id>urn:sha1:55633e681afb57c9a8ff8a3b22083d44cbaee9e8</id>
<content type='text'>
Enables three buttons (Fn1, Fn2, and Fn3) on the ELECOM M-XGL20DLBK
wireless mouse.

While this mouse is EX-G brand, report descriptor is a bit different
from EX-G trackball mouse. To enable extra buttons, report should be
rewritten in a similar way to trackballs, but with different position
parameters.

Signed-off-by: YOSHIOKA Takuma &lt;lo48576@hard-wi.red&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</content>
</entry>
<entry>
<title>HID: elecom: rewrite report based on model specific parameters</title>
<updated>2020-11-25T13:27:45Z</updated>
<author>
<name>YOSHIOKA Takuma</name>
<email>lo48576@hard-wi.red</email>
</author>
<published>2020-11-21T20:54:37Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=68d09380a62784ee5abd67462d2c04d094f3a4d2'/>
<id>urn:sha1:68d09380a62784ee5abd67462d2c04d094f3a4d2</id>
<content type='text'>
The report descriptor for EX-G wireless mouse (M-XGL20DLBK) is a bit
different from that for trackball mice such as DEFT. For such mouse, the
current `mouse_button_fixup` cannot be used as is, because it uses
hard-coded indices for a report descriptor.

Add parameters to `mouse_button_fixup` function, in order to support
fixing report descriptors for more models.

Signed-off-by: YOSHIOKA Takuma &lt;lo48576@hard-wi.red&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</content>
</entry>
<entry>
<title>treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152</title>
<updated>2019-05-30T18:26:32Z</updated>
<author>
<name>Thomas Gleixner</name>
<email>tglx@linutronix.de</email>
</author>
<published>2019-05-27T06:55:01Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=2874c5fd284268364ece81a7bd936f3c8168e567'/>
<id>urn:sha1:2874c5fd284268364ece81a7bd936f3c8168e567</id>
<content type='text'>
Based on 1 normalized pattern(s):

  this program is free software you can redistribute it and or modify
  it under the terms of the gnu general public license as published by
  the free software foundation either version 2 of the license or at
  your option any later version

extracted by the scancode license scanner the SPDX license identifier

  GPL-2.0-or-later

has been chosen to replace the boilerplate/reference in 3029 file(s).

Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Reviewed-by: Allison Randal &lt;allison@lohutok.net&gt;
Cc: linux-spdx@vger.kernel.org
Link: https://lkml.kernel.org/r/20190527070032.746973796@linutronix.de
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>HID: elecom: add support for EX-G M-XT4DRBK trackball</title>
<updated>2018-03-06T14:15:47Z</updated>
<author>
<name>Tomasz Kramkowski</name>
<email>tk@the-tk.com</email>
</author>
<published>2018-03-01T17:22:24Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=fbb77e88f08ce04daa9b1ff2381be7ebc9f24b6f'/>
<id>urn:sha1:fbb77e88f08ce04daa9b1ff2381be7ebc9f24b6f</id>
<content type='text'>
This patch enables the 6th button on the ELECOM EX-G M-XT4DRBK
trackball mouse.

This is a left handed EX-G variant which only comes in a wireless (D)
model. It has a total of 6 buttons but one of these is not available
because of how the HID descriptor is configured.

Signed-off-by: Tomasz Kramkowski &lt;tk@the-tk.com&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</content>
</entry>
<entry>
<title>HID: elecom: refer to trackballs by model name instead of series</title>
<updated>2018-03-06T14:15:47Z</updated>
<author>
<name>Tomasz Kramkowski</name>
<email>tk@the-tk.com</email>
</author>
<published>2018-03-01T17:22:23Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=79837eded640501206a60fb68e76ad2d027457ec'/>
<id>urn:sha1:79837eded640501206a60fb68e76ad2d027457ec</id>
<content type='text'>
This patch changes all references to ELECOM trackballs using their
series name to refer to them by their model name.

ELECOM provides multiple series of mice such as EX-G, HUGE, and DEFT.
Although it has not caused conflicts in the driver, there can be more
than one iteration of mice in each series. For example, there are 7
variants of EX-G trackballs but only three (M-XT3URBK, M-XT3DRBK, and
M-XT4DRBK) need a driver to work correctly.

There are also 4 DEFT series trackballs but two of them have the same
VID:PID as the other two. I picked the earlier model for the naming of
the PID macros.

Signed-off-by: Tomasz Kramkowski &lt;tk@the-tk.com&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</content>
</entry>
<entry>
<title>HID: elecom: rewrite report fixup for EX-G and future mice</title>
<updated>2018-01-23T14:39:54Z</updated>
<author>
<name>Tomasz Kramkowski</name>
<email>tk@the-tk.com</email>
</author>
<published>2017-12-19T20:44:36Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=ac58eec2c547587c41c1436947d545f99c1553c6'/>
<id>urn:sha1:ac58eec2c547587c41c1436947d545f99c1553c6</id>
<content type='text'>
This patch rewrites the mouse report fixup used for the DEFT and HUGE
elecom trackballs in order to make it generic enough to fix other
elecom mice with similar issues. This patch also uses this new report
fixup function to fix the Elecom EX-G trackball which has 6 physical
buttons and a similar issue to the other two mice.

Elecom's track record has so far shown that they like to re-use the
same report descriptor for multiple different mice regardless of the
number of buttons the mouse has. This means that the missing buttons
on multiple mice can be fixed in one function without introducing
phantom buttons which would in turn cause the number of mouse buttons
to be misreported to userspace.

This patch drops the very verbose report descriptor "diff" comment for
a more abridged yet hopefully just as informative generic version.

Signed-off-by: Tomasz Kramkowski &lt;tk@the-tk.com&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</content>
</entry>
<entry>
<title>HID: hid-elecom: extend to fix descriptor for HUGE trackball</title>
<updated>2017-10-11T13:46:22Z</updated>
<author>
<name>Alex Manoussakis</name>
<email>amanou@gnu.org</email>
</author>
<published>2017-10-05T17:41:20Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=a0933a456ff83a3b5ffa3a1903e0b8de4a56adf5'/>
<id>urn:sha1:a0933a456ff83a3b5ffa3a1903e0b8de4a56adf5</id>
<content type='text'>
In addition to DEFT, Elecom introduced a larger trackball called HUGE, in
both wired (M-HT1URBK) and wireless (M-HT1DRBK) versions. It has the same
buttons and behavior as the DEFT. This patch adds the two relevant USB IDs
to enable operation of the three Fn buttons on the top of the device.

Cc: Diego Elio Petteno &lt;flameeyes@flameeyes.eu&gt;
Signed-off-by: Alex Manoussakis &lt;amanou@gnu.org&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</content>
</entry>
<entry>
<title>HID: elecom: extend to fix the descriptor for DEFT trackballs</title>
<updated>2017-05-11T08:49:14Z</updated>
<author>
<name>Diego Elio Pettenò</name>
<email>flameeyes@flameeyes.eu</email>
</author>
<published>2017-04-26T16:37:04Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=0bb7a37f8d15e5fb5d21776875f9fbc74e10753a'/>
<id>urn:sha1:0bb7a37f8d15e5fb5d21776875f9fbc74e10753a</id>
<content type='text'>
The ELECOM DEFT trackballs report only five buttons, when the device
actually has 8. Change the descriptor so that the HID driver can see all of
them.

For completeness and future reference, I included a side-by-side diff of
the part of the descriptor that is being edited.

Cc: Jiri Kosina &lt;jikos@kernel.org&gt;
Cc: Benjamin Tissoires &lt;benjamin.tissoires@redhat.com&gt;
Cc: Yuxuan Shui &lt;yshuiv7@gmail.com&gt;
Signed-off-by: Diego Elio Pettenò &lt;flameeyes@flameeyes.eu&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</content>
</entry>
</feed>
