Comments (9)
Regarding 1. hwclock: read this to see ConnMans maintainers opinion on syncing to the hwclock:
https://bugs.tizen.org/jira/si/jira.issueviews:issue-html/TC-165/TC-165.html
Also, rtc and all related datetime mgmt works fine on the ccgx. No complaints and no issues. So just adding a few explanation lines on that patch, for example a link to this issue, is more than enough.
@jhofstee: you'll be happy to know that systemd is coming and all will be better. See Tizen link 😄.
from venus.
Some extra info:
about 1) "normally" the hwclock is saved during shutdown / reboot. Since
a color control can just be removed from power, we always update the rtc as well.
about 3) g-web multi header:
it belongs to this thread:
- https://www.mail-archive.com/[email protected]/msg15637.html
- https://www.mail-archive.com/[email protected]/msg15731.html
from venus.
Some findings:
1) hwclock
The patch is not suitable for upstream, but it's small and should be easy to maintain. An alternative could be a cron job that periodically syncs the hardware clock.
2) ntp max poll
From RFC5905:
Poll: 8-bit signed integer representing the maximum interval between successive messages, in log2 seconds. Suggested default limits for minimum and maximum poll intervals are 6 and 10, respectively.
Increasing the value from 10 to 16 changes the maximum interval from 17 minutes to 18 hours although there actual intervals may be shorter depending on network conditions and clock stability.
The patch as is would probably not be accepted upstream as it changes behaviour without a good reason. A new option allowing this value to be set in the config file might have a better chance.
3) gweb multi-header
An attempt to ask about this on the connman mailing list has received no response, and the message to the list appears to have been black-holed.
from venus.
-
hwclock: let's leave that as a patch
-
ntp max poll: I think the rationale is to reduce network traffic. Let's leave as a patch as well
-
gweb multi-header: have you looked into reproducing that yet?
-
wifi: ignore invalid key on AR failure:
you already made the patch apply to the latest Connman version right? Is there much work involved in testing its effectiveness?
I'd prefer to first update our Connman to latest version including these patches; except possibly 3. And then see about mainlining patch (4).
from venus.
The gweb patch is now upstream: http://git.kernel.org/cgit/network/connman/connman.git/commit/?id=22901212105055b24f73504a74f5a57eee809777
from venus.
@mansr how is the upstreaming going?
from venus.
just for record keeping, the last attempt at upstreaming the 'dont ever give up' wifi patch is here:
https://lists.01.org/pipermail/connman/2017-January/021470.html. And here the discussion ended.
And the patch is also here. It is scheduled to replace what we have in meta-victronenergy/master now soon.
from venus.
I've sent connman a reminder email: https://lists.01.org/pipermail/connman/2017-August/021993.html
from venus.
Since upstreaming the remaining patches seems impossible, I am closing this issue.
from venus.
Related Issues (20)
- v3.40~32: Critical loads box showing, regardless of ESS->grid metering setting HOT 2
- dbus-acsystem: MultiRS devices not combined into acsystem. HOT 3
- npm recipes: better handle optionalDependencies and --omit=dev
- add raspberrypi support for Qt6 / gui-v2
- make an option to remove old pv inverters
- Generator menu: Hide quiet hours menu items when quiet hours is disabled. HOT 2
- dbus_modbus_client is scanning itself HOT 1
- Generator: Enable remote start mode on genset from GX when supported
- velib_python: fix race condition during service creation
- Better support for systems with only a grid meter
- Generator: Implement /ClearError path for dbus-modbus-client gensets HOT 2
- flashmq/security: add read-only mode for bridge connection
- signalk: default canbus interface for Cerbo MK2 is wrong
- Connected genset: service & runtime counters HOT 16
- Remove/fix the gui option to clear genset errors. HOT 3
- excess load leads to reboots HOT 11
- Run dbus-generator (genset start/stop) and dbus-parallelbms only when needed HOT 3
- Add CVL/CCL/DCL to the system battery via N2K-out VREGs
- Custom shape for water level sensor input dialog broken
- Fix http://[ip]/not working when gui-v2 is running onscreen
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from venus.