maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   The Other Half (https://talk.maemo.org/forumdisplay.php?f=59)
-   -   Jolla OtherHalf OLED display / toholed (https://talk.maemo.org/showthread.php?t=92239)

nieldk 2014-04-07 09:13

Re: [WIP] Jolla OtherHalf OLED display
 
Quote:

Originally Posted by kimmoli (Post 1420223)
First define "longer period" ?

Display should turn off when inserted to pocket, but it should wake up when proximity is cleared - does this work with "shorter periods" in your pocket?

Do you have leather pants? :cool: Noticed that the proximity sensor has difficulties to detect black leather...

Have you tried to systemctl restart toholed.service ?

Can you provide me some journals via email ?

Well, the restart seems to not do it when this happens.
And by 'longer period', I mean hours. It works quite well under normal circumstances (eg not in pocket) - but staying in the pocket for hours - not up - makes it not reactivate the display.
Not a major issue at all, so dont prioritize it :)
Just me I think, being on planes for the last weeks almost constantly LOL

kimmoli 2014-04-07 10:48

Re: [WIP] Jolla OtherHalf OLED display
 
Quote:

Originally Posted by nieldk (Post 1420226)
Well, the restart seems to not do it when this happens.

Next time, try following;
systemctl stop toholed.service
Remove toholed for 1 minute and reconnect
systemctl start toholed.service

Quote:

Originally Posted by nieldk (Post 1420226)
Not a major issue at all, so dont prioritize it :)

For me this is matter of life and death :eek:

I was thinking could this be caused by hardware connection break between toh and phone, which might get the proximity sensor to reset, and thus loose configuration (and it will not generate interrupt from proximity clear and therefore not wakeup the display), but restart should reconfigure it. Unless the display controller itself gets so messed up that it refuses to show anything.

Updated HW has better reset circuitry, and i have to make some detections to the daemon to see is the display and proximity/ALS sensor still in good mood.

(And repeating me - journal could be very helpful)

nieldk 2014-04-07 11:05

Re: [WIP] Jolla OtherHalf OLED display
 
Quote:

Originally Posted by kimmoli (Post 1420235)
Next time, try following;
systemctl stop toholed.service
Remove toholed for 1 minute and reconnect
systemctl start toholed.service


For me this is matter of life and death :eek:

I was thinking could this be caused by hardware connection break between toh and phone, which might get the proximity sensor to reset, and thus loose configuration (and it will not generate interrupt from proximity clear and therefore not wakeup the display), but restart should reconfigure it. Unless the display controller itself gets so messed up that it refuses to show anything.

Updated HW has better reset circuitry, and i have to make some detections to the daemon to see is the display and proximity/ALS sensor still in good mood.

(And repeating me - journal could be very helpful)

Sure, I will provide the journeyctl output next time it happens (didnt happen today so far) - at the moment the journey log is quite short as for toholed.

Code:


Apr 07 11:50:56 localhost toholed[1060]: Interrupt: Proximity cleared:      ALS
Apr 07 11:51:01 localhost toholed[1060]: Time now: 11:51 Battery: 83%
Apr 07 11:51:29 localhost toholed[1060]: Interrupt: Proximity detect:      ALS
Apr 07 11:51:29 localhost toholed[1060]: Interrupt: Proximity cleared:      ALS
Apr 07 11:51:31 localhost toholed[1060]: Interrupt: Proximity detect:      ALS


nieldk 2014-04-07 18:14

Re: [WIP] Jolla OtherHalf OLED display
 
Quote:

Originally Posted by kimmoli (Post 1420235)
(And repeating me - journal could be very helpful)

Complete, verbose log mailed :)
Also, stopping and then starting the service does the trick. Didnt need to remove TOH

kimmoli 2014-04-07 18:31

Re: [WIP] Jolla OtherHalf OLED display
 
ok. thanks for the very verbose log... (just plain journal is enough...)

weird...

In the log you sent me there is no single proximity interrupt...
Even after the restart there is none.

Does the display blank when you place finger over the sensor on right side of the oled, and come back active when removing?
Note, it works better if phone is active, not so well when it sleeps.

I'll add some more diagnostics tomorrow evening.

nieldk 2014-04-07 18:35

Re: [WIP] Jolla OtherHalf OLED display
 
yes, proximity is working good

carmenluci 2014-04-29 07:24

Re: [WIP] Jolla OtherHalf OLED display
 
I like this TOH, it's very nice! How can I get one?

kimmoli 2014-04-30 06:12

Re: [WIP] Jolla OtherHalf OLED display
 
Any feedback from first-ones ? It has been akwardly silent ...

Bundyo 2014-04-30 11:33

Re: [WIP] Jolla OtherHalf OLED display
 
Mine has been working great, except the refresh rate :( Is there absolutely no way this to be fixed/avoided/worked around? :) Other than that, I had a bit of a release lately and will try to give more feedback during the next 6 holidays here (they start tomorrow).

One problem was a clash between toholed and tohkbd which resulted in a huge memory leak just after restart (in toholed) and Jolla dying in several minutes. Quick work with Terminal and managed to deinstall tohkbd to avoid it.

kimmoli 2014-04-30 11:48

Re: [WIP] Jolla OtherHalf OLED display
 
Quote:

Originally Posted by Bundyo (Post 1423472)
Mine has been working great, except the refresh rate :( Is there absolutely no way this to be fixed/avoided/worked around? :)

I haven't found anything that would improve it.
Possible to do this is redesign hardware to use 3.3V for the display logic, and extrernal I2C level converter - If the internal oscillator has some relation to supply voltage.


Quote:

Originally Posted by Bundyo (Post 1423472)
... during the next 6 holidays here (they start tomorrow).

happy holidays!

Quote:

Originally Posted by Bundyo (Post 1423472)
One problem was a clash between toholed and tohkbd which resulted in a huge memory leak just after restart (in toholed) and Jolla dying in several minutes. Quick work with Terminal and managed to deinstall tohkbd to avoid it.

Yep. I'm author of both softwares, and i have some plans to detect what is connected - it would be easier if dirkvl would have put eeprom on the tohkbd. Now seems that i have to make some detection to NFC side, and it seems that i have to store all TOH ID's in the daemons - which sux. Unless those TOH ID's are registered through Jolla, and i get some "name" through the store or something.

kimmoli 2014-05-12 12:44

Re: [WIP] Jolla OtherHalf OLED display
 
quick update: Testing shapeways "print-it anyway!" pilot...

sombrer0 2014-05-21 05:15

Re: [WIP] Jolla OtherHalf OLED display
 
So excited about this project being wrapped up. Any ETA?

kimmoli 2014-05-21 06:08

Re: [WIP] Jolla OtherHalf OLED display
 
Two print facilities under testing atm, shapeways should send 29th May - but they ship with some ultra-slow service.

So actually no ETA available...

Kabouik 2014-05-23 23:54

Re: [WIP] Jolla OtherHalf OLED display
 
Quote:

Originally Posted by kimmoli (Post 1423445)
Any feedback from first-ones ? It has been akwardly silent ...

Nothing to add really! Your toholed is still my everyday OH since I've received it. I have the keyboard too but it is more prototype-ish at the moment (I have a key that needs a fix, but the software is not as polished as the toholed's one). The toholed is not very bulky either, so it's on my Jolla permanently.

As already discussed, a way to view the number of each notification would be very nice, or even an application to chose what to display.

Nothing will make me remove the toholed from my Jolla yet, and the only candidates are: final toholed, toheink, tohkb2. :p

kimmoli 2014-05-27 09:51

Re: [WIP] Jolla OtherHalf OLED display
 
Ok, now i just need to wait to catch-up the future :)

Quote:

Items we made in the future are now on their way to you!

This shipment includes the following items:
• 1 x Otherhalf 4-10 in Hot Pink Strong & Flexible Polished
• 1 x Otherhalf 4-10 in Black Strong & Flexible
• 1 x Otherhalf 4-10 in Royal Blue Strong & Flexible Polished

kimmoli 2014-06-02 10:32

Re: [WIP] Jolla OtherHalf OLED display
 
So they weren't printed so far in the future...

https://lh5.googleusercontent.com/-s...140602_002.jpg

dirkvl 2014-06-02 10:42

Re: [WIP] Jolla OtherHalf OLED display
 
Quote:

Originally Posted by kimmoli (Post 1427806)
So they weren't printed so far in the future...

https://lh5.googleusercontent.com/-s...140602_002.jpg

http://art.ngfiles.com/images/286000...s-glorious.png

shinchim0 2014-06-06 13:53

Re: [WIP] Jolla OtherHalf OLED display
 
sorry for my silly question:

I know it is grey screen, but can it show as camera display ? (I mean use the TOHOLED screen display for selfie photo shoot with the 8 megapix main camera)

kimmoli 2014-06-06 14:09

Re: [WIP] Jolla OtherHalf OLED display
 
Quote:

Originally Posted by shinchim0 (Post 1428511)
I know it is grey screen, but can it show as camera display ? (I mean use the TOHOLED screen display for selfie photo shoot with the 8 megapix main camera)

my problem is that i only know how to answer yes.

It is possible to send mono-bmp over dbus to the display already, so basically need to capture viewfinder, make some dithering and scaling, and convert to 2-color bmp of 8 kilopix...

this is what you might see from the display:
https://lh5.googleusercontent.com/-y...9-no/stubb.png

But shorter time to market is this: http://www.biltema.fi/fi/Autoilu---M...kattava-33710/
(sorry in Finnish but ... )

Maybe dirkvl can help with custom selfie-mirror-TOH :)

egnat69 2014-06-17 09:00

Re: [WIP] Jolla OtherHalf OLED display
 
Quote:

Originally Posted by kimmoli (Post 1428514)
Maybe dirkvl can help with custom selfie-mirror-TOH :)

not a too bad idea tbh... but sales will only start to rise once kiddies buy jolla phones ... maybe jolla itself should bundle such a TOH with the phone and market as Jolla - Limited-Selfie-Edition :D

nieldk 2014-06-17 09:26

Re: [WIP] Jolla OtherHalf OLED display
 
Quote:

Originally Posted by kimmoli (Post 1428514)
my problem is that i only know how to answer yes.

It is possible to send mono-bmp over dbus to the display already, so basically need to capture viewfinder, make some dithering and scaling, and convert to 2-color bmp of 8 kilopix...

this is what you might see from the display:
https://lh5.googleusercontent.com/-y...9-no/stubb.png

But shorter time to market is this: http://www.biltema.fi/fi/Autoilu---M...kattava-33710/
(sorry in Finnish but ... )

Maybe dirkvl can help with custom selfie-mirror-TOH :)

LOL at least the wife wouldnt be able to identify who is on the screen ;P

kimmoli 2014-06-18 06:53

Re: [WIP] Jolla OtherHalf OLED display
 
NEWS

Next week i'm having some summer (really, in Finland?) holiday, and time to start taking in details from you who want TOHOLED.

I have now done some "endurance" testing with the Shapeways printed parts, and at first they feeled like .. hmm... coarse, but the surface seems to get polished on daily use. Not the perfect solution, but accepted by QA team (read: me)

So, first-ones, prepare to receive some pm.

:p

kimmoli 2014-06-25 08:41

Re: [WIP] Jolla OtherHalf OLED display
 
"Invitations" to 40 people has been sent, so far i have heard only 50% of you.

juiceme 2014-06-25 10:53

Re: [WIP] Jolla OtherHalf OLED display
 
Quote:

Originally Posted by kimmoli (Post 1430944)
"Invitations" to 40 people has been sent, so far i have heard only 50% of you.

Might be they are on summer leave too...?

d0n_Egg1 2014-06-25 11:39

Re: [WIP] Jolla OtherHalf OLED display
 
Quote:

Originally Posted by kimmoli (Post 1430944)
"Invitations" to 40 people has been sent, so far i have heard only 50% of you.

are you going to wait until everyone has replied you? or do you produce like "first come first served"? (after your holiday of course) :)

kimmoli 2014-06-30 23:33

Re: [WIP] Jolla OtherHalf OLED display
 
ok, Fitbi - I can't PM you, but seems you can PM me.
Please send me email address etc. other contact means.

foobarbaz 2014-07-17 23:16

Re: [WIP] Jolla OtherHalf OLED display
 
Looks like I can neither send nor recieve PMs :-/

xgoan 2014-07-18 07:51

Re: [WIP] Jolla OtherHalf OLED display
 
I need this TOH!!! :)

fitbi 2014-07-21 07:04

Re: [WIP] Jolla OtherHalf OLED display
 
Same situation as foobarbaz, can't send nor recieve PMs...

I would really love to get my hands on one of your OLED TOH for my first one! :)

Rauha 2014-08-05 13:41

Re: [WIP] Jolla OtherHalf OLED display
 
Mine arrived today. Its absolutely great.

Kimmolle kiitoksia nin vaan maan perkeleesti!

xgoan 2014-08-08 14:10

Re: [WIP] Jolla OtherHalf OLED display
 
Just received mine, but... Where is the software?

kimmoli 2014-08-08 14:17

Re: [WIP] Jolla OtherHalf OLED display
 
> Just attach the toholed to phone, and it will install automaticallly.
>
> If you habe tohd disabled due the early battery drain issues, you need to re-enable it.

xgoan 2014-08-08 14:19

Re: [WIP] Jolla OtherHalf OLED display
 
[root@Jolla nemo]# systemctl status tohd.service
tohd.service - The Other Half Daemon (TOHD)
Loaded: loaded (/lib/systemd/system/tohd.service; disabled)
Active: active (running) since Fri 2014-08-08 16:16:57 CEST; 2min 16s ago
Main PID: 2727 (tohd)
CGroup: /system.slice/tohd.service
└─2727 /usr/sbin/tohd

Aug 08 16:16:57 Jolla systemd[1]: Started The Other Half Daemon (TOHD).
Aug 08 16:17:24 Jolla tohd[2727]: timeout; terminating discovery
Aug 08 16:18:28 Jolla systemd[1]: Started The Other Half Daemon (TOHD).
Aug 08 16:18:58 Jolla tohd[2727]: timeout; terminating discovery

kimmoli 2014-08-08 14:23

Re: [WIP] Jolla OtherHalf OLED display
 
hmm. insert to upper edge first, and finally the bottom right corner so the microswitch is pressed last.

does your standard jolla toh work?
do you hear the sound?
do you see tohid in about device page?

xgoan 2014-08-08 14:26

Re: [WIP] Jolla OtherHalf OLED display
 
No, any TOH plug does nothing and timeouts the daemon.

kimmoli 2014-08-08 14:29

Re: [WIP] Jolla OtherHalf OLED display
 
uh, duplicate.debugging :)

then first try to get the jolla toh working properly.
there was similar issues with one other, i'll check irc backlogs when i get back to home.

xgoan 2014-08-08 14:30

Re: [WIP] Jolla OtherHalf OLED display
 
Quote:

Originally Posted by kimmoli (Post 1435242)
uh, duplicate.debugging :)

then first try to get the jolla toh working properly.
there was similar issues with one other, i'll check irc backlogs when i get back to home.

Ok, thank you :)

kimmoli 2014-08-08 15:59

Re: [WIP] Jolla OtherHalf OLED display
 
those issues were fixed by rebooting and retrying.
propably NFC is not read properly.

trying to install toh like i described, bend it a little so that nfc id is close (pressed against) phone, and then snap the rest of it in place.

xgoan 2014-08-08 16:16

Re: [WIP] Jolla OtherHalf OLED display
 
nothing happens. I tried it a lot of times. The First One OH is not working :(

kimmoli 2014-08-08 16:58

Re: [WIP] Jolla OtherHalf OLED display
 
Can you check that the toh-event is given when you insert/remove toh

cat /proc/interrupts | grep toh

That number should increase


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

vBulletin® Version 3.8.8