summaryrefslogtreecommitdiff
path: root/skey.c
diff options
context:
space:
mode:
authorknolax <1339802534.kk@gmail.com>2017-11-14 21:40:55 -0500
committerknolax <1339802534.kk@gmail.com>2017-11-14 21:40:55 -0500
commit2191a88af091546b9ef958a52b48caafe25739cd (patch)
treeb2e121d5c88d19731890b633cf037de96ed7dbca /skey.c
parent63d8f2a025cf4d22c319f99261689e3b6b58b352 (diff)
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
Diffstat (limited to 'skey.c')
-rw-r--r--skey.c2
1 files changed, 1 insertions, 1 deletions
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++;
}