ds4drv icon indicating copy to clipboard operation
ds4drv copied to clipboard

Hcitools Clock Returned Failed! Can't Operate

Open JasonXPPen opened this issue 3 years ago • 1 comments

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?

JasonXPPen avatar Nov 29 '22 00:11 JasonXPPen

Probably a duplicate of https://github.com/chrippa/ds4drv/issues/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
    

git-developer avatar Feb 17 '23 06:02 git-developer