Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Accessing raspberrypi3b GPIO from (Emteria.os) Android os
Forum Updated to NodeBB v4.3 + New Features

Accessing raspberrypi3b GPIO from (Emteria.os) Android os

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
4 Posts 2 Posters 487 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    gotronics
    wrote on last edited by gotronics
    #1

    it buids without errors but the app clashes when running.
    even wiringPI it just clashes.
    W libLightControl.so: QIODevice::write (QFile, "/sys/class/gpio/export"): device not open
    W libLightControl.so: QIODevice::write (QFile, "/sys/class/gpio/gpio24/value"): device not open
    W libLightControl.so: cannot open "/sys/class/gpio/gpio24/direction"
    W libLightControl.so: QIODevice::write (QFile, "/sys/class/gpio/gpio5/value"): device not open
    W libLightControl.so: QIODevice::write (QFile, "/sys/class/gpio/gpio24/value"): device not open
    W libLightControl.so: QIODevice::write (QFile, "/sys/class/gpio/gpio25/value"): device not open.

    pliease assist me

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Did you check that you have proper access rights ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1
      • G Offline
        G Offline
        gotronics
        wrote on last edited by
        #3

        thank you SGaist for the response
        i have properly accessed the superuser permission
        i no longer get the following messages it only crashes
        W libLightControl.so: QIODevice::write (QFile, "/sys/class/gpio/export"): device not open
        W libLightControl.so: QIODevice::write (QFile, "/sys/class/gpio/gpio24/value"): device not open
        W libLightControl.so: cannot open "/sys/class/gpio/gpio24/direction"
        W libLightControl.so: QIODevice::write (QFile, "/sys/class/gpio/gpio5/value"): device not open
        W libLightControl.so: QIODevice::write (QFile, "/sys/class/gpio/gpio24/value"): device not open
        W libLightControl.so: QIODevice::write (QFile, "/sys/class/gpio/gpio25/value"): device not open.

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          What is the stack trace ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved