Adeeb Shihadeh
ffc40a2fd1
athena: cleanup unused methods
...
old-commit-hash: ea94a6d89f
1 year ago
Adeeb Shihadeh
48abc579b0
more esim config ( #30480 )
...
* load single conn
* high priority
---------
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 460d9af5b7
1 year ago
Adeeb Shihadeh
f627f0c12e
Revert "tici: use BASEDIR to lookup nm connection path"
...
This reverts commit 5f510c33072dd435f9cb3c42add3afa14cce1f53.
old-commit-hash: e6e073d099
1 year ago
Adeeb Shihadeh
8e8baa1347
tici: use BASEDIR to lookup nm connection path
...
old-commit-hash: 30ab9f8482
1 year ago
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
1 year ago
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
1 year ago
Adeeb Shihadeh
4ef0b3d717
tici: fix leftover APN config from AT&T ( #30458 )
...
old-commit-hash: cc32a6bf9f
1 year ago
Adeeb Shihadeh
c8bcace7c0
raise gpu clock ( #30358 )
...
* raise gpu clock
* update modeld power draw
old-commit-hash: 7bee13e2d1
2 years ago
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
2 years ago
Justin Newberry
c4f322ce2d
Linter: remove pylint ( #29611 )
...
remove pylint
old-commit-hash: 1ee6ed4b16
2 years ago
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 db5e13b991
.
* fix pm test
old-commit-hash: a9626f95b6
2 years ago
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
2 years ago
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
2 years ago
Adeeb Shihadeh
3dfd770fb0
tici: speedup power save setting ( #29100 )
...
* speedup
* update type
---------
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: d92c9aef23
2 years ago
Adeeb Shihadeh
b968ab8015
tici: let gpu sleep sooner ( #28698 )
...
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: d4bd0a3213
2 years ago
Adeeb Shihadeh
ee363d69e3
fix a bunch of python warnings ( #28576 )
...
* fix a bunch of python warnings
* fix that
old-commit-hash: 111b4eee30
2 years ago
Adeeb Shihadeh
a82cf8d494
AGNOS 7 ( #26908 )
...
* agnos 7
* no caibx
* new build
* agnos 7.1
* prod manifest
old-commit-hash: 951bab8e18
2 years ago
Robbe Derks
51576bdd30
Dynamic device type ( #28011 )
...
* tizi_device_type
* fix test
* also change it in the C versin
old-commit-hash: 21bcd7db63
2 years ago
Adeeb Shihadeh
a6f06fc98c
pandad: support GPIO recovery when in bootstub ( #28090 )
...
pandad: recover when in bootstub
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 8a6312ef14
2 years ago
Adeeb Shihadeh
29eb4d3a35
pandad: wait for internal panda to come up ( #27705 )
...
* pandad: wait for internal panda to come up
* test
* more checks
old-commit-hash: f832a71038
2 years ago
Adeeb Shihadeh
9ab3f160fb
tizi: enable fan for shutdown ( #27890 )
...
* tizi: enable fan for shutdown
* Update system/hardware/tici/hardware.py
---------
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 8f1753aaab
2 years ago
Adeeb Shihadeh
119c910a36
tizi: only affine panda USB IRQ when it's used ( #27816 )
...
only affine panda USB IRQ when it's used
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: fdb3488f6b
2 years ago
Adeeb Shihadeh
3d9dfbf2bd
tizi: affine IRQ by action instead of number ( #27811 )
...
* tizi: affine IRQ by action instead of number
* do camera irqs
* debug script
---------
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 038d34aa7f
2 years ago
Adeeb Shihadeh
aa5aeb3ba3
tici: turn off fan after boot ( #27680 )
...
* tici: turn off fan after boot
* tmp if
---------
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: c25ce02639
2 years ago
Adeeb Shihadeh
4641431306
tici: remove hardcoded max brightness ( #26859 )
...
* tici: remove hardcoded max brightness
* fix that one
* cleanup
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 922bedaf47
2 years ago
Adeeb Shihadeh
82a91d59c4
alt amp config ( #26858 )
...
* alt amp config
* fix
* not executable
* comment
* consistency
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 3d44b6b3ac
2 years ago
Shane Smiskol
16859211f5
micd: revert check playing sound (high cpu usage) ( #26672 )
...
* don't use hardware
* check micd proc
* use pactl package
* cleanup
* Revert "cleanup"
This reverts commit baf9887e2d
.
* Revert "use pactl package"
This reverts commit 0c1f3a4b86
.
* Revert "micd: don't update filtered sound level if playing sound (#26652 )"
This reverts commit 6703f6fa0297ad587ce80fcf1af432c402ba4e7e.
* Revert "check micd proc"
This reverts commit 9ebbe2aa42
.
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
old-commit-hash: 060b69ee2f
2 years ago
Cameron Clough
8242a86d96
micd: don't update filtered sound level if playing sound ( #26652 )
...
* add is_sound_playing to hardware.py
* micd: don't update filtered sound level if playing sound
old-commit-hash: 86cd919a57
2 years ago
Adeeb Shihadeh
5bf27eff97
spi goes on boardd core
...
old-commit-hash: 4478241bea
2 years ago
Adeeb Shihadeh
d87ea66802
agnos 6.2 ( #26441 )
...
* agnos 6.2
* staging manifest
* production
old-commit-hash: b549e8174e
2 years ago
Adeeb Shihadeh
461206de1c
boardd: SPI support ( #26374 )
...
* spi handle
* put usb back
* handle eintr
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 8ba9a5107b
3 years ago
Adeeb Shihadeh
c31c77668f
safer modem manager commands ( #25999 )
...
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 1f5187892f
3 years ago
Adeeb Shihadeh
a8a9f16845
agnos 6 ( #25864 )
...
* agnos 6
* new agnos
* no casync for now
old-commit-hash: dc65f8a60a
3 years ago
Willem Melching
7451db46cf
sensord: use interrupts to improve LSM6DS3 timing accuracy ( #24525 )
...
* change LSM6DS3TR(-c) gyroscope and accelerometer to interrupt
* add pthread for linking
* add interrupt collector thread to fetch in parallel to non interrupt based sensors
* change get_event interface to return true on successful read
* fetch sensor interrupts via gpiochip
* avoid sending empty messages (interrupt only, non interupt magn can leave a gap in the orphan block)
* add verifier script to sensor interrupts (sensor_data_to_hist.py)
* add/update sensord testsweet (test_sensord.py)
* add poll timed out check
* unexport interrupt gpio pins
* gpiochip on both edges, but skip falling edge if rising edge is detected, this is handled in the sensor as the status flag is checked if new data is availble
* add test to sensord to verify 100Hz interrupt frequency
* add sensor shutdown/low power mode functionality on sensord exit
* relax test, will be readded in the splitup PR
Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
old-commit-hash: 84a3c355e5
3 years ago
Adeeb Shihadeh
caac56b92e
USB power mode cleanup ( #25619 )
...
* first pass at usb power mode cleanup
* fix build
* a sneaky one
* little more
* fix build
* bump pnada
* remove that
* power monitoring cleanup
* fix tests
* bump submodules
old-commit-hash: 28cb1897cb
3 years ago
Adeeb Shihadeh
35ff65121e
pre-commit: add codespell ( #25571 )
...
old-commit-hash: 6590fb2b93
3 years ago
Willem Melching
8b39650d99
thermald: log modem data usage ( #25298 )
...
* thermald: log modem data usage
* add to deviceState
* add cast
* set refresh rate
* bump cereal
* cereal master
old-commit-hash: b2c1098cd8
3 years ago
Robbe Derks
a6efa2c7d3
Log SOM power draw ( #24975 )
...
* log SOM power draw
* bump cereal
Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 684d4b75a1
3 years ago
Adeeb Shihadeh
9a45a3b99b
Move selfdrive/hardware/ to system/ ( #24725 )
...
* move hardware to system/
* fix mypy
old-commit-hash: 1139fe507b
3 years ago
Adeeb Shihadeh
b9453b2280
tici: always configure modem as data-centric ( #24663 )
...
According to the Quectel docs, this is how it should be configured
for both AT&T and T-Mobile (and likely any other carriers).
old-commit-hash: 5f00c6eca7
3 years ago
Adeeb Shihadeh
18a2f8dfed
affine aux panda IRQ to boardd core ( #24600 )
...
old-commit-hash: 4ef94a436f
3 years ago
Adeeb Shihadeh
5659b6e6ce
more comma two cleanup ( #24300 )
...
* more comma two cleanup
* fix up power monitoring
old-commit-hash: 6a48a7acef
3 years ago
George Hotz
7ebca5b349
no encoder throttle ( #24457 )
...
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: ed3be29bfa
3 years ago
Adeeb Shihadeh
1056784a95
pandad: better handling of internal panda failures ( #23755 )
...
* reset internal panda
* recover
* internal dfu
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 59134c05d6
3 years ago
Adeeb Shihadeh
4fa266c035
tici downclock ( #24088 )
...
* tici downclock
* fix that
* gp ref
* lower that a bit
* that was a scam
* perf
* update power
* increase that
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: b88fb037ab
3 years ago
Adeeb Shihadeh
ad8e58c250
comma three: correctly set initial EPS bearer settings for AT&T sim cards ( #24175 )
...
* 3g sunset
* only for blue prime
* pass
* full att code
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: c1388636a2
3 years ago
Adeeb Shihadeh
9ce9e38cf7
tici IRQ tuning ( #24170 )
...
* first pass
* move that back
* move that
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: cf6c0ef19a
3 years ago
Willem Melching
9cd2f5a7a3
Log modem version and some NV values ( #24137 )
...
* add back modem version number logging
* tici only
* log nv
* make event
* str cast
old-commit-hash: be35caca61
3 years ago
Adeeb Shihadeh
c00256ca1d
bunch of gpu config ( #23932 )
...
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: aeb98b3937
3 years ago
Adeeb Shihadeh
bd71c594a2
pylint: enforce indentation (W0311) ( #24039 )
...
* pylint: enforce indentation (W0311)
* few more
old-commit-hash: 8af20af66d
3 years ago