Giter Site home page Giter Site logo

Comments (4)

pstolarz avatar pstolarz commented on May 27, 2024

https://raspberrypi.stackexchange.com/questions/15333/force-detection-of-gpio-device-connection-disconnection

For the future - please use google before rising an issue.

from w1-gpio-cl.

przemoch-dev avatar przemoch-dev commented on May 27, 2024

Yes, I used google and saw this thread. Unfortunately both methods described do not work.

cat /sys/bus/w1/drivers/w1_master_driver/w1_bus_master1/w1_master_timeout
10

I set proper option to the /etc/modprobe.d/w1.conf and result is the same, however I can see my modification in the modprobe config

$ modprobe -c | grep wire
options wire timeout=1 slave_ttl=3

That's where my question comes from (forgive the overly vague description), can this be changed by configuring the driver you provide?

from w1-gpio-cl.

przemoch-dev avatar przemoch-dev commented on May 27, 2024

Nvm, I did patch for linux-tegra w1.c with my values and recompiled it. Thank you and sorry for bothering you

from w1-gpio-cl.

pstolarz avatar pstolarz commented on May 27, 2024

If you use 1-wire for reading-out dallas temp sensors I recommend to discard the w1_therm module and use my userland librasp. It's much more powerful and feature-rich (not only in case of bus-scanning). Some knowledge about C programming is required, though, to port it into your platform (it was originally written for RPi), but the netlink interface used for kernel-userland communication remains the same for all Linux platforms.

from w1-gpio-cl.

Related Issues (3)

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.