Posts by tony013

    Thank you very much for your attention!

    Don't know, whether I got it right. I did just some quick research.

    If I got it right, then adafruit is a driver for the little display on top.

    "rockpi-penta" is the fan driver.

    At debian it installs the following python packages:

    Code
    python3-rpi.gpio
    python3-setuptools
    python3-pip
    python3-pil
    python3-spidev
    pigpio
    python3-pigpio

    I issued a 'python help modules' to see, which of the modules is already installed and it looked as none of the above packages is available at libreElec.

    But ...

    ... I have no idea of python and its internals, so I can be wrong.

    I guess the "rpi.gpio" is needed for the pwm to control fanspeed. "spidev" might be used to connect the display ...

    I only want the fan control and nice to have (if possible) the control of the top button - which might be useful to restart the box after shutdown (without switching power off and on). I have no plans in using the display ...

    Hi,

    I don't want to build a Generic one.

    The reason for me to build a libreElec from git is, that Penta Sata needs a controller for the included fan to work.

    On debian its possible to install the driver from radxa, but for other linux variants there's no support.

    So I looked into the driver that controls the fan and it consists of just a few python scripts. Not difficult to port/migrate, but libreElec does not have a pip with python. So no way to extend libreElec.

    All other linux variants, that have a mature python support and run on the rock pi4 don't have hardware support for video and don't have multichannel audio over hdmi neither ...

    So extending libreElec is the only choice for me.

    But I don't have experience in patching linux or experience with python or libreElec, so I can't do the job without your help.

    Thank you for that sophisticated response :)

    Didn't heard about Red Herring before - so I learned at trying to understand your response. Fine!

    So I did the download again - this time with logging.

    Of cause - you where right.

    First error is this:

    Code
    --2021-04-18 12:55:29--  http://sources.libreelec.tv/devel/bcm2835-driver-1df55790fb191704c0ce630d4d0713a8beb43a7d.tar.xz
    Resolving sources.libreelec.tv (sources.libreelec.tv)... 138.68.75.163
    Connecting to sources.libreelec.tv (sources.libreelec.tv)|138.68.75.163|:80... connected.
    HTTP request sent, awaiting response... 301 Moved Permanently
    Location: https://sources.libreelec.tv/devel/bcm2835-driver-1df55790fb191704c0ce630d4d0713a8beb43a7d.tar.xz [following]
    --2021-04-18 12:55:29--  https://sources.libreelec.tv/devel/bcm2835-driver-1df55790fb191704c0ce630d4d0713a8beb43a7d.tar.xz
    Connecting to sources.libreelec.tv (sources.libreelec.tv)|138.68.75.163|:443... connected.
    HTTP request sent, awaiting response... 404 Not Found
    2021-04-18 12:55:29 ERROR 404: Not Found.

    next error is this

    When I start the download-tool again (without cleaning the download-cache), the checksum error does not appear. Only the second part (404) will happen.

    Hi,

    I tried to build a libreElec from git - but download-tool fails with

    Code
    Resolving sources.libreelec.tv (sources.libreelec.tv)... 138.68.75.163
    Connecting to sources.libreelec.tv (sources.libreelec.tv)|138.68.75.163|:80... connected.
    HTTP request sent, awaiting response... 301 Moved Permanently
    Location: https://sources.libreelec.tv/mirror/kmscube/kmscube-e6386d1b99366ea7559438c0d3abd2ae2d6d61ac.tar.gz [following]
    --2021-04-18 06:13:00--  https://sources.libreelec.tv/mirror/kmscube/kmscube-e6386d1b99366ea7559438c0d3abd2ae2d6d61ac.tar.gz
    Connecting to sources.libreelec.tv (sources.libreelec.tv)|138.68.75.163|:443... connected.
    HTTP request sent, awaiting response... 404 Not Found
    2021-04-18 06:13:00 ERROR 404: Not Found.

    I guess, the old one (kmscube-98f31bf.tar.xz) does not work?

    Hi,

    I noted the penta sata tower is getting hot, so I'd like to add the fan control of it.

    radxa build a package - but only for debian systems.

    I looked into the driver and it looks as if it where only some python scripts.

    I don't know, what linux is libreElec based on - but it has python and I read, that ubuntu is the most commonly used build system.

    The radxa driver installation installs the following python packages on a debian system:

    Code
    python3-rpi.gpio
    python3-setuptools
    python3-pip
    python3-pil
    python3-spidev
    pigpio
    python3-pigpio

    So I'd like to know, whether these modules are available on libreElec too. If not, is it possible to add them?

    This is a listing of the driver package content:

    Thank you very much for your support!

    I found udevil*.rules at /usr/lib/udev/rules.d - may I ask for additional help?

    I researched how to differentiate internal and external drives, as both have dev-names like sd*

    and I found the key in /dev/disk/by-id:

    Does /etc/fstab work?

    I'd like udevil act on those partitions only, that have their id start with "usb-"

    Don't know, whether partitions that start with mmc- need handling of udevil too.

    Which might be the same as: udevil should not work on partitions with an id of ata-* or wwn*

    Is that possible and how could I do that?

    Hello,

    I just got a rock pi4 with sata hat and tried nightly build. I'm so excited as sata works ootb. The drives are already mounted.

    If I got it right, partitions are mounted according their label - so if two partitions have the same label, they are mounted to the same directory ...

    ... and sata drives are mounted at /var/media as well as usb-drives.

    I'd like to change (and fix) the location where the sata drives are mounted, but I did not find the one that does the mounting.

    /etc/fstab does not exists or is empty ...

    Where do I best configure the mount location of the sata drives?