From f681795424ba4f38f47a210f0605b63e5eff490c Mon Sep 17 00:00:00 2001 From: Ondrej Jirman Date: Mon, 17 Jan 2022 16:08:27 +0100 Subject: [PATCH] ENOENT means the i2c userspace device driver is missing --- common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common.c b/common.c index 2096540..8544170 100644 --- a/common.c +++ b/common.c @@ -231,7 +231,7 @@ static int pogo_i2c_open(void) int fd = open(path, O_RDWR); if (fd < 0 && errno == ENOENT) - printf("WARNING: The distribution you are using probably uses the kernel driver for pinephone keyboard, and is blocking access to the POGO I2C from userspace. You need to disable the driver to gain access.\n"); + printf("WARNING: You may need to load the i2c-dev module (modprobe i2c-dev).\n"); syscall_error(fd < 0, "open(%s) failed", path); return fd;