Commit Graph

72 Commits

Author SHA1 Message Date
Adeeb Shihadeh
63e7a0ca15 Revert "feat: remove esim.nmconnection, use AGNOS lte conn (#35389)"
This reverts commit 255b606fe4.
2025-06-06 13:09:09 -07:00
Adeeb Shihadeh
2f80854644 sensord: rewrite in Python (#35353)
* py sensord

* fix up mmc

* temp

* port over accel

* lil more

* kinda works

* rm that

* gpiochip

* mostly there

* lil more

* lil more

* irq timestamps

* fix ts

* fix double deg2rad

* test passes

* fix up mypy

* rm one more

* exception

* lint:

* read in all events

* bump that

* get under budget:

* accel self test

* gyro self-test

* keep these readable

* give it more cores

* debug

* valid

* rewrite that

---------

Co-authored-by: Comma Device <device@comma.ai>
2025-05-30 13:31:07 -07:00
Trey Moen
255b606fe4 feat: remove esim.nmconnection, use AGNOS lte conn (#35389)
* feat: remove esim.nmconnection, use AGNOS lte conn

* unused

* remove old
2025-05-30 10:54:07 -07:00
Trey Moen
993b1b4d88 refactor: LPA interface, CLI location (#35328)
* refactor: LPABase, simpler switch() interface

* leave this since LPABase hides

* hw-agnostic esim.py

* newline

* use latest
2025-05-25 08:54:07 -07:00
Maxime Desroches
3fd05d2ace more robust modem 2025-05-13 21:05:17 -07:00
Shane Smiskol
db855d56d3 Log Hexagon DSP temperature (#35166)
* add hexagon dsp temp

* log

* whoops
2025-05-09 15:18:52 -07:00
Cameron Clough
196848c023 ui(raylib): set display power and brightness on init (#35060)
* add set_display_power to hardware.py

* set display power and brightness on app init
2025-04-24 15:55:15 +01:00
Adeeb Shihadeh
958c8d1ce3 Beautiful camera timings (#34558)
* the start of something beautiful

* mv that

* cleanup

* cleanup output

* the good stuff

---------

Co-authored-by: Comma Device <device@comma.ai>
2025-02-14 21:33:50 -08:00
Adeeb Shihadeh
c4ee645fbc tici: move kgsl affinity to modeld core (#34588) 2025-02-14 19:35:43 -08:00
Adeeb Shihadeh
6ec5d82a29 tici: affine ICP IRQ to camerad core (#34571) 2025-02-11 19:20:35 -08:00
Adeeb Shihadeh
cc14903137 strip output on sudo_read 2025-02-01 12:48:04 -08:00
Adeeb Shihadeh
8f8f185a95 sensord: add new config (#34442)
* sensord: add new config

* fix mypy
2025-01-21 16:26:13 -08:00
Adeeb Shihadeh
b2930682ff tici: only write eSIM connection once 2024-12-16 14:41:36 -08:00
Adeeb Shihadeh
ed222d04c9 tici: reduce AT commands on startup 2024-12-07 15:10:16 -08:00
Adeeb Shihadeh
2e9540d2b1 system/hardware: refactor thermal config (#34177)
* system/hardware: refactor thermal config

* fix

* fixup

---------

Co-authored-by: Comma Device <device@comma.ai>
2024-12-07 15:03:30 -08:00
Adeeb Shihadeh
34d62836fe hw: add fan intake and exhaust temps (#34156)
* hw: add fan intake and exhaust temps

* remove bat

---------

Co-authored-by: Comma Device <device@comma.ai>
2024-12-04 19:24:21 -08:00
commaci-public
c6e4241bad [bot] Update Python packages (#34140)
* Update Python packages

* pin

* fstring

* this too

---------

Co-authored-by: Vehicle Researcher <user@comma.ai>
Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com>
2024-12-04 15:34:54 -08:00
Adeeb Shihadeh
00c964abfb tici: more modem config (#34110)
* tici: more modem config

* separate those

---------

Co-authored-by: Comma Device <device@comma.ai>
2024-11-26 13:33:17 -08:00
Adeeb Shihadeh
670cf27f8e tici: modem cleanups (#34071)
* tici: modem cleanups

* rm that

---------

Co-authored-by: Comma Device <device@comma.ai>
2024-11-20 16:01:48 -08:00
Adeeb Shihadeh
6e8e51793e tici: disable cavli sim sleep 2024-11-05 17:37:07 -08:00
Adeeb Shihadeh
7150c145ae selfdrived: remove redundant sound card check (#33767)
rm
2024-10-11 09:30:53 -07:00
Adeeb Shihadeh
87b30b2911 tici: max GPU power (#33650) 2024-09-25 11:01:57 -07:00
Adeeb Shihadeh
acdbe2440f tici: set STM_BOOT0 in reset (#33015)
* tici: reset panda boot0

* ooops
old-commit-hash: 560e37cd83
2024-07-18 18:48:54 -07:00
Adeeb Shihadeh
30c41788dc thermald is hardwared (#32637)
* thermald is deviced

* hardwared

* rename
old-commit-hash: 51fdf23304
2024-06-05 15:58:00 -07:00
Adeeb Shihadeh
389daf4018 pandad: move to core 3 (#32402)
* move to core 3

* core is fully offlined now

* move to init

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 7b09285817
2024-06-05 14:50:25 -07:00
Adeeb Shihadeh
2c6829ed67 boardd is pandad (#32628)
* boardd is pandad

* rename tests
old-commit-hash: 34e329649d
2024-06-04 19:16:55 -07:00
Adeeb Shihadeh
098f5943d0 update cavli config
old-commit-hash: 06ab3de4de
2024-03-08 14:11:08 -08:00
Adeeb Shihadeh
c6159f99cd tici: enable SIM hot swap (#31680)
* tici: enable SIM hot swap

* only tizi

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: a38a5e8bb4
2024-03-01 17:24:22 -08:00
Comma Device
646861b75a no amp
old-commit-hash: 9616b3f717
2024-03-01 15:32:33 -08:00
Adeeb Shihadeh
5e81beb77e remove deviceState.ambientTempC (#31533)
old-commit-hash: 0b4d08fab8
2024-02-21 13:57:49 -08:00
Adeeb Shihadeh
973de5710a add cavli modem config (#31297)
* add cavli modem config

* fix linter

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: a094179b4d
2024-02-04 14:26:03 -08:00
Adeeb Shihadeh
269fbedbcb cleanup old params (#31039)
* cleanup old params

* one more
old-commit-hash: 7ce29ef08e
2024-01-17 14:42:07 -08:00
Adeeb Shihadeh
e905a35467 tici: check that peripherals are fully booted (#30942)
* tici: check that peripherals are fully booted

* default

* typo

* fix

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 5f191321fd
2024-01-08 15:09:38 -08:00
Adeeb Shihadeh
ffc40a2fd1 athena: cleanup unused methods
old-commit-hash: ea94a6d89f
2023-12-13 20:27:54 -08:00
Adeeb Shihadeh
48abc579b0 more esim config (#30480)
* load single conn

* high priority

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 460d9af5b7
2023-11-16 19:12:36 -08:00
Adeeb Shihadeh
f627f0c12e Revert "tici: use BASEDIR to lookup nm connection path"
This reverts commit 5f510c33072dd435f9cb3c42add3afa14cce1f53.

old-commit-hash: e6e073d099
2023-11-16 14:20:55 -08:00
Adeeb Shihadeh
8e8baa1347 tici: use BASEDIR to lookup nm connection path
old-commit-hash: 30ab9f8482
2023-11-16 14:19:02 -08:00
Justin Newberry
decf24d775 thermald: recover from modemmanager restart (#30464)
* test modem recovery

* static analysis

* also test lte reload

* this should just be try catched as well

* maybe we can find a better way than this

* rm the test

* make it clear

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: f99939426f
2023-11-14 16:57:34 -08:00
Adeeb Shihadeh
a05327ad9e new sim connection settings (#30457)
* new sim connection settings

* fix att conflict

* sim id

* clenaup

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: e323191299
2023-11-13 21:38:22 -08:00
Adeeb Shihadeh
4ef0b3d717 tici: fix leftover APN config from AT&T (#30458)
old-commit-hash: cc32a6bf9f
2023-11-13 21:33:22 -08:00
Adeeb Shihadeh
c8bcace7c0 raise gpu clock (#30358)
* raise gpu clock

* update modeld power draw
old-commit-hash: 7bee13e2d1
2023-11-01 14:48:49 -07:00
Adeeb Shihadeh
26c7c08982 pandad: recover from bad bootstub (#29638)
* pandad: recover from bad bootstub

* more

* adjust that

* ugh guess multipanda is still a thing

* reset

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 683b3b5966
2023-08-25 17:03:00 -07:00
Justin Newberry
c4f322ce2d Linter: remove pylint (#29611)
remove pylint
old-commit-hash: 1ee6ed4b16
2023-08-24 16:30:54 -07:00
Adeeb Shihadeh
16ec56398c add openpilot prefix to imports (#29498)
* add openpilot prefix to imports

* more

* more

* fix docs

* fix linter

* bump submodules

* fix patched tests

* update dynamic imports

* debug

* Revert "debug"

This reverts commit db5e13b9911cc74438bee123bc3430da6c31b24b.

* fix pm test
old-commit-hash: a9626f95b6
2023-08-20 20:49:55 -07:00
Justin Newberry
d487c0501f Ruff: enable most of bugbear (#29320)
* added mutable default args

* most of the Bs

* add comment about lrucache
old-commit-hash: 62c1e65924
2023-08-11 15:33:49 -07:00
Justin Newberry
7b677910df Linter: Fix >160 line length test (#29287)
* test

* fix line length

* fix line length

* fix file size

* revert poetry

* cleanup for PR
old-commit-hash: cf64b27168
2023-08-08 17:13:35 -07:00
Adeeb Shihadeh
3dfd770fb0 tici: speedup power save setting (#29100)
* speedup

* update type

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: d92c9aef23
2023-07-22 17:15:58 -07:00
Adeeb Shihadeh
b968ab8015 tici: let gpu sleep sooner (#28698)
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: d4bd0a3213
2023-06-25 19:05:58 -07:00
Adeeb Shihadeh
ee363d69e3 fix a bunch of python warnings (#28576)
* fix a bunch of python warnings

* fix that
old-commit-hash: 111b4eee30
2023-06-16 13:22:30 -07:00
Adeeb Shihadeh
a82cf8d494 AGNOS 7 (#26908)
* agnos 7

* no caibx

* new build

* agnos 7.1

* prod manifest
old-commit-hash: 951bab8e18
2023-05-12 17:22:09 -07:00