Missing /sys/bus/iio directory after Upgrade. (Ubuntu 14.04)
Options
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
- 63 Announcements & News
- 139 Product News - New Product/Product Change Notice/ End-of-life
- 112 Welcome Developers!
- 60 Unboxing & Project Sharing
- 114 Tech Updates
- 3.6K UP Products
- 119 UP 7000
- 25 UP Squared i12
- 24 UP Xtreme i12
- 14 UP Squared Pro 7000
- 1 UP Element i12 Edge
- 24 UP Squared V2
- 65 UP 4000
- 23 UP Xtreme i11
- 34 UP Squared 6000
- 59 UP Squared Pro
- 135 UP Xtreme
- 820 UP Squared
- 1.4K UP Board
- 74 UP Core Plus
- 217 UP Core
- 3 UP Xtreme Lite
- 40 UP AI Edge
- 265 Starter Kits & Peripheral