Announcement

Collapse
No announcement yet.

Bluetooth stopped working

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #16
    PS:

    Sorry - I forgot something…
    With my suggestion you will always have to enter the "Advanced options for …" in the GRUB boot menu, though, to select the older kernel.
    If you want to avoid this you can disable the submenu structure in the GRUB boot menu. To do this in Kate open the /etc/default/grub file again and add the line
    GRUB_DISABLE_SUBMENU=true
    save the file again and in Konsole enter sudo update-grub again (or do it all in one go with the changes I posted above, of course).
    Now the older kernel should be directly preselected if you have booted with it before.

    I also added this above.
    Last edited by Schwarzer Kater; May 14, 2024, 08:45 AM. Reason: typo
    Debian KDE & LXQt • Kubuntu & Lubuntu • openSUSE KDE • Windows • macOS X
    Desktop: Lenovo ThinkCentre M75s • Laptop: Apple MacBook Pro 13" • and others

    get rid of Snap script (20.04 +)reinstall Snap for release-upgrade script (20.04 +)
    install traditional Firefox script (22.04 +)​ • install traditional Thunderbird script (24.04)

    Comment


      #17
      Another method to boot to the previous kernel without user input is, again in /etc/default/grub, change this line:
      Code:
      GRUB_DEFAULT=0
      to:​
      Code:
      GRUB_DEFAULT="1>2"
      and run "sudo grub-update".
      This will select the second kernel (the older one) in the "Advanced options" menu.

      To explain in more detail just on case anyone is interested, here's what a "standard" Kubuntu grub main menu looks like:
      Code:
      Ubuntu
      Advanced options for Ubuntu


      If you select "Advanced options for Ubuntu" for get a sub menu that looks like this:
      Code:
      Ubuntu, with Linux 6.8.0-31-generic
      Ubuntu, with Linux 6.8.0-31-generic (recovery mode)
      Ubuntu, with Linux 6.8.0-28-generic
      Ubuntu, with Linux 6.5.0-28-generic (recovery mode)


      Remembering that computer geeks count from zero, not one, the GRUB_DEFAULT="1>2" option means;

      "Pick the second item in the main menu (the "Advanced..." sub menu) and the third item in the sub menu, which is "Ubuntu, with Linux 6.8.0-28-generic"

      So if we call 6.8.0-31 the "first kernel" and 6.8.0-28 the "second kernel", "1>2" points GRUB to the second installed kernel.

      One important note about this option is when you install a new kernel, the previous second kernel will be removed leaving you booting to the previous first kernel. So you have to keep an eye on your updates.

      Please Read Me

      Comment


        #18
        Another suggestion instead of all the grub maneuvering, you might consider uninstalling the kernel that does not detect your bluetooth device. This will likely leave you with only one kernel, which can be dangerous, so I would also recommend installing another, older kernel that works (one previous to the one you're using now) and NOT running autoremove until you get to a new kernel that "sees" the bluetooth device. Then you can clean up and be back to normal. This is clearly a bug and will probably be fixed soon.

        Please Read Me

        Comment


          #19
          Originally posted by bill-lancaster View Post
          Well thank you so much, In fact I found 3 versions of grub and I booted from the 2nd one. I'll follow you advice and hopefully all will be well.
          This means you found three kernels in the GRUB menu? If so, I would just remove the one that does not work and leave GRUB alone. Then wait for the next update to a newer version.

          From now on as a newer kernel is installed, test it until you get one that works and then you're good to go.
          Last edited by oshunluvr; May 14, 2024, 09:55 AM.

          Please Read Me

          Comment


            #20
            GRUB_DEFAULT="1>2" is certainly the more "elegant" solution.
            But I think modifying GRUB by the four changes as I suggested is the more "fool-proof" one - you won't have to actively keep an eye on your (kernel) updates as you will see at once that there is a new kernel at the top of GRUB's boot menu list when one has been installed by updating the system. And then you can calmly decide when it fits best to test the new kernel without having to do anything until then.
            Last edited by Schwarzer Kater; May 14, 2024, 02:27 PM. Reason: typo
            Debian KDE & LXQt • Kubuntu & Lubuntu • openSUSE KDE • Windows • macOS X
            Desktop: Lenovo ThinkCentre M75s • Laptop: Apple MacBook Pro 13" • and others

            get rid of Snap script (20.04 +)reinstall Snap for release-upgrade script (20.04 +)
            install traditional Firefox script (22.04 +)​ • install traditional Thunderbird script (24.04)

            Comment

            Working...
            X