![]() |
Re: Building OtherHalf keyboard prototype
Quote:
http://media.giphy.com/media/MaUwo5MXoIkCY/giphy.gif |
Re: Building OtherHalf keyboard prototype --find "software experts"
maybe i need to get my own TCA8424 evkit too...
|
Re: Building OtherHalf keyboard prototype --find "software experts"
Quote:
|
Re: Building OtherHalf keyboard prototype --find "software experts"
dirkvl, it's better to get in contact with Jolla devs by IRC or mailinglist.
Several of them are around on freenode server on #jollamobile and #sailfishos |
Re: Building OtherHalf keyboard prototype --find "software experts"
Today I don't have much time to analize, but i've found some interesting sources.
There are no userspace applications communicating over the i2c except for csd. Only the kernel modules. Sources: For cover switch (toh-event): https://github.com/KonstaT/sailfisho...sc/toh-event.c This module loads toh-core on cover key event. For eeprom (toh-core): https://github.com/KonstaT/sailfisho...vers/mfd/toh.c If an eeprom with valid data is present, toh will appear in /sys fs. From toh-core source eeprom data structure format can be extracted and than tested. Looking at /boot/config*, it looks like support for TCA8418 is not enabled. (I didn't check if it is compatible with 8424). Maybe an plugin like the /usr/lib/tohd/tohd-plugin-nfc-nxp.so has to be written. |
Re: Building OtherHalf keyboard prototype --find "software experts"
Quote:
This is a make or break condition for usage of the OH for the general public! |
Re: Building OtherHalf keyboard prototype
Quote:
Here is a python code that may read values of the first registers, if it fails on the first write(), try changing address to 0x77. Code:
#!/usr/bin/pythonOne more thing... It looks like this chip supports generic i2c HID interface and there is a module in mainline kernel for it. Try "modprobe i2c-hid" to see if the module is compiled and available... In any case it shouldn't work, as i2c lacks autoprobing and the proper way is to specify the device in the devicetree file... Edit: Tried the code on n900 (and fixed it a bit), n900 is still alive ) |
Re: Building OtherHalf keyboard prototype --find "software experts"
we had lots of progress today with dirkvl.
input and output reports are both working (leds blinking on evkit , and usage id's change when shorting matrix) |
Re: Building OtherHalf keyboard prototype --find "software experts"
looks 'a bit' hackish
http://oi42.tinypic.com/2mbthk.jpg filmed with my trusty old N9, software provided bij kimmoli! https://vimeo.com/83421811 |
Re: Building OtherHalf keyboard prototype --find "software experts"
Quote:
toh (as in toh-core kernel module) appears somewhere in the /sys fs. And in it's directory eeprom configuration items. |
| All times are GMT. The time now is 10:49. |
vBulletin® Version 3.8.8