User Tools

Site Tools


doc:appunti:software:kodi_installation_raspios_13

This is an old revision of the document!


Installing Kodi 21.2 on Raspberry Pi OS 13 Trixie

High CPU usage

kernel: cec-vc4-hdmi-0: message 10 timed out

Automount problem

I have an external 3.5 inches 4 Tb hard disk connected to the Pi 4 USB port using a X835 board. A large data partition (/dev/sda3) is mounted at bootstrap because there is an entry into /etc/fstab.

The Kodi process uses the udisks2 subsystem to automount connected devices. Since there is also a /dev/sda2 partition on the disk, this is automatically mounted as soon as the Kodi process is started. From the journalctl log you can see:

systemd[1]: Starting udisks2.service - Disk Manager...
udisksd[1202]: udisks daemon version 2.10.1 starting
dbus-daemon[694]: [system] Successfully activated service 'org.freedesktop.UDisks2'
udisksd[1202]: Mounted /dev/sda2 at /media/kodi/9f259ae2-1de9-... on behalf of uid 1001

I haven't found a way to prevent automounting of just the /dev/sda3 partition using the udisks2 configuration. The only truly horrible way was to set a wrong mount parameter for that partition, causing it to fail. I.e. it is possibile to create the file /etc/udisks2/mount_options.conf with a bad mount option like this:

FIXME This does not work:

[/dev/disk/by-uuid/9f259ae2-1de9-...]
automount=false

It was impossibile to disable automount via the dbus subsystem too. Creating a file /etc/udev/rules.d/99-udisks2-noauto.rules with the following content has no effects:

FIXME This does not work:

ENV{ID_FS_UUID}=="9f259ae2-1de9-...", ENV{UDISKS_AUTO}="0"

ENV{ID_FS_UUID}=="9f259ae2-1de9-...", ENV{UDISKS_IGNORE}="1"

USB disk spin-down problem

Networking

apt install dhcpcd
dpkg --purge network-manager raspberrypi-net-mods
doc/appunti/software/kodi_installation_raspios_13.1760086144.txt.gz · Last modified: by niccolo