maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   The Other Half (https://talk.maemo.org/forumdisplay.php?f=59)
-   -   Producing Qwerty OtherHalf --order counter: 75/75 --ordering closed (https://talk.maemo.org/showthread.php?t=91535)

dirkvl 2014-01-31 12:46

Re: [WIP] Producing Qwerty OtherHalf --pre-ordering started! --order counter:30 --video in first post
 
Quote:

Originally Posted by szopin (Post 1409958)
Hopefully I am missing something

Non-technical story:
Probably. It will work fine, if I wasn't confident about that I would not put parts out for production. There is more than one way to skin a cat!

http://www.manaleak.com/mtguk/files/...scared_cat.jpg

Zeta 2014-01-31 19:28

Re: [WIP] Producing Qwerty OtherHalf --pre-ordering started! --order counter:30 --video in first post
 
Quote:

Originally Posted by szopin (Post 1409958)
Software can act when it has sensor/input, not sure how software can magically sense keyboard open without it. Hopefully I am missing something

It looks like no one proposed the obvious solution : use the interrupt pin...

The only goal of this pin is for the other half to notify the phone that something is happening. In that case, when a key is pressed, the chip will trigger the interrupt pin, and the phone will know it has to check the chip for which key is pressed/released. No polling involved.

About the slide in/out of the keyboard, this could be done through a contact (for example both parts have a metal part on them, springy on one side, and when closed they enter in contact, or a "real" switch) which is connected as a standard key.

Keep up the good work dirkvl and kimmoli !

dirkvl 2014-01-31 19:32

Re: [WIP] Producing Qwerty OtherHalf --pre-ordering started! --order counter:30 --video in first post
 
Quote:

Originally Posted by Zeta (Post 1410075)
It looks like no one proposed the obvious solution : use the interrupt pin...

The only goal of this pin is for the other half to notify the phone that something is happening. In that case, when a key is pressed, the chip will trigger the interrupt pin, and the phone will know it has to check the chip for which key is pressed/released. No polling involved.

This is already what we do, search for 'interrupt' in this thread

Quote:

Originally Posted by Zeta (Post 1410075)
About the slide in/out of the keyboard, this could be done through a contact (for example both parts have a metal part on them, springy on one side, and when closed they enter in contact, or a "real" switch) which is connected as a standard key.

1 page back..
Quote:

Originally Posted by dirkvl (Post 1409946)
Activating the keyboard will happen via software, so no open/close sensor.


kimmoli 2014-01-31 19:47

Re: [WIP] Producing Qwerty OtherHalf --pre-ordering started! --order counter:30 --video in first post
 
About the interrupt pin... atm it is exported to userspace... which works fine when phone is active.
Issue here is the deep-sleep where the phone goes. Seems that this interrupt-expoprted-to-userspace method is not able to wake-up the phone, so if it goes to sleep and you press a key on the keyboard .. nothing happens until something else triggers e.g. front proximity sensor is enough to wake up - then it processes the pending interrupt from the keyboard (and hopefully activates the screen - need a lot of dbus magic still (i don't want to restart mce service to get screen active))
Then i need little help with uinput (which is now used for sending the keys forward). The text/character appears to the screen only when i close the uinput 'device'. i can send there 10 keypresses, and they appear to screen at once when close(). Now creating a new uinput for every keypress doesn't sound efficient. (?)

Zeta 2014-01-31 21:02

Re: [WIP] Producing Qwerty OtherHalf --pre-ordering started! --order counter:30 --video in first post
 
Quote:

Originally Posted by dirkvl (Post 1410080)
This is already what we do, search for 'interrupt' in this thread

I expressed myself badly. I know you are using it for transfers, but wanted to say that it also is handy in the case where you would want to activate the keyboard when slided out, and there is no need for NFC or other more complex things proposed.

Quote:

Originally Posted by dirkvl (Post 1410080)
1 page back..

I read it. Just trying to give ideas for some future builds... Maybe a hall effect sensor with a magnet would be easier to build, but it probably would consume too much power...

Quote:

Originally Posted by kimmoli (Post 1410086)
About the interrupt pin... atm it is exported to userspace... which works fine when phone is active.
Issue here is the deep-sleep where the phone goes. Seems that this interrupt-expoprted-to-userspace method is not able to wake-up the phone, so if it goes to sleep and you press a key on the keyboard .. nothing happens until something else triggers e.g. front proximity sensor is enough to wake up - then it processes the pending interrupt from the keyboard (and hopefully activates the screen - need a lot of dbus magic still (i don't want to restart mce service to get screen active))

I though it would be handled by the kernel module which was talked about at the start (the I2C HID) ? If a kernel module was used, would it allow waking up the phone on interrupt ?

kimmoli 2014-01-31 21:11

Re: [WIP] Producing Qwerty OtherHalf --pre-ordering started! --order counter:30 --video in first post
 
Quote:

Originally Posted by Zeta (Post 1410111)
NFC or other more complex things proposed.

NFC used to detect when keyboard is attached to the phone, like those regular TOHs from Jolla.

Quote:

Originally Posted by Zeta (Post 1410111)
Maybe a hall effect sensor with a magnet would be easier to build

future maybe. Now plan is to activate it after a keypres. the onscreen keyboard can be activated too. this is still little TBD, as functionality is not yet so far implemented.

Quote:

Originally Posted by Zeta (Post 1410111)
I though it would be handled by the kernel module which was talked about at the start (the I2C HID) ? If a kernel module was used, would it allow waking up the phone on interrupt ?

Kernel module is still TBD, it will be done if there is no way to get this work from userspace. I2C HID is not used, as it is not in the kernel. Maybe in some future updates by Jolla. (we are not providing custom kernel builds)

stefanmohl 2014-02-01 14:20

Re: [WIP] Producing Qwerty OtherHalf --pre-ordering started! --order counter:30 --video in first post
 
It might be possible to make a simple short-circuit signal between the keyboard top and bottom halves when opening/closing the keyboard.

That would require adding an extra element in the i2c stream, besides the data from the keyboard, and I don't know if you can do that. If that can't be done, how about a special gesture on the keyboard to turn it on/off? I.e. double alt, or something?

dirkvl 2014-02-01 15:06

Re: [WIP] Producing Qwerty OtherHalf --pre-ordering started! --order counter:30 --video in first post
 
Quote:

Originally Posted by stefanmohl (Post 1410280)
It might be possible to make a simple short-circuit signal between the keyboard top and bottom halves when opening/closing the keyboard.

That would require adding an extra element in the i2c stream, besides the data from the keyboard, and I don't know if you can do that. If that can't be done, how about a special gesture on the keyboard to turn it on/off? I.e. double alt, or something?

There seem to be a lot of questions about this subject, so some clarifications:

Hardware:
-there is no open/closed sensor
-the TCA8424 uses little power, especially in standby mode

Software:
-if we chose to cut of the power (3.3V) to the keyboard when it is not in use, we will probably turn the keyboard on when Mallit (on-screen keyboard is opened)
-if we chose not to cut of the power, we will put it in standby mode untill Mallit is opened
-When typing on the keyboard, I imagine it will be very practical to minimize the on-screen keyboard or replace it with special symbols/commands. But this is not something to discuss now!

Conclusion:
There are lots and lots and lots of way to streamline the use of the keyboard, which are all under consideration right now. Filling this thread with ideas/suggestions on how to do this will not help, although it is very friendly.
Send me a PM if you think you have a unique idea!

dirkvl 2014-02-02 10:47

Re: [WIP] Producing Qwerty OtherHalf --pre-ordering started! --order counter:30 --video in first post
 
I sent all the people that pre-ordered via Paypal an email to confirm their address. Definitely not shipping yet, but cleaning up my room, my head and my administration ;)

http://31.media.tumblr.com/tumblr_lp...niceo1_400.jpg

F2thaK 2014-02-02 10:56

Re: [WIP] Producing Qwerty OtherHalf --pre-ordering started! --order counter:30 --video in first post
 
****, i just bought a n900 (used to have one).... that video, even though its poor quality/blurry, this keyboard OH looks simply amazing!


All times are GMT. The time now is 04:54.

vBulletin® Version 3.8.8