Superp Posted July 18, 2024 at 09:21 PM Posted July 18, 2024 at 09:21 PM Hello, I have upgraded four of our systems from brickd 2.4.5 -> 2.4.6, and brickd stopped responding on all of them: <I> <main_linux.c:385> Brick Daemon 2.4.6 started (architecture: arm, pid: 25228, daemonized: 1) <I> <main_linux.c:391> Running on Linux system (sysname: Linux, release: 6.1.21-v7+, version: #1642 SMP Mon Apr 3 17:20:52 BST 2023, machine: armv7l) <I> <bricklet.c:274> Found supported HAT product_id 0x084e in device tree, using default HAT Brick config <I> <bricklet.c:315> Found Bricklet port A (spidev: /dev/spidev0.0, driver: gpio, name: GPIO23, num: 23) <I> <bricklet_stack_linux.c:87> Using spidev backend for Bricklets, because Raspberry Pi without BCM2835 detected <I> <bricklet.c:315> Found Bricklet port B (spidev: /dev/spidev0.0, driver: gpio, name: GPIO22, num: 22) <I> <bricklet.c:315> Found Bricklet port C (spidev: /dev/spidev0.0, driver: gpio, name: GPIO25, num: 25) <I> <bricklet.c:315> Found Bricklet port D (spidev: /dev/spidev0.0, driver: gpio, name: GPIO26, num: 26) <I> <bricklet.c:315> Found Bricklet port E (spidev: /dev/spidev0.0, driver: gpio, name: GPIO27, num: 27) <I> <bricklet.c:315> Found Bricklet port F (spidev: /dev/spidev0.0, driver: gpio, name: GPIO24, num: 24) <I> <bricklet.c:315> Found Bricklet port G (spidev: /dev/spidev0.0, driver: gpio, name: GPIO7, num: 7) <E> <bricklet_stack_linux_spidev.c:263> Could not find line GPIO7 <I> <main_linux.c:579> Brick Daemon 2.4.6 stopped These systems are all Raspberry Pi 3 Model A Plus Rev 1.0 with a HAT Brick. Downgrading to brickd 2.4.5 fixed the problem on all four systems, for now. Is this a known issue? Quote
MatzeTF Posted July 19, 2024 at 12:09 AM Posted July 19, 2024 at 12:09 AM Yes, this is a known issue that we recently discovered. Please keep using brickd 2.4.5 for RPi 1-4 until we can fix the issue. 1 Quote
zbindenp Posted July 19, 2024 at 06:55 PM Posted July 19, 2024 at 06:55 PM (edited) Hello all Thank you for the information. I have the same problem and like to downgrade to 2.4.5, but get an error when trying to do that: sudo apt install brickd=2.4.5 Reading package lists... Done Building dependency tree... Done Reading state information... Done E: Version '2.4.5' for 'brickd' was not found How can i fix that? Ok, found it. How I did it (perhaps would help others): wget https://download.tinkerforge.com/tools/brickd/linux/brickd-2.4.5_armhf.deb sudo dpkg --install brickd-2.4.5_armhf.deb rm brickd-2.4.5_armhf.deb Edited July 19, 2024 at 07:15 PM by zbindenp Found a workaround 1 Quote
Superp Posted July 19, 2024 at 09:08 PM Author Posted July 19, 2024 at 09:08 PM @zbindenp That is exactly what I did. Thanks for sharing the write up. This would be an excellent opportunity for reviving the near-dead blog. Write two lines informing us about the (avoidable) problem and the fix. RSS is our friend. Quote
photron Posted July 24, 2024 at 02:32 PM Posted July 24, 2024 at 02:32 PM Please try the attached brickd version: sudo dpkg -i brickd_2.4.7_armhf.deb brickd_2.4.7_armhf.deb brickd_2.4.7_arm64.deb Quote
zbindenp Posted July 25, 2024 at 05:41 PM Posted July 25, 2024 at 05:41 PM Works here also. RasperryPi Zero with RaspberryPiOS bullseye Quote
photron Posted July 29, 2024 at 10:58 AM Posted July 29, 2024 at 10:58 AM brickd 2.4.7 is now available from our APT server. 1 Quote
nineax Posted September 17, 2024 at 02:13 PM Posted September 17, 2024 at 02:13 PM (edited) I get the message “Brick Daemon 2.4.7 stopped” I'm working on a Rasbarry Py5 and have already tested version 2.4.6. Same error on this version. Can you maybe help me? PS: I tried out on Ubuntu, do I need to switch to pyos? Edited September 17, 2024 at 02:23 PM by nineax Quote
photron Posted September 17, 2024 at 04:36 PM Posted September 17, 2024 at 04:36 PM On 9/17/2024 at 4:13 PM, nineax said: I get the message “Brick Daemon 2.4.7 stopped” Where do you get this message? Could you please show the full output of the command "systemctl status brickd", the command "uname -a", the command "gpioinfo" and attach the /var/log/brickd.log file from your Raspberry Pi? Quote
nineax Posted September 18, 2024 at 09:30 AM Posted September 18, 2024 at 09:30 AM I switched to Pyos and everything works now. Anyway, thanks for helping. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.