Main comment updated with the SRU template

** Description changed:

+ Noble and Resolute 7.0.0-28+
+ 
+ [ Impact ]
+ 
+ On kernel 7.0.0-28+ (Resolute and Noble-HWE) compilation fails with the
+ following errors
+ 
+ razerkbd_driver.c: In function ‘razer_raw_event_bitfield’:
+ razerkbd_driver.c:3544:29: error: too few arguments to function 
‘hid_report_raw_event’
+  3544 | hid_report_raw_event(hdev, HID_INPUT_REPORT, xdata, sizeof(xdata), 0);
+       | ^~~~~~~~~~~~~~~~~~~~
+ In file included from razerkbd_driver.c:11:
+ /usr/src/linux-headers-7.0.0-28-generic/include/linux/hid.h:1271:5: note: 
declared here
+  1271 | int hid_report_raw_event(struct hid_device *hid, enum hid_report_type 
type, u8 *data,
+       | ^~~~~~~~~~~~~~~~~~~~
+ razerkbd_driver.c:3548:29: error: too few arguments to function 
‘hid_report_raw_event’
+  3548 | hid_report_raw_event(hdev, HID_INPUT_REPORT, xdata, sizeof(xdata), 0);
+       | ^~~~~~~~~~~~~~~~~~~~
+ /usr/src/linux-headers-7.0.0-28-generic/include/linux/hid.h:1271:5: note: 
declared here
+  1271 | int hid_report_raw_event(struct hid_device *hid, enum hid_report_type 
type, u8 *data,
+ 
+ [ How to fix ]
+ 
+ Import the patch from upstream
+ 
https://github.com/openrazer/openrazer/commit/ff3062498c6b3fc6fcb703627034598a3a5fbb59
+ 
+ [ Test Plan ]
+ 
+  * The issue can be easily verified by trying to compile the code for the 
specified kernels and running against autopackagetest
+  * The issue has been verified by compiling the DKMS code in various kernel 
versions, see the sections following the SRU template in the "Extended test 
plan" section
+ 
+ [ Where problems could occur ]
+ 
+  * If the version in the #ifdef block is wrong, the code might stop
+ compiling for kernel versions not tested against.
+ 
+ 
+ 
+ [ Additional notes ]
+ 
  Error during the last uubuntu update
  
  ProblemType: Package
  DistroRelease: Ubuntu 24.04
  Package: linux-headers-7.0.0-28-generic 7.0.0-28.28~24.04.1
  ProcVersionSignature: Ubuntu 6.17.0-35.35~24.04.1-generic 6.17.13
  Uname: Linux 6.17.0-35-generic x86_64
  NonfreeKernelModules: zfs nvidia_modeset nvidia
  ApportVersion: 2.28.2-0ubuntu0.1
  Architecture: amd64
  AudioDevicesInUse:
-  USER        PID ACCESS COMMAND
-  /dev/snd/controlC1:  cedric     3678 F.... pipewire
-                       cedric     3683 F.... wireplumber
-  /dev/snd/controlC0:  cedric     3683 F.... wireplumber
-  /dev/snd/seq:        cedric     3678 F.... pipewire
+  USER        PID ACCESS COMMAND
+  /dev/snd/controlC1:  cedric     3678 F.... pipewire
+                       cedric     3683 F.... wireplumber
+  /dev/snd/controlC0:  cedric     3683 F.... wireplumber
+  /dev/snd/seq:        cedric     3678 F.... pipewire
  CRDA: N/A
  CasperMD5CheckResult: pass
  Date: Thu Jul 16 22:29:05 2026
  ErrorMessage: installed linux-headers-7.0.0-28-generic package 
post-installation script subprocess returned error exit status 11
  InstallationDate: Installed on 2025-07-20 (362 days ago)
  InstallationMedia: Ubuntu 24.04.2 LTS "Noble Numbat" - Release amd64 
(20250215)
  MachineType: HP HP ZBook Studio 16 inch G9 Mobile Workstation PC
  ProcFB: 0 i915drmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-6.17.0-35-generic 
root=UUID=d20c9b0b-bd60-479c-82d4-e7ba00d05f6a ro quiet splash vt.handoff=7
  Python3Details: /usr/bin/python3.12, Python 3.12.3, python3-minimal, 
3.12.3-0ubuntu2.1
  PythonDetails: N/A
  RelatedPackageVersions: grub-pc N/A
  SourcePackage: linux-hwe-7.0
  Title: package linux-headers-7.0.0-28-generic 7.0.0-28.28~24.04.1 failed to 
install/upgrade: installed linux-headers-7.0.0-28-generic package 
post-installation script subprocess returned error exit status 11
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 05/05/2026
  dmi.bios.release: 18.1
  dmi.bios.vendor: HP
  dmi.bios.version: U99 Ver. 01.18.01
  dmi.board.name: 89C3
  dmi.board.vendor: HP
  dmi.board.version: KBC Version 10.74.00
  dmi.chassis.type: 10
  dmi.chassis.vendor: HP
  dmi.ec.firmware.release: 16.116
  dmi.modalias: 
dmi:bvnHP:bvrU99Ver.01.18.01:bd05/05/2026:br18.1:efr16.116:svnHP:pnHPZBookStudio16inchG9MobileWorkstationPC:pvrSBKPFV3:rvnHP:rn89C3:rvrKBCVersion10.74.00:cvnHP:ct10:cvr:sku6X2M5LA#ABM:
  dmi.product.family: 103C_5336AN HP ZBook
  dmi.product.name: HP ZBook Studio 16 inch G9 Mobile Workstation PC
  dmi.product.sku: 6X2M5LA#ABM
  dmi.product.version: SBKPFV3
  dmi.sys.vendor: HP

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2161039

Title:
  openrazer-driver-dkms fails to build with kernel 7.0 HWE

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openrazer/+bug/2161039/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to