Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8609

Interfacing (DSI, CSI, I2C, etc.) • Re: rp5 i2c extra buses

$
0
0
any clever way for looking at the ACC data other than from the iio-files? Was hoping that EVTEST would allow doing so, but my iio sensor did not show up under evtest.
No.

This ADXL345 sensor happens to have 2 drivers in the kernel
https://github.com/torvalds/linux/blob/ ... l34x-i2c.c uses the input subsystem
https://github.com/torvalds/linux/blob/ ... l345_i2c.c uses the iio subsystem.
The two are mutually exclusive in the kernel configuration (https://github.com/torvalds/linux/blob/ ... config#L67 ensures the iio one isn't built if the input one is)

The input subsystem driver happened to already be in the defconfigs, therefore I added the overlay runes for it.

Statistics: Posted by 6by9 — Tue Mar 11, 2025 1:47 pm



Viewing all articles
Browse latest Browse all 8609

Trending Articles