hp-omen-linux-module icon indicating copy to clipboard operation
hp-omen-linux-module copied to clipboard

Arch linux-headers-6.11.9-arch1-1 [FIX]

Open CesarrSantos opened this issue 1 year ago • 2 comments

To make install in arch 6.11.9 you need to modify this function

static  void  __exit hp_wmi_bios_remove(struct platform_device *device)
{
  int i;
  cleanup_sysfs(device);

  for (i = 0; i < rfkill2_count; i++) {
    rfkill_unregister(rfkill2[i].rfkill);
    rfkill_destroy(rfkill2[i].rfkill);
  }

  if (wifi_rfkill) {
    rfkill_unregister(wifi_rfkill);
    rfkill_destroy(wifi_rfkill);
  }
  if (bluetooth_rfkill) {
    rfkill_unregister(bluetooth_rfkill);
    rfkill_destroy(bluetooth_rfkill);
  }
  if (wwan_rfkill) {
    rfkill_unregister(wwan_rfkill);
    rfkill_destroy(wwan_rfkill);
  }

  //return 0;
}

CesarrSantos avatar Nov 21 '24 19:11 CesarrSantos

Open a pull request?

hockeymikey avatar Dec 08 '24 22:12 hockeymikey

Thanks, this work for me on Debian with kernel 6.11.7-amd64.

JonnyTech avatar Dec 28 '24 15:12 JonnyTech