UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. zykrates
    Z
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 3
    • Groups 0

    zykrates

    @zykrates

    0
    Reputation
    3
    Profile views
    3
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    zykrates Unfollow Follow

    Latest posts made by zykrates

    • Pressure Sensor/Barometer

      Dear Ladies and Gentlemen,

      I'm using now the Ubuntu touch since a few years and I like it. Thank you.

      Right now I'm trying to get the pressure sensor working on the Nexus 5 and I can't get it working. Is there a possibility to read the data?

      Position GPS is working
      Rotation only X and Y Axis not the Z Axis
      Acceleration X,Y,Z is working
      Gyroscope (not sure if sensor is present)
      Magnetometer not working
      Light Proximity working
      Pressure not working

      Thanks again

      posted in Google Nexus 5 pressure baro
      Z
      zykrates
    • RE: runnig a webserver - no chance

      @keneda i tried to flash it last. It is funny, that the ubports installer didnt wont to reflash on Win10, but it worked on ubuntu

      the storage issue was on /dev/loop0 and after flashing there is 282M again free space. If you use the space carefully it worked for me. I forgot this issue and tried to install more apps and then it crashed.

      i try apache with libertine now

      btw: every iot device (i.e. esp32) has some webserver capabilities. The power consumtion of the nexus 5 is below 0,5W (25mW in Standby)

      posted in Support
      Z
      zykrates
    • RE: runnig a webserver - no chance

      @bforpc
      Dear bforpc,

      i tried the same with my Nexus 5 running on UT. I couldn't run

      sudo apt install apache2
      

      directly, I got this message:

      W: Es wird keine Sperre für schreibgeschützte Sperrdatei /var/lib/dpkg/lock-frontend verwendet.
      W: Es wird keine Sperre für schreibgeschützte Sperrdatei /var/lib/dpkg/lock verwendet.
      

      as i learned this IS intentional: askubuntu/sudo-apt-get-install-is-showing-not-using-locking-for-read-only-file-var-lib read the Warnings. Soon after i run into some storage issues, however a soft reset of the phone didnt help. With minimal packages installed my intention worked but the wifi was unstable as well.

      Now i even cant remove the packages anymore.

      with:

      sudo mount -o remount,rw /
      

      you can execute i.e. or more:

      sudo apt install apache2
      

      the next try is to install apache2 on libertine and somehow let it run.

      posted in Support
      Z
      zykrates