Missing /sys/bus/iio directory after Upgrade. (Ubuntu 14.04)

Duncan Iglesias
New Member Posts: 15
Hey community,
The /sys/bus/iio directory has gone missing after performing a system update.
I have been developing an application using the UP Board for the past month for a school project where I am reading in a raw voltage to one of the GPIO pins from the directory /sys/bus/iio/devices/iio\:device0/in_voltage_raw.
Is this just a case of a missing installation package or has it been moved?
Thanks,
DJI
The /sys/bus/iio directory has gone missing after performing a system update.
I have been developing an application using the UP Board for the past month for a school project where I am reading in a raw voltage to one of the GPIO pins from the directory /sys/bus/iio/devices/iio\:device0/in_voltage_raw.
Is this just a case of a missing installation package or has it been moved?
Thanks,
DJI
Comments
-
SOLVED:
After I installed the most recent update the grub defaulted to Linux 4.4.0-47-generic instead of Linux 4.2.0-3-upboard. This resolved the discrepancy in the file system hierarchy.
In future, use the following to update/upgrade:$ sudo apt update $ sudo apt -y dist-upgrade
And then this to remove the other Linux boot options.$ sudo apt -y autoremove --purge 'linux-.*generic'
Reboot and double check that you are using the Up Board image (ex. Linux 4.2.0-3-upboard).$ uname -r
DJI
Categories
- All Categories
- 105 Announcements & News
- 54 Product News - New Product/Product Change Notice/ End-of-life
- 185 Welcome Developers!
- 55 Unboxing & Project Sharing
- 49 Tech Updates
- 693 UP Products
- 11 UP 7000
- 1 UP Squared i12
- 10 UP Xtreme i12
- 11 UP Squared Pro 7000
- 1 UP Element i12 Edge
- 19 UP Squared V2
- 59 UP 4000
- 24 UP Xtreme i11
- 35 UP Squared 6000
- 60 UP Squared Pro
- 143 UP Xtreme
- 837 UP Squared
- 1.4K UP Board
- 89 UP Core Plus
- 222 UP Core
- 3 UP Xtreme Lite
- 44 UP AI Edge
- 216 Starter Kits & Peripheral