*** xes has joined #harmattan | 00:03 | |
*** mtd has quit IRC | 00:06 | |
*** mtd has joined #harmattan | 00:17 | |
*** gabriel9 has joined #harmattan | 00:25 | |
*** lizardo has quit IRC | 00:26 | |
*** cypherman has joined #harmattan | 00:34 | |
*** louisdk has joined #harmattan | 00:34 | |
*** asterismo has quit IRC | 00:37 | |
*** rigo has quit IRC | 01:07 | |
*** gabriel9 has quit IRC | 01:15 | |
*** ravensun has joined #harmattan | 01:15 | |
*** ravensun has joined #harmattan | 01:17 | |
*** piggz has joined #harmattan | 01:18 | |
*** edgar2 has quit IRC | 01:25 | |
*** remarc has quit IRC | 01:29 | |
*** steepcurve has quit IRC | 01:46 | |
*** steepcurve has joined #harmattan | 01:47 | |
*** Sfiet_Konstantin has quit IRC | 02:07 | |
*** RzR has quit IRC | 02:25 | |
*** RzR has joined #harmattan | 02:26 | |
*** bef0rd has joined #harmattan | 03:05 | |
*** jonne_ has joined #harmattan | 03:47 | |
*** jonne_ has quit IRC | 03:47 | |
*** jonne_ has joined #harmattan | 03:48 | |
*** jonne_ has joined #harmattan | 03:49 | |
*** louisdk has quit IRC | 03:49 | |
*** rashm2k has quit IRC | 03:56 | |
*** xes has quit IRC | 04:01 | |
*** Kabouik has quit IRC | 04:39 | |
*** Luke-Jr has quit IRC | 05:04 | |
*** Luke-Jr has joined #harmattan | 05:06 | |
*** rm_work is now known as rm_work|away | 05:17 | |
*** jonne_ has quit IRC | 06:30 | |
*** jonne_ has joined #harmattan | 06:32 | |
*** jonne_ has joined #harmattan | 06:33 | |
*** e-yes has quit IRC | 07:41 | |
*** ptl has quit IRC | 07:45 | |
*** ptl has joined #harmattan | 07:45 | |
*** ptl has joined #harmattan | 07:45 | |
*** ced117 has joined #harmattan | 08:54 | |
*** piggz has quit IRC | 10:56 | |
*** gabriel9 has joined #harmattan | 10:58 | |
*** remarc has joined #harmattan | 11:13 | |
*** jonne_ has joined #harmattan | 11:19 | |
*** jonne_ has joined #harmattan | 11:21 | |
*** rashm2k has joined #harmattan | 11:38 | |
*** Sfiet_Konstantin has joined #harmattan | 11:40 | |
*** xes has joined #harmattan | 12:04 | |
*** tigerfoot has quit IRC | 12:09 | |
*** jonne_ has quit IRC | 12:10 | |
*** xes_ has joined #harmattan | 12:16 | |
*** xes has quit IRC | 12:18 | |
*** asterismo has joined #harmattan | 12:36 | |
*** cypherman has quit IRC | 12:40 | |
*** qwazix has joined #harmattan | 12:44 | |
*** qwazix has quit IRC | 12:53 | |
*** qwazix has joined #harmattan | 12:55 | |
*** stef_204 has joined #harmattan | 12:58 | |
*** xes_ is now known as xes | 13:13 | |
*** tigerfoot has joined #harmattan | 13:16 | |
*** stef_204 has quit IRC | 13:17 | |
*** gabriel9 has quit IRC | 13:24 | |
*** Kabouik has joined #harmattan | 13:27 | |
*** RzR has quit IRC | 13:29 | |
*** RzR has joined #harmattan | 13:30 | |
*** trx has quit IRC | 13:49 | |
*** tigerfoot has quit IRC | 14:32 | |
*** e-yes has joined #harmattan | 14:33 | |
*** krnlyng_ has quit IRC | 14:41 | |
*** ZogG_laptop has joined #harmattan | 14:46 | |
*** lbt has quit IRC | 15:33 | |
*** tigerfoot has joined #harmattan | 15:33 | |
*** lbt has joined #harmattan | 15:35 | |
*** ZogG_lap1op has joined #harmattan | 15:53 | |
*** ZogG_laptop has quit IRC | 15:55 | |
*** e-yes has quit IRC | 15:59 | |
*** bef0rd has quit IRC | 16:46 | |
*** bef0rd has joined #harmattan | 16:47 | |
*** bef0rd has quit IRC | 16:51 | |
*** javispedro has joined #harmattan | 17:03 | |
*** e-yes has joined #harmattan | 17:44 | |
*** TMavica has joined #harmattan | 18:40 | |
*** macmaN has quit IRC | 18:42 | |
*** ZogG_lap1op has quit IRC | 18:55 | |
*** auenfx4 has quit IRC | 18:56 | |
*** auenf has joined #harmattan | 18:57 | |
*** FIQ has quit IRC | 18:59 | |
*** ali_ has joined #harmattan | 19:01 | |
*** Guest26646 has joined #harmattan | 19:02 | |
*** piggz has joined #harmattan | 19:07 | |
e-yes | anyone has success with playing with vibrator (nokia n9)? I mean interaction between userland and /dev/input/vibra node, not mce or even higher level APIs | 19:07 |
---|---|---|
e-yes | looks 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 vibration | 19:08 |
e-yes | yet another "open source" aspect of nokia n9 :( | 19:09 |
javispedro | e-yes: what protocol does it speak? have you tried normal kernel FF one? | 19:14 |
*** ZogG_laptop has joined #harmattan | 19:14 | |
*** ZogG_laptop has quit IRC | 19:14 | |
*** ZogG_laptop has joined #harmattan | 19:14 | |
e-yes | javispedro, 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-yes | looks like this custom_data is finally is being transmitted thru spi | 19:17 |
javispedro | bad | 19:18 |
javispedro | all I've used is the layer that is immediately above FF, which is vibetonz/immvibde | 19:18 |
javispedro | *immvibe | 19:18 |
javispedro | that is also propietary though... | 19:18 |
e-yes | does it work without mce running? do you have any examples how to use it? | 19:19 |
*** Guest26646 has quit IRC | 19:19 | |
*** Guest26646 has joined #harmattan | 19:19 | |
javispedro | e-yes: this is from my old SDL port: https://github.com/harmattan/harmattan-sdl/blob/0606067b617e529243adf8baf1bc21994b7df1fd/src/haptic/immersion/SDL_syshaptic.c | 19:20 |
*** Guest26646 is now known as FIQ | 19:20 | |
javispedro | I don't remember where I got the info, but if you google around the function names you'll find some hits, mostly Android game devs | 19:21 |
javispedro | it works without mce indeed | 19:22 |
javispedro | afaik that's what mce uses. | 19:22 |
coderus | e-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-yes | I managed to initialize it somehow, but vibra feedback is so "soft" | 19:33 |
e-yes | not strong at all | 19:33 |
e-yes | simple test - http://pastebin.com/gTts8XHs | 19:35 |
e-yes | I changed custom_len to 200 and decreased usleep interval to 6000us - now vibra is stronger | 19:52 |
e-yes | looks like kernel sends smth on spi constantly while vibration | 19:53 |
*** ali_ has quit IRC | 19:54 | |
e-yes | that 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 used | 19:54 |
e-yes | yep, sure. not SPI at all, despite driver uses spi_message_init+spi_message_add_tail+spi_sync | 20:05 |
e-yes | OMFG! Nokia, what do you do, cut it off!11 | 20:06 |
javispedro | lol | 20:07 |
e-yes | fscking disguise) | 20:07 |
*** macmaN has joined #harmattan | 20:11 | |
e-yes | that what I always call OOO programming | 20:16 |
e-yes | OOO programming - overkill and overhead overengineered programming | 20:18 |
manqeloq1e | heh, great way to save money | 20:25 |
e-yes | why not to use PWM? I believe OMAP3 have it | 20:48 |
e-yes | and I'm blind, actually... I just recognized that there is "Omap PWM" sign above SIMO (MOSI) line | 20:49 |
e-yes | but they use SPI API anyway) | 20:49 |
e-yes | vibra_spi.c: "This file implements a driver for SPI data driven vibrator." | 20:52 |
*** ZogG_laptop has quit IRC | 21:01 | |
*** xes has quit IRC | 21:04 | |
*** Sfiet_Konstantin has quit IRC | 21:05 | |
*** louisdk has joined #harmattan | 21:08 | |
*** DocScrutinizer05 is now known as neo900 | 21:37 | |
*** neo900 is now known as DocScrutinizer05 | 21:37 | |
*** piggz has quit IRC | 21:42 | |
*** Kabouik has quit IRC | 21:43 | |
*** piggz has joined #harmattan | 21:55 | |
*** bef0rd has joined #harmattan | 22:09 | |
*** javispedro has quit IRC | 22:28 | |
*** piggz has quit IRC | 22:35 | |
*** javispedro has joined #harmattan | 23:03 | |
*** M4rtinK has joined #harmattan | 23:13 | |
*** xes has joined #harmattan | 23:16 | |
e-yes | modem activity affects vibration cleanness, predictable:( | 23:19 |
*** e-yes has quit IRC | 23:46 | |
*** e-yes has joined #harmattan | 23:59 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!