summaryrefslogtreecommitdiff
path: root/skey.c
AgeCommit message (Collapse)Author
2017-12-27set pin 4 and 15 to have low values to, this might not actually run.knolax
2017-12-27after switching the position of 4 in column_pins[10] the problem persisted, ↵knolax
i have added lines at the end of init_skey() that explictly set those two pins as input, this is to help debug the issue]
2017-11-14reverted the inverted row pins, the issue was not one of ↵knolax
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
2017-12-23fixed typoknolax
2017-12-23fixed typoknolax
2017-12-23fixed testing setupknolax
2017-12-23hopefully fixed setting pins as opposite of what they are, thereby fixing ↵knolax
the issue of the iutput pins not working
2017-12-23making a test, gpio output seems unresponsive at allknolax
2017-12-23switched the output pin states as they might be considered active_low in the ↵knolax
legacy gpio interfacd
2017-12-23fixed typoknolax
2017-12-23changed the function calls to the linux gpio interface to their cansleep ↵knolax
equivalents
2017-12-20added a small sleep between rpin state changesknolax
2017-12-20fixed typoknolax
2017-12-20reversed the roles of the row and column pins to account for an error in the ↵knolax
prototype board.
2017-12-19changed tick rate of update thread for testing purposesHEADmasterknolax
2017-12-13reenabled gpio testingknolax
2017-12-13confirmed that adding the metadata allows X11 to autodetect skey_devknolax
2017-12-13removed __initdata from all the variables because none of them are actually ↵knolax
only used during init
2017-12-13added more metadata to skey_dev, also added __initdata to some variablesknolax
2017-12-08fixed a typo, has it emmit capslock every secondknolax
2017-12-08added code to register a device with input.hknolax
2017-12-08added a counter that printks every second, the previous kernel panics may ↵knolax
have been caused by excessive use of printk.
2017-12-08changed test mode warning to only emit once during the threadknolax
2017-12-08added test mode that doesn't use GPIO so i can test on an Virtual Machine on ↵knolax
my main computer
2017-12-07changed the update function from being timer based to thread based so that ↵knolax
it can sleep. it may be because of the fact that it couldn't sleep that it was causing kenel panics
2017-12-07added functions to explicitly set pins as input or output do to kernel ↵knolax
panics when trying to use gpio_set_value()
2017-12-07added basic keypress scanning functionality to the update functionknolax
2017-12-07initial commitknolax