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

Hcitools Clock Returned Failed! Can't Operate #200

Open
JasonXPPen opened this issue Nov 29, 2022 · 1 comment
Open

Hcitools Clock Returned Failed! Can't Operate #200

JasonXPPen opened this issue Nov 29, 2022 · 1 comment

Comments

@JasonXPPen
Copy link

Hello there! I need help! I got an error while starting ds4drv! look at this code!

unikittygamesreactions@penguin:~$ ds4drv
[error][daemon] 'hcitool clock' returned error. Make sure your bluetooth device is powered up with 'hciconfig hciX up'.

I'm running This on Chrome OS!
Can someone help me fix this problem?

@git-developer
Copy link

git-developer commented Feb 17, 2023

Probably a duplicate of #123.

Workaround:

  1. Run:
    mkdir -p /opt/ds4drv-workaround
    cat <<'EOF' >/opt/ds4drv-workaround/hcitool
    #!/bin/sh
    case "${1}" in
      clock) ;;
      *) exec /usr/bin/hcitool "${@}"
    esac
    EOF
    chmod +x /opt/ds4drv-workaround/hcitool
    
  2. Prepend this directory to the PATH when running ds4drv:
    PATH="/opt/ds4drv-workaround:${PATH}" ds4drv
    

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants