hehehe, it isn't a pid (which is a number), it is a label, which is just some arbitrary text that the requester uses to identify themselves - the kernel doesn't enforce any naming convention.I've run the command and can see that 7 and 8 are used:
line 7: "GPIO7" "spi0 CS1" output active-low [used]
line 8: "GPIO8" "spi0 CS0" output active-low [used]
Would the kill command be something like this?
kill -9 spi0 CS1
Or is that not the process id?
That label indicates that the kernel SPI driver, not a userspace process, has requested those lines.
So it isn't something you can kill - you need to unload the SPI driver (using raspi-config as @neilgl suggests, or equivalently edit /boot/config.txt) if you aren't using SPI at all, or reconfigure it not to use the lines you want to use (look for the spi0-0cs section of /boot/overlays/README and update /boot/config.txt to suit your setup), or switch to using different lines if you do have an SPI application that actually needs those CS lines (unlikely, I know - just covering the bases).
Statistics: Posted by warthog618 — Mon Jan 27, 2025 5:46 am