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

feat: Add script to disconnect dualshock/sense with HOME + TRIANGLE #1476

Closed
wants to merge 34 commits into from

Commits on Jul 28, 2024

  1. Add script to monitor and disconnect Bluetooth gamepads and correspon…

    …ding Systemd service
    
    This is a workaround for ublue-os#1289 and should be removed if there comes a native solution from ValveSoftware/steam-for-linux#8678
    
    - Added `bazzite-bluetooth-ds4-ds5-workaround` script to monitor PS4 and PS5 controllers
      - Script checks for connected gamepads, extracts their MAC addresses, and starts a monitoring process
      - The monitoring process listens for specific button combinations (Home + Triangle) to disconnect the gamepad
      - Includes cleanup functionality to stop monitoring processes for disconnected gamepads
    
    - Created Systemd service `bazzite-bluetooth-ds4-ds5-workaround.service`
      - Service description and dependencies defined in `[Unit]` section
      - `[Service]` section specifies script execution, restart policy, user, and group
      - `[Install]` section enables the service to start on boot
    
    - Added instructions to load, start, and enable the service
      - Included commands for reloading Systemd, starting the service, and enabling it on boot
      - Provided guidance on checking the service status and logs for troubleshooting
    
    Author: thekk1
    Version: 1.0
    thekk1 committed Jul 28, 2024
    Configuration menu
    Copy the full SHA
    c84633b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bb1be24 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d87580f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b8f4745 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    0a02518 View commit details
    Browse the repository at this point in the history
  6. Revert "fix: Remove pip installed packages and use newly made rpm pac…

    …kages, fixes python errors when layering some packages."
    
    This reverts commit 5ec9e55.
    KyleGospo committed Jul 28, 2024
    Configuration menu
    Copy the full SHA
    c347ed3 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    2bec731 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    11e09e7 View commit details
    Browse the repository at this point in the history
  9. chore: Match upstream

    KyleGospo authored Jul 28, 2024
    Configuration menu
    Copy the full SHA
    5633fed View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    b8f47bf View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    e639f84 View commit details
    Browse the repository at this point in the history

Commits on Jul 29, 2024

  1. Configuration menu
    Copy the full SHA
    c829b76 View commit details
    Browse the repository at this point in the history

Commits on Aug 4, 2024

  1. Configuration menu
    Copy the full SHA
    79c9880 View commit details
    Browse the repository at this point in the history
  2. Enable system service globally.

    thekk1 authored and Zeglius committed Aug 4, 2024
    Configuration menu
    Copy the full SHA
    c64447e View commit details
    Browse the repository at this point in the history
  3. Use parsing multiple commands to bluetoothctl instead of call every s…

    …ingle command.
    thekk1 authored and Zeglius committed Aug 4, 2024
    Configuration menu
    Copy the full SHA
    7c0ab97 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    5b0e61b View commit details
    Browse the repository at this point in the history
  5. refactor: rewrite bazzite-bluetooth-ds4-ds5-workaround to python

    Add device handling with device mac address as argument
    Zeglius committed Aug 4, 2024
    Configuration menu
    Copy the full SHA
    a955399 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    8391e83 View commit details
    Browse the repository at this point in the history
  7. fix: fix broken udev rule

    Zeglius committed Aug 4, 2024
    Configuration menu
    Copy the full SHA
    6db8b73 View commit details
    Browse the repository at this point in the history
  8. fix: incompatible udev rule

    Zeglius committed Aug 4, 2024
    Configuration menu
    Copy the full SHA
    f9e38db View commit details
    Browse the repository at this point in the history

Commits on Aug 5, 2024

  1. fix: tweak exitcode

    This way, bazziye-bluetooth-ds4-ds5-workaround wont use exit code 1
    whenever we dont receive MAC address of the controller
    Zeglius committed Aug 5, 2024
    Configuration menu
    Copy the full SHA
    e51f397 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2b8c496 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    818a882 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9366de2 View commit details
    Browse the repository at this point in the history

Commits on Aug 7, 2024

  1. Configuration menu
    Copy the full SHA
    f546b38 View commit details
    Browse the repository at this point in the history

Commits on Aug 10, 2024

  1. Configuration menu
    Copy the full SHA
    6fb040f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cc852e0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7eeedab View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ba8cf19 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    fc61f79 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    e81bcf0 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    b61ddad View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    8b94595 View commit details
    Browse the repository at this point in the history
  9. chore: rename 80-bazzite-ps-controller-sleep.rules to 80-bazzite-blue…

    …tooth-ds4-ds5-workaround.rules
    Zeglius committed Aug 10, 2024
    Configuration menu
    Copy the full SHA
    50e84a9 View commit details
    Browse the repository at this point in the history