cross-posted from: https://lemmy.world/post/41957406

Exact problem as this archwiki forum post

I have also tried everything and at last here I am asking for any help, otherwise I don’t think I would be able to continue using Linux on this laptop. I’ve tried everything from changing the kernel package to enabling all firmwares to using every kernel parameter I can find everything, nothing says any error or something anywhere. Only error i can find is hci device capabilities -22

  • Yash Raj@lemmy.worldOP
    link
    fedilink
    arrow-up
    0
    ·
    14 days ago

    First of all thank you. So yes I have a dual boot system, with windows and nixos.

    I tried turning the bluetooth off in windows and booting into nixos, but it didn’t work. And I am sure it’s not a hardware issue because bluetooth works in windows.

    I tried cold booting as well with same results.

    There are no proper logs as well that suggest anything, in lsmod, lsusb, hciconfig, dmesg (hci capabilities -22 was only one, which I think is just cosmetic).

    The scan on in bluetoothctl only shows the laptop’s mac address which means bluetooth does work but somehow it’s not finding the devices to connect to.

    • Maiq@piefed.social
      link
      fedilink
      English
      arrow-up
      0
      ·
      14 days ago

      It’s good news at least that your hardware is working.

      I’m unfamiliar with nixos, you might try using different kernels. Try the latest one and maybe a few kernels behind the one your using now.

      Does your bt card need firmware?

      • Yash Raj@lemmy.worldOP
        link
        fedilink
        arrow-up
        0
        ·
        14 days ago

        I did try the latest kernel and also the 6.1 lts kernel with no luck.

        I don’t know about the firmware. Can you tell me how to check that? Thank you.

      • Yash Raj@lemmy.worldOP
        link
        fedilink
        arrow-up
        0
        ·
        14 days ago

        So fast. Wow I couldn’t even find that resource in all my searching. So Nows the tough part, I hoped I was an expert nixos user. I will try to implement this somehow (cough vibe code), but any more hints would be appreciated. One thing I know the direction to go is patching kernel, which I have seen a repo do, so I will try to copy that.

        • Maiq@piefed.social
          link
          fedilink
          English
          arrow-up
          0
          ·
          14 days ago

          I have no nixos experience so I would not be the best person to ask. You could try asking a new question on lemmy with the updated info asking for nixos specific help on the best way to translate the github gist to something a bit more familiar to you.

          You might be able to ask the author of the github gist for advice?

          Glad I could at least hopefully point you in the right direction.