IRC log of #maemo-devel for Sunday, 2010-01-10

*** T7g has quit IRC00:14
*** woglinde has quit IRC00:19
*** woglinde_ has joined #maemo-devel00:24
*** t7g__ has joined #maemo-devel01:31
*** t7g_ has quit IRC01:33
*** woglinde has joined #maemo-devel01:43
*** Miniscalope has joined #maemo-devel01:46
*** woglinde_ has quit IRC01:58
*** jpetersen has quit IRC01:59
*** Miniscalope has left #maemo-devel02:07
*** kamui__ has joined #maemo-devel02:11
*** shinkamui has quit IRC02:17
*** woglinde_ has joined #maemo-devel02:36
*** woglinde1 has joined #maemo-devel02:41
*** woglinde has quit IRC02:42
*** woglinde_ has quit IRC02:45
*** JPohlmann has quit IRC02:59
gdfireanyone know how to create desktop widget with pyqt?03:15
woglinde1same as with qt03:16
*** woglinde has joined #maemo-devel03:29
*** woglinde_ has joined #maemo-devel03:34
*** woglinde has quit IRC03:40
*** woglinde1 has quit IRC03:43
gdfirei don't know how to transalate c++ to python03:45
gdfirei ave little time to learn03:47
*** gdfire has quit IRC03:50
*** BabelO has quit IRC03:54
*** pH5_ has joined #maemo-devel04:02
*** pH5 has quit IRC04:18
*** pH5_ has quit IRC04:19
*** VDVsx has quit IRC04:27
*** woglinde_ has quit IRC04:44
*** kamui__ is now known as shinkamui07:10
*** flux has quit IRC07:16
*** DocScrutinizer51 has quit IRC07:30
*** Docscrutemp has joined #maemo-devel07:30
*** Docscrutemp is now known as DocScrutinizer5107:31
*** Acedip has joined #maemo-devel08:16
*** flux has joined #maemo-devel09:39
*** blanc has joined #maemo-devel10:57
*** Acedip has quit IRC11:16
*** BabelO has joined #maemo-devel13:01
*** kamui__ has joined #maemo-devel14:11
villagerruskie: I just uploaded syncevolution 0.9.2 beta, and built it against curl instead of soup since there were complaints about soup...14:21
villagerI suppose that was perhaps you complaining14:22
ruskieyeah that was me14:22
ruskieI'll try it14:22
ruskieI actually managed to build after that patch but seems to have failed to do so with curl14:23
ruskiethen I tried a more recent version of libsoup 2.26 and 2.2714:23
ruskiebasically with 2.27 I got passed SSL issues14:24
ruskiebut still basic auth didn't work14:24
villagerI'm working on writing a gui frontend in python14:25
ruskiewell I can live without one :)14:25
ruskieI plan on having this in a cron job anyway :)14:25
villagerI thought maemo didn't have cron14:26
ruskiebuilt my own :)14:26
ruskieand zsh and a few other bits and pieces :)14:26
villagerwell, I guess a frontend would still be good for other people then14:27
ruskietrue14:27
ruskieor for on-demand syncs14:27
villagerwas planning to hook it into libalarm, but not sure where to store the alarm cookie14:27
ruskiethere any way to increas the verbosity?14:28
villagerof syncevolution?14:28
ruskieyup14:28
*** shinkamui has quit IRC14:29
ruskiewould like to see quite detailed info on what's happening with this14:30
villagerchecking the source a bit...14:31
ruskiethere is some setting but I tried changing with not much luck14:32
villagerthere's a loglevel in the config.ini for each source... doesn't seem to be much more14:34
villagerperhaps it just doesn't output that many messages14:36
ruskieok... now atleast I get some info on what's going on(with curl)14:42
ruskie[INFO] CurlTransport Failure: error:140920DF:SSL routines:SSL3_GET_SERVER_HELLO:parse tlsext14:42
ruskie:)14:42
ruskieI think I'll try getting a more recent openssl14:43
*** JPohlmann has joined #maemo-devel14:52
*** V13 has joined #maemo-devel15:02
V13hello15:02
V13Is there a way to find out when a chat message is received *and* when it is acknowledged by the user ?15:03
V13I looked at dbus signals using "dbus-monitor" but I couldn't find any signal for acknowledgment of the chat message15:03
V13I'm testing with with MSN / telepathy-butterfly15:04
V13ping15:05
ruskieonly if the protocol supports it15:07
ruskieand don't be impatient ;)15:07
V13oh..15:07
V13so there is not a standard signal from telepathy for that?15:08
ruskielook at the telepathy docs15:08
ruskiebut I'm not aware of any IM clients that would send back a: I have read your message15:08
V13I really can't understand the specification of dbus on telepathy. I'm not very good with dbus and it confuses me. So I uses dbus-monitor and some guessing.15:09
V13"I uses" == "I'm using"15:09
V13oh... no no no15:09
V13that's not what I want.15:09
ruskiewhat then?15:09
ruskiethat's what I understood15:10
V13Example: when you receive a chat message there is a notification and the top-left icon becomes white.15:10
ruskieyes15:10
V13that lats until you acknowledge the message (i.e. read it)15:10
V13lasts15:10
ruskieahh15:10
V13that's what i'm looking for15:10
ruskieto active that notification?15:10
ruskieerm activate15:10
V13hm. no15:10
ruskiedeactivate it?15:10
V13just find out when the notification is no  longer active15:10
V13i don't want to mess with it... just get it's status changes15:11
ruskiehmm15:11
ruskiethat wouldn't be part of telepathy I think15:11
V13or rtcomeventlogger15:11
ruskiertcom-notification-ui python-notify libnotify1 libhildonnotify0 hildon-plugins-notify-sv <-- probably one of these is more likely15:12
V13I see signals only from notification. (/org/freedesktop/Notifications)15:12
ruskiethat would be libnotify1 sending it to a notification daemon15:12
V13but I can't match this against any other signal that actually says that this is a chat message notification15:12
ruskieit's not a chat message notification... I think it's a generic notification that has a do this when I click on it content15:13
V13so, I can find out that a chat message arrived and that a notification is no longer shown. But I can't match those two15:13
V13exactly.15:13
V13I'm writting a custom notification program15:13
ruskiedid you dump the entire stuff from dbus-monitor ?15:13
V13well.. I do "dbus-monitor type=signal"15:14
V13the system bus has no info at all15:14
V13only the session15:14
V13Should I try to trace the method calls instead of looking for signals ?15:14
V13(I can copy-paste you the messages. I'm testing it right now)15:15
ruskietry to trace everything15:15
ruskiefor half a minute or so15:15
V13I did15:15
ruskiehmm I'm not sure if notifications have any feedback15:16
ruskieor as you state status changes15:16
V13perhaps I'm asking the wrong questions...15:16
ruskieyou would like to know when a user acknolweldges a notification15:17
V13Is there any other way to find out the duration that a user needs to be notified ? (e.g. the duration to blink the led when there is a missed incoming call)15:17
V13somehow mce (right?) is notified for start and stop of an event. No?15:17
ruskiemaybe by this: hildon-plugins-notify-sv15:17
ruskieSound and vibra notification plugin15:17
V13is there documentation for it ?15:18
*** jebba has quit IRC15:19
V13I can't find something...15:21
V13I believe that I can do this by polling eventlogger database and looking for unacknowledged events, but that would be very bad for battery. right ?15:22
*** DocScrutinizer51 has quit IRC15:27
*** Docscrutemp has joined #maemo-devel15:27
*** Docscrutemp is now known as DocScrutinizer5115:27
*** bjangle has joined #maemo-devel15:29
bjangleWhats the easiest way to port to something to my n800? create a project with madde, shove the stuff into src, change the prog.pro file, mad make?15:35
bjanglegives make targets not found etc.15:37
*** DocScrutinizer51 has quit IRC15:37
*** Docscrutemp has joined #maemo-devel15:37
*** Docscrutemp is now known as DocScrutinizer5115:37
*** blanc has quit IRC15:43
*** blanc has joined #maemo-devel15:44
ruskiehmm villager does this look proper to you: src/syncevo/Cmdline.cpp:988:boost::replace_first(assignment, "= syncml:auth-basix", "= basic"); ?15:49
ruskieconsidering everywhere else it's: syncml:auth-basic ?15:50
villagerdon't know15:51
villagerthat seems to only be part of the unit tests though15:52
ruskiehmm15:53
villagerso probably not critical15:54
ruskiestill trying to figure out why basic doesn't work15:54
villagernot even compiled in15:54
*** VDVsx has joined #maemo-devel15:56
* ruskie considers if syncevolution is the problem here15:56
*** sleipnir has joined #maemo-devel15:59
*** bjangle has quit IRC16:08
*** blanc has quit IRC16:09
ruskiehttp://bugzilla.moblin.org/show_bug.cgi?id=2429 <-- hmm maybe this is the problem16:09
ruskiewell I guess no sync for me16:17
ruskiethanks for the help villager I guess upstream needs to fixup things first16:28
villagermaybe so16:28
villagerbeen wondering if it would be a good idea to port opensync to maemo, not just syncevo16:30
villagerunlike syncevo, it can do much more than just syncml... but perhaps it's more complex and less mature16:33
ruskieiirc it did evolve out of multisync16:33
ruskieso I doubt it's less mature16:34
ruskiebut the api might be more in the air16:34
villagerthe webpage is more messy at least16:34
ruskieI rarely judge projects on their websites :)16:35
villagerif I ported it, perhaps I could sync directly to google calendar, though16:35
ruskiewell they have an #opensync chan around here16:35
villagerI'll just make the python gui I'm writing able to work with both syncevo and opensync, perhaps16:36
wndhas opensync api finally been freezed? do the plugins actually compile against the core again?16:37
villagerdunno16:37
villageryou think it's not worth it trying to port it yet?16:37
villagerhmm, the webpage says that opensync's syncml doesn't support one-way sync... but syncevo does, of course... hmm, doesn't give me much confidence in maturity16:40
wndstable branch isn't very useful as is, and http://www.opensync.org/wiki/status suggests that migration to the new api is far from complete16:40
V13that's for the last 1-2 years16:41
villageryeah, the faq says that the 0.3x and 0.4 can't even sync calendars16:41
villagerguess it's better to fix stuff in syncevo then16:42
wndV13, I know, but least now that 0.39 is out, "The complete API was examined and should be stable."16:45
V13oh!16:48
V13perhaps I'm lagging behind16:48
V13ryskie: FWIW, I managed to do it. Here is how: I'm monitoring all notifications for com.nokia.HildonSVNotificationDaemon. At the beginning there is a call to PlayEvent with "urgency:1" as parameter. This call returns an ID. When the event is ACKed by the user, there is another call for StopEvent with this ID as the only argument16:59
V13ruskie: So, I had to monitor 3 messages: The callfor Play Event, its reply and the call for StopEvent. The first two are matched by serial and reply_serial. The first and the last are matched by the ID that is returned by the second.17:00
V13A relevant message is: method call sender=:1.249 -> dest=com.nokia.HildonSVNotificationDaemon serial=715 path=/com/nokia/HildonSVNotificationDaemon; interface=com.nokia.HildonSVNotificationDaemon; member=PlayEvent17:01
V13btw, thanks for your help.17:01
ruskie:)17:06
*** BirdFlew has joined #maemo-devel17:25
*** BirdFlew has left #maemo-devel17:29
*** JPohlmann has quit IRC17:44
*** JPohlmann has joined #maemo-devel17:45
*** DocScrutinizer51 has quit IRC17:53
*** simoneb_ has joined #maemo-devel17:54
*** DocScrutinizerXX has joined #maemo-devel17:56
*** DocScrutinizerXX is now known as DocScrutinizer5117:56
*** lardman has joined #maemo-devel18:39
*** SpeedEvil has joined #maemo-devel18:41
simoneb_do i have to make a gtkbutton a composite widget to make it half transparent?19:09
villagerruskie: so if curl didn't help, think I should go back to libsoup?19:47
villagerwonder if the N900's proxy settings are honored by default by soup19:47
*** kodomo_ has joined #maemo-devel19:54
*** kodomo has quit IRC19:54
*** simoneb_ has quit IRC20:08
ruskievillager, from what I know libsoup doesn't respect http_proxy20:18
ruskieor HTTP_PROXY20:18
ruskiecurl does20:18
ruskiefinally20:19
ruskiemodified the digital nature theme to be nice and green20:19
ruskiethough wrong colour... need to modify it a bit more20:19
ruskievillager, of course with syncevo not really sure how proprely something is implemented20:20
ruskiefrom looking at it it even implements it's own auth stuff20:20
ruskieinstead of using the ones from the used lib20:20
*** tealbird has joined #maemo-devel20:27
ruskievillager, as far as curl is concerned it was a step closer... atleast I got out that something was whacked with the SSL SNI stuff20:32
ruskiethen figured out that syncevo doesn't implement HTTP AUTH20:33
V13is anyone familiar with the led of n900 ?20:35
ruskiethere's a thread on it on how you can play with it20:35
V13hm..20:35
V13m.o ?20:35
ruskiealso some instructions on how to modify it in mce20:36
V13yes.. i'm aware of that20:36
V13i'm using /sys20:36
V13but i'm afraid to change led_current20:36
ruskieerm20:36
V13well i changed it some times.. but i restore it20:36
V13somehow, the leds are disabled from time to time...20:37
*** mj_ has joined #maemo-devel20:37
V13I've seen at least the blue having the led_current==0 and ==2 without me changing anything.20:37
V13so it is manages by mce probably20:37
V13managed20:37
SpeedEvilGenerally the drivers manage all of the current so that it's safe20:38
V13I'm wondering about safe values20:38
SpeedEvilwhich LEDs20:38
V13well.. somehow they turn off the led20:38
V13at least the blue and the green20:38
SpeedEvilthe colour LED is driven by a horribly complex chip20:38
SpeedEvilwhich can do flash sequences and stuff20:38
SpeedEvilthat is driven I think by mce20:38
V13the chip does the sequences? not mce ?20:39
* V13 newbee20:39
SpeedEvilIIRC, yes.20:39
V13arg... bad bad bad...20:39
SpeedEvilSo it doesn't need to wake the CPU at all to flash20:39
*** simoneb_ has joined #maemo-devel20:39
V13are there any docs on how to program that on n900 ?20:40
mj_hi all, just want to know what is the best place to start learning for maemo? I have just installed ubuntu and the sdk.20:40
* V13 just created a somehow complex threading app just to make the led flash20:40
SpeedEvilV13: /etc/mce/mce.conf has how mce sets things up20:41
SpeedEvilto get lower level info - look at the drivers20:41
V13I've seen mce.ini20:41
V13but i supposed (wrong) that mce was interpreting the sequences.20:42
V13any idea on where I get the source of mce or the source of the driver ?20:42
SpeedEvildrivers/i2c/chips/lp5521.c20:43
SpeedEvilthe kernel is linked off maemo.org20:43
V13found this: http://wiki.maemo.org/LED_patterns20:43
V13thanks... I'll have a look20:43
SpeedEvilalso - the datasheet for the above - lp5521 on national.com20:44
SpeedEvilhttp://www.national.com/pf/LP/LP5521.html20:45
simoneb_mj_: http://maemo.nokia.com/developers/ is a good starting point, imho. check out the "get started" section20:45
V13lp5521.c is not in mainline kernel. right ?20:46
SpeedEvilno20:47
SpeedEvilhttp://mxr.maemo.org/fremantle/source/kernel/drivers/i2c/chips/twl4030-madc.c#39720:47
SpeedEvilis a cross reference of the kernel that's on device20:47
SpeedEvilthere is a tarball and a patch file on the maemo site somewhere20:47
V13thanks!20:48
* ruskie wonders if he should post the modified digital nature theme on t.m.o20:50
V13why not?20:50
*** tealbird has quit IRC20:50
V13gotit: /sys/class/leds/lp5523:b/device/engine1_mode20:51
V13I mean:/sys/class/i2c-adapter/i2c-2/2-0032/engine1_mode20:51
V13do you know if 2-0032 is constant or changes between reboots?20:51
SpeedEvilI think 2-0032 refers to a hardware address that won't change20:52
SpeedEvilwhat are you trying to do?20:52
V13create a custom notification program20:52
V13To be able to configure any kind of notification for distinct events20:53
V13*especially* for mails20:53
V13e.g. disable mail notification but have sms notification.20:53
SpeedEvilah20:53
mj_simoneb: thanks20:53
SpeedEvilis mce open-source?20:54
*** kamui__ has quit IRC20:54
V13dunno20:54
V13I've made a plugin-based app. no gui yet. works pretty well for now but it doesn't use hardware for the led20:54
V13(only checks for im)20:55
*** guido_g has joined #maemo-devel21:05
V13ok.. here is how the led works: In the above sysfs dir there are 3 files coresponding to 3 programable engines21:13
V13engine[123]_mode21:13
V13if you write "load" in engine1_mode, 2 more files are shown: engine1_leds and engine1_load21:14
V13the first control the leds  that will be used. The second accepts the string that is described in mce.ini21:14
SpeedEvilah21:14
V13after that you echo "run" to engine1_mode and it starts running21:14
V13to stop it you echo "disabled" to engine1_mode21:14
V13now.. I need to understand the engine[123]_leds21:15
SpeedEvilthe above datasheet may be useful on national.com21:15
V13lets see21:16
DocScrutinizer51is the led contoller the same as in N810?21:16
V13mce says LystiRX5121:17
V13that RX51 seems like N900 only21:18
V13but there is another "NJoyRX48" which may be similar21:18
SpeedEvilwork out which one is the lp* chip21:18
V13find /sys -name lp\*21:20
SpeedEvilI mean in mce21:21
DocScrutinizer51I've seen commands somewhere in init to start charge notification that looked like those 'programs' for the N810 chip (forgot the exact name - we adoped it for OM GTA03 though)21:22
*** shinkamui has joined #maemo-devel21:27
V13OK, I updated http://wiki.maemo.org/LED_patterns with this info21:34
*** mj_ has quit IRC21:39
villagerseems neither curl nor soup are built to respect the N900's proxy settings, guess I have to make my frontend fetch the settings or something before launching syncevolution21:46
*** sleipnir has quit IRC21:47
V13got it...21:48
V13the engineX_load has 9 bits: 0000rgb0021:48
V13rgb control the led :)21:48
V13and cyan is really nice :)21:49
*** simoneb_ has quit IRC21:55
lardman:)21:59
*** guido_g has quit IRC22:24
*** rsalveti has joined #maemo-devel22:48
*** woglinde has joined #maemo-devel23:09
*** GNUton-BNC has joined #maemo-devel23:12
woglindehi gnuton23:16
*** VDVsx has quit IRC23:34
*** VDVsx has joined #maemo-devel23:35

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