IRC log of #harmattan for Saturday, 2014-05-24

*** xes has joined #harmattan00:03
*** mtd has quit IRC00:06
*** mtd has joined #harmattan00:17
*** gabriel9 has joined #harmattan00:25
*** lizardo has quit IRC00:26
*** cypherman has joined #harmattan00:34
*** louisdk has joined #harmattan00:34
*** asterismo has quit IRC00:37
*** rigo has quit IRC01:07
*** gabriel9 has quit IRC01:15
*** ravensun has joined #harmattan01:15
*** ravensun has joined #harmattan01:17
*** piggz has joined #harmattan01:18
*** edgar2 has quit IRC01:25
*** remarc has quit IRC01:29
*** steepcurve has quit IRC01:46
*** steepcurve has joined #harmattan01:47
*** Sfiet_Konstantin has quit IRC02:07
*** RzR has quit IRC02:25
*** RzR has joined #harmattan02:26
*** bef0rd has joined #harmattan03:05
*** jonne_ has joined #harmattan03:47
*** jonne_ has quit IRC03:47
*** jonne_ has joined #harmattan03:48
*** jonne_ has joined #harmattan03:49
*** louisdk has quit IRC03:49
*** rashm2k has quit IRC03:56
*** xes has quit IRC04:01
*** Kabouik has quit IRC04:39
*** Luke-Jr has quit IRC05:04
*** Luke-Jr has joined #harmattan05:06
*** rm_work is now known as rm_work|away05:17
*** jonne_ has quit IRC06:30
*** jonne_ has joined #harmattan06:32
*** jonne_ has joined #harmattan06:33
*** e-yes has quit IRC07:41
*** ptl has quit IRC07:45
*** ptl has joined #harmattan07:45
*** ptl has joined #harmattan07:45
*** ced117 has joined #harmattan08:54
*** piggz has quit IRC10:56
*** gabriel9 has joined #harmattan10:58
*** remarc has joined #harmattan11:13
*** jonne_ has joined #harmattan11:19
*** jonne_ has joined #harmattan11:21
*** rashm2k has joined #harmattan11:38
*** Sfiet_Konstantin has joined #harmattan11:40
*** xes has joined #harmattan12:04
*** tigerfoot has quit IRC12:09
*** jonne_ has quit IRC12:10
*** xes_ has joined #harmattan12:16
*** xes has quit IRC12:18
*** asterismo has joined #harmattan12:36
*** cypherman has quit IRC12:40
*** qwazix has joined #harmattan12:44
*** qwazix has quit IRC12:53
*** qwazix has joined #harmattan12:55
*** stef_204 has joined #harmattan12:58
*** xes_ is now known as xes13:13
*** tigerfoot has joined #harmattan13:16
*** stef_204 has quit IRC13:17
*** gabriel9 has quit IRC13:24
*** Kabouik has joined #harmattan13:27
*** RzR has quit IRC13:29
*** RzR has joined #harmattan13:30
*** trx has quit IRC13:49
*** tigerfoot has quit IRC14:32
*** e-yes has joined #harmattan14:33
*** krnlyng_ has quit IRC14:41
*** ZogG_laptop has joined #harmattan14:46
*** lbt has quit IRC15:33
*** tigerfoot has joined #harmattan15:33
*** lbt has joined #harmattan15:35
*** ZogG_lap1op has joined #harmattan15:53
*** ZogG_laptop has quit IRC15:55
*** e-yes has quit IRC15:59
*** bef0rd has quit IRC16:46
*** bef0rd has joined #harmattan16:47
*** bef0rd has quit IRC16:51
*** javispedro has joined #harmattan17:03
*** e-yes has joined #harmattan17:44
*** TMavica has joined #harmattan18:40
*** macmaN has quit IRC18:42
*** ZogG_lap1op has quit IRC18:55
*** auenfx4 has quit IRC18:56
*** auenf has joined #harmattan18:57
*** FIQ has quit IRC18:59
*** ali_ has joined #harmattan19:01
*** Guest26646 has joined #harmattan19:02
*** piggz has joined #harmattan19:07
e-yesanyone has success with playing with vibrator (nokia n9)? I mean interaction between userland and /dev/input/vibra node, not mce or even higher level APIs19:07
e-yeslooks like ioctl payload driver sends directly to vibra amplifier (thru spi bus). therefore, without knowledge about chip it's hard to understand what I should send to get, let's say 100ms vibration19:08
e-yesyet another "open source" aspect of nokia n9 :(19:09
javispedroe-yes: what protocol does it speak? have you tried normal kernel FF one?19:14
*** ZogG_laptop has joined #harmattan19:14
*** ZogG_laptop has quit IRC19:14
*** ZogG_laptop has joined #harmattan19:14
e-yesjavispedro, it accepts only FF_PERIODIC+FF_CUSTOM. so, no idea what I should send as payload (unsigned short array, effect.u.periodic.custom_data)19:17
e-yeslooks like this custom_data is finally is being transmitted thru spi19:17
javispedrobad19:18
javispedroall I've used is the layer that is immediately above FF, which is vibetonz/immvibde19:18
javispedro*immvibe19:18
javispedrothat is also propietary though...19:18
e-yesdoes it work without mce running? do you have any examples how to use it?19:19
*** Guest26646 has quit IRC19:19
*** Guest26646 has joined #harmattan19:19
javispedroe-yes: this is from my old SDL port: https://github.com/harmattan/harmattan-sdl/blob/0606067b617e529243adf8baf1bc21994b7df1fd/src/haptic/immersion/SDL_syshaptic.c19:20
*** Guest26646 is now known as FIQ19:20
javispedroI don't remember where I got the info, but if you google around the function names you'll find some hits, mostly Android game devs19:21
javispedroit works without mce indeed19:22
javispedroafaik that's what mce uses.19:22
coderuse-yes: afaik juiceme played with vibra, but didnt succeded at initializing it, so it worked only after nokia frivers initialized vibra first.19:26
e-yesI managed to initialize it somehow, but vibra feedback is so "soft"19:33
e-yesnot strong at all19:33
e-yessimple test - http://pastebin.com/gTts8XHs19:35
e-yesI changed custom_len to 200 and decreased usleep interval to 6000us - now vibra is stronger19:52
e-yeslooks like kernel sends smth on spi constantly while vibration19:53
*** ali_ has quit IRC19:54
e-yesthat may mean that vibra amplifier doesn't have SPI interface, it interprets MOSI as PWM and amplifies it. this theory explains why there is no CLK used19:54
e-yesyep, sure. not SPI at all, despite driver uses spi_message_init+spi_message_add_tail+spi_sync20:05
e-yesOMFG! Nokia, what do you do, cut it off!1120:06
javispedrolol20:07
e-yesfscking disguise)20:07
*** macmaN has joined #harmattan20:11
e-yesthat what I always call OOO programming20:16
e-yesOOO programming - overkill and overhead overengineered programming20:18
manqeloq1eheh, great way to save money20:25
e-yeswhy not to use PWM? I believe OMAP3 have it20:48
e-yesand I'm blind, actually... I just recognized that there is "Omap PWM" sign above SIMO (MOSI) line20:49
e-yesbut they use SPI API anyway)20:49
e-yesvibra_spi.c: "This file implements a driver for SPI data driven vibrator."20:52
*** ZogG_laptop has quit IRC21:01
*** xes has quit IRC21:04
*** Sfiet_Konstantin has quit IRC21:05
*** louisdk has joined #harmattan21:08
*** DocScrutinizer05 is now known as neo90021:37
*** neo900 is now known as DocScrutinizer0521:37
*** piggz has quit IRC21:42
*** Kabouik has quit IRC21:43
*** piggz has joined #harmattan21:55
*** bef0rd has joined #harmattan22:09
*** javispedro has quit IRC22:28
*** piggz has quit IRC22:35
*** javispedro has joined #harmattan23:03
*** M4rtinK has joined #harmattan23:13
*** xes has joined #harmattan23:16
e-yesmodem activity affects vibration cleanness, predictable:(23:19
*** e-yes has quit IRC23:46
*** e-yes has joined #harmattan23:59

Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!