Posts by Mario77

    https://paste.libreelec.tv/positive-cockatoo.log

    Obex service is showing some errors..more errors on debug log..

    Code
     Agent replied with an error: org.freedesktop.DBus.Error.UnknownMethod, Method "AuthorizePush" with signature "o" on interface "org.bluez.obex.Agent1" doesn't exist

    obex.service - Bluetooth service
    Loaded: loaded (/usr/lib/systemd/system/obex.service; disabled; preset: disabled)
    Active: active (running) since Tue 2024-02-06 18:15:01 UTC; 9min ago
    Process: 643 ExecStartPre=/bin/sh -c mkdir -p $OBEXD_ROOT (code=exited, status=0/SUCCESS)
    Main PID: 652 (obexd)
    Tasks: 1 (limit: 4166)
    CPU: 16ms
    CGroup: /system.slice/obex.service
    └─652 /usr/lib/bluetooth/obexd -r /storage/downloads/

    Feb 06 18:16:48 LibreELEC obexd[652]: DISCONNECT(0x1), Success(0x20)
    Feb 06 18:16:48 LibreELEC obexd[652]: disconnected: Transport got disconnected
    Feb 06 18:17:28 LibreELEC obexd[652]: CONNECT(0x0), <unknown>(0xff)
    Feb 06 18:17:28 LibreELEC obexd[652]: CONNECT(0x0), <unknown>(0x0)
    Feb 06 18:17:28 LibreELEC obexd[652]: PUT(0x2), <unknown>(0xff)
    Feb 06 18:17:28 LibreELEC obexd[652]: Agent replied with an error: org.freedesktop.DBus.Error.UnknownMethod, Method "AuthorizePush" with signature "o" on interface "org.bluez.obex.Agent1" doesn't exist
    Feb 06 18:17:28 LibreELEC obexd[652]: PUT(0x2), Forbidden(0x43)
    Feb 06 18:17:28 LibreELEC obexd[652]: DISCONNECT(0x1), <unknown>(0xff)
    Feb 06 18:17:28 LibreELEC obexd[652]: DISCONNECT(0x1), Success(0x20)
    Feb 06 18:17:28 LibreELEC obexd[652]: disconnected: Transport got disconnected

    As and when the RPi5 ships, I'd like to upgrade to that from my RPi4.

    Is there a way I can transfer all the settings and media catalogs to the new system which will be running version 12?

    I don't really want to have to reconfigure everything that has been done to the old RPi4 based system (if I could even remember what was done - I've had it for some years now).

    Thanks, David

    Take a backup fromRpi4 and restore on the RPi5 and wish for the best..

    Just in case someone is having trouble updating from older versions of syncthing from UI..mainly on older installs like LE 9.0.x

    Altough the addon available on LE 9 only got an older version of Syncthing 1.4.2 you can update to 1.27.2 from UI altough after update Syncthing won't work..

    quick fix,edit :

    /storage/.kodi/addons/service.system.syncthing/bin/syncthing-service

    line 9 from

    STNODEFAULTFOLDER="y" syncthing -home=$ADDON_HOME           \

    to

    STNODEFAULTFOLDER="1" syncthing -home=$ADDON_HOME           \

    You will have to create some script yourself listening for power status and running skin refresh...it's possible but you probably won't find anything ready..

    To give you some ideas about how you check for cec power status

    cec-ctl --device 0 -S | grep 'Power Status'

    and to refresh skin

    kodi-send --action="ReloadSkin()"

    That looks complicated. Maybe I'll just stick to the cheap remote for now. Reading that thread it says kodi does not recognise the OK key and expects the enter key. That would seem like an odd omission in kodi not to responding to the OK key on a remote, rather than just treat it as the enter key by default.

    The OK button works if I turn on the Air Mouse Function via a button on said remote, and stops when I turn Air mouse off via the same button. Therefore I am not fully convinced the remote is actually sending anything when I turn the Air Mouse off which would explain why I could not get the keymap editor to remap it.

    Can anyone recommend a high quality 2.4G remote with dongle, with a keyboard on the rear ?

    All you need to do is in post #9..shouldn't take more then 15 minutes...you have a good explanation there..

    First thing I tried was the keymap editor but I still could not get it to respond to the OK button and map it to the Enter key. I will try again when I have a bit more time and hook up a regular mouse to give me mouse control as I am wrestling with the remote and the air mouse function.

    Here

    patric
    November 9, 2022 at 11:28 PM


    and here is how you do it post #9

    HiassofT

    Good catch..well done and I could never think of that..tryed lots of options which didn't work.

    In the meantime I got myself a little xmas present a RPi 5 4gb which happens to have a fan pwm output and button builtin which where the 2 items I was using gpio pins for but nevertheless I will test your workoround and hopefully this post will help others till a fix comes out.

    Hard to say as you didn't post your addon/script but it could be that you may be experiencing this issue https://github.com/LibreELEC/LibreELEC.tv/issues/8447 (which isn't directly related to rpi-tools/gpiozero)

    so long,

    Hias

    Well here is one of the gpiozero scripts I m running perfectly on LE 11.0.4 It might not be perfect and I m not a coder by anyway but it just works..

    Thanks for your reply..

    Now that you replyed I m testing further and it looks like the issue is something else...

    Both my scripts are working on latest LE12 and rpitools 11.80.3.1..issue is they r not starting anymore neither from their system.d service I always used and even from autostart..They do start from ssh and work normally..

    Is there any known issue with Raspberry Pi Tools on LE12 and gpiozero libraries...

    Last working version of Raspberry Pi Tools is 11.80.3.0 and only works until LibreELEC-RPi2.arm-12.0-nightly-20231116-19d37e2.img.gz (sha256)

    If you update LE to following LE12 versions it won't work...tryed all of the 7 following nightlies till today..

    Following version 11.80.3.1 won't start any of my gpiozero scripts..system.d service keeps restarting.