Posts by gremlin

    I ave found this for LibreElec/kodi :

    - Edit the lifepo4wered-daemon.c file and change the shutdown function to this:

    void shutdown(void) {
    syslog(LOG_INFO, "LiFePO4wered/Pi triggered shutdown");
    char *params[6] = {"shutdown", "-h", "-t", "60", "now", NULL}; // shutdown halt in 10 seconds
    execv("/sbin/shutdown", params);
    }

    It's here : LiFePO4wered/Pi • Hackaday.io

    Thank you for posting I actually knew about that, it's exactly what I was asking about is that the correct way to clean shutdown Kodi...

    I tried that lots of times before post. I intall LibreELEC 8.0.1 and nothing. Apparently wifi adaptor is not running but I have no knowledge to test it. Hoa can open a console in LibreELEC ?


    It was in the thread I linked to of mine, someone had asked me to post the output of this command: dmesg | paste

    unfortunately no one responded to my post after that, but maybe someone will see yours and answer? maybe they'll be similar

    Here's what I've figured out so far. I've gotten evtest installed and running, the output looks like this at the top

    Code
    No device specified, trying to scan all of /dev/input/event*
    Available devices:
    /dev/input/event0:      TiVo, Inc. S5 Remote Control
    /dev/input/event1:      TiVo, Inc. S5 Remote Control
    Select the device event number [0-1]: 0
    Input driver version is 1.0.1
    Input device ID: bus 0x3 vendor 0x150a product 0x1203 version 0x111
    Input device name: "TiVo, Inc. S5 Remote Control"
    Supported events:

    then I pushed the buttons I wanted to use:

    Code
    Properties:
    Testing ... (interrupt to exit)
    Event: time 1491193607.720322, type 4 (EV_MSC), code 4 (MSC_SCAN), value c0209
    Event: time 1491193607.720322, type 1 (EV_KEY), code 358 (KEY_INFO), value 1
    Event: time 1491193607.720322, -------------- SYN_REPORT ------------
    Event: time 1491193607.952321, type 4 (EV_MSC), code 4 (MSC_SCAN), value c0209
    Event: time 1491193607.952321, type 1 (EV_KEY), code 358 (KEY_INFO), value 0

    Then I found that the file needed to be in /storage/.config/hwdb.d/99-tivoslide.hwdb (not 95 like the item says accoording to the readme in the directory)

    Then I made my file look like this:

    but still no dice, I cannot get those commands to work. Anyone got any ideas? I was trying to follow along at home from this thread: thread-1632.html?highlight=hwdb.d but it seems like there's not enough here to make it work

    Ping to try and find if anyone's made this work. I'm really trying to get the Info, Guide, and Channel Up/Down buttons working. It'd be nice to get the Dpad working from the keyboard as well, but I've just had no luck at all.

    I tried the first one already and I didn't see the order change within sets, just the order that the movies were presented to me in the main list (including sets). The second one I did not find, will give that a go thank you.

    Is there a way to adjust the sort order inside a movie set? At the moment star wars is showing up for me in some weird order, I'd love for it to show chronilogical but currently it shows in reverse chronilogical

    2015 - Star Wars: The Force Awakens
    2005 - Star Wars: Episode III - Revent of the Sith
    1999 - Star Wars: Episode I - The Phantom Menace
    1983 - Return of the Jedi
    1980 - The Empire Strikes Back
    1977 - the Star Wars

    Thank you!

    Okay I'll go grab logs, I think my real question is what command would I issue from a SSH prompt and expect a good clean shutdown it looks like thi sis using "init 0" I can link you to the full code for the dameon here: GitHub - xorbit/LiFePO4wered-Pi: Access library, command line tool and daemon for the LiFePO4wered/Pi module

    I've thought about running it off the 12V, but I don't want it just powering up randomly, I'm particularly sensitive about the use of any power in the rig as we boondock a lot (no external power). Also since there's a hard disk associated with it I don't want that spinning all the time. I also want this to be somewhat spouse proof. So it would be best if it just worked like another consumer component (i.e. the DVD player it's all replacing)

    So I understand it's not ideal to just pull the plug on an RPi so I'm trying to make sure that LibreELEC get's shutdown cleanly. I have been playing with getting a UPS working on it and setting it up to automatically shut down when power is removed (The unit I'm using is a LiFePO4wered/Pi3).

    Problem is when I remove the power and it shuts it down (after two minutes) I frequently see that when I plug power back in the unit doesn't ever get to the KODI boot screen just the first LibreELEC one. I then have to pull the power throughout the system, after which it reboots just fine.

    I have to be able to remove power from the system as it's going to live in a motorhome and may have it's power interuppted at anytime, I have the source for the daemon for the LiFePO4wered so I can mod it but I don't know what to call. It looks like from looking at the source it does this:

    Code
    void shutdown(void) { syslog(LOG_INFO, "LiFePO4wered/Pi triggered shutdown"); char *params[3] = {"init", "0", NULL}; execv("/sbin/init", params); }

    Thank you Iridium here is what you requested. I have rebooted twice without the wirless coming back, so I connected a wire to get this.

    That seems unlikely given the wireless came back as soon as I rebooted with a hard network cable plugged in. Also this morning when I booted it works again, same card in it. This would lead me to believe there's an issue in either the distro or the board itself.

    I've setup my LibreElec and it's been working great, but today when I booted it no wireless network is there. I plugged in an ethernet cable and then I downloaded the Network Tools (iw) extension and when I type

    iwconfig

    eth0 no wireless extensions.

    lo no wireless extensions.

    So it's acting as if it's not there at all. I've been using it for a while and can't figure out why all of sudden today there's not network there. Wireless doesn't even appear in the Network Settings panel. If I reboot with the ethernet cable in, the wireless comesback, and it'll stick around for a while then go away again.

    This is version 8.0.0

    Thank you,