No description
  • C 96.4%
  • Makefile 3.6%
Find a file
2026-08-04 21:32:56 +00:00
.gitignore initial code 2026-08-04 19:12:11 +00:00
caixianlin.c initial code 2026-08-04 19:12:11 +00:00
LICENSE added install instructions 2026-08-04 21:32:56 +00:00
Makefile oops 2026-08-04 19:14:03 +00:00
README.md added install instructions 2026-08-04 21:32:56 +00:00

caixianlin

Installation

  1. Run sudo make install

Example usage

echo "7840 vibrate 50 1500" | sudo tee /sys/class/caixianlin/caixianlin0/trigger

Example device tree entry

caixianlin_tx0: caixianlin_tx0 {
	compatible = "sentinel,caixianlin-tx";
	tx-gpios = <&gpio 17 0>; /* 0 = GPIO_ACTIVE_HIGH */
	status = "okay";
};