Giter VIP home page Giter VIP logo

Comments (5)

greenbreakfast avatar greenbreakfast commented on July 1, 2024

As far as I recall, the limit is 256 bytes in hardware. Can't remember where I saw that tho.
I'll set it to 256 and we can try it out

from i2c-exp-driver.

greenbreakfast avatar greenbreakfast commented on July 1, 2024

@maxgerhardt Release v0.7 of libonioni2c that includes this change. Please try it out and let me know how it goes

from i2c-exp-driver.

maxgerhardt avatar maxgerhardt commented on July 1, 2024

This issue still prevails with the newest version. It results in the same error message when trying to write 65 bytes or more: onion-i2c:: write issue for register 0x01, errno is 122: Not supported (thrown in https://github.com/OnionIoT/i2c-exp-driver/blob/master/src/lib/onion-i2c.c#L108). I think this needs changes deeper in the kernel code? The driver just write()s to the device file and the I2C device file rejects it.

Update: I did update to the newest 0b188 version by doing a factory reset & oupgrade, result is still the same.

from i2c-exp-driver.

maxgerhardt avatar maxgerhardt commented on July 1, 2024

Per https://onion.io/2bt-i2c-firmware-update/ this should be fixed, but I don't see any new commit here or in the LEDE source repository. Where are the changes for validation?

from i2c-exp-driver.

greenbreakfast avatar greenbreakfast commented on July 1, 2024

You are correct, firmware b194 and up should have this fixed. See this commit in the Onion LEDE source repo: OnionIoT/source@0ea89f4

from i2c-exp-driver.

Related Issues (17)

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.