Commit Graph

78 Commits

Author SHA1 Message Date
Sebastian Czapla ba5a858034 tool/src/main.rs: Allow non utf8 arguments within fan subcmd
Signed-off-by: Sebastian Czapla <sebastian.czapla@3mdeb.com>
2024-12-13 11:43:41 +01:00
Michał Kopeć 4ae73b9d2c tool/src/access/lpc/linux.rs: add real Dasharo ACPI ID
Signed-off-by: Michał Kopeć <michal.kopec@3mdeb.com>
2024-07-17 11:20:21 +02:00
Michał Kopeć 58b5c79c63 tool: update description
Signed-off-by: Michał Kopeć <michal.kopec@3mdeb.com>
2023-11-20 16:20:00 +01:00
Michał Kopeć 411fab9b7c rebrand tool to dasharo_ectool
Signed-off-by: Michał Kopeć <michal.kopec@3mdeb.com>
2023-11-17 18:31:14 +01:00
Maciej Pijanowski 3e8d2cbe8b tree-wide: fix typos from codespell
Signed-off-by: Maciej Pijanowski <maciej.pijanowski@3mdeb.com>
2023-09-20 11:19:47 +02:00
Artur Kowalski 97702103bf Add --force option
This option can be used to bypass board check when flashing EC firmware.
2023-06-14 14:06:23 +02:00
Jeremy Soller 4a1e0a5aa8 Add optional EC security state and documentation 2023-04-03 13:06:16 -06:00
Tim Crawford 1046dd7aec Update Rust toolchain to 2023-01-21
Update the toolchain and deps, and use the sparse registry access.

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2023-02-18 06:28:21 -07:00
Tim Crawford a8e37276e9 tool: Disable default features of redox-hwio
Fixes using as a dependency in no-std environments.

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2022-12-20 13:41:02 -07:00
Tim Crawford 1019878e3c tool: Update dependencies
clap is only updated to 3.2 instead of 4.0 because I didn't want to deal
with all the changes.

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2022-11-30 08:39:16 -07:00
13r0ck be5d34dc0d Add other launch keyboards 2022-11-01 16:22:11 -06:00
Tim Crawford 5780bb5e83 Update Rust toolchain to 2022-03-18
Match the toolchain used by Redox.

Update dependencies and submodules to fix building.

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2022-04-04 18:59:20 -06:00
Ian Douglas Scott ab0c55fae2 ectool 0.3.8 2021-11-19 13:32:00 -08:00
Ian Douglas Scott 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
Jeremy Soller d9ce247a15 ectool: update lock file 2021-11-17 18:27:11 -07:00
Jeremy Soller 95632b4503 ectool: use linux-shared-hidraw feature for hidapi 2021-11-17 18:26:26 -07:00
Tim Crawford 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
Tim Crawford 975377af42 Update Rust toolchain to 2021-06-15
Update toolchain to match the version used in Redox.

Update dependencies to fix build.

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2021-10-26 11:35:48 -06:00
Ian Douglas Scott 55523d4083 ectool 0.3.6 2021-04-13 11:04:51 -06:00
Ian Douglas Scott 84d5c6b79d tool: Make Access require Send and 'static
This allows the Configurator to send a `Ec<Box<dyn Access>>` through a
channel to a background thread. This could be done differently, but
presumably there's no reason to have an `Access` implementation this
doesn't apply to.
2021-04-13 11:04:51 -06:00
Jeremy Soller 61428bd198 ectool 0.3.5 2021-03-16 10:33:46 -06:00
Jeremy Soller 0017450cbb Add LED_SAVE command 2021-03-16 10:33:46 -06:00
Jeremy Soller 91d128f0a0 ectool 0.3.4 2021-03-04 13:52:25 -07:00
Jeremy Soller aab45bfcc1 Add layer parameter for LED_GET_MODE and LED_SET_MODE commands 2021-03-04 13:52:25 -07:00
Ian Douglas Scott 301eef6f21 tool: Fix and CI test with redox_hwio 2021-03-04 13:51:19 -07:00