Commit Graph

853 Commits

Author SHA1 Message Date
7d558479a3 Improve keyboard layout customization doc 2020-06-26 16:37:34 -06:00
f42b9d0955 Test for programmer being plugged in 2020-06-26 07:50:33 -06:00
8009208760 Only consider 0x40 response as valid 2020-06-25 11:37:48 -06:00
72755c81e4 Use BUF_PLT_RST_N to trigger setting power limits again 2020-06-25 11:34:41 -06:00
43b5e3a451 Add more to the keyboard customization doc (still a WIP) 2020-06-24 20:49:38 -06:00
3c2d1690df Add my layout, enable media next/prev hotkeys, and start doc 2020-06-24 20:14:29 -06:00
669f25e71a oryp6: Move fan curve down 5 degrees 2020-06-24 17:43:39 -06:00
4f98e5582d Set DGPU fan curves for each DGPU model 2020-06-24 17:43:39 -06:00
42e88d03b3 Move most code in system76 boards into system76/common 2020-06-24 17:43:39 -06:00
185459b031 oryp6: decrease GPU fan heatup and increase cooldown 2020-06-24 10:45:19 -06:00
1a8e1529cc oryp6: more aggressive fan curve 2020-06-24 09:16:41 -06:00
0ba1276f96 oryp6: fix battery LEDs 2020-06-24 09:16:14 -06:00
4a291fb3a3 oryp6: retry setting power limit on failure 2020-06-24 09:15:48 -06:00
35dd23091e system76/common/peci.c: allow board overrides 2020-06-24 09:14:50 -06:00
fc990f8043 oryp6: Use a battery current of 0 to determine that battery is fully charged 2020-06-24 08:17:15 -06:00
c9a602c5af oryp6: Do not invert full battery light 2020-06-23 09:14:44 -06:00
1c04c6aa39 oryp6: Invert battery leds 2020-06-23 09:09:54 -06:00
84275cd3ba readme: Add it5570e as a supported controller 2020-06-19 15:26:55 -06:00
3c8e511018 docs: debugging: Use console_external command 2020-06-19 15:26:55 -06:00
7c125e8ee0 Remove document for proprietary flasher
We now use an Arduino Mega2560 for ISP, with sources provided.
2020-06-19 15:26:55 -06:00
a05cae6e52 oryp6: set USB port power 2020-06-18 16:10:58 -06:00
9878a53f3e oryp6: Enable headphone amp 2020-06-17 14:10:00 -06:00
4a04db2055 Add rust-toolchain file 2020-06-17 11:59:55 -06:00
90bdcb3818 Set power limits on AC plug event 2020-06-17 11:51:08 -06:00
5a8653ef08 Fix nvidia-smi check when in hybrid graphics mode 2020-06-16 10:24:13 -06:00
f1f46a0400 Turn off fan in gc6 2020-06-11 15:43:20 -06:00
764e3b4c20 lemp9: update jeremy keymap 2020-06-11 12:57:54 -06:00
f8e984f8c1 Debug power signals 2020-06-11 12:57:54 -06:00
9ec6122153 Add gaze15 and oryp6 2020-06-11 12:57:54 -06:00
ffde1ca9ef Modprobe msr in power.sh 2020-06-06 13:46:32 -06:00
da2a166ded Track tcc and tjmax in power.csv 2020-06-06 13:12:16 -06:00
39cd014f7b Addw2 support (#67)
* Add addw2 board

* Set charge params and update gpio.h

* Set VGA fan to 100% when entering scratch rom

* Implement keyboard LEDs

* Turn off keyboard LEDs in gpio defaults

* Default airplane mode LED to off

* Enable GPU power and fan control

* Add NVIDIA GPU power and temp to power.csv

* Add NVIDIA GPU fan value to power.sh

* Move GPU init back to coreboot

* Do not turn on GPU fan if GPU is off

* Show POST codes

* Add timestamps to console_external

* Accept port 81 cycles

* Move setting RSTS into ec_init

* Move post code debugging to system76/common

* Move some GPIO init from system76/common to boards

* Make some power signals optional

* Remove POST code support - it only works on IT5570
2020-06-04 13:22:59 -06:00
83102f77ba Add a keymap putting Insert on the PrtSc key
The lemp9 doesn't have an Insert key, but PrtSc is right there
next to Delete, and while I like taking screenshots, it really
doesn't deserve to be the primary function of a key.

Add an alternative keymap that makes the PrtSc key act as Insert,
leaving the print screen function on Fn+PrtSc

build with "make BOARD=system76/lemp9 KEYMAP=ins-prtsc"
2020-05-29 18:00:36 -06:00
7aa5767455 keymap: Improve debouncing behavior.
- Update debouncing code to properly handle rollover.
- Update ghost debouncing to properly set the debounce start time.

Signed-off-by: Evan Lojewski <github@meklort.com>
2020-05-07 06:17:38 -06:00
a6093d8708 keymap: Allow ghost keys to be pressed once the ghost is removed
- Don't record a ghost key as pressed
- Debouce on ghost release to allow ghosts to settle.
- Reduce debounce time from 20ms to 15ms.

Signed-off-by: Evan Lojewski <github@meklort.com>
2020-05-04 09:30:23 -06:00
de7d507277 Fix release of key after release of layer key 2020-04-23 08:50:49 -06:00
0cb4c20cff Merge pull request #54 from system76/fan-curve
lemp9: lower maximum fan speed
2020-04-18 16:10:52 -06:00
3a31121625 Add another fan point of 65% at 85C 2020-04-18 15:58:36 -06:00
53d4c31798 lemp9: lower maximum fan speed 2020-04-17 15:28:35 -06:00
357fae86fc System76 common board directory (#53)
* Move configuration for battery into board.mk

* lemp9: remove tcpm code

* Move touchpad to its own module

* Add kbled_reset to all platforms, move items to run on CPU reset to a function

* Add defines for battery and charger address

* Add I2C_0 export to it5570e

* Move common system76 board functions into src/board/system76/common
2020-04-14 17:23:29 -06:00
ba98a7073a System76 EC is now released 2020-04-09 12:42:21 -06:00
b4e1346edb Remove power on after flashing support - BRAM is not persisted through AC disconnects 2020-04-09 09:18:25 -06:00
65ba339fb5 Sync fan changes to darp5/galp3-c 2020-04-08 12:15:55 -06:00
747dc84b5b Increase heatup time to 10 seconds and disable interpolation 2020-04-08 12:14:01 -06:00
d05607475c Add missing header for BRAM 2020-04-08 08:58:59 -06:00
1194472b8f Add power on after reset flag 2020-04-07 21:11:49 -06:00
4303f0753e Remove duplicate print of CPU power 2020-04-07 15:22:13 -06:00
8559f6f48a Allow clean to be run without BOARD being set 2020-04-07 12:13:06 -06:00
dfe3032f4d make: Move clean target above BOARD check 2020-04-07 11:41:26 -06:00
2a86572f2b Allow overriding version
In order to use the same version as the board firmware we need to be
able to specify the version string for the EC.

Ref: https://github.com/system76/firmware-open/issues/75
2020-04-07 08:01:16 -06:00