Hey, I installed brickd using Raspberry 3 & 4 without problems. Now I use a Raspberry 5 (64bit) and got some errors during installation for the software. Which I solved using:
sudo apt-get install libusb-1.0-0 libudev1 procps
wget https://download.tinkerforge.com/apt/$(. /etc/os-release; echo $ID)/tinkerforge.asc -q -O - | sudo tee /etc/apt/trusted.gpg.d/tinkerforge.asc > /dev/null
echo "deb https://download.tinkerforge.com/apt/$(. /etc/os-release; echo $ID $VERSION_CODENAME) main" | sudo tee /etc/apt/sources.list.d/tinkerforge.list
sudo apt update
sudo apt install brickd
This results in an error, which can be solved by: sudo apt --fix-broken install
The installation shows no further errors, but the brickd is not running. In the Logfile is written:
2024-05-25 16:18:54.556720 <I> <main_linux.c:369> Brick Daemon 2.4.5 started (pid: 2954, daemonized: 1)
2024-05-25 16:18:54.556735 <I> <main_linux.c:375> Running on Linux system (sysname: Linux, release: 6.6.20+rpt-rpi-2712, version: #1 SMP PREEMPT Debian 1:6.6.20-1+rpt1 (2024-03-07), machine: aarch64) libusb: warning [libusb_init] installing new context as implicit default
2024-05-25 16:18:54.561928 <I> <bricklet.c:304> Found supported HAT product_id 0x085d in device tree, using default HAT Zero Brick config
2024-05-25 16:18:54.561936 <I> <bricklet.c:345> Found Bricklet port A (spidev: /dev/spidev0.0, driver: gpio, name: gpio426, num: 426)
2024-05-25 16:18:54.561957 <I> <bricklet_stack_linux.c:87> Using spidev backend for Bricklets (unsupported suffix 5 after 'Raspberry Pi' in /proc/device-tree/model)
2024-05-25 16:18:54.561994 <E> <gpio_sysfs.c:77> Could not write to '/sys/class/gpio/export' to export GPIO 426: EINVAL (22)
2024-05-25 16:18:54.561997 <E> <bricklet_stack_linux_spidev.c:78> Could not export gpio426: EINVAL (22)
2024-05-25 16:18:54.562163 <I> <main_linux.c:563> Brick Daemon 2.4.5 stopped
I already flashed the hardware to the newest version.n error occur
Any idea what is wrong?