Im trying to change buffer size for SPI communication for RPi with Ubuntu 22.04 LTS. There is no /boot/cmdline.txt. I have added line

options spidev bufsiz=8192

to /etc/modprobe.d/spidev.conf but it didnt work. Any suggestions on how to do it?

1 Answer 1


Turns out on ubuntu file cmdline.txt is located at /boot/firmware/cmdline.txt editing this file changes spi buffer size.

  • This is the same location as the current Rpi OS version ("bookworm").
    – goldilocks
    Commented Mar 22 at 16:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.