Commit Graph

21 Commits

Author SHA1 Message Date
85595a8d4c tool: Add a system76_ec command to disable input events
For testing Launch keyboards.

Could easily support in EC firmware as well if we had a use for that,
but not adding that for now.
2021-11-18 13:08:05 -08:00
43e5cf4ba3 Fix or silence clippy warnings on nightly
Fix:
- dead_code
- clippy::if_then_panic
- clippy::manual_memcpy
- clippy::needless_borrow

Silence:
- clippy::missing_safety_doc
- clippy::needless_range_loop
- clippy::single_match

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2021-10-26 11:35:48 -06:00
0017450cbb Add LED_SAVE command 2021-03-16 10:33:46 -06:00
aab45bfcc1 Add layer parameter for LED_GET_MODE and LED_SET_MODE commands 2021-03-04 13:52:25 -07:00
2ef4cd7bbd Add matrix command 2021-03-01 11:50:31 -07:00
b11bc64bba tool: API and CLI for LED matrix mode 2021-02-26 12:18:02 -07:00
3e154d7f00 Add missing SPDX identifiers 2021-02-22 14:02:18 -07:00
2768925ec6 tool: Support downcasting generic Ec
Removes the `impl Access for &mut dyn Access` I added earlier. But that
hasn't proven too useful.
2021-02-22 08:08:49 -07:00
0c1584385c tool: Support for owned and unowned generic Ec 2021-02-22 08:08:49 -07:00
304e7534c9 Add led value and color commands 2021-01-15 08:34:31 -07:00
b2aa7ba975 ectool 0.2.2: Use buffer to improve SPI performance 2020-10-06 09:31:34 -07:00
eff4caa752 Refactor SMFI interface and ectool 2020-10-01 19:35:34 -07:00
de26cdfa74 Commands for reading and setting keyboard map 2020-09-29 19:42:05 -06:00
a8b38d6b37 tool: 0.1.3 - add backup ROM flashing 2020-04-06 16:39:40 -06:00
62a909ee81 Improve fan curve
- Implement fan cooldown and heatup periods
- Add fan get/set commands
- Fix compilation with logging level lower than debug
2020-04-04 07:30:05 -06:00
25a60568d0 Add print command 2020-03-14 21:13:07 -06:00
68b9acd249 Add ability to flash backup rom 2020-02-26 13:43:31 -07:00
657437e1ce Faster flashing with SMFI (#32)
* WIP: support for new flashing API

* Add SPI flashing support to tool

* Add timeouts when flashing with ectool

* Test SPI reading

* Use chunks for SPI commands

* Sanity test of flash size

* Read rom in sectors

* Relocate memmap region, remove PMC3

* Use ectool to flash

* Remove debugging of spi command

* Fix flashing over smfi
2020-02-26 09:04:40 -07:00
369a695bd9 Add timeout macro to simplify timeout logic 2020-02-20 21:09:10 -07:00
346775b941 Fix ectool command_finish 2020-02-20 15:01:40 -07:00
08490002b9 Add tool (WIP) 2020-02-20 14:20:16 -07:00