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

Options
Duncan Iglesias
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

Comments

  • Duncan Iglesias
    Duncan Iglesias New Member Posts: 15
    edited January 2017
    Options
    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