<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-toradex.git/drivers/hid/hid-sony.c, branch v7.2-rc5</title>
<subtitle>Linux kernel for Apalis and Colibri modules</subtitle>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/'/>
<entry>
<title>Merge branch 'for-7.2/sony' into for-linus</title>
<updated>2026-06-16T19:49:20+00:00</updated>
<author>
<name>Jiri Kosina</name>
<email>jkosina@suse.com</email>
</author>
<published>2026-06-16T19:49:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=a78ff6ed8c880bd35c5cc71830e927daa9ef7e90'/>
<id>a78ff6ed8c880bd35c5cc71830e927daa9ef7e90</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>HID: sony: use input_dev from sc struct in sony_init_ff()</title>
<updated>2026-05-12T15:34:03+00:00</updated>
<author>
<name>Rosalie Wanders</name>
<email>rosalie@mailbox.org</email>
</author>
<published>2026-04-11T15:53:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=ebf441556f373ba9dca8e853c8f5c00f13500ce4'/>
<id>ebf441556f373ba9dca8e853c8f5c00f13500ce4</id>
<content type='text'>
This commit makes sony_init_ff() use the input_dev from the sc struct,
this simplifies the sony_init_ff() function.

Signed-off-by: Rosalie Wanders &lt;rosalie@mailbox.org&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This commit makes sony_init_ff() use the input_dev from the sc struct,
this simplifies the sony_init_ff() function.

Signed-off-by: Rosalie Wanders &lt;rosalie@mailbox.org&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>HID: sony: add missing size validation for Rock Band 3 Pro instruments</title>
<updated>2026-04-28T16:28:32+00:00</updated>
<author>
<name>Rosalie Wanders</name>
<email>rosalie@mailbox.org</email>
</author>
<published>2026-04-12T01:12:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=12bd440b66ed8968afffc46928233967b5b79b98'/>
<id>12bd440b66ed8968afffc46928233967b5b79b98</id>
<content type='text'>
This commit adds the missing size validation for Rock Band 3 PS3 Pro
instruments in sony_raw_event(), this prevents a malicious device from
allowing hid-sony to read out of bounds of the provided buffer.

Signed-off-by: Rosalie Wanders &lt;rosalie@mailbox.org&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This commit adds the missing size validation for Rock Band 3 PS3 Pro
instruments in sony_raw_event(), this prevents a malicious device from
allowing hid-sony to read out of bounds of the provided buffer.

Signed-off-by: Rosalie Wanders &lt;rosalie@mailbox.org&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>HID: sony: add missing size validation for SMK-Link remotes</title>
<updated>2026-04-28T16:27:26+00:00</updated>
<author>
<name>Rosalie Wanders</name>
<email>rosalie@mailbox.org</email>
</author>
<published>2026-04-12T01:08:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=a4170b63eda999d20ad6dc39ddc3ce5c1ac619e6'/>
<id>a4170b63eda999d20ad6dc39ddc3ce5c1ac619e6</id>
<content type='text'>
This commit adds the missing size validation for SMK-Link remotes in
sony_raw_event(), this prevents a malicious device from allowing
hid-sony to read out of bounds of the provided buffer.

I do not own these devices so the size check only forces that the buffer
is large enough for nsg_mrxu_parse_report().

Signed-off-by: Rosalie Wanders &lt;rosalie@mailbox.org&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This commit adds the missing size validation for SMK-Link remotes in
sony_raw_event(), this prevents a malicious device from allowing
hid-sony to read out of bounds of the provided buffer.

I do not own these devices so the size check only forces that the buffer
is large enough for nsg_mrxu_parse_report().

Signed-off-by: Rosalie Wanders &lt;rosalie@mailbox.org&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>HID: sony: remove unneeded WARN_ON() in sony_leds_init()</title>
<updated>2026-04-28T16:25:41+00:00</updated>
<author>
<name>Rosalie Wanders</name>
<email>rosalie@mailbox.org</email>
</author>
<published>2026-04-11T15:32:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=0f2b8466fb744a8b3313a9c1e2008f8cd53b2db7'/>
<id>0f2b8466fb744a8b3313a9c1e2008f8cd53b2db7</id>
<content type='text'>
This commit removes the unneeded WARN_ON() macro usage in
sony_leds_init(), this is unneeded because the sony_leds_init() function
call is already gated behind a SONY_LED_SUPPORT check in
sony_input_configured()

Signed-off-by: Rosalie Wanders &lt;rosalie@mailbox.org&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This commit removes the unneeded WARN_ON() macro usage in
sony_leds_init(), this is unneeded because the sony_leds_init() function
call is already gated behind a SONY_LED_SUPPORT check in
sony_input_configured()

Signed-off-by: Rosalie Wanders &lt;rosalie@mailbox.org&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>HID: sony: fix incorrect force-feedback check in sony_suspend()</title>
<updated>2026-04-28T16:22:59+00:00</updated>
<author>
<name>Rosalie Wanders</name>
<email>rosalie@mailbox.org</email>
</author>
<published>2026-04-10T19:53:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=278dd0487907112de8e34e1a97ac6145a8081523'/>
<id>278dd0487907112de8e34e1a97ac6145a8081523</id>
<content type='text'>
This commit fixes the incorrect force-feedback check in sony_suspend(),
without this the check will always be true due to checking a constant
define that is never 0.

Signed-off-by: Rosalie Wanders &lt;rosalie@mailbox.org&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This commit fixes the incorrect force-feedback check in sony_suspend(),
without this the check will always be true due to checking a constant
define that is never 0.

Signed-off-by: Rosalie Wanders &lt;rosalie@mailbox.org&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>HID: sony: update module description</title>
<updated>2026-04-09T15:33:08+00:00</updated>
<author>
<name>Rosalie Wanders</name>
<email>rosalie@mailbox.org</email>
</author>
<published>2026-04-02T15:59:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=de80aa182d6ca1eb7ad41fa46d9ec7bb685850db'/>
<id>de80aa182d6ca1eb7ad41fa46d9ec7bb685850db</id>
<content type='text'>
This commit updates the hid-sony module description to make it correct
with the recent hid-sony changes alongside making it more consistent.

Signed-off-by: Rosalie Wanders &lt;rosalie@mailbox.org&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This commit updates the hid-sony module description to make it correct
with the recent hid-sony changes alongside making it more consistent.

Signed-off-by: Rosalie Wanders &lt;rosalie@mailbox.org&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>HID: sony: add battery status support for Rock Band 4 PS5 guitars</title>
<updated>2026-04-08T22:14:38+00:00</updated>
<author>
<name>Rosalie Wanders</name>
<email>rosalie@mailbox.org</email>
</author>
<published>2026-03-07T09:48:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=e4bdeaef035135957d2a833c16117e6f6f16260e'/>
<id>e4bdeaef035135957d2a833c16117e6f6f16260e</id>
<content type='text'>
This commit adds battery status support for Rock Band 4 PS5 guitars.

The data is reported in the same way as the dualsense in hid-playstation
except it's located at byte 30.

Signed-off-by: Rosalie Wanders &lt;rosalie@mailbox.org&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This commit adds battery status support for Rock Band 4 PS5 guitars.

The data is reported in the same way as the dualsense in hid-playstation
except it's located at byte 30.

Signed-off-by: Rosalie Wanders &lt;rosalie@mailbox.org&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>HID: sony: fix style issues</title>
<updated>2026-04-08T22:13:30+00:00</updated>
<author>
<name>Rosalie Wanders</name>
<email>rosalie@mailbox.org</email>
</author>
<published>2026-04-07T19:49:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=4b9c410e7d6dacef1a27baddb176fece2c6a6a30'/>
<id>4b9c410e7d6dacef1a27baddb176fece2c6a6a30</id>
<content type='text'>
This commit fixes inconsistent quirk names and also fixes all the
checkpatch.pl issues alongside inconsistent code, it also adds static
asserts to assert struct sizes at compile time.

Signed-off-by: Rosalie Wanders &lt;rosalie@mailbox.org&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This commit fixes inconsistent quirk names and also fixes all the
checkpatch.pl issues alongside inconsistent code, it also adds static
asserts to assert struct sizes at compile time.

Signed-off-by: Rosalie Wanders &lt;rosalie@mailbox.org&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>HID: sony: add support for more instruments</title>
<updated>2026-04-08T22:12:33+00:00</updated>
<author>
<name>Rosalie Wanders</name>
<email>rosalie@mailbox.org</email>
</author>
<published>2026-04-07T19:46:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=7245b0017d1218042507e2f94129e1873ca29d6d'/>
<id>7245b0017d1218042507e2f94129e1873ca29d6d</id>
<content type='text'>
This patch adds support for the following instruments:

* Rock Band 1/2/3 Wii/PS3 instruments
* Rock Band 3 PS3 Pro instruments
* DJ Hero Turntable

Wii and PS3 instruments are the same besides the vendor and product ID.

This patch also fixes the mappings for the existing Guitar Hero
instruments.

Co-developed-by: Sanjay Govind &lt;sanjay.govind9@gmail.com&gt;
Signed-off-by: Sanjay Govind &lt;sanjay.govind9@gmail.com&gt;
Co-developed-by: Brenton Simpson &lt;appsforartists@google.com&gt;
Signed-off-by: Brenton Simpson &lt;appsforartists@google.com&gt;
Signed-off-by: Rosalie Wanders &lt;rosalie@mailbox.org&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch adds support for the following instruments:

* Rock Band 1/2/3 Wii/PS3 instruments
* Rock Band 3 PS3 Pro instruments
* DJ Hero Turntable

Wii and PS3 instruments are the same besides the vendor and product ID.

This patch also fixes the mappings for the existing Guitar Hero
instruments.

Co-developed-by: Sanjay Govind &lt;sanjay.govind9@gmail.com&gt;
Signed-off-by: Sanjay Govind &lt;sanjay.govind9@gmail.com&gt;
Co-developed-by: Brenton Simpson &lt;appsforartists@google.com&gt;
Signed-off-by: Brenton Simpson &lt;appsforartists@google.com&gt;
Signed-off-by: Rosalie Wanders &lt;rosalie@mailbox.org&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
