![]() |
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. |
Re: Building OtherHalf keyboard prototype --exciting times! last call to jump in and help!
Great work!
Dirkvl, I've got €30 heading your way. I'm probably not the only one, but I do have a 3D-printer and limited modelling skills so when you're at the prototyping stage I can lend a hand. |
Re: Building OtherHalf keyboard prototype --exciting times! last call to jump in and help!
At the moment I am at the point that I'm confident that the software side will work -thanks to kimmoli!- so it is time to design and order some pcb's.
3D printer would be practical, but forthe first prototype it will probably better to have one available nearby! :) |
Re: Building OtherHalf keyboard prototype --exciting times! last call to jump in and help!
Quote:
|
Re: Building OtherHalf keyboard prototype --exciting times! last call to jump in and help!
my faculty has three 3d-printers, so will probably try that first when I have a design made
|
Re: Building OtherHalf keyboard prototype --exciting times! last call to jump in and help!
what about integrating the oled screen hack in the keyboard?
would that be possible? |
Possible but more work i guess? :p
|
Re: Building OtherHalf keyboard prototype --exciting times! last call to jump in and help!
Hi to all guys,
I'm following the great job you all are making here and i've to say i admire you so much ;) as i don't understand a lot about programming and so.. but in case you'll need an hand for design a pcb or so, i'm here! ;) Anyway, is very stimulating to follow you!! go ahead!! |
Re: Building OtherHalf keyboard prototype --exciting times! last call to jump in and help!
Quote:
Quote:
|
Re: Building OtherHalf keyboard prototype --exciting times! last call to jump in and help!
Quote:
EDIT: it seems i can't send you private messages, i suppose due my few post here.. if you're pleased you could try to message me, hope i'll be able to answer at least and share the way you want use to send me needed files to check and so.. anyway I'm here waiting news :) |
Re: Building OtherHalf keyboard prototype --exciting times! last call to jump in and help!
Quote:
I don't know much about programming, but if can help on hardware, making keyboard and mechanism for I can try. On TOH isn't much space to make some good mechanism like on N97, I think slide out is only possible and of course we all want thin keyboard. Connection should be over cables? |
Re: Building OtherHalf keyboard prototype --exciting times! last call to jump in and help!
donated - good luck!
|
Re: Building OtherHalf keyboard prototype --exciting times! last call to jump in and help!
Quote:
|
Re: Building OtherHalf keyboard prototype --exciting times! last call to jump in and help!
Nice! Everything helps. Been ordering a lot of parts.
Working on the pcb for the very-very first n900-keyboard non-sliding proto. When that order is out the door I'll make a 3D case for it. When that all works it is time to get very serious :) |
Re: Building OtherHalf keyboard prototype --exciting times! last call to jump in and help!
Really interesting, thanks, made a donation.
|
Re: Building OtherHalf keyboard prototype --exciting times! last call to jump in and help!
The first PCB has been sent to China for production! They will make 10, but it is only for a N900 keyboard and domesheet!
http://oi39.tinypic.com/24mckli.jpg Anyway, I also ordered this one: http://i42.tinypic.com/33l0cnp.jpg Which is a complete piece of ****, but the hinge is very nice and the keyboard is very okay (although the clickyness is very cheap-feeling)! Ow, to prove it is a piece of ****, spot the difference! http://oi40.tinypic.com/2a7e89j.jpg |
Re: Building OtherHalf keyboard prototype --exciting times! last call to jump in and help!
Well done, i'm very curious about final result for this great job!
@dirkvl: my offer is always valid, just seen some "issues" to set on pcb, or at least little improvements to make look it better :D |
Re: Building OtherHalf keyboard prototype --exciting times! last call to jump in and help!
Quote:
if this works and the software is ready we can perhaps look into designing a pcb for a larger batch! |
Re: Building OtherHalf keyboard prototype --exciting times! last call to jump in and help!
Quote:
I would humbly suggest waiting a bit with a larger batch and perhaps build it around another keyboard than the N900. Since the Jolla is larger, a fourth row of keys makes a lot of sense in my opinion. Depends on what is meant by "larger batch" I suppose, but a larger keyboard is probably better for most people |
Re: Building OtherHalf keyboard prototype --exciting times! last call to jump in and help!
Quote:
Anyway was just for joke a little, at this point sure you've just to try everything. |
Re: Building OtherHalf keyboard prototype --exciting times! last call to jump in and help!
Currently working on a 3d model for my n900-keyboard, for the last proof-of-concept build.
http://i39.tinypic.com/28m1kx5.jpg On the software side there is a lot of progress, but still a lot to be done. Kimmo, can you perhaps elaborate on this? Maybe there a parts of the software other people can help with! |
Re: Building OtherHalf keyboard prototype --exciting times! last call to jump in and help!
Quote:
|
Re: Building OtherHalf keyboard prototype --exciting times! last call to jump in and help!
Quote:
|
Re: Building OtherHalf keyboard prototype --exciting times! last call to jump in and help!
Quote:
I need this also for my other project to get interrupt from proximity sensor. |
Re: Building OtherHalf keyboard prototype --exciting times! last call to jump in and help!
Quote:
|
Re: Building OtherHalf keyboard prototype --exciting times! last call to jump in and help!
Quote:
|
Re: Building OtherHalf keyboard prototype --exciting times! last call to jump in and help!
Quote:
|
Re: Building OtherHalf keyboard prototype --exciting times! last call to jump in and help!
Quote:
However, from reading in the source it seems like the toh-event driver only handles gpio_cover/irq_cover for attaching/detaching TOH at the moment. The cover_irq/irq_int is not registered to an interrupt handler... I guess they did not do it yet as you probably want some way to control whether you want to get a falling or rising edge or both as an interrupt. |
Re: Building OtherHalf keyboard prototype --exciting times! last call to jump in and help!
Quote:
|
Re: Building OtherHalf keyboard prototype --exciting times! last call to jump in and help!
Quote:
# Export INT gpio 67 to the sysfs echo 67 > /sys/class/gpio/export # Configure INT gpio67 to generate events on falling edge. echo falling > /sys/class/gpio/gpio67/edge # Check current value cat /sys/class/gpio/gpio67/value Then you can use poll() to get notified of events. Use POLLPRI event type. Hope this helps. |
Re: Building OtherHalf keyboard prototype --exciting times! last call to jump in and help!
Quote:
@dirkvl - i will code later, i'll send you updated daemon and app. |
| All times are GMT. The time now is 10:49. |
vBulletin® Version 3.8.8