Jump to content

Brick-Daemon not working on Raspberry-Pi 5 64-bit Bookworm


Recommended Posts

Dear list

 

I followed the installation-instruction as given on the website for brickd and brickv. After the installation of both, I tried to connect to the attached HAT (version 1.9) using brickv.

The brickv started without any problems. But brickv wasn't able to connect with localhost:

An connection error occurred. Please check host, check port and ensure that Brick Daemon is running: [Errno 111] Connection refused

Trying to start brickd manually, I got the following information:

2024-07-01 16:50:12.151642 <I> <main_linux.c:369> Brick Daemon 2.4.5 started (pid: 2989, daemonized: 0)
2024-07-01 16:50:12.151654 <I> <main_linux.c:375> Running on Linux system (sysname: Linux, release: 6.6.31+rpt-rpi-v8, version: #1 SMP PREEMPT Debian 1:6.6.31-1+rpt1 (2024-05-29), machine: aarch64)
libusb: warning [libusb_init] installing new context as implicit default
2024-07-01 16:50:12.155327 <I> <bricklet.c:304> Found supported HAT product_id 0x084e in device tree, using default HAT Brick config
2024-07-01 16:50:12.155332 <I> <bricklet.c:345> Found Bricklet port A (spidev: /dev/spidev0.0, driver: gpio, name: gpio422, num: 422)
2024-07-01 16:50:12.155355 <I> <bricklet_stack_linux.c:87> Using spidev backend for Bricklets (unsupported suffix 5 after 'Raspberry Pi' in /proc/device-tree/model)
2024-07-01 16:50:12.155383 <E> <gpio_sysfs.c:77> Could not write to '/sys/class/gpio/export' to export GPIO 422: EINVAL (22)
2024-07-01 16:50:12.155386 <E> <bricklet_stack_linux_spidev.c:78> Could not export gpio422: EINVAL (22)
2024-07-01 16:50:12.155505 <I> <main_linux.c:563> Brick Daemon 2.4.5 stopped

Question:

  • Do I have to install a brickd-version for 64bit manually? And if yes, which version would that be?
  • Or do you have any other ideas and recommendations?

Browsing the forum, I found several issues like the current one:

But somehow, I didn't understand the solution.

Looking forward to any suggestions.

Cheers,

Yvo

 

Link zu diesem Kommentar
Share on other sites

Currently there is a problem with Raspberry Pi 5 and more recent Linux kernel versions.

Please try the attached brickd version.

There will be a new release shortly. Sorry, for the long time it takes us to fix this problem.

Edit: Attachment deleted. Brick Daemon 2.4.6 has been released. Please install the official release instead.

Link zu diesem Kommentar
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Gast
Reply to this topic...

×   Du hast formatierten Text eingefügt.   Formatierung jetzt entfernen

  Only 75 emoji are allowed.

×   Dein Link wurde automatisch eingebettet.   Einbetten rückgängig machen und als Link darstellen

×   Dein vorheriger Inhalt wurde wiederhergestellt.   Clear editor

×   Du kannst Bilder nicht direkt einfügen. Lade Bilder hoch oder lade sie von einer URL.

×
×
  • Neu erstellen...