Skip to content
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

scanning: add hwmon only systems to scanning. #1011

Merged
merged 1 commit into from
Jul 17, 2023

Conversation

rgetz
Copy link
Contributor

@rgetz rgetz commented Jul 17, 2023

previously scanning on devices like default Raspberry Pi, would show things like:

pi@raspberrypi:~ $ iio_info -s
No IIO context found.

However, this is not correct, since it has HWMON devices (which libiio now understands). So make sure we add this to the scan context. After the patch is applied, we get things like:

pi@raspberrypi:~/libiio $ ./build/tests/iio_info -s Available contexts:
0: (cpu_thermal, rpi_volt on Raspberry Pi 4 Model B Rev 1.1) [local:]

which is correct.

previously scanning on devices like default Raspberry Pi, would show
things like:

pi@raspberrypi:~ $ iio_info -s
No IIO context found.

However, this is not correct, since it has HWMON devices (which libiio
now understands). So make sure we add this to the scan context. After
the patch is applied, we get things like:

pi@raspberrypi:~/libiio $ ./build/tests/iio_info -s
Available contexts:
        0: (cpu_thermal, rpi_volt on Raspberry Pi 4 Model B Rev 1.1) [local:]

which is correct.

Signed-off-by: Robin Getz <[email protected]>
@pcercuei pcercuei self-requested a review July 17, 2023 09:12
@pcercuei pcercuei merged commit 99cd3ac into analogdevicesinc:master Jul 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants