Adeeb Shihadeh
6590fb2b93
pre-commit: add codespell ( #25571 )
3 years ago
Willem Melching
b2c1098cd8
thermald: log modem data usage ( #25298 )
...
* thermald: log modem data usage
* add to deviceState
* add cast
* set refresh rate
* bump cereal
* cereal master
3 years ago
Robbe Derks
684d4b75a1
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>
3 years ago
Adeeb Shihadeh
1139fe507b
Move selfdrive/hardware/ to system/ ( #24725 )
...
* move hardware to system/
* fix mypy
3 years ago
Adeeb Shihadeh
5f00c6eca7
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).
3 years ago
Adeeb Shihadeh
4ef94a436f
affine aux panda IRQ to boardd core ( #24600 )
3 years ago
Adeeb Shihadeh
6a48a7acef
more comma two cleanup ( #24300 )
...
* more comma two cleanup
* fix up power monitoring
3 years ago
George Hotz
ed3be29bfa
no encoder throttle ( #24457 )
...
Co-authored-by: Comma Device <device@comma.ai>
3 years ago
Adeeb Shihadeh
59134c05d6
pandad: better handling of internal panda failures ( #23755 )
...
* reset internal panda
* recover
* internal dfu
Co-authored-by: Comma Device <device@comma.ai>
3 years ago
Adeeb Shihadeh
b88fb037ab
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>
3 years ago
Adeeb Shihadeh
c1388636a2
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>
3 years ago
Adeeb Shihadeh
cf6c0ef19a
tici IRQ tuning ( #24170 )
...
* first pass
* move that back
* move that
Co-authored-by: Comma Device <device@comma.ai>
3 years ago
Willem Melching
be35caca61
Log modem version and some NV values ( #24137 )
...
* add back modem version number logging
* tici only
* log nv
* make event
* str cast
3 years ago
Adeeb Shihadeh
aeb98b3937
bunch of gpu config ( #23932 )
...
Co-authored-by: Comma Device <device@comma.ai>
3 years ago
Adeeb Shihadeh
8af20af66d
pylint: enforce indentation (W0311) ( #24039 )
...
* pylint: enforce indentation (W0311)
* few more
3 years ago
Comma Device
03ac5bb4e3
cleanup tici_init in launch script
3 years ago
George Hotz
814741dafe
thermald: use named thermal zones ( #23936 )
...
* thermald: use named thermal zones
* remove print
* and for c2
Co-authored-by: Comma Device <device@comma.ai>
3 years ago
Willem Melching
da5a0c41a0
C3: detect metered Android hotspot ( #23734 )
...
* C3: detect metered networks
* show in ui
* fix text layout
* bump cereal
* revert ui changes
* set networkMetered
* add athena method
* add metered logging to uploader
* use in athena uploader
* remove param
* use networkmanager properties to set cell to unmetered
* fix indentation
* no need to check
* bump cereal
* review
* bump cereal
3 years ago
Willem Melching
0d099e07aa
athena: add suport for download bandwith setting ( #23727 )
...
* athena: add suport for download bandwith setting
* clean ingress rules
3 years ago
Willem Melching
4c406cdbe5
Add setUploadLimit method to athena ( #23693 )
...
* Add setUploadLimit method to athena
* add comments
* move to hw abstraction layer
* move to hw
* better errors
3 years ago
Willem Melching
3ce4976db7
thermald: track engaged state in param and kmsg ( #23478 )
...
* thermald: track engaged state in param
* write in kmsg
* format string
* move to python
3 years ago
Adeeb Shihadeh
c8e64b2c62
tici: higher cpu freq while offroad ( #23151 )
3 years ago
Adeeb Shihadeh
5e20a46db6
tici: use powersave CPU governor while offroad ( #23146 )
...
* tici: use powersave CPU governor while offroad
* fix path
3 years ago
George Hotz
6462ced209
thermald: track power usage / pmic temps ( #23013 )
...
Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
3 years ago
Willem Melching
14f0df0f22
modem.Command timeout is in seconds ( #22851 )
...
* modem.Command timeout is in seconds
* getting tempts needs longer timeout
4 years ago
Adeeb Shihadeh
d708b5b546
thermald: log screen brightness ( #22570 )
...
* thermald: log screen brightness
* bump cereal
4 years ago
Adeeb Shihadeh
493e32431c
only run get_nvme_temps on C3 ( #22464 )
...
* only run get_nvme_temps on C3
* temperatures
* fix imports
Co-authored-by: Comma Device <device@comma.ai>
4 years ago
Robbe Derks
6117c7ce81
Log modem temps on Tici ( #22281 )
...
* log max modem temp
* not sure what happened here
* fix this
* make modem temps a list
* this is not needed
Co-authored-by: Comma Device <device@comma.ai>
4 years ago
Adeeb Shihadeh
3193396969
tici: set amplifier config after exiting power save ( #21920 )
4 years ago
Willem Melching
a7aa22253b
Athena getNetworks method ( #21597 )
...
* add iwlist scan
* return using athena
* add lte
* add last one too
* unused
* add release files
* more compact
* typo
* remove debug code
* different file
* array
* rebase mistake
4 years ago
robbederks
cbae2899df
Tici: amplifier config ( #21596 )
...
* amplifier config on boot
* add to release
* another spot
* add debug when running separately
* rename for clarity
4 years ago
Willem Melching
45d4f8301b
hardware: only create dbus objects when needed ( #21576 )
...
* only create dbus objects when needed
* fix typo
* use cached_property
4 years ago
Willem Melching
fb8f0ac092
cloudlog modem version ( #21562 )
...
* log modem version
* whitespace
4 years ago
Willem Melching
ad7f0207ac
Log gpu usage ( #21404 )
...
* Log gpu usage
* 100 total
* bump cereal
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
4 years ago
Adeeb Shihadeh
050a89e598
tici: differentiate ethernet and tethering ( #21391 )
...
* differentiate ethernet
* fix tethering
* cleanup
Co-authored-by: Comma Device <device@comma.ai>
4 years ago
Willem Melching
7a8c7505d0
add modem state to NetworkInfo
4 years ago
Willem Melching
e8641f6430
Add engineering output to deviceState.networkInfo ( #20948 )
...
* Add engineering output to deviceState.networkInfo
* update cereal
4 years ago
Willem Melching
def141571c
get_network_info: check response length
4 years ago
Willem Melching
f6cf350d3a
thermald: fetch more detailed network info ( #20928 )
4 years ago
Adeeb Shihadeh
9edda6fbc1
tici: offline big cluster while offroad ( #20668 )
...
* tici: offline big cluster while offroad
* shuffling
Co-authored-by: Comma Device <device@comma.ai>
4 years ago
Adeeb Shihadeh
b0bd123445
tici power saving ( #20644 )
...
* start power saving
* set power save in thermald
Co-authored-by: Comma Device <device@comma.ai>
4 years ago
Adeeb Shihadeh
59ea5eade9
fix tici sound card check
4 years ago
Willem Melching
ff1cd3de1e
needs to be int
4 years ago
Willem Melching
0d02e85873
set brightness, catch exceptions
4 years ago
Willem Melching
0d635bd59d
tici fix ambient temperature zone
4 years ago
robbederks
4c243da019
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
4 years ago
robbederks
8ad1c793d1
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>
4 years ago
Adeeb Shihadeh
312b681a46
cereal cleanup part 2 ( #20092 )
...
* car stuff
* thermal
* Revert "car stuff"
This reverts commit 77fd1c65eb
.
* 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
4 years ago
Willem Melching
cf3cd54b68
Qt ui: set timeout on all dbus interfaces in wifiManager ( #20090 )
...
* set timeout on all dbus interfaces in network
* fix hardcoded timeout
* lower timeout in thermald
4 years ago
Adeeb Shihadeh
c9679222ae
add device type to clouglog ctx ( #19890 )
...
* add device type to clouglog ctx
* remove is_eon
* str
4 years ago