-
Notifications
You must be signed in to change notification settings - Fork 218
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SPIDEV ABI change on mainline Linux kernel #263
Comments
For example: @RobertCNelson wrote: |
For reference, here is a commit to add the /dev/spi/X.Y properties to device tree: And udev script that create the corresponding symlinks: |
FYI - this will solve issues like this one: |
I also ran into this problem, which got me a bit by surprise. However, it does seem the new names make more sense: Now it uses spidev0 and spidev1, which match the labels on the pinout and the overlays (e.g. |
On newer Beagleboard images, this symlink provides a predictable and stable way to access the SPI devices. This is needed since newer kernels appear to number their SPI device files differently, so the originally used /dev/spidev1.0 no longer works on recent (Buster) images. See also: adafruit/adafruit-beaglebone-io-python#263 beagleboard/bb.org-overlays@d21b116
FYI - a solution will need to be decided upon for libraries like Adafruit_BBIO
cc @RobertCNelson
The text was updated successfully, but these errors were encountered: