<feed xmlns='http://www.w3.org/2005/Atom'>
<title>qmk/tmk_core, branch master</title>
<subtitle>Custom split ortholinear mechanical keyboard with rollerball mouse. Firmware. https://blog.node5.net/custom-keyboard
</subtitle>
<id>http://git.node5.net/firmware/qmk/atom?h=master</id>
<link rel='self' href='http://git.node5.net/firmware/qmk/atom?h=master'/>
<link rel='alternate' type='text/html' href='http://git.node5.net/firmware/qmk/'/>
<updated>2023-08-27T02:52:12+00:00</updated>
<entry>
<title>Revert  changes to ChibiOS Suspend Code (#21830)</title>
<updated>2023-08-27T02:52:12+00:00</updated>
<author>
<name>Drashna Jaelre</name>
<email>drashna@live.com</email>
</author>
<published>2023-08-27T02:52:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.node5.net/firmware/qmk/commit/?id=25331be3164ca609ebecbfcc727ce904e3676594'/>
<id>urn:sha1:25331be3164ca609ebecbfcc727ce904e3676594</id>
<content type='text'>
* Partially revert #19780

* Finish

* Get teensy 3.5/3.6 board files too

* fix lint issue

* Revert "[Bug] Restore usb suspend wakeup delay (#21676)"

This reverts commit e8e989fd7ad7c10e725e50ae8b0a4426e09f7f30.

* Apply suggestions from code review

Co-authored-by: Joel Challis &lt;git@zvecr.com&gt;

---------

Co-authored-by: Joel Challis &lt;git@zvecr.com&gt;</content>
</entry>
<entry>
<title>[Bug] Restore usb suspend wakeup delay (#21676)</title>
<updated>2023-08-02T22:42:57+00:00</updated>
<author>
<name>Stefan Kerkmann</name>
<email>karlk90@pm.me</email>
</author>
<published>2023-08-02T22:42:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.node5.net/firmware/qmk/commit/?id=e8e989fd7ad7c10e725e50ae8b0a4426e09f7f30'/>
<id>urn:sha1:e8e989fd7ad7c10e725e50ae8b0a4426e09f7f30</id>
<content type='text'>
* Respect USB_SUSPEND_WAKEUP_DELAY on wakeup

This delay wasn't honored after removing `restart_usb_driver` from the
suspend and wakeup handling. It is now re-introduced in the appropriate
spot, namely after issuing a remote wakeup to a sleeping host.

* Remove old, unused and commented testing code</content>
</entry>
<entry>
<title>Fix mouse-key spamming empty reports (#21663)</title>
<updated>2023-08-02T11:47:25+00:00</updated>
<author>
<name>Stefan Kerkmann</name>
<email>karlk90@pm.me</email>
</author>
<published>2023-08-02T11:47:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.node5.net/firmware/qmk/commit/?id=b2d068d1aa95265f16670cbf5a68da745602fc12'/>
<id>urn:sha1:b2d068d1aa95265f16670cbf5a68da745602fc12</id>
<content type='text'>
Problem:

`mousekey_task` spams empty hid reports with when a mouse key is
pressed, causing resource exhaustion in the USB mouse endpoint.

Cause:

The check whether or not to send a new mouse report would always
evaluate to true if a mouse key is pressed:

1. `mouse_report` has non-zero fields and `tmpmr` is a copy of this
   fields.
2. `mouse_report` is set to zero, `tmpmr` has now non-zero fields.
3. `has_mouse_report_changed` compares the two and evaluates to true
4. a mouse report is sent.

Fix:

The check condition of `has_mouse_report_changed` will evaluate any
empty record as unchanged, as mouse report data is relative and doesn't
need to return to zero. An empty report will still be send by
`register_mouse` on release of all mouse buttons.</content>
</entry>
<entry>
<title>Update keyboard report descriptor for USB compliance (#21626)</title>
<updated>2023-07-28T00:05:01+00:00</updated>
<author>
<name>Stefan Kerkmann</name>
<email>karlk90@pm.me</email>
</author>
<published>2023-07-28T00:05:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.node5.net/firmware/qmk/commit/?id=32174abcfae373eac2659dd9de255b3c1792d238'/>
<id>urn:sha1:32174abcfae373eac2659dd9de255b3c1792d238</id>
<content type='text'>
Running the "HID Tests" suite of the USB 3 Command Verifier (USB3CV)
tool resulted in the following error:

(HID: 3.2.61) The report descriptor returned in response to a
GetDescriptor(Report) must be compliant with the HID specification.

Byte Number:   37h (  55d)
Data Field: 91 02
Mnemonic:  Output
Value: (Variable)
Errors: Error:   LOGICAL MAX MUST be bounded by Report Size

The error stems from the fact that logical minimum and maximum are
global items, which means that the next item in a report descriptor
inherits the value from the previously set value. In this case the
status leds item inherited the logical minimum (=0) and maximum (=255)
from the keycodes item. As the status leds set a report size of 1 bit,
wich can only hold a boolean, it becomes clear that this range would
never fit.

The fix is straightforward, we just define a appropriate logical maximum
(=1), the mismatch is solved and our keyboard now passes the compliance
tests. Defining the logical minimum is redundant in this case but is
kept to form a logical block.</content>
</entry>
<entry>
<title>quantum: remove direct `quantum.h` includes (#21507)</title>
<updated>2023-07-16T13:42:56+00:00</updated>
<author>
<name>Ryan</name>
<email>fauxpark@gmail.com</email>
</author>
<published>2023-07-16T13:42:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.node5.net/firmware/qmk/commit/?id=da2d2f947d5c30aebea17f414fb22ad50fe5410b'/>
<id>urn:sha1:da2d2f947d5c30aebea17f414fb22ad50fe5410b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Eliminate `TMK_COMMON_*` in makefiles (#21517)</title>
<updated>2023-07-15T07:27:32+00:00</updated>
<author>
<name>Ryan</name>
<email>fauxpark@gmail.com</email>
</author>
<published>2023-07-15T07:27:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.node5.net/firmware/qmk/commit/?id=b9e5895184c6d36b46ba723d6d71e27249e70c20'/>
<id>urn:sha1:b9e5895184c6d36b46ba723d6d71e27249e70c20</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tmk_core: remove direct `quantum.h` includes (#21465)</title>
<updated>2023-07-07T11:24:07+00:00</updated>
<author>
<name>Ryan</name>
<email>fauxpark@gmail.com</email>
</author>
<published>2023-07-07T11:24:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.node5.net/firmware/qmk/commit/?id=30de598650f368e215ad5f82c7b9de52eceb539e'/>
<id>urn:sha1:30de598650f368e215ad5f82c7b9de52eceb539e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Get rid of `USB_LED_KANA` and `USB_LED_COMPOSE` (#21366)</title>
<updated>2023-06-26T23:15:33+00:00</updated>
<author>
<name>Ryan</name>
<email>fauxpark@gmail.com</email>
</author>
<published>2023-06-26T23:15:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.node5.net/firmware/qmk/commit/?id=5542f5ede1356df387dfb10587f2d74e40fa62a8'/>
<id>urn:sha1:5542f5ede1356df387dfb10587f2d74e40fa62a8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[Bug] Fix non-functional S3 wakeup / resume from suspense  (#19780)</title>
<updated>2023-06-26T21:55:52+00:00</updated>
<author>
<name>Stefan Kerkmann</name>
<email>karlk90@pm.me</email>
</author>
<published>2023-06-26T21:55:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.node5.net/firmware/qmk/commit/?id=a87c74ebe14aee0d4a82f5ff8a0170afb8105598'/>
<id>urn:sha1:a87c74ebe14aee0d4a82f5ff8a0170afb8105598</id>
<content type='text'>
* Update ChibiOS-Contrib for USB suspend fixes

* Remove S3 wakup workaround

ChibiOS OTGv1 driver has a remote wakeup bug that prevents the device to
resume it's operation. 02516cbc24647f522eee975e69cc0c8a925470eb 
introduced a hotfix that forcefully restarted the usb driver as a workaround. 
This workaround broke multiple boards which do not use this driver / 
peripheral. With the update of ChibiOS this hotfix is now obsolete.

* Remove restart_usb_driver overrides

they are no longer necessary as the workaround is not needed anymore
for stm32f4

* Remove unused RP_USB_USE_SOF_INTR defines

The SOF interrupt is enabled dynamically by the RP2040 usb driver</content>
</entry>
<entry>
<title>Chibios USB: Take into account if host wants remote wakeup or not (#21287)</title>
<updated>2023-06-26T08:36:32+00:00</updated>
<author>
<name>Purdea Andrei</name>
<email>andrei@purdea.ro</email>
</author>
<published>2023-06-26T08:36:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.node5.net/firmware/qmk/commit/?id=3ebdb1258bce5cd486ca5e76ba56084cc1a0a1ac'/>
<id>urn:sha1:3ebdb1258bce5cd486ca5e76ba56084cc1a0a1ac</id>
<content type='text'>
According to the USB 2.0 spec, remote wakeup should be disabled by
default, and should only be enabled if the host explicitly requests
it. The chibios driver code already takes care of storing this
information, and returning it on GET_STATUS requests. However our
application code has been ignoring it so far.

This is a USB compliance issue, but also a bug that causes trouble
in some cases: On RP2040 targets this has been causing problems if
a key is held down while the keyboard is plugged in. The keyboard
would fail to enumerate until all keys are released. With this
change that behavior is fixed.

Note that for LUFA targets this is already done correctly.</content>
</entry>
</feed>
