Commit Graph

94 Commits

Author SHA1 Message Date
Adeeb Shihadeh 54270d569c update tested branches
old-commit-hash: 116bb0b52486d5b5d5fcf682b1353d48126ea157
2021-07-23 15:47:00 -07:00
robbederks 6e867a05cf Tici: amplifier config (#21596)
* amplifier config on boot

* add to release

* another spot

* add debug when running separately

* rename for clarity
old-commit-hash: cbae2899df9975c7e6762fa12a48f8730bde7df2
2021-07-14 15:53:39 +02:00
Willem Melching f973c0bc04 cloudlog modem version (#21562)
* log modem version

* whitespace
old-commit-hash: fb8f0ac09213014095358f937e7be2b2d22bb4c6
2021-07-12 15:52:09 +02:00
Adeeb Shihadeh f725c5dc2a remove modem logging (#21497)
old-commit-hash: a6efe9a6b7b3bd054822c2fe71329939d30d1fef
2021-07-06 13:51:45 -07:00
Willem Melching 30fff7fead Log gpu usage (#21404)
* Log gpu usage

* 100 total

* bump cereal

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: ad7f0207ac9c587c2e1740c61bddad5fbba11296
2021-06-29 13:55:18 -07:00
Willem Melching dd3d2f6949 use nmcli conn up lte to bring out of registered state
old-commit-hash: eb3144ef71296e29420407d8f18426546f79213a
2021-06-25 11:00:40 +02:00
Adeeb Shihadeh 358067325e diag logging (#21360)
* rat

* log max power

* cloudlog

* no print

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 1da3ab42dc9cc87a9477d5b2d74165ec826f0a53
2021-06-23 23:53:22 -07:00
Adeeb Shihadeh 784601c8e1 remove lte toggle (#21392)
* remove lte toggle

* little more
old-commit-hash: a420c7ad50eec716e53537957b1439b2ce44d73e
2021-06-23 17:01:17 -07:00
Willem Melching 1966c6d908 tici: toggle wwan when stuck registered
old-commit-hash: 38380612d5372b8e4949a50d3c7db9da840eea32
2021-06-23 12:40:21 +02:00
Willem Melching 88d0b253d9 tici: log stuck registered
old-commit-hash: 68e562454ed6f928134240d55789936929ee5968
2021-06-22 15:29:02 +02:00
Dean Lee abffb4db29 UI: refactor onboarding (#21223)
* refactor onboarding

* skip training guide if is dashcam

* apply review

* cleanup include

* move public ctro up

* slots is private

* cleanup headers

* set style sheet in onboardingwindow

* rebase master

* match ui

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 8781f586c573be5e93cbc43ef88d201bcbdc43c9
2021-06-18 16:01:22 -07:00
Adeeb Shihadeh 7cdcb7a52a log on startup if onroad flag set (#21150)
old-commit-hash: 96271f8bc3187711c5fd879a0a4048ff9e42e979
2021-06-04 22:04:26 -07:00
robbederks 5441d1f348 Add harness connection as requirement for powerdown (#21087)
* add harness connection as requirement for powerdown

* fix unittests
old-commit-hash: 4a24d389c47a6dff4f9524490355a852f701aaaf
2021-05-31 13:32:26 +02:00
Adeeb Shihadeh 4d33a71115 add athena last ping time to deviceState (#20961)
old-commit-hash: 4e17c0b01a70acd6df9fbe47689e299877f3cd77
2021-05-19 00:19:49 -07:00
Willem Melching 76f087e3d6 Also shutdown after one hour after not going onroad (#20949)
old-commit-hash: 147ffb1441fdcda3b605cf3e6744ad6cedfe6993
2021-05-18 15:35:02 +02:00
Adeeb Shihadeh 499fd0aed1 missing nvme is only offroad alert
old-commit-hash: 2cf7ee8ced65a9b34517ad9ba1f2caacd61b828e
2021-05-17 16:12:31 -07:00
Adeeb Shihadeh 29a2bef998 offroad alert for missing nvme (#20931)
* offroad alert for missing nvme

* remove that

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 313741062ea28a9d0601ff11399d20e9bd1a50bf
2021-05-17 13:35:24 -07:00
Willem Melching b3873f00a4 thermald: fetch more detailed network info (#20928)
old-commit-hash: f6cf350d3ad34fccef4e982af07cf95b5f96fe59
2021-05-17 13:10:08 +02:00
Willem Melching 2363927341 Change wwan power command (#20874)
old-commit-hash: 4ca0edda97444c8a811f9783d7ef3110227e367a
2021-05-11 16:58:45 +02:00
Adeeb Shihadeh 88434dc9e4 add CLEAR_ON_IGNITION param type (#20810)
old-commit-hash: b4447993c10b36628cb72b58dba8104c9060bb7f
2021-05-04 11:32:40 -07:00
Adeeb Shihadeh 9aa9d33f92 rate limit offroad mem logging
old-commit-hash: 8fb26b95e92620d3d3c6e5e94d6f7a97b35bbad7
2021-04-28 00:09:03 -07:00
Adeeb Shihadeh 13dbb65b98 clear scons cache more aggressively
old-commit-hash: 42af09b15b873981682b17e3145b59283a901981
2021-04-27 19:16:03 -07:00
Adeeb Shihadeh 8708cf5577 make memory usage cloudlog an event
old-commit-hash: 83e8ccb4ef7f26ae857ac3b0345bb51a15fecbe4
2021-04-27 11:27:43 -07:00
Adeeb Shihadeh ea01368644 log for high offroad memory usage
old-commit-hash: 4f02b4386caeb6868ea8704c2f4d0ef655b59779
2021-04-25 17:48:37 -07:00
George Hotz 26c0d9dd24 log /sys/kernel/debug/regulator/pm8994_s11/voltage (#20727)
old-commit-hash: b88aa6b57f635f2c0cd615b8b8e6b1999f5db092
2021-04-22 12:02:12 -07:00
robbederks 27f3e0f801 add lower limit to prevent triggering on power loss (#20720)
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 13a6e3c68f94d39890602acd6955ac9025e34498
2021-04-21 13:15:44 +02:00
Adeeb Shihadeh e5be410cd5 lte toggle (#20683)
old-commit-hash: 2eac604993530fab8e10d9d546bcbb7fe0c0374c
2021-04-14 21:19:06 -07:00
Adeeb Shihadeh 4fef6d01a6 tici power saving (#20644)
* start power saving

* set power save in thermald

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: b0bd1234455ab3c2ae15290fa42a6513df0c79b4
2021-04-12 01:40:58 -07:00
Adeeb Shihadeh 18a27c6b43 reduce STATUS_PACKET logging frequency to every 10 minutes
old-commit-hash: 14295e9203224710d3b1013314a7be8c496db96c
2021-04-08 22:50:11 -07:00
Willem Melching 8f4a445171 add putBool/getBool wrappers to cython params class (#20611)
* add putBool/getBool wrappers to cython class

* use new API

* some more puts

* fix mockparams arguments

* add get_bool to MockParams

* typo
old-commit-hash: ae094042ade44815fdba50196c15ba552bbf33d7
2021-04-07 15:36:37 +02:00
Willem Melching a77f55fad0 Remove oneplus fan support (#20520)
old-commit-hash: 2a5d8b6f74c996e86942b17f2330eb882d2d3c17
2021-03-29 14:37:52 -07:00
Willem Melching cd4b0b7e7a CPR3 logging only on C2
old-commit-hash: 611446edd4e193025729987e4638d19f89f5d824
2021-03-29 12:01:28 +02:00
Adeeb Shihadeh 4325858931 log cpr voltages (#20519)
old-commit-hash: f89818b2d9ffa1c906b635a01f8a31a43058e4de
2021-03-28 21:22:31 -07:00
Greg Hogan 183d9f98a1 log to file and send through athena (#20250)
* log to file and send through athena

* rename logging level

* pass thru log formatter

* logMessage is TEXT

* send queue always strings

* switch to xattr and lower priority queue

* enable cloud logging for devices

* time or size based log rotation

* basename -> dirname

* remove HARDWARE.get_cloudlog_enabled

* fix errors

* fix another exception

* xattrs need to be bytes

* sending works

* cleanup files at start

* add id and adjust formatting

* do not send active log file

* better names

* separate log formatters

* fix formatter super init

* fix log file order

* ensure file always has file formatter

* i see why there was no formatter

* apply same formatting to cpp log msgs

* apply same formatting to cpp log msgs

* update queue names in tests

* strip deprecated keys in STATUS_PACKET

* strip DEPRECATED from dict recursively

* athena log queue test

* instanceof instead of type

* isinstance instead of type

* use super

* remove logentries

* last_scan param unused

* comment about special log msg attr names

* add dict_helpers.py to release files

* use monotonic time and counter for log rotation

* update for adjusted log file naming

* use monotonic clock for tracking last log file scan
old-commit-hash: 3d48bd934d6c84a5352c2a1d56e6f93ed59e28c4
2021-03-25 13:30:09 -07:00
Willem Melching 192cb1c698 only do hardware supported check if PandaState is not None (#20385)
old-commit-hash: 0072f71fb417e85b326fa5c17f70e70a0f1bd60e
2021-03-17 14:19:55 +01:00
Adeeb Shihadeh e80ea20b34 only show EON charge alert on EONs
old-commit-hash: 8c207d3cd5be2f066af3bbd64857208a414b34f4
2021-03-08 17:00:58 -08:00
Adeeb Shihadeh 9df9ea6439 default this on
old-commit-hash: 167fa565c040fa7ccf8933dc6347c85865d66c32
2021-03-01 12:14:29 -08:00
Adeeb Shihadeh 2cf71c7751 add file to disable lte while onroad (#20163)
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: f7019a6a2c07675c2492f3105df4aef248d9e005
2021-02-25 21:10:10 -08:00
robbederks 2db03fdbe2 Turn up brightness a little when UI crashes (#20142)
* implement ui check and brightness set in thermald

* fix bugs

* only set once

* duh

* forgot factor for tici
old-commit-hash: 4c243da0194b8fcefb3c7cba3472fa983ccd7052
2021-02-24 15:25:06 +01:00
Greg Hogan 088a6d1c5b fix pylint errors
old-commit-hash: 7cc0999aebfe63b6bb6dd83c1dff62c3915c4820
2021-02-23 13:58:58 -08:00
robbederks 0f73681f8d Fix tici powerdown and add support for forcing (#20132)
* also shutdown on tici

* force powerdown

* bump panda

* abstract out shutdown and thermal config

* add comment on tici shutdown

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 8ad1c793d1c4fbb37d763b40750561ad3aca137e
2021-02-23 17:04:10 +01:00
Adeeb Shihadeh 35f9355fcc fix apk after cereal cleanup (#20098)
* actually a percent

* update apk

* update refs
old-commit-hash: f28673e8b50e6328bfc661fb70ae323aa3a57f29
2021-02-19 12:19:29 -08:00
Adeeb Shihadeh 05eb44115e cereal cleanup part 2 (#20092)
* car stuff

* thermal

* Revert "car stuff"

This reverts commit 77fd1c65ebd01abfa8493ae12c9e6b14f7ada976.

* panda state

* camera stuff

* start deg

* most is building

* builds

* planner + controls run

* fix up paramsd

* cleanup

* process replay passes

* fix webcam build

* camerad

* no more frame

* thermald

* ui

* paramsd

* camera replay

* fix long tests

* fix camerad tests

* maxSteeringAngle

* bump cereal

* more frame

* cereal master
old-commit-hash: 312b681a46b8153314a8420611b6479dd6f70dfc
2021-02-16 21:39:32 -08:00
Adeeb Shihadeh 829ab2dff3 fanSpeedRpmDesired -> fanSpeedPercentDesired
old-commit-hash: 4ace476f14bb73c354234c6bbedbc4ea0bf2d402
2021-02-11 17:00:26 -08:00
Adeeb Shihadeh af95c26b26 remove gpsd (#20027)
old-commit-hash: fe7f3f0ec6b66e42b26451e180e3cde241e749bb
2021-02-10 16:39:39 -08:00
Adeeb Shihadeh 966945880b Cereal cleanup (#20003)
* start cleanup

* fan speed

* cleanup dm

* fix cereal

* hwType -> pandaType

* update refs

* update refs

* bump cereal

* freeSpacePercent

* cereal master
old-commit-hash: 000bd226aa9902da01e6010bf26762fca2c20df0
2021-02-03 19:57:30 -08:00
Adeeb Shihadeh 02788f3a0e skip dashcam3 build for now
old-commit-hash: 449e60cb82626e772060389724898fe0b4842957
2021-02-01 21:14:02 -08:00
Adeeb Shihadeh 6a01983000 few fixes from LGTM
old-commit-hash: 758794dec5a886a8c3704d9e2ac191f8c208cc7e
2021-01-16 14:23:06 -08:00
Willem Melching bd9b1eb62f Fix battery voltage reading (#19699)
* tici: correct battery voltage

* read current

* use current too
old-commit-hash: 0cdb9e86583e4a7997a65bab0f785b2bf9311287
2021-01-08 17:21:58 +01:00
Adeeb Shihadeh 5bbe4f3d52 manager tests + make all processes exit cleanly (#19595)
* manager tests

* logcatd exits cleanly

* sigint

* boardd

* multiple dbus connections hangs for some reason

* clocksd proclogd

* network type from thermal

* fix tests

* fix android logcatd

* fix mac

* fix mac proclogd

* move on device athena tests

* build first

* build first

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: ffa7e0cbdb0859751685caae1321d3ccf732fed9
2020-12-29 22:32:03 -08:00