Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
CesarrSantos opened this issue Nov 21, 2024 · 2 comments
Open

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

CesarrSantos opened this issue Nov 21, 2024 · 2 comments

Comments

@CesarrSantos
Copy link

CesarrSantos commented Nov 21, 2024

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;
}
@hockeymikey
Copy link

Open a pull request?

@JonnyTech
Copy link

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

JonnyTech added a commit to JonnyTech/hp-omen-linux-module that referenced this issue Dec 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants