4ba943e3df
oryp7
2021-02-22 10:05:52 -07:00
230d7f10b1
Add CI using GitHub Actions
2021-02-22 09:04:50 -07:00
55b6256ed6
Add script for installing dependencies
2021-02-22 09:04:50 -07:00
2ac214352b
Move scripts from top-level to scripts/
2021-02-22 09:04:50 -07:00
71f0f1e181
ectool 0.3.0
...
Crates depending on both ectool and hidapi will have to disable hidapi's
default features (annoyingly) or it will fail to compile saying only one
backend should be enabled.
2021-02-22 08:08:49 -07:00
e30779ab8d
tool: Accesor method for HidDevice
2021-02-22 08:08:49 -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
171257916c
tool: CLI for color/brightness
2021-02-22 08:08:49 -07:00
49b79f665b
tool: Add --access
argument to work with sim or hid
2021-02-22 08:08:49 -07:00
7c5ba4e62c
tool: Use clap
for argument parsing
2021-02-22 08:08:49 -07:00
504284bf72
tool: Move read_debug
to trait so generic code can use it
...
Returns error for backends that don't support it.
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
f4458aebca
tool: Use hidraw backend of hidapi
...
The default libusb backend just returns the string "hid_error is not
implemented yet" for all errors, while the hidraw backend at least gives
something correct if vague.
I'm not aware of any disadvantage other that not being (properly)
supported with really ancient kernels. It seems to work fine.
2021-02-22 08:08:49 -07:00
791b3224f9
docs: Explicitly mention to use a USB cable
...
Replace the vague step about grounding with one that says to connect a
USB cable and explain its purpose.
2021-02-18 08:37:53 -07:00
18ec0eb694
Increase keyboard scanning delay to eliminate darp7 scanning issues
2021-02-05 09:52:24 -07:00
3a9665a753
lemp10: Set DPWROK low on EC reset to ensure PCH reset
2021-02-04 09:14:38 -07:00
12a9ac8d84
ectool 0.2.3
2021-01-15 08:34:31 -07:00
304e7534c9
Add led value and color commands
2021-01-15 08:34:31 -07:00
5bab59a526
Do not duplicate kbled support. Add kbled_max and kbled_get_color functions
2021-01-15 08:34:31 -07:00
9309efb3e0
Use BIT macros
2021-01-05 12:17:16 -07:00
47c1062e08
Add SPDX headers
2021-01-05 12:17:16 -07:00
7f4a837bcf
Add system76/darp7
2021-01-05 12:17:16 -07:00
fbaea59b46
Add system76/galp5
2021-01-05 12:17:16 -07:00
8f340d6164
Add system76/lemp10
2021-01-05 12:17:16 -07:00
b156d18bc2
system76/common: Add OZ26786 charger
2021-01-05 12:17:16 -07:00
fb6355f907
system76/common: Move touchpad handling to kbc_event
2021-01-05 12:17:16 -07:00
31a908556b
system76/common/kbc: Refactor to remove delays and improve readability
2021-01-05 12:17:16 -07:00
5559d4e2f6
system76/common: Switch to pmc_swi for wake events
2021-01-05 12:17:16 -07:00
3f41cd6ab3
system76/common/pmc: Refactor to improve readability and support ESPI
2021-01-05 12:17:16 -07:00
99a0d6861f
system76/common/power: Fix spurious power button enable
2021-01-05 12:17:16 -07:00
c7827e4a7c
system76/common/power: Support for ESPI
2021-01-05 12:17:16 -07:00
c3fa2a27a7
system76/common/peci.c: Do not use PECI when in C10 state and using ESPI
2021-01-05 12:17:16 -07:00
0595ba2b16
system76/common: Adjust KBC interrupts when using ESPI
2021-01-05 12:17:16 -07:00
6da7a48e16
system76/common: Make acpi_read and acpi_write TRACE instead of DEBUG
2021-01-05 12:17:16 -07:00
515c7495c1
ec/it5570/gpio.h: Add GCR21 register
2021-01-05 12:17:16 -07:00
e4e7f89a67
system76/common: Add battery abstraction
2021-01-05 12:17:16 -07:00
4de18eba93
common/macro.h: Add BIT macro
2021-01-05 12:17:16 -07:00
b0c196d4b9
ec/it*: Add ESPI definitions
2021-01-05 12:17:16 -07:00
87e16205d6
ec/it*/kbc.c: kbc_wait delay is now in microseconds
2021-01-05 12:17:16 -07:00
932dbe8e71
mega2560/parallel.c: return immediately when perif cycle not ready
2021-01-05 12:17:16 -07:00
f0c129c9f1
power.sh: Only show battery information if battery exists
2021-01-05 12:17:16 -07:00
c40dd06da6
Update ecsim and ecspy
2021-01-05 12:17:16 -07:00
42f1b4863f
Add AccessLpcSim for communicating with ecsim
...
Probably the duplicated logic in `access/lpc/*` should be factored out
in some way, but it's a bit awkward to do so without defining a trait
that would be part of the public API...
2020-12-08 13:46:35 -07:00
802bf417cc
tool: Use From<T> for slightly neater error handling
2020-12-08 13:46:35 -07:00
43d31ca0c3
Add Custom Valentin French ISO Layout definition
...
Move some keys, and make the French ISO Layout working with the System76 EC.
This layout is working with the Venus PW55. (Clevo L140CU based model)
2020-12-08 13:44:45 -07:00
5c4f9b6c8b
Sort object files
...
ROMs produced of Pop!_OS 20.10 and Fedora 33 with SDCC 4.0.0 cause
uecflash to crash after verifying the block write, leaving the system
unbootable until all power is removed to force an EC reset.
Sorting object files appears to resolve this issue, creates a smaller
binary (~200 bytes from 20.04), and gives up more reproducible builds.
2020-12-08 13:43:40 -07:00
2a56a82164
Add instructions for using released firmware version.
...
This should hopefully help people avoid issues like #132
2020-12-06 08:03:07 -07:00
29034569c8
oryp6: Fix smart charger values
2020-10-19 13:02:14 -06:00
5200397bba
Fix compilation on AVR
...
The __reentrant keyword introduced in common code is for SDCC.
2020-10-15 19:25:20 -06:00
aeaad74dd0
galp4: Add numpad keys to Fn layer
...
Fn must be held to use the numpad, regardless of the state of NumLock.
This differs from the proprietary EC, which swaps the numpad and letters
when NumLock is enabled.
The OS determines if the numpad is used as navigation keys or number
keys, depending on the state of NumLock.
2020-10-08 10:35:48 -06:00