From 2191a88af091546b9ef958a52b48caafe25739cd Mon Sep 17 00:00:00 2001 From: knolax <1339802534.kk@gmail.com> Date: Tue, 14 Nov 2017 21:40:55 -0500 Subject: reverted the inverted row pins, the issue was not one of active_low/active_high, but an incomplete transition to using column pins for input and row pins for output. everything works except for columns 7 and 9(pins 15 and 4) which are always held detected as hgih. testing with the /sysfs interface has shown that pin 4 is electrically sound so it must be an issue with the driver# Please enter the commit message for your changes. Lines starting --- skey.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skey.c b/skey.c index 1731c87..590b682 100644 --- a/skey.c +++ b/skey.c @@ -92,7 +92,7 @@ int skey_update_thread (void *data) { if (gpio_get_value_cansleep(column_pins[column_index])) { printk(KERN_INFO "skey: key pressed at column %d, row %d\n", column_index, row_index); } else { - printk(KERN_INFO "skey: key not pressed at column %d, row %d\n", column_index, row_index); + //printk(KERN_INFO "skey: key not pressed at column %d, row %d\n", column_index, row_index); } column_index++; } -- cgit v1.1