Repository navigation
Add patches for 7.2 - #2233
Add patches for 7.2#2233Apiznel wants to merge 10 commits into
Conversation
Derived from latest 7.1 patches - Updated context in `0011-surface-shutdown.patch` (gregkh/linux@951ebc1)
Based on the current v7.1 config
There was a problem hiding this comment.
Appreciate the work you put into this. Would it be possible to update the Arch package build to remove the dirty frag patches that were added from the last release, and regenerate the package checksums?
I can also put up a pull request against your fork if you wanted to merge it in and include it that way as well. There's no 7.2 kernel release for Arch yet, but you could bump the kernel version to 7.1.8 and update the symlinks to the 7.1 patchset. I'll build the 7.1 kernel and do some testing. 🥂
|
I made a pull request against your 7.1 kernel branch. Built and installed successfully on a Surface Laptop Studio 2. Thanks again for your work. |
Correct IPTS_HID_REPORT_DATA_SIZE out by 3 bytes Investigating an issue linux-surface#2150 change in kernel hid-core torvalds/linux@0a3fe97 "remove the memset() and simply return if the incoming event buffer size is not large enough" Causes a problem between incorrect sizing of IPTS_HID_REPORT_DATA_SIZE used with hid_input_report which does not agree with the hid device's authoritative setup with ipts_fallback_descriptor[] It appears that Report ID (1 byte) and the Scan Time (2 bytes) where missed in the accounting.
|
Generated the same series independently against v7.2.2 — it comes out I missed this PR and opened #2262 with the same thing; that one is closed now I forward-ported the 7.1 series from #2178 onto v7.2.2 with Comparing all sixteen files in this PR against what I ended up with: The only differences in the patches are hunk offsets — your base is an earlier Tested on a Surface Pro 8Built as Base config was Ubuntu's shipped One trap for anyone building these with Secure Boot onSigning the kernel image with the DKMS MOK from That certificate carries the module-signing-only EKU OID openssl x509 -inform DER -in /var/lib/shim-signed/mok/MOK.der -noout -text \
| grep -A2 'Extended Key Usage'The fix is a separate key with Happy to test anything else here on the Pro 8. |
|
Tested on Microsoft Surface Book 2 (Intel Core i7-8650U + NVIDIA GTX 1050 Mobile) Hardware Status & Verification:Touchscreen & Stylus: IPTS (gen4 ME) running in event mode; [email protected] initialized and touch works smoothly. Note on PKGBUILD:The sha256sums array in pkg/arch/kernel/PKGBUILD still references the older patch checksums and needs to be refreshed for the updated 7.2 series (0001 through 0015). Once updated, the package builds and boots without issue. Thanks for the great work on forward-porting to 7.2! |
|
@AlpenGlowNW Thanks for catching that. Checksums have been updated now. |
|
Tested the 7.2 patch series from this PR at commit
|
danielzgtg
left a comment
There was a problem hiding this comment.
Please add patches for the other supported distros i.e. pkg/debian/ and pkg/fedora/. I'm on Ubuntu.
Details in commit messages
This time around I've made a commit to copy the patches from 7.1 and then a separate commit to overwrite with patches for 7.2 allowing for an easier way to view the diffs in GitHub.