RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    SH command using 100% CPU

    Scheduled Pinned Locked Moved Help and Support
    bluetoothps3cpu100
    3 Posts 2 Posters 1.2k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      DNVB
      last edited by

      Noticed that my Rpi3 was running hot all the time. 72 degrees celsius in standby.

      Checked TOP and saw that SH is using 100% CPU.

      Cat'd the process and this is what I found:

      /bin/sh-cwhile true; do for mac in ; do hcitool con | grep -q "$mac" || echo "connect $mac" | bluetoothctl >/dev/null 2>&1; sleep 10; done; done

      I have a bluetooth PS3 controller sync'd to the Pi.

      All my packages are up to date. Ran the updater and rebooted before posting this.

      Is this a known issue?

      BuZzB 1 Reply Last reply Reply Quote 0
      • BuZzB
        BuZz administrators @DNVB
        last edited by BuZz

        @DNVB you must have enabled the "background connect" mode in the bluetooth settings in retropie-setup, which is not designed for use with ps3 controllers, and is not needed in most cases with other controllers.

        To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

        1 Reply Last reply Reply Quote 0
        • D
          DNVB
          last edited by

          Yes it was set to background. I'm guessing it should be "default"? I've set the config to default and rebooted. Will run upstairs to check that the controller still works!

          Thanks!

          1 Reply Last reply Reply Quote 0
          • First post
            Last post

          Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

          Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.