Coder Social home page Coder Social logo

gpio scan issue about ipctool HOT 4 CLOSED

bedenko avatar bedenko commented on June 26, 2024
gpio scan issue

from ipctool.

Comments (4)

widgetii avatar widgetii commented on June 26, 2024

Besides setting up complete SDK and compiling new ipctool with additional outputs.

That's the only way to debug it properly

from ipctool.

flyrouter avatar flyrouter commented on June 26, 2024

One simple and dirty way is to try to control different GPIOs by brute force in scanning mode and changing values.
The last two numbers indicate from which GPIO you need to scan.
Break it up into small sections and keep an eye on the camera.
Quite often, an IR filter is attached to 78 and 79 GPIOs, but this is only one of the options.

curl -s https://raw.githubusercontent.com/OpenIPC/sandbox/main/scripts/search-gpio/search-gpio | sh -s -- 0 100

from ipctool.

bedenko avatar bedenko commented on June 26, 2024

@flyrouter that script worked like a charm!
Indeed there are pins 78 (on) and 79 (off) responsible for IRCUT.
Now i only need to find pin for IR sensor. I assumed it was pin 81, since it is set as input in /sys/class/gpio/, but it does not change value in day/night ambient.

from ipctool.

flyrouter avatar flyrouter commented on June 26, 2024

Good
Don’t forget to then indicate the data for your device in the GPIO table in our Wiki.

from ipctool.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.