199 Commits

Author SHA1 Message Date
cuu 4a83ac2c82 Merge remote-tracking branch 'origin/main' 2024-06-20 13:03:06 +08:00
cuu eb19df85cf add devterm_fan_daemon_r01 source file 2024-06-20 13:00:49 +08:00
cuu 9a0598e087 update devterm_fan_daemon_cm4 code 2024-06-10 08:02:03 -07:00
cuu 5a249d7dc0 update readme of devterm_fan_daemon_cm4 2024-06-06 06:17:03 -07:00
cuu 24d97cc2ae add devterm_fan_daemon_cm4 script 2024-06-06 06:08:44 -07:00
cuu 95e50bedce Update cm3 kernel patch for latest rpi kernel rpi-4.19.y
Add cm3 kernel compiling tips
2024-06-03 00:30:18 -07:00
Mike cde19495bc Fix battery charge current in devicetree overlay 2024-05-26 07:32:20 -07:00
cuu 55aaf4d714 update R01 README for expand_devterm_d1_root.sh 2024-03-29 22:58:04 -07:00
cuu ad970b2624 add expand_devterm_d1_root.sh 2024-03-29 04:43:58 -07:00
cuu a58a86796f move patch files of cm3 2024-03-26 21:21:41 -07:00
cuu 9db33b9eed update thermal printer README DC2 # n 2023-11-27 17:49:28 +13:00
cuu eba86ace01 update thermal printer README DC2 # n 2023-11-27 15:14:49 +13:00
cuu 2453958462 update thermal printer README DC2 # n 2023-11-27 14:54:18 +13:00
cuu 9875a5bf65 update devterm keyboard firmware SER_NUM_STR 2023-07-14 20:48:15 +12:00
cuu 6f9dd3853d clean 2023-07-14 16:38:54 +08:00
cuu 899a162b64 fix keyboard fn bug 2023-07-14 16:06:07 +12:00
cuu 638978d29e devterm_keyboard_mini backlight adjust 2023-06-14 13:43:33 +12:00
cuu 6058dcda0d uconsole keyboard fix 2023-06-08 21:14:50 +12:00
cuu afbc75e2cc make trackball button press became middle mouse key 2023-06-08 01:45:54 +12:00
cuu a3e3e94949 Merge remote-tracking branch 'origin/main' 2023-04-29 13:58:54 +12:00
cuu 88a16de7e0 bug fix,backlight adjustment 2023-04-29 13:58:14 +12:00
Mike Sizov 6fc08fded2 Add command for printing 4 shades of grayscale image.
It works in a similar way as a monochrome print, but with few differences:
1. User needs to send 3 rows of color bitstrings for each image row.
2. Printer will stay in place while printing all 3 non-white 'colors',
it will feed the paper each third line.
3. User must multiply height by 3.
4. Command is different: cmd[0] == ASCII_GS && cmd[1] == 118 && cmd[2] == 49

E.g.
For image 200x200, user needs to send header with width 200, height 600.
Image data is arranged the following way (fourth color is blank):
25 bytes (200bits) of 1st color for first row
25 bytes (200bits) of 2nd color for first row
25 bytes (200bits) of 3rd color for first row
25 bytes (200bits) of 1st color for second row
25 bytes (200bits) of 2nd color for second row
...etc...
2023-04-17 00:44:13 +07:00
cuu 83f337fb3d switch order of DELETE and ENTER key 2023-04-14 16:12:33 +12:00
cuu 29beeb6869 bug fix 2023-04-14 16:06:09 +12:00
Yatao Li 9845efcc45 wiringPi: allow external pins in pinMode, digitalRead, digitalWrite 2023-04-10 18:39:52 +08:00
cuu 396c913f96 bug fix,tested on real uConsole 2023-04-01 19:38:26 +13:00
cuu 24dd0c6a8a fix 2022-11-13 14:00:36 +08:00
cuu 64330ea01f fix 2022-11-13 13:55:29 +08:00
cuu 2204b6dfd4 add more keys to lock 2022-11-13 13:30:51 +08:00
cuu 521c5f0441 add patched devterm keyboard bin hex files 2022-11-11 13:49:13 +08:00
cuu 442ee46621 add patch for keyboard 2022-11-11 13:39:37 +08:00
cuu ce4b765fea add ctrl lock mode 2022-10-29 20:38:46 +08:00
cuu a802c1ad3b mini keyboard pause timer when duty cycle is 0 2022-10-13 09:02:24 +08:00
cuu 81d40799b5 mini keyboard bug fix 2022-10-12 22:34:18 +08:00
cuu 1c023901a7 add keys,keyboard actions for mini keyboard 2022-10-11 21:06:57 +08:00
cuu 6ee33ba535 Add mini keyboard b1-b16 mapping 2022-10-08 15:50:34 +08:00
cuu 54a9333747 add devterm_keyboard_mini init code 2022-10-07 19:40:58 +08:00
cuu 2c31199f2a undo dfu mode fix code 2022-09-20 17:10:18 +08:00
cuu 0c8b8d30fa DFU Mode bug fix 2022-09-20 16:29:09 +08:00
cuu 182dedb675 devterm-printer.service add Restart=on-failure 2022-07-28 14:19:15 +08:00
cuu 9d324569c2 devterm cm4 kernel patch 2022-07-10 11:15:18 +08:00
cuu 0a86b0f311 add cm4 wiringpi patch 2022-06-29 13:45:13 +01:00
cuu f079029294 add CM4 in thermal_printer 2022-06-29 13:43:51 +01:00
GNU 668e3295ff Merge pull request #37 from kemenril/main
Took out a state variable that didn't end up being used.
2022-06-24 12:54:11 +08:00
cuu d27d6b31aa thermal_printer bug fix,print_lines8 cfg null check logic bug 2022-06-22 14:49:05 +00:00
Chris Smith f86efc8a38 Took out a state variable that didn't end up being used. 2022-06-12 03:34:15 +00:00
Chris Smith 45b4a6d078 Changed the an control so that it considers every thermal zone separately, rather than just kind of wrongly lumping them all together and possibly getting the temperature values a bit confused. Added some log messges. Added function to read the fan state from GPO and made the control function use that rather than guess whether the fan is on. 2022-06-10 05:46:20 +00:00
Chris Smith 6765b86f86 Added cooldown threshold in separate variable. Fixed bug where state change might happen twice on one loop iteration. 2022-06-10 02:33:45 +00:00
Chris Smith d119b30d56 New fan_loop function which starts the fan when the temperature reaches the threshold and doesn't stop it until the temperatue is a bit lower than the threshold. Also lowered the threshold a bit. 2022-06-10 00:30:30 +00:00
GNU 4664328eaf Merge pull request #35 from c-logic/main
kick external gpio-tool
2022-06-08 19:26:14 +08:00