Coder Social home page Coder Social logo

Comments (7)

stefansaraev avatar stefansaraev commented on August 16, 2024

and I still dont see debug logs...
why not read first

from service.openelec.settings.

GerbenWelter avatar GerbenWelter commented on August 16, 2024

Here you go:

https://www.dropbox.com/s/pdysdoryc338law/log-2014-10-13-17.15.34.zip?dl=0

from service.openelec.settings.

GerbenWelter avatar GerbenWelter commented on August 16, 2024

Now with debugging enabled.

from service.openelec.settings.

toccata10 avatar toccata10 commented on August 16, 2024

Exact same problem here on a Zotac ID41. Tried the 5.0-RC3 yesterday. I have to manualy use the "trust & connect" to reconnect my wiimote.

from service.openelec.settings.

toccata10 avatar toccata10 commented on August 16, 2024

Here's my workaround as autoconnect stopped working from version 4.2 (and is still broken in 5.0 RC3)

  1. make sure that cron is activated in the Openelec settings addon.
  2. Pair the wiimote by using "trust & connect". Note the mac address.
    Mine is 00:26:59:62:70:33
  3. Create 2 files in the /storage/.config folder:
    autostart.sh which contains:
    #!/bin/bash
    #to be put in /storage/.config
    #then launch it every minute with a cron task
    for i in {1..7}
    do
    /usr/bin/bluetoothctl </storage/.config/commands.list> /storage/.config/dummy.out
    wait
    sleep 1
    done

a commands.list file with (adapt to your own mac address):
connect 00:26:59:62:70:33

Then crontab -e
enter a line with * * * * * /storage/.config/autostart.sh > /storage/.config/cron-out 2>&1

exit and confirm that you want to save the files.
4) change the permissions by
chmod 0777 /storage/.config/autostart.sh
chmod 0777 /storage/.config/commands.list

I'm not sure of the correct number of loops to perform to cover 1 minute.
It has to be tested more, but it seems to do the job.

from service.openelec.settings.

aizelauna avatar aizelauna commented on August 16, 2024

Here is a procedure that worked for me with OpenELEC 5.0.5 :

  • The key is not to use 1+2 to connect but to use the sync button on the remote the first time for pairing it.
  • Then just press the connect button in the OpenElec Bluetooth options.
  • After that first pairing with the sync button my Wiimote just connects with OpenELEC by pressing any button, not 1+2.

Source :
http://openelec.tv/forum/104-bluetooth-remotes/66221-wii-remote-won-t-work-as-i-expect#90658

from service.openelec.settings.

tomchiverton avatar tomchiverton commented on August 16, 2024

Still broken on a Pi3 and the 6.0.3 OpenElec image (the latest, I believe).

The script also needs updating (possibly for newer OpenElec / bluetoothctl ?)

#!/bin/bash
#to be put in /storage/.config
#then launch it every minute with a cron task
for i in 1 2 3 4 5 6 7 7 8 9 10 11 12  
do
/usr/bin/bluetoothctl < /storage/.config/commands.list
wait
sleep 4
done

Adjust the number of numbers on the for line and the pause after sleep so that

time ./autostart.sh

takes just under one minute on your Pi.

Bluetooth keyboard needs to be in discovery mode (rather than just powered on), and must be paired normally via the settings to being with)

from service.openelec.settings.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.