From e6d79063ba1855005bae7e085db86cb267415edd Mon Sep 17 00:00:00 2001 From: Will Barber Date: Sat, 18 May 2024 10:19:37 +0100 Subject: [PATCH] Remove faulty rpi.gpio-common package There's bug with the rpi.gpio-common udev rule that causes the root hub to be made only readable by root when the motor board is plugged in too far down the USB tree. Seen in SR2024 with motor boards connected to 7 port USB hubs --- parts/robot.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/parts/robot.sh b/parts/robot.sh index 95b3a10..31f44f1 100755 --- a/parts/robot.sh +++ b/parts/robot.sh @@ -33,6 +33,11 @@ systemctl enable runusb.service group=plugdev +# Remove a buggy udev package that breaks the USB tree if FTDI chips are plugged into too many USB hubs +# See https://github.com/raspberrypi/linux/issues/3779#issuecomment-709481662 +# and https://groups.google.com/g/linux.debian.bugs.dist/c/5jI9dDZgfUU +apt-get remove -y rpi.gpio-common + # Create a group and add the default user to it. groupadd --force $group usermod -a -G $group robot