Thank you for the location of the checksum origin.
I already suspect such, but didn't know, how to fix it.
Now download succeeded completely.
Thank you for the location of the checksum origin.
I already suspect such, but didn't know, how to fix it.
Now download succeeded completely.
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:
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:
--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
--2021-04-18 12:55:31-- https://gitlab.freedesktop.org/mesa/kmscube/-/archive/master/kmscube-e6386d1b99366ea7559438c0d3abd2ae2d6d61ac.tar.gz
Resolving gitlab.freedesktop.org (gitlab.freedesktop.org)... 147.75.39.137
Connecting to gitlab.freedesktop.org (gitlab.freedesktop.org)|147.75.39.137|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/octet-stream]
Saving to: '/media/video/test/LibreELEC.tv/sources/kmscube/kmscube-e6386d1b99366ea7559438c0d3abd2ae2d6d61ac.tar.gz'
2021-04-18 12:55:32 (504 KB/s) - '/media/video/test/LibreELEC.tv/sources/kmscube/kmscube-e6386d1b99366ea7559438c0d3abd2ae2d6d61ac.tar.gz' saved [160514]
[1;31mWARNING[0m Incorrect checksum calculated on downloaded file: got 896ac76671a9b89836a7014b16cc85b45b041e03fe34a8f529f4718aa2b15cef wanted 0f162bbcef951d5e3fc5e8974f5944c420657edc72bf51e0074f46f30d942722
--2021-04-18 12:55:32-- http://sources.libreelec.tv/mirror/kmscube/kmscube-e6386d1b99366ea7559438c0d3abd2ae2d6d61ac.tar.gz
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 12:55:32-- 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
Display More
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
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?
I looked into some of the python packages - guess I have to build my own libreElec from git, as python does not contain pip module.
Is there any advice / intro on how to do things right for libreElec?
(of cause I have read wiki pages about building libreElec).
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:
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:
ata-CT2000BX500SSD1_2010E290A364 -> ../../sdb
ata-CT2000BX500SSD1_2010E290A364-part1 -> ../../sdb1
ata-CT2000BX500SSD1_2010E290A484 -> ../../sdd
ata-CT2000BX500SSD1_2010E290A484-part1 -> ../../sdd1
ata-CT2000BX500SSD1_2010E290A4DB -> ../../sdc
ata-CT2000BX500SSD1_2010E290A4DB-part1 -> ../../sdc1
ata-CT2000MX500SSD1_2048E4D3888D -> ../../sda
ata-CT2000MX500SSD1_2048E4D3888D-part1 -> ../../sda1
mmc-SD02G_0xa863fc97 -> ../../mmcblk1
mmc-SD02G_0xa863fc97-part1 -> ../../mmcblk1p1
mmc-SD02G_0xa863fc97-part2 -> ../../mmcblk1p2
usb-Intenso_External_USB_3.0_201706142551C-0:0 -> ../../sde
usb-Intenso_External_USB_3.0_201706142551C-0:0-part1 -> ../../sde1
wwn-0x500a0751e290a364 -> ../../sdb
wwn-0x500a0751e290a364-part1 -> ../../sdb1
wwn-0x500a0751e290a484 -> ../../sdd
wwn-0x500a0751e290a484-part1 -> ../../sdd1
wwn-0x500a0751e290a4db -> ../../sdc
wwn-0x500a0751e290a4db-part1 -> ../../sdc1
wwn-0x500a0751e4d3888d -> ../../sda
wwn-0x500a0751e4d3888d-part1 -> ../../sda1
Display More
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?