Bluetoothctl: No default controller available











up vote
12
down vote

favorite
5












I'm having issues connecting my Logitech K810 Bluetooth keyboard in Debian Jessie with BlueZ version 5.23-1, kernel 3.16.0-4.



The keyboard works fine most of the time but sometimes it doesn't work at all and bluetoothctl gives me the error that the controller is unavailable.



When this occurs, hciconfig still recognizes the device and I get this output:



# hciconfig hci0 up 
# hciconfig
hci0: Type: BR/EDR Bus: USB
BD Address: 40:2C:F4:68:02:CA ACL MTU: 1021:8 SCO MTU: 64:1
UP RUNNING PSCAN
RX bytes:21820 acl:1132 sco:0 events:68 errors:0
TX bytes:1182 acl:11 sco:0 commands:53 errors:0


But no devices are shown in the bluetoothctl prompt and it gives me this output:



[bluetooth]# power on
No default controller available
[bluetooth]# scan on
No default controller available


Rebooting or sometimes suspending/resuming fixes the issue: bluetoothctl will again recognize both the controller and the keyboard which works again.



Bluetooth is consistently hard and soft unblocked according to rfkill.



The relevant output from lspci -v, I guess would be this:



03:00.0 Network controller: Intel Corporation Centrino Wireless-N 1000 [Condor Peak]
Subsystem: Intel Corporation Centrino Wireless-N 1000 BGN
Flags: bus master, fast devsel, latency 0, IRQ 43
Memory at f0400000 (64-bit, non-prefetchable) [size=8K]
Capabilities: <access denied>
Kernel driver in use: iwlwifi


I didn't have this problem with the same hardware in Debian Wheezy.



What could it be the bluetooth controller to be unavailable at times?










share|improve this question
























  • I have the same problem in OSMC running in Raspberry Pi. Did you find a solution? Share it if you have one, please.
    – user2109718
    Jun 19 '15 at 0:21










  • No, haven't found a solution ...
    – MajorBriggs
    Jun 27 '15 at 8:39










  • I have encountered the same issue with OSMC on a Raspberry Pi. The keyboard shows up when scanning with hcitool. Bluetoothctl commands result in 'No default controller available'.
    – Dallas
    Aug 30 '15 at 15:10






  • 1




    After coming across this question during my investigations several times now: There still seems to be no answer, however, sometimes removing (modprobe -r btusb) and adding (modprobe btusb) the kernel module helps to get the controller back (so you can avoid doing a full reboot).
    – Marcus
    May 22 '17 at 14:39

















up vote
12
down vote

favorite
5












I'm having issues connecting my Logitech K810 Bluetooth keyboard in Debian Jessie with BlueZ version 5.23-1, kernel 3.16.0-4.



The keyboard works fine most of the time but sometimes it doesn't work at all and bluetoothctl gives me the error that the controller is unavailable.



When this occurs, hciconfig still recognizes the device and I get this output:



# hciconfig hci0 up 
# hciconfig
hci0: Type: BR/EDR Bus: USB
BD Address: 40:2C:F4:68:02:CA ACL MTU: 1021:8 SCO MTU: 64:1
UP RUNNING PSCAN
RX bytes:21820 acl:1132 sco:0 events:68 errors:0
TX bytes:1182 acl:11 sco:0 commands:53 errors:0


But no devices are shown in the bluetoothctl prompt and it gives me this output:



[bluetooth]# power on
No default controller available
[bluetooth]# scan on
No default controller available


Rebooting or sometimes suspending/resuming fixes the issue: bluetoothctl will again recognize both the controller and the keyboard which works again.



Bluetooth is consistently hard and soft unblocked according to rfkill.



The relevant output from lspci -v, I guess would be this:



03:00.0 Network controller: Intel Corporation Centrino Wireless-N 1000 [Condor Peak]
Subsystem: Intel Corporation Centrino Wireless-N 1000 BGN
Flags: bus master, fast devsel, latency 0, IRQ 43
Memory at f0400000 (64-bit, non-prefetchable) [size=8K]
Capabilities: <access denied>
Kernel driver in use: iwlwifi


I didn't have this problem with the same hardware in Debian Wheezy.



What could it be the bluetooth controller to be unavailable at times?










share|improve this question
























  • I have the same problem in OSMC running in Raspberry Pi. Did you find a solution? Share it if you have one, please.
    – user2109718
    Jun 19 '15 at 0:21










  • No, haven't found a solution ...
    – MajorBriggs
    Jun 27 '15 at 8:39










  • I have encountered the same issue with OSMC on a Raspberry Pi. The keyboard shows up when scanning with hcitool. Bluetoothctl commands result in 'No default controller available'.
    – Dallas
    Aug 30 '15 at 15:10






  • 1




    After coming across this question during my investigations several times now: There still seems to be no answer, however, sometimes removing (modprobe -r btusb) and adding (modprobe btusb) the kernel module helps to get the controller back (so you can avoid doing a full reboot).
    – Marcus
    May 22 '17 at 14:39















up vote
12
down vote

favorite
5









up vote
12
down vote

favorite
5






5





I'm having issues connecting my Logitech K810 Bluetooth keyboard in Debian Jessie with BlueZ version 5.23-1, kernel 3.16.0-4.



The keyboard works fine most of the time but sometimes it doesn't work at all and bluetoothctl gives me the error that the controller is unavailable.



When this occurs, hciconfig still recognizes the device and I get this output:



# hciconfig hci0 up 
# hciconfig
hci0: Type: BR/EDR Bus: USB
BD Address: 40:2C:F4:68:02:CA ACL MTU: 1021:8 SCO MTU: 64:1
UP RUNNING PSCAN
RX bytes:21820 acl:1132 sco:0 events:68 errors:0
TX bytes:1182 acl:11 sco:0 commands:53 errors:0


But no devices are shown in the bluetoothctl prompt and it gives me this output:



[bluetooth]# power on
No default controller available
[bluetooth]# scan on
No default controller available


Rebooting or sometimes suspending/resuming fixes the issue: bluetoothctl will again recognize both the controller and the keyboard which works again.



Bluetooth is consistently hard and soft unblocked according to rfkill.



The relevant output from lspci -v, I guess would be this:



03:00.0 Network controller: Intel Corporation Centrino Wireless-N 1000 [Condor Peak]
Subsystem: Intel Corporation Centrino Wireless-N 1000 BGN
Flags: bus master, fast devsel, latency 0, IRQ 43
Memory at f0400000 (64-bit, non-prefetchable) [size=8K]
Capabilities: <access denied>
Kernel driver in use: iwlwifi


I didn't have this problem with the same hardware in Debian Wheezy.



What could it be the bluetooth controller to be unavailable at times?










share|improve this question















I'm having issues connecting my Logitech K810 Bluetooth keyboard in Debian Jessie with BlueZ version 5.23-1, kernel 3.16.0-4.



The keyboard works fine most of the time but sometimes it doesn't work at all and bluetoothctl gives me the error that the controller is unavailable.



When this occurs, hciconfig still recognizes the device and I get this output:



# hciconfig hci0 up 
# hciconfig
hci0: Type: BR/EDR Bus: USB
BD Address: 40:2C:F4:68:02:CA ACL MTU: 1021:8 SCO MTU: 64:1
UP RUNNING PSCAN
RX bytes:21820 acl:1132 sco:0 events:68 errors:0
TX bytes:1182 acl:11 sco:0 commands:53 errors:0


But no devices are shown in the bluetoothctl prompt and it gives me this output:



[bluetooth]# power on
No default controller available
[bluetooth]# scan on
No default controller available


Rebooting or sometimes suspending/resuming fixes the issue: bluetoothctl will again recognize both the controller and the keyboard which works again.



Bluetooth is consistently hard and soft unblocked according to rfkill.



The relevant output from lspci -v, I guess would be this:



03:00.0 Network controller: Intel Corporation Centrino Wireless-N 1000 [Condor Peak]
Subsystem: Intel Corporation Centrino Wireless-N 1000 BGN
Flags: bus master, fast devsel, latency 0, IRQ 43
Memory at f0400000 (64-bit, non-prefetchable) [size=8K]
Capabilities: <access denied>
Kernel driver in use: iwlwifi


I didn't have this problem with the same hardware in Debian Wheezy.



What could it be the bluetooth controller to be unavailable at times?







keyboard bluetooth bluez






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 26 '14 at 17:46

























asked Nov 25 '14 at 21:16









MajorBriggs

6512919




6512919












  • I have the same problem in OSMC running in Raspberry Pi. Did you find a solution? Share it if you have one, please.
    – user2109718
    Jun 19 '15 at 0:21










  • No, haven't found a solution ...
    – MajorBriggs
    Jun 27 '15 at 8:39










  • I have encountered the same issue with OSMC on a Raspberry Pi. The keyboard shows up when scanning with hcitool. Bluetoothctl commands result in 'No default controller available'.
    – Dallas
    Aug 30 '15 at 15:10






  • 1




    After coming across this question during my investigations several times now: There still seems to be no answer, however, sometimes removing (modprobe -r btusb) and adding (modprobe btusb) the kernel module helps to get the controller back (so you can avoid doing a full reboot).
    – Marcus
    May 22 '17 at 14:39




















  • I have the same problem in OSMC running in Raspberry Pi. Did you find a solution? Share it if you have one, please.
    – user2109718
    Jun 19 '15 at 0:21










  • No, haven't found a solution ...
    – MajorBriggs
    Jun 27 '15 at 8:39










  • I have encountered the same issue with OSMC on a Raspberry Pi. The keyboard shows up when scanning with hcitool. Bluetoothctl commands result in 'No default controller available'.
    – Dallas
    Aug 30 '15 at 15:10






  • 1




    After coming across this question during my investigations several times now: There still seems to be no answer, however, sometimes removing (modprobe -r btusb) and adding (modprobe btusb) the kernel module helps to get the controller back (so you can avoid doing a full reboot).
    – Marcus
    May 22 '17 at 14:39


















I have the same problem in OSMC running in Raspberry Pi. Did you find a solution? Share it if you have one, please.
– user2109718
Jun 19 '15 at 0:21




I have the same problem in OSMC running in Raspberry Pi. Did you find a solution? Share it if you have one, please.
– user2109718
Jun 19 '15 at 0:21












No, haven't found a solution ...
– MajorBriggs
Jun 27 '15 at 8:39




No, haven't found a solution ...
– MajorBriggs
Jun 27 '15 at 8:39












I have encountered the same issue with OSMC on a Raspberry Pi. The keyboard shows up when scanning with hcitool. Bluetoothctl commands result in 'No default controller available'.
– Dallas
Aug 30 '15 at 15:10




I have encountered the same issue with OSMC on a Raspberry Pi. The keyboard shows up when scanning with hcitool. Bluetoothctl commands result in 'No default controller available'.
– Dallas
Aug 30 '15 at 15:10




1




1




After coming across this question during my investigations several times now: There still seems to be no answer, however, sometimes removing (modprobe -r btusb) and adding (modprobe btusb) the kernel module helps to get the controller back (so you can avoid doing a full reboot).
– Marcus
May 22 '17 at 14:39






After coming across this question during my investigations several times now: There still seems to be no answer, however, sometimes removing (modprobe -r btusb) and adding (modprobe btusb) the kernel module helps to get the controller back (so you can avoid doing a full reboot).
– Marcus
May 22 '17 at 14:39












4 Answers
4






active

oldest

votes

















up vote
1
down vote













I believe the answer is simply to run bluetoothctl with sudo.



Thus, sudo bluetoothctl. Then every command works fine power on, agent on etc. with no errors.



Confirmed working on Raspian Stretch.






share|improve this answer






























    up vote
    0
    down vote













    Is kernel update an option?



    Have you tried the latest linux-firmware package?



    Also you can try the suggestions in secion "About iwldvm support and known issues" in here https://wireless.wiki.kernel.org/en/users/drivers/iwlwifi






    share|improve this answer




























      up vote
      0
      down vote













      Maybe try systemctl start hciuart






      share|improve this answer





















      • Welcome on the Unix SE! I suggest to explain, what you are doing and why.
        – peterh
        Aug 1 at 18:34


















      up vote
      -1
      down vote













      First enable bluetooth manually with the GUI. this is how it worked for me.
      i know this post is old, but it worked for me. Just search in your main menu for "bluetooth"
      (On my current mint 18 sarah it is like that)



      You can then come back and try the commands with "power off"






      share|improve this answer





















      • What GUI? What exact steps? How would powering it off help establish a connection?
        – Jeff Schaller
        Feb 10 '17 at 12:08











      Your Answer








      StackExchange.ready(function() {
      var channelOptions = {
      tags: "".split(" "),
      id: "106"
      };
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function() {
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled) {
      StackExchange.using("snippets", function() {
      createEditor();
      });
      }
      else {
      createEditor();
      }
      });

      function createEditor() {
      StackExchange.prepareEditor({
      heartbeatType: 'answer',
      convertImagesToLinks: false,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: null,
      bindNavPrevention: true,
      postfix: "",
      imageUploader: {
      brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
      contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
      allowUrls: true
      },
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      });


      }
      });














      draft saved

      draft discarded


















      StackExchange.ready(
      function () {
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f169931%2fbluetoothctl-no-default-controller-available%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      4 Answers
      4






      active

      oldest

      votes








      4 Answers
      4






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes








      up vote
      1
      down vote













      I believe the answer is simply to run bluetoothctl with sudo.



      Thus, sudo bluetoothctl. Then every command works fine power on, agent on etc. with no errors.



      Confirmed working on Raspian Stretch.






      share|improve this answer



























        up vote
        1
        down vote













        I believe the answer is simply to run bluetoothctl with sudo.



        Thus, sudo bluetoothctl. Then every command works fine power on, agent on etc. with no errors.



        Confirmed working on Raspian Stretch.






        share|improve this answer

























          up vote
          1
          down vote










          up vote
          1
          down vote









          I believe the answer is simply to run bluetoothctl with sudo.



          Thus, sudo bluetoothctl. Then every command works fine power on, agent on etc. with no errors.



          Confirmed working on Raspian Stretch.






          share|improve this answer














          I believe the answer is simply to run bluetoothctl with sudo.



          Thus, sudo bluetoothctl. Then every command works fine power on, agent on etc. with no errors.



          Confirmed working on Raspian Stretch.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Nov 29 at 6:32

























          answered Nov 28 at 15:20









          jamescampbell

          1114




          1114
























              up vote
              0
              down vote













              Is kernel update an option?



              Have you tried the latest linux-firmware package?



              Also you can try the suggestions in secion "About iwldvm support and known issues" in here https://wireless.wiki.kernel.org/en/users/drivers/iwlwifi






              share|improve this answer

























                up vote
                0
                down vote













                Is kernel update an option?



                Have you tried the latest linux-firmware package?



                Also you can try the suggestions in secion "About iwldvm support and known issues" in here https://wireless.wiki.kernel.org/en/users/drivers/iwlwifi






                share|improve this answer























                  up vote
                  0
                  down vote










                  up vote
                  0
                  down vote









                  Is kernel update an option?



                  Have you tried the latest linux-firmware package?



                  Also you can try the suggestions in secion "About iwldvm support and known issues" in here https://wireless.wiki.kernel.org/en/users/drivers/iwlwifi






                  share|improve this answer












                  Is kernel update an option?



                  Have you tried the latest linux-firmware package?



                  Also you can try the suggestions in secion "About iwldvm support and known issues" in here https://wireless.wiki.kernel.org/en/users/drivers/iwlwifi







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Nov 29 '17 at 6:54









                  gat1

                  617




                  617






















                      up vote
                      0
                      down vote













                      Maybe try systemctl start hciuart






                      share|improve this answer





















                      • Welcome on the Unix SE! I suggest to explain, what you are doing and why.
                        – peterh
                        Aug 1 at 18:34















                      up vote
                      0
                      down vote













                      Maybe try systemctl start hciuart






                      share|improve this answer





















                      • Welcome on the Unix SE! I suggest to explain, what you are doing and why.
                        – peterh
                        Aug 1 at 18:34













                      up vote
                      0
                      down vote










                      up vote
                      0
                      down vote









                      Maybe try systemctl start hciuart






                      share|improve this answer












                      Maybe try systemctl start hciuart







                      share|improve this answer












                      share|improve this answer



                      share|improve this answer










                      answered Aug 1 at 17:48









                      akhilcjacob

                      314




                      314












                      • Welcome on the Unix SE! I suggest to explain, what you are doing and why.
                        – peterh
                        Aug 1 at 18:34


















                      • Welcome on the Unix SE! I suggest to explain, what you are doing and why.
                        – peterh
                        Aug 1 at 18:34
















                      Welcome on the Unix SE! I suggest to explain, what you are doing and why.
                      – peterh
                      Aug 1 at 18:34




                      Welcome on the Unix SE! I suggest to explain, what you are doing and why.
                      – peterh
                      Aug 1 at 18:34










                      up vote
                      -1
                      down vote













                      First enable bluetooth manually with the GUI. this is how it worked for me.
                      i know this post is old, but it worked for me. Just search in your main menu for "bluetooth"
                      (On my current mint 18 sarah it is like that)



                      You can then come back and try the commands with "power off"






                      share|improve this answer





















                      • What GUI? What exact steps? How would powering it off help establish a connection?
                        – Jeff Schaller
                        Feb 10 '17 at 12:08















                      up vote
                      -1
                      down vote













                      First enable bluetooth manually with the GUI. this is how it worked for me.
                      i know this post is old, but it worked for me. Just search in your main menu for "bluetooth"
                      (On my current mint 18 sarah it is like that)



                      You can then come back and try the commands with "power off"






                      share|improve this answer





















                      • What GUI? What exact steps? How would powering it off help establish a connection?
                        – Jeff Schaller
                        Feb 10 '17 at 12:08













                      up vote
                      -1
                      down vote










                      up vote
                      -1
                      down vote









                      First enable bluetooth manually with the GUI. this is how it worked for me.
                      i know this post is old, but it worked for me. Just search in your main menu for "bluetooth"
                      (On my current mint 18 sarah it is like that)



                      You can then come back and try the commands with "power off"






                      share|improve this answer












                      First enable bluetooth manually with the GUI. this is how it worked for me.
                      i know this post is old, but it worked for me. Just search in your main menu for "bluetooth"
                      (On my current mint 18 sarah it is like that)



                      You can then come back and try the commands with "power off"







                      share|improve this answer












                      share|improve this answer



                      share|improve this answer










                      answered Feb 10 '17 at 11:36









                      IDontLikestackoverflow

                      1




                      1












                      • What GUI? What exact steps? How would powering it off help establish a connection?
                        – Jeff Schaller
                        Feb 10 '17 at 12:08


















                      • What GUI? What exact steps? How would powering it off help establish a connection?
                        – Jeff Schaller
                        Feb 10 '17 at 12:08
















                      What GUI? What exact steps? How would powering it off help establish a connection?
                      – Jeff Schaller
                      Feb 10 '17 at 12:08




                      What GUI? What exact steps? How would powering it off help establish a connection?
                      – Jeff Schaller
                      Feb 10 '17 at 12:08


















                      draft saved

                      draft discarded




















































                      Thanks for contributing an answer to Unix & Linux Stack Exchange!


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid



                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.


                      To learn more, see our tips on writing great answers.





                      Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                      Please pay close attention to the following guidance:


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid



                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.


                      To learn more, see our tips on writing great answers.




                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function () {
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f169931%2fbluetoothctl-no-default-controller-available%23new-answer', 'question_page');
                      }
                      );

                      Post as a guest















                      Required, but never shown





















































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown

































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown







                      Popular posts from this blog

                      Morgemoulin

                      Scott Moir

                      Souastre