**** BEGIN LOGGING AT Thu Apr 21 02:59:58 2011 Apr 21 03:03:58 the blue on the n900 is stunningly deep Apr 21 03:04:07 something is unusual about it Apr 21 03:04:26 i have to reduce saturation on blue to match my laptop Apr 21 03:47:26 hi Apr 21 03:49:03 i had to reflash my N900, and now i don't remember what was the secret to keeping enough space in rootfs after installing all my programs...is there a progam that will scan my rootfs and gimme a list of all files i can safelly symlink to somewhere outside that cramped little closet? Apr 21 03:51:30 i already moved out most of the big files and folders i identifyied as belonging to installed programs or that aren't system files Apr 21 03:53:03 is there a way to get the rss reader widget to show only feeds I want on the widget and not all of them? Apr 21 04:31:43 is it possible to use gcc 4.4 in scratchbox? Apr 21 05:10:04 Well. Moo all. Apr 21 05:10:48 moooo0000000000000ooooooooooooooooooooo00000000000000o0o Apr 21 05:10:56 heya derf Apr 21 05:13:18 What's shakin'? Apr 21 05:13:22 ~moo Apr 21 05:13:23 * infobot mooooooooo! I am cow, hear me moo, I weigh twice as much as you. I am cow, eating grass, methane gas comes out my ass Apr 21 05:16:05 ___________ Apr 21 05:16:05 < MooOOOoo? > Apr 21 05:16:05 ----------- Apr 21 05:16:05 \ ^__^ Apr 21 05:16:05 \ (oo)\_______ Apr 21 05:16:08 (__)\ )\/\ Apr 21 05:16:10 ||--WWW | Apr 21 05:16:13 || || Apr 21 05:18:28 derf: Not much. Lots of work, no fun Apr 21 05:19:13 Yeah, I know what you mean. Apr 21 06:37:32 can somebody run MDK3 on N900? Apr 21 06:39:55 i want try to crack hide essid wep. Apr 21 06:41:22 can somebody give some suggest?how to ? Apr 21 06:44:38 ah MDK Apr 21 06:45:47 lolloo.ya,wireless ddos crack hide wep Apr 21 06:46:40 I have no experience but sound good Apr 21 06:47:58 can somebody interest it ?? and complie it to N900 Apr 21 06:48:15 do-it-yourself? Apr 21 06:52:17 yes i agree,i want too,but now i can't do it, Apr 21 06:52:47 i study python,new to linux Apr 21 07:00:05 psychologe, you can try to compile it directly first. perhaps it works :) Apr 21 07:05:51 ok,do it myself. Apr 21 08:43:55 1337 pourcent of Pi == 42 Apr 21 08:44:08 Morning ! Apr 21 08:46:24 Khertan1: pourcent? Apr 21 08:47:02 1337 * Pi / 100 Apr 21 09:18:49 Hi *, the status light is very dim (e.g yellow or green). When freshly booted, it sometimes starts of normal, but right now its very hard so see it all. Any ideas? Apr 21 09:33:49 good morning Apr 21 09:35:02 morning Apr 21 09:44:02 Hi all Apr 21 09:44:20 hi Apr 21 09:44:36 Just a question..does maemo use an Xserver + egl ? Apr 21 09:48:04 mrAlmond, afaik Maemo uses Xorg Apr 21 09:48:12 mrAlmond, not sure about egl Apr 21 09:49:32 I'm asking this because I'm doing something similar for an embedded device that has egl support Apr 21 09:49:46 on framebuffer everything is smooth Apr 21 09:49:59 but on xorg it's very slow Apr 21 09:50:32 As test application I'm using this one from maemo : http://wiki.maemo.org/SimpleGL_example Apr 21 09:50:32 mrAlmond, well, I dunno what you mean by "something similar" Apr 21 09:50:57 I'm talking about the graphic stack Apr 21 09:51:05 mhm Apr 21 09:51:13 so qt + xorg + egl Apr 21 09:51:20 well, Maemo supports OpenGL ES Apr 21 09:51:26 I don't know what egl is Apr 21 09:52:22 http://www.khronos.org/egl/ Apr 21 09:52:36 this example uses egl : http://wiki.maemo.org/SimpleGL_example Apr 21 09:52:46 okay Apr 21 09:53:08 I'm sure someone knowledgeable will answer your question. maybe ask DocScrutinizer Apr 21 09:53:21 I have to leave now. Apr 21 09:53:27 ok tnx!! Apr 21 09:54:30 DocScrutinizer: Hi Apr 21 09:58:14 hi all Apr 21 10:20:25 mrAlmond: yes Apr 21 10:22:16 mrAlmond: http://wiki.maemo.org/OpenGL_ES_Libraries#Xlib%20%28X11%29 Apr 21 10:22:58 tnx but I've already read that page Apr 21 10:23:30 I'm trying to understand how maemo can have good performances using xorg and egl Apr 21 10:25:52 there is no "good performance" in "xorg" Apr 21 10:31:58 chem|st : So you mean that at the moment xorg + egl in maemo is not running smooth? Apr 21 10:32:17 I'm the wrong one to ask on that topic, dunno why Venemo pinged me :-D Apr 21 10:32:29 DocScrutinizer : :-D Apr 21 10:32:39 lcuk might know Apr 21 10:33:54 lcuk : Hey, are you the right one to ask about? :-) Apr 21 10:33:55 what's the right way to make a native-looking text edit box in Qt? Apr 21 10:34:28 when i just use a QTextEdit, it looks wrong. the highlighting is buggy, and i can't scroll with a finger Apr 21 10:34:49 the qt-maemo-example app has the same problem... surely there is a way to do this? Apr 21 10:35:42 (specifically, i can't select text with the touchscreen either, and if i select with the keyboard, there is no highlight colour, the text i've selected looks normal, and the rest of the line vanishes) Apr 21 10:35:49 mrAlmond: the drivers are outdated afaik and so are the libs... Apr 21 10:36:04 i'm trying to get behaviour similar to the Notes app Apr 21 10:37:05 BCMM: notes is not qt I think :-P Apr 21 10:37:10 i know Apr 21 10:37:28 oh hang on. didn't see http://doc.qt.nokia.com/qt-maemo/maemo5-textedit.html before; i'll see if that does what i think it should Apr 21 10:37:34 qt is kinda mindboggling fsckdup Apr 21 10:37:46 it is rather (on maemo) Apr 21 10:38:07 yeah on maemo, of course Apr 21 10:38:13 i know notes is GTK, but i would've thought one could at least to pretty text-selection in Qt... Apr 21 10:38:31 ask MohammadAG Apr 21 10:38:34 BCMM use style sheets for that Apr 21 10:38:45 (to make stuff pretty ) Apr 21 10:38:51 i'm impressed that an official example of a simple maemo text editor doesn't even work... Apr 21 10:39:15 yeah, very impressive ;-P Apr 21 10:39:30 though i don't know if qt-maemo-example is different from in any way http://doc.qt.nokia.com/qt-maemo/mainwindows-application.html Apr 21 10:39:32 damn mapped keys Apr 21 10:39:36 mrAlmond, sorry, IDK what you are talking about. I am looking over there <<<< at stuff atm, what do you want to achieve Apr 21 10:39:52 does anyone know how sys sends those keys to focused edit box? Apr 21 10:40:06 trx: i've never used stylesheets in qt, can they make the text highlighting look the way it should? Apr 21 10:40:22 (by which i mean, the way it looks in GTK, and teh way the same Qt code looks on a linux PC) Apr 21 10:40:24 BCMM you can do pretty much anything with them Apr 21 10:40:41 lcuk: topic been egl Apr 21 10:40:41 never styled a text edit before tho Apr 21 10:43:17 lcuk : I'm trying to have good performances on an embedded device running qt + xorg + egl...I'm asking here because maemo has a very similar architecture Apr 21 10:43:39 how well does your app work on Maemo? :) Apr 21 10:43:39 trx: fool speaking "isn't that via X events?" Apr 21 10:43:57 Hi! Is there a maemo app that syncs decently with google calendar? Or even if it's some command-line thing that imports it into a vCal file or something... Apr 21 10:44:01 BCMM http://doc.qt.nokia.com/latest/stylesheet-examples.html check this page Apr 21 10:44:49 kwtm_: mail for exchange Apr 21 10:44:50 DocScrutinizer probably, but the wierd thing is, X Term, Notes, etc (GTK?) are recieving them properly, while Qt apps do not Apr 21 10:44:55 lcuk: I love your approach Apr 21 10:44:56 lcuk : Do you know which kind of xorg server version is running on maemo...and if it's using some sort of hw accelerations? Apr 21 10:45:20 DocScrutinizer, lol Apr 21 10:45:36 Qt apps just recieve standard keys, which is frustrating :/ Apr 21 10:45:38 mrAlmond, a good one, lots of people put incredible amount of effort to ensure it ran well Apr 21 10:46:13 but if you have the device, check with dpkg-* functions to see the versions Apr 21 10:46:21 just built http://doc.qt.nokia.com/qt-maemo/maemo5-textedit.html , and it scrolls Apr 21 10:46:23 lcuk : So it's not an easy question....how can I obtain the maemo rootfs ? Apr 21 10:46:26 but hte selection stuff is the same Apr 21 10:46:42 no selection by finger, and keyboard selection is unusably wrong Apr 21 10:46:52 mrAlmond: see Apr 21 10:46:55 ~flash Apr 21 10:46:55 flashing is, like, http://wiki.maemo.org/Updating_the_tablet_firmware Apr 21 10:47:12 mrAlmond, go to store, purchase n900? Apr 21 10:47:14 testing ... am I "kwtm" again? Apr 21 10:47:16 ok. Apr 21 10:47:20 BCMM : try to add : "selection-background-color: lightgray;" Apr 21 10:47:25 use code to download firmware Apr 21 10:47:34 BCMM (not tested) Apr 21 10:47:47 Cor-Ai: Sorry, mail for exchange ... is that a package, or are you asking me to send email to the maemo mailing list to find the answer to my question? Apr 21 10:47:49 trx: yeah, going to try that Apr 21 10:47:50 you'll need an arbitrary IMEI like 356938030954300 Apr 21 10:47:57 but then it'll be ignoring theme colours... Apr 21 10:48:22 yeah :/ Apr 21 10:48:35 kwtm: its the name on the app :p google it and you will see! Apr 21 10:48:36 lcuk : clever, very clever Apr 21 10:48:36 this is kinda ridiculous... Apr 21 10:49:06 MohammadAG: around? Apr 21 10:49:08 mrAlmond, you could also use the maemo package tool to see versions Apr 21 10:49:26 mrAlmond: stop bitching, say thanks to DocScrutinizer51 Apr 21 10:49:29 use the search here http://maemo.org/packages/ Apr 21 10:49:45 sup Apr 21 10:50:13 MohammadAG: doc suggested I ask you about Qt... Apr 21 10:50:23 mrAlmond: flasher can extract the rootfs image from fiasco.bin Apr 21 10:50:40 Cor-Ai: Thanks for the info. Wow, that's a huge thread to read through ... Apr 21 10:50:42 MohammadAG: is it possible to create something like a QTextEdit, but looking correct? Apr 21 10:50:46 DocScrutinizer : Yes I'm looking at that, thak you Apr 21 10:50:54 (specifically, selection is all wrong in several ways in a regular QTextEdit) Apr 21 10:51:06 BCMM, why not use QStyleSheets? Apr 21 10:51:35 MohammadAG: isn't that for overriding native colours and so on? Apr 21 10:52:37 what's wrong with it? Apr 21 10:52:42 hmm Apr 21 10:52:54 selection that is Apr 21 10:53:03 MohammadAG: i'm trying to use the system's selection colour for the background of selected text... Apr 21 10:53:40 at present, selected text looks like normal text, but the rest of the line looks invisible (white on white?) Apr 21 10:53:53 bug in qt Apr 21 10:53:59 Qt 4.7.2 bug Apr 21 10:54:07 oh, is that a known bug? Apr 21 10:54:10 ok Apr 21 10:54:13 yes Apr 21 10:54:19 no, we heard it first time now ;-P Apr 21 10:54:33 how does something like that go unnoticed? :/ Apr 21 10:54:42 pfff Apr 21 10:54:43 sorry, for some reason i was assuming I had to do something to properly port the application Apr 21 10:55:03 like some sort of QSpecialMaemoTextEditThing Apr 21 10:55:06 yeah, purge qt4.7.2 Apr 21 10:55:31 DocScrutinizer: sorry, debian newbie - are you talking about downgrading to the previous Qt version? Apr 21 10:55:34 kwtm: MfE is pre installed Apr 21 10:55:35 (and how does one do that) Apr 21 10:55:41 damn i hate rx-51 Apr 21 10:55:50 (i mean, i am a debian newbie) Apr 21 10:55:54 BCMM: same here, but yes, 4.7.2 is borked it seems Apr 21 10:55:58 is there any documentation about how it works? Apr 21 10:56:14 (not the file format) Apr 21 10:56:19 chem|st: Yes, I'm reading about it now. Fascinating. So, then, the google calendar would be sunc (sync'd) to the built-in N900 calendar app? That's not too bad. Apr 21 10:56:23 BCMM: ask moh Apr 21 10:56:48 kwtm: as I don't give google anything I don't know Apr 21 10:56:51 MohammadAG: sorry to bother you again... how can i downgrade qt, and will everything break? Apr 21 10:56:56 BCMM do you have any mapped keys? Apr 21 10:56:58 no, the point of Qt is to write code once Apr 21 10:57:04 trx: not quite sure what you mean Apr 21 10:57:22 like Shift + Fn + b = "{" Apr 21 10:57:24 etc Apr 21 10:57:27 trx: no, why? Apr 21 10:57:29 kwtm: if the world is a RTS game, google is the techy and we left it alone for too long already Apr 21 10:57:46 i wanted to ask you to test it on that text edit while you're at it Apr 21 10:57:47 MohammadAG: oh, and what about finger-selection, like in the notes app? is that possible? Apr 21 10:58:02 because they dont work on my controls Apr 21 10:58:30 trx: apt-get install qt-maemo-example if you want to play with a plain QTextEdit Apr 21 10:59:02 chem|st: Actually, I only ended up giving Google anything because I didn't feel I had a usable calendar option on the N900. I can't remember what exactly the problem was ... I think I had trouble importing my calendar stuff from the Treo? Or was it the GUI that wasn't so good? Can't remember. Apr 21 11:00:41 actually the calendar app is the least integrated closed app of the whole bunch, should be easy and painless to replace with anything better Apr 21 11:01:09 kwtm: I just use the build in calendar for now, a sync to some online (free open at best at my servers) calendar would be nice but there is no caldav webdav support I know about Apr 21 11:01:56 DocScrutinizer: yeah but I don't know any "good" calendar apps neither Apr 21 11:02:22 DocScrutinizer: so what's the current status of Qt for maemo? do you think there will be updates, or will bug reports just make Nokia laugh? Apr 21 11:02:38 frankly me neither, except maybe Kontact Apr 21 11:02:55 on desktop I use orage or something Apr 21 11:02:58 DocScrutinizer: What do you think of GPE calendar? Seems decent, except I wasn't sure if I wanted to "leave GPE summary running in the background so it can give me alarms", as the warning message said. This was when I was first fiddling with the N900, so maybe I should take another look. Apr 21 11:03:16 BCMM: the 2nd half for sure, no idea about first half. Ask MohammadAG Apr 21 11:03:36 DocScrutinizer: not sure i understood... Apr 21 11:04:06 I have no idea about state of Qt, but I'm sure bug reports make Nokia laugh Apr 21 11:04:09 BCMM, current status is community supported Apr 21 11:04:20 MohammadAG: ah, ok Apr 21 11:04:24 hmm, trying to google for how to do this keeps giving me instructions for aptitude... Apr 21 11:04:30 if someone could point me to where the selection happens in the source code, I might be able to fix it Apr 21 11:04:53 how can one block a specific version of a package? Apr 21 11:05:14 like using gentoo's package.mask; such that automatic update to future versions is permitted Apr 21 11:05:29 how sneaked 4.7.2 into your system? Apr 21 11:05:30 actually, i don't even know how to view available versions of a package on debian Apr 21 11:05:31 Hey question about 1.3.3.7 --I still have to pore over the wiki, but just to get some live feedback here --any stability issues or known issues with performance? If I upgrade to it (currently on PR 1.3), it's a firmware flash just like when I upgraded from PR1.2 to PR1.3? Apr 21 11:06:25 DocScrutinizer: libqt4-core 4.7.2~git20110302-0maemo -- don't know how Apr 21 11:06:31 DocScrutinizer: maybe installing freoffice? Apr 21 11:06:45 maybe due to having used apt-get upgrade in the past Apr 21 11:07:02 kwtm: BCMM: ask MohammadAG - I'm not sure if CSSU introduces fsckdup 4.7.2 Apr 21 11:07:14 BCMM: that's for sure evil Apr 21 11:07:35 ok thx. Apr 21 11:07:38 is this easilly fixable? or should i just reflash/install CSSU? Apr 21 11:08:19 yes, CSSU introduced 4.7.2 Apr 21 11:10:00 but having 4.7.2~git20110302-0maemo is presumably still not normal? Apr 21 11:11:46 ou, wow, the new cssu did apparently make the inbuilt cam go awesome :) Apr 21 11:12:02 more fun options to choose from... Apr 21 11:13:12 In what way? Apr 21 11:15:14 choosable color options as it seems, a small button which makes a shot when you touch it (on the interface) and also a timer-function (i didn't see that one before) Apr 21 11:16:08 and when focused it does kinda calculate how far the object is away from you... which was... well, let's just say my room got enourmously bigger :D Apr 21 11:16:11 that's the community cam-ui replacement Apr 21 11:16:29 MohammadAG do you have any custom mapped keys on your n900? (if so, do they work on your Qt apps?) Apr 21 11:16:32 hm... must have been part of the cssu Apr 21 11:16:52 i didn't install to my knowledge a community cam-ui replacement... Apr 21 11:17:22 yeah, for me it appeared after a CSSU update Apr 21 11:17:40 either i don't know how to work it, or it has a couple of proble Apr 21 11:17:43 ms. Apr 21 11:18:08 probleM$ :) Apr 21 11:18:32 x) Apr 21 11:18:33 I refused recent CSSU update, and I'm pondering to completely abandon it and go back to my private way to cherrypick fixes Apr 21 11:18:42 why? Apr 21 11:19:08 CSSU is way too much experimental and has no stability policy whatsoever Apr 21 11:19:20 so basically like a ton of projects out there Apr 21 11:19:27 it seems focused on bleeding edge, and that's not what I want Apr 21 11:19:35 agreed sadly Apr 21 11:19:58 if it's broken, it's not very seamless is it? :D Apr 21 11:20:04 it should be called CSU Apr 21 11:20:04 :) Apr 21 11:20:07 maybe you should setup your own repo for all those cherry picks.. Apr 21 11:20:19 I suggested to have a stable and a devel CSSU, but no response Apr 21 11:21:03 would be nice Apr 21 11:21:16 well, if cssu does something i don't want it to and it freezes my device i am just too happy to flash it and restart from zero again... i've tried a bunch of stuff and i have some unneeded folders due to that... just to lazy to handpick them and kill them... Apr 21 11:23:18 fact is CSSU introduces more new bugs than it fixes old ones, right now Apr 21 11:24:17 what actually breaks? Apr 21 11:24:53 I honestly don't see how cam-ui by nicolai metts the matra of CSSU "don't include things that can get shipped via normal repo" Apr 21 11:25:21 meets the mantra* Apr 21 11:25:49 and inclusion of qt4.7.2 also seems a *bad* step Apr 21 11:26:15 How do I best detect when there is no cellular reception? If there is an ongoing GPRS call, I can watch for com.nokia.csd.GPRS.Suspended(5, "No coverage"), but that doesn't work if there is no on going GPRS call. Apr 21 11:27:12 phone-control from mohammadAG does have a command which tells you about your cell-reception iirc Apr 21 11:27:38 but that basically is as well some sort of dbus-command if my mind serves me right Apr 21 11:28:01 dbus signal Apr 21 11:28:06 "signal" Apr 21 11:28:31 DocScrutinizer: sure, but which one. Apr 21 11:31:46 signal sender=:1.21 -> dest=(null destination) serial=7039 path=/com/nokia/phone/net; interface=Phone.Net; member=signal_strength_change Apr 21 11:31:47 byte 100 Apr 21 11:31:49 byte 89 Apr 21 11:32:09 dbus-monitor --system Apr 21 11:32:47 DocScrutinizer do you by any chance have custom mapped keys in rx-51 ? Apr 21 11:32:55 nope Apr 21 11:32:57 sorry Apr 21 11:33:10 DocScrutinizer: are you implying that 100/89 means no reception? Apr 21 11:33:13 looks like no qt app can recieve those keys Apr 21 11:33:21 neal: of course not Apr 21 11:33:43 that makes no sense according to my understanding of the function the first is normalized signal strength and the second is negative dbm Apr 21 11:33:46 I have good reception here Apr 21 11:34:06 I saw this: Apr 21 11:34:14 signal sender=:1.19 -> dest=(null destination) serial=5536 path=/com/nokia/phone/net; interface=Phone.Net; member=signal_strength_change Apr 21 11:34:15 byte 83 Apr 21 11:34:15 byte 87 Apr 21 11:34:30 signal sender=:1.19 -> dest=(null destination) serial=5537 path=/com/nokia/csd/gprs; interface=com.nokia.csd.GPRS; member=Suspended Apr 21 11:34:31 uint32 5 Apr 21 11:34:32 string "No coverage" Apr 21 11:34:36 yeah, I see all sorts of those Apr 21 11:34:59 so it is not clear that no coverage is easily implied from the signal_strength_change signal Apr 21 11:35:05 not the 'no coverage' though Apr 21 11:35:32 ok Apr 21 11:35:37 well, GPRS no coverage may happen unrelated to signal strength Apr 21 11:35:42 so, that's just an aside, I guess Apr 21 11:36:00 I also saw on the phone no reception Apr 21 11:36:12 or rather no network operator displayed Apr 21 11:36:22 that's more like a too low signal Apr 21 11:37:18 anyway, define >> How do I best detect when there is no cellular reception?<< Apr 21 11:37:46 in my book >>no cellular reception?<< means signal too low Apr 21 11:38:21 Here's my revision: how can I detect when the cell phone is no longer connected to a cellular tower. Apr 21 11:38:25 if you are interested in a different property of the complex OTA interface of GSM, you need to put different question Apr 21 11:39:01 there's no simple definition of "connected to" Apr 21 11:39:26 you got status "associated to a service cell" Apr 21 11:39:45 and you got status "signal is 'good enough'" Apr 21 11:40:30 good point Apr 21 11:44:17 you got a T3212 timer that makes the MT (phone) renew its association (aka registration, login) every 60..600min, depending on carrier parameters set Apr 21 11:45:23 you got C1,C2 critera (basically a treshold) for MT initiating a handover to a servicing cell with better signal Apr 21 11:45:30 DocScrutinizer: Doesn't the phone also listen on the signal channel for pages, etc. and can measure the reception that way? Apr 21 11:45:44 it does all the time Apr 21 11:46:04 that's where your signal strength is from Apr 21 11:46:05 DocScrutinizer: In that case, I'd suspect that it would know pretty quickly what the link quality is Apr 21 11:46:16 sure Apr 21 11:46:24 http://www.theregister.co.uk/2011/04/21/microsoft_nokia_definitive_deal/ Apr 21 11:47:38 neal: that's also a common source of WTF? - the signal strength is a mere metric for downlink. Uplink may be totally different Apr 21 11:47:41 http://www.reghardware.com/2011/04/08/2015_smartphone_forecast/ Apr 21 11:47:49 hahahahahhahahahhahhahahahahhahahahahahahhahhahahahahahahha Apr 21 11:48:16 * SpeedEvil has some reservations as to the above prediction. Apr 21 11:48:19 HAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHA Apr 21 11:48:43 of course they are only limiting the perdictions on smartphones Apr 21 11:48:48 I look at all cell phones Apr 21 11:49:51 Smartphones are going crashing dwn the price-scale Apr 21 11:50:40 I hope that S40 will keep on chugging Apr 21 11:50:47 for when the n900 won't be able to anymore Apr 21 12:10:34 anyone arround with custom mapped key (in rx-51)? Apr 21 12:10:37 keys* Apr 21 12:12:07 trx: been there done that... Apr 21 12:12:24 currently std map Apr 21 12:13:03 actualy I customized the xterm buttons to my needs Apr 21 12:13:23 chem|st i have noticed that additional keys like eg Shift + Fn + B = "{" Apr 21 12:13:32 do not work on Qt apps Apr 21 12:13:37 trx: I have a custom keymay, yes Apr 21 12:13:40 but work fine in GTK Apr 21 12:13:46 it doesn't work well in Qt Apr 21 12:13:47 hmm Apr 21 12:13:51 can you confirm this? Apr 21 12:13:56 yes Apr 21 12:13:58 yes Apr 21 12:14:00 known issue Apr 21 12:14:15 are there any workarrounds/ fixes for that? Apr 21 12:14:27 I told this to the Qt guys last year Apr 21 12:14:39 they say that custom keymaps are not supported. Apr 21 12:15:23 :| Apr 21 12:15:33 bad habbit afair Apr 21 12:15:36 yep Apr 21 12:16:11 trx: you have to use one of the maps known to Qt or it breaks Apr 21 12:16:31 yeah, or fix Qt... Apr 21 12:17:09 the guy pointed me to a thousands of lines long cpp file Apr 21 12:17:18 why they did it that way remains mistery as idk WTH would want fixed maps Apr 21 12:17:37 that sucks Apr 21 12:17:54 they implemented the long-press blue symbols thingy in Qt Apr 21 12:18:02 qt is another "not an island" Apr 21 12:18:31 and that probably broke this somehow... Apr 21 12:18:50 id rather rip out the long-press stuff than use a std map Apr 21 12:19:05 jaska: i++ Apr 21 12:19:10 I was planning on reverting it and compiling Qt for myself, but haven't had the time yet Apr 21 12:19:38 does qt even send anything or just ignores those combinations? Apr 21 12:19:41 I already prepared a foil for a new map.... Apr 21 12:20:42 but then I recognized that the kbd backlight isn't strong enough (or the foil not RET 10) and I came along not working keys Apr 21 12:20:46 BUT Apr 21 12:21:05 where do you need custom keys apart of xterm anyway? Apr 21 12:21:18 in my App, TxPad Apr 21 12:21:24 some users use them Apr 21 12:21:30 what is this for? Apr 21 12:21:35 code editor Apr 21 12:21:39 ah ok Apr 21 12:21:41 everywhere i want to input stuff they didnt add, i dont like the popup input methods for special symbols Apr 21 12:21:46 sure or a code editor... Apr 21 12:21:52 <>{}[] | etc Apr 21 12:21:58 i made pop-up button bar with those buttons Apr 21 12:22:15 but it would be nice if it could support custom keys too Apr 21 12:22:21 back to GTK+ then Apr 21 12:22:26 custom key maps* Apr 21 12:22:36 chem|st: why do I need custom keys? I need óőúéáűíöü Apr 21 12:23:22 Venemo_N900: so you need some ´`~ iteration Apr 21 12:23:31 well, i guess they will have to use that bar instead.. (it pops if prox sensor is covered) Apr 21 12:23:33 that is borked aswell Apr 21 12:24:02 that is something I'd love for mappero Apr 21 12:24:28 be fullscreen and turn windowed with buttons on prox-sensor Apr 21 12:24:38 btw, has anyone tried TxPad here? Apr 21 12:24:42 i would love your input Apr 21 12:24:44 chem|st: nope. I need exactly those accented letters. for my daily communication. Apr 21 12:25:13 Venemo_N900: I know I mean the button kombination ´ followed by a char Apr 21 12:25:26 combination Apr 21 12:25:42 btw still no portrait keyboard on n900 Apr 21 12:25:43 =( Apr 21 12:26:14 chem|st: nope, I'm not interested in the ´ char at all. anyway, I simply just set up a custom keymap. problem is that it is borked in Qt apps Apr 21 12:26:16 ZogG: and no swype and no speech to text, no voice dial... Apr 21 12:26:35 * ruskie really doesn't care about portrait mode... it's a landscape device... Apr 21 12:26:37 voice dial? meh Apr 21 12:27:00 Venemo_N900: if I presse ` and a I get à Apr 21 12:27:04 chem|st, swype would be nice but at least portrait Apr 21 12:27:27 chem|st: sure but I have no ´ on my keyboard either. Apr 21 12:27:28 and no if you do need to operate it one handed then you really shouldn't be using the device in the first place it means you're doing something else as well... Apr 21 12:27:34 chem|st check if you can get compose key on n900 Apr 21 12:27:38 Venemo_N900: that is what I meant Apr 21 12:27:56 mhm Apr 21 12:28:00 ruskie it would be nice though, on bus e.g. Apr 21 12:28:06 ruskie: smoking, holding a beer, dining a woman Apr 21 12:28:21 ruskie, i found the way to make RDS, but my n900 is dead Apr 21 12:28:26 :( Apr 21 12:28:43 Venemo_N900, btw did you play with dbus from C or C++? Apr 21 12:28:44 or holding the sealing bar in a bus... Apr 21 12:29:06 ZogG, took it to nokia repair yet? Apr 21 12:29:08 ZogG: yes, I've used QtDBus Apr 21 12:29:08 it's pretty simple Apr 21 12:29:21 ruskie i never tried it, but as i understand i just need to send to dbus message with song Apr 21 12:29:39 found program with src but don't understand all of it Apr 21 12:29:40 chem|st, so really nothing important where the device is actually required Apr 21 12:30:01 ruskie, no repairs here in israel, waiting for part for manual one Apr 21 12:30:09 seriously? Apr 21 12:30:20 and you contacted the local nokia corporate? Apr 21 12:30:23 beer smoke and bus-handle is important we can talk about the wife! ;) Apr 21 12:30:24 Venemo_N900, ok as i get it back you'll help me Apr 21 12:30:34 ruskie no local nokia here Apr 21 12:30:45 only thru other company who represent them Apr 21 12:30:59 and they said as no n900 officially in your country — no go Apr 21 12:31:00 see? Qt is rotten to the bones Apr 21 12:31:11 ZogG, contact the closet nokia corporate Apr 21 12:31:17 DocScrutinizer: nothing new is it? Apr 21 12:31:42 ruskie ^ Apr 21 12:31:53 actually the only new thing is some incredibly wise guys want to force us on Qt and thus ruin maemo Apr 21 12:33:08 DocScrutinizer lol Apr 21 12:33:41 QT is great - If you're lacking a framework. Apr 21 12:33:56 ie you need everything from process dispatching to a bubblesort. Apr 21 12:34:45 Admittedly, it does pretty much everything it does poorly - But it does do useful stuff. Apr 21 12:39:02 DocScrutinizer: this is a maemo-specific qt bug btw. Apr 21 12:39:22 I'm allergic to Qt-maemo only Apr 21 12:39:38 well, also to Qt-meego I think Apr 21 12:39:53 and to Qtmoko Apr 21 12:40:08 haha Apr 21 12:40:30 well, qt-meego should be a lot better. not sure about the moko one. Apr 21 12:41:29 why should qt-meego be any better? Did the use their chances to mess up the system more thoroughly? Apr 21 12:42:16 qt4-maemo5 is an overrated hack, made by poorly paid unqualified guys in a rushed timeframe Apr 21 12:42:45 exactly what it feels like Apr 21 12:43:25 so like most of todays software Apr 21 12:43:26 meego is different because there qt is actually developed and kept up-to-date Apr 21 12:43:41 Apr 21 12:43:44 sorry Apr 21 12:45:12 Nokia's global mobile phone market share significantly fell below 30 per cent for the first time in 10 years during the company's first quarter <-- fun... Apr 21 12:46:03 I'm honestly afraid there'll evetually be a PR1.4 maemo meego-mockup hybrid Qt-fsck based "official" release for N900 Apr 21 12:46:13 fun Apr 21 12:46:29 aka harmatten Apr 21 12:46:38 aka harmattan Apr 21 12:48:53 then everybody going "WTF?!!! nothing works, the device is useless now!" A: "wait for next meego update" Apr 21 12:49:54 DocScrutinizer: i hope that tech god dont listen you Apr 21 12:54:53 lol Apr 21 12:56:40 somebody of council might want to write a blog post "why you should NOT use Qt on maemo" Apr 21 13:00:30 when that insane maemo-moblin merger got propagated (buzzword "how I learned to love the bomb"), Qt been the denominated golden bridge migration path from maemo to meego. Now we're left behind with a fsckdup Qt on maemo, and a rather unattractive perspective regarding meego at large on mobile phones. So WTF use a borked Qt anyway? Apr 21 13:02:22 DocScrutinizer, you might be surprised about MeeGo N900 DE - it looks quite classy now and is having many issues ironed out Apr 21 13:02:38 I thought CSSU been the path to a sane up to date bugfixed *MAEMO*, not introducing a even more buggy Qt4.7.2 "migration path" BS to a meego that'll never come Apr 21 13:02:39 it has huge improvements in performance over recent months Apr 21 13:03:13 lcuk: so how is it ANY better than maemo? Apr 21 13:03:55 lcuk: Does it properly return to landscape after it's rotated now? Apr 21 13:04:12 Dibblah, seems to, yeah Apr 21 13:04:22 Is whatever window / compositing manager functional? Apr 21 13:04:29 Does the keyboard work? Apr 21 13:04:31 DocScrutinizer, I can run MeeGo handset builds on my big device Apr 21 13:04:50 (I tried the MeeGo sneak peak install. Was not terribly impressed) Apr 21 13:05:13 Press space - Get [pppppppp until you press another key. Yay? Apr 21 13:05:28 lol Apr 21 13:05:55 Rotate to portrait - Back to landscape - Screen is left rotated by a couple of degrees. Apr 21 13:05:56 well the main problem with the "big merge" is that it isn't a merge at all. Apr 21 13:06:21 for example, MeeGo kernel doesn't have OMAP power management Apr 21 13:06:38 I asked, okay, why not apply the Maemo patches? Apr 21 13:06:39 Using an xterm, the screen "sometimes" stops updating. All in all... Not impressed. Apr 21 13:07:43 and the answer was some whining that they can't use maemo kernel because idunno. Apr 21 13:09:06 so as I see it, they haven't reused anything from maemo at all Apr 21 13:09:27 they even re-wrote the desktop from scratch, with no real reason... Apr 21 13:10:46 anyway, let's just hope that after some time, meego will get it right eventually Apr 21 13:12:46 DocScrutinizer: have you started to write that daemon yet? Apr 21 13:14:46 Venemo_N900: sorry, no idea what daemon you're talking bout. but no. And regarding morons that piss me about my allegedly spamming 50% of #maemo with whining about meego, I'm really more inclined to take lessons from crashanddie about BOFH Apr 21 13:15:00 hehe Apr 21 13:15:43 I was talking about the daemon which checks for accelerometer readings through some kernel events (instead of polling) Apr 21 13:16:38 aaah, you mean a PoC that prints all kevents instead of only those related to e.g udev device add/change Apr 21 13:16:53 I'm a BOFH? Apr 21 13:17:01 sure :-D Apr 21 13:17:14 my favourite one Apr 21 13:17:41 DocScrutinizer: nope, only print kevents from the accelerometer Apr 21 13:18:15 you'd inplement that via usual standard unix means like |grep then Apr 21 13:18:41 problem is, I know nothing about kernel events Apr 21 13:18:43 anyway this is just a PoC, as exactly this would have to go into QtMob Apr 21 13:19:49 I.E. QtMob needs to open a NETLNK socket, register with kernel to receive kevents, then filter if the event is relevant for QtMob, and act accordingly Apr 21 13:19:57 no need for any daemon Apr 21 13:20:17 DocScrutinizer: right. Apr 21 13:20:22 But what puts it onto dbus? Apr 21 13:20:24 :) Apr 21 13:20:32 Everything has to go through dbus! Apr 21 13:20:34 err now? Apr 21 13:20:36 no need to expose it in dbus Apr 21 13:21:10 umm, for several kevents this is done via ke-recv->hal right now, aiui Apr 21 13:21:22 anyway DocScrutinizer, if you can give me such a poc, I can make a patch to QtM that uses this approach Apr 21 13:21:30 alas ke-recv doesn't bother about accelerometer kevents Apr 21 13:21:59 KernelEvents-RECeiVe Apr 21 13:22:18 mhm Apr 21 13:23:28 Venemo_N900: http://git.freesmartphone.org/?p=cornucopia.git;a=blob;f=libfsoframework/fsoframework/kobjectnotifier.vala;h=b4d6aca64d67e118a58fb11f72aa084b75f50fb5;hb=00c471c86667ad3d86610296a634496d746ec287#l61 Apr 21 13:24:22 are you even sure that the accelerometer events are exposed via kernel events? Apr 21 13:24:52 also compare source of udevadm monitor Apr 21 13:25:21 Venemo_N900: not really, but I'm sure they *could* Apr 21 13:25:37 okay, but how? Apr 21 13:25:48 if they aren't then it's a bug in lis302.ko that can get fixed at very least in PK Apr 21 13:26:07 PK? Apr 21 13:26:12 powerkernel Apr 21 13:26:20 I.E on CSSU Apr 21 13:26:30 mhmm Apr 21 13:28:40 hm Apr 21 13:28:54 the code you linked kinda speaks for itself Apr 21 13:29:16 however, I'm not sure how to filter only the accelerometer the events Apr 21 13:30:04 Venemo_N900: btw the lis3lv02.ko they use at meego-arm for SURE does NOT support kevents. It not even supports lis302 hw IRQ Apr 21 13:30:24 mhmm Apr 21 13:30:36 so if QtMob is based on meego, then it's obvious why they fail epically on that Apr 21 13:31:02 mhmm Apr 21 13:32:10 Venemo: ^ Apr 21 13:34:25 Venemo_N900: http://git.freesmartphone.org/?p=cornucopia.git;a=tree;f=fsodeviced/src/plugins;h=6f02272ace8192019c39ac46e4c7fe5afd4878d7;hb=00c471c86667ad3d86610296a634496d746ec287 Apr 21 13:35:16 DocScrutinizer: what's this btw? Apr 21 13:35:34 will the same stuff work on n900? Apr 21 13:39:46 hmm Apr 21 13:41:34 hey guys Apr 21 13:41:49 i look at you and i cry =))) Apr 21 13:41:49 i want my n900 back Apr 21 13:42:00 Venemo_N900: it's supposed to work on N900, at least with SHR distro based on FSO Apr 21 13:42:06 mhm Apr 21 13:42:36 SHR/FSO is using OE kernel Apr 21 13:44:16 OE=? Apr 21 13:44:52 hm, I need to leave the unviersity, so disconnecting the wifi Apr 21 13:44:55 will be back later Apr 21 13:53:50 OpenEmbedded Apr 21 13:54:56 so not the "proprietary" Nokia maemo kernel, though I guess for N900 they added quite some of the Nokia patches Apr 21 13:55:56 I guess I meant it's a 'normal' kernel, no less normal than meego and maemo one Apr 21 13:56:33 the lis302dl.ko driver might be OpenMoko based Apr 21 13:57:06 but the Nokia driver is nice too, and I'd be surprised if it wouldn't support kevents Apr 21 13:57:42 the meego "upstream" lis3lv02.ko OTOH... :-S Apr 21 13:57:49 joystick driver Apr 21 14:00:59 hey DocScrutinizer :) Apr 21 14:01:25 what language is the code that you linked me in? Apr 21 14:01:30 vala Apr 21 14:01:40 hmm Apr 21 14:01:51 rather c'ish Apr 21 14:01:53 can I do this stuff in c++ too? Apr 21 14:01:59 sure Apr 21 14:02:17 I mean, sure I can, but what libs/includes do I need? Apr 21 14:02:26 FSO1 even been written in python ;-D Apr 21 14:02:57 FSO2 is a re-implementation in vala Apr 21 14:03:28 Venemo_N900: /join #openmoko-cdevel, ask mickeyl the author Apr 21 14:03:38 okay Apr 21 14:04:39 btw, didn't you say that om went out of business? Apr 21 14:10:08 is it possible to use gcc 4.4 in scratchbox? Apr 21 14:10:23 I'm not sure Apr 21 14:10:46 I'm trying to build php but it uses a function that's broken in arm gcc 4.2 Apr 21 14:12:03 Sazpaimon: maybe you could compile the newer gcc too? Apr 21 14:13:20 Venemo_N900, wouldn't I need to compile an x86 multiarch gcc for scratchbox to use? Apr 21 14:13:39 i dont think i could use a native ARM gcc from within scratchbox Apr 21 14:13:41 Sazpaimon: i have no idea Apr 21 14:34:43 how do I use libraries from a dir instead of those from $PATH? Apr 21 14:36:51 * Khertan1 smell qt test ... != Apr 21 14:38:04 MohammadAG: whatevery you are using need have the option of specific lib path Apr 21 14:39:16 LD_LIBRARY_PATH? Apr 21 14:40:24 frals, still loads Qt 4.7.3 Apr 21 14:40:30 * MohammadAG needs to test 4.7.2 Apr 21 14:42:00 hm, usually works for me Apr 21 14:43:13 setting RPATH when linking should do it Apr 21 14:48:25 ok, lis302dl.ko driver of maemo kernel definitely should support kevents on sysfs Apr 21 14:49:08 http://mxr.maemo.org/fremantle/source/kernel/drivers/i2c/chips/lis302dl.c#223 Apr 21 14:49:27 so no more excuse to use polling Apr 21 14:50:08 MohammadAG: any progress in the "qt text selection bug" ? Apr 21 14:50:12 example implementation of how to use kevents there -> http://git.freesmartphone.org/?p=cornucopia.git;a=blob;f=libfsobasics/fsobasics/kobjectnotifier.vala;h=69b643cba72f89d847a04fed01dada72081ca2dc;hb=06c3855c111dfeb44873a54c2d59cbbfebfc9c54 Apr 21 14:50:26 vala, but meh Apr 21 14:50:43 simple enough Apr 21 14:51:30 QtMob needs to do same thing on maemo Apr 21 14:52:11 next one bashing me with "don't bitch, apply patches to Qt" will get kicked! Definitely! Apr 21 14:53:07 hey DocScrutinizer, you are not bitching currently. Apr 21 14:53:16 DocScrutinizer, you are now actually making some progress. Apr 21 14:53:28 Khertan, looking into it atm actually Apr 21 15:00:07 also nota bene this lis302 kernel driver supports kevents, but afaik the one used at meego does NOT Apr 21 15:00:53 DocScrutinizer, so, let's look at the meego implementation of QtM and let's have a laugh at it too Apr 21 15:01:03 it's "upstream" nevertheless, to compensate for that deficit ;-P Apr 21 15:01:09 xD Apr 21 15:01:20 hello Apr 21 15:03:20 crs welcome Apr 21 15:04:31 btw, just in case some meegans lurking - the meego lislv302 driver is here afaik: http://gitorious.org/nokia-n900-kernel/nokia-n900-kernel/blobs/master/drivers/hwmon/lis3lv02d.c#line47 Apr 21 15:06:30 59 * The sensor can also generate interrupts (DRDY) but it's pretty pointless... MUHAHAHAHAAAAAAAAAAAAA Apr 21 15:07:02 it's pretty pointless to give brilliant hardware to fools that have no clue Apr 21 15:08:24 ohmy, joystick driver, seems I said that before Apr 21 15:09:32 sowhat? it's upstream and has lis302 in the name, it MUST be ok for meego Apr 21 15:11:37 *sigh* bitching mode again... Apr 21 15:13:26 hey I'm only bitching to make you aware about *real* state of meego development, and why it will take looong time until it reaches a productive level regarding power management etc Apr 21 15:14:17 those dudes always tell me "we'll care about that later - first get a working system" THIS WON't FLY Apr 21 15:19:01 DocScrutinizer, you made me laugh with these comments. Apr 21 15:19:12 DocScrutinizer, now I'm curious about the MeeGo version of QtM Apr 21 15:24:13 MohammadAG: i ask because i m still looking where it could be Apr 21 15:24:26 DocScrutinizer, hmmm... Apr 21 15:24:53 DocScrutinizer, have you actually read those sources? "it's pretty pointless because they are generated even if the data do not change" Apr 21 15:25:05 DocScrutinizer, what the hell does this mean? the accelerometer polls itself? Apr 21 15:25:28 yeah, this dude wasn't capable to read and UNDERSTAND the lis302dl datasheet Apr 21 15:26:17 care to enlighten me? Apr 21 15:27:56 DocScrutinizer, what is it that he failed to understand? Apr 21 15:28:39 the whole point of IRQ threshold engines in lis302 Apr 21 15:28:56 mhm Apr 21 15:28:58 Khertan1, I built the same source for my PC, but can't figure out how to use the libs Apr 21 15:30:09 Venemo: I frankly admit you have to change thresholds prior to resetting IRQ, or it might fire again immediately Apr 21 15:30:25 (if you're not using highpass) Apr 21 15:33:02 I have no idea what highpass is... Apr 21 15:33:26 anyway, I trust the guys who wrote the N900 kernel on Maemo did their job well Apr 21 15:35:44 MohammadAG: how ... i build them in scratchbox and i ve install them in scratchbox Apr 21 15:35:53 never try on real desktop Apr 21 15:35:54 X-Fade: ping Apr 21 15:36:06 Venemo: in LIS302 the highpass is a "DC offset filter", a way to get a signal that's 0 if input signal is steady Apr 21 15:37:04 mhm Apr 21 15:37:17 Venemo: yes, the N900 Nokia lis302 driver is rather decent. It only is missing a few capabilities, like enabling highpass via sysfs node Apr 21 15:37:44 DocScrutinizer, so, what is the frequency at which lis302 sends interrupts? Apr 21 15:38:12 Venemo: so if on LIS302 you trigger IRQ in output of highpass !=0 you get a convenient motion detector Apr 21 15:39:14 Venemo: it sends an interupt whenever the IRQ generator sees an event (like highpass out !=0). You (the user) configure the parameters of the events Apr 21 15:39:55 sounds pretty decent Apr 21 15:39:55 usually there's no "frequency", an IRQ signals something really happened - I.E the orientation changed Apr 21 15:40:39 well, currently I'm not talking about orientation, but raw accelerometer data. in that case, what does "something really happened" mean? Apr 21 15:40:42 you got TWO of those engines Apr 21 15:41:06 nothing. You can read data any time you want Apr 21 15:41:32 LIS302 can create a data ready strobe IRQ whenever a new sample is available Apr 21 15:41:43 for POLL Apr 21 15:43:31 Khertan, ./configure with the same parameters, make, make install Apr 21 15:44:09 you use this operation mode for high data rates (maybe vibration recording, earthquake detectors, whatnot) to avois aliasing between LIS302 internal clock and the driver reading each sample Apr 21 15:44:20 okay, so it seems the best way I'm going to get gcc 4.4 working is to actually backport it on hardware Apr 21 15:44:23 mhmm Apr 21 15:44:30 usually you don't want this mode for mobile devices Apr 21 15:44:38 DocScrutinizer, so what mode do I want? Apr 21 15:44:48 Khertan1, can't reproduce on my PC either Apr 21 15:44:53 event triggered mode Apr 21 15:44:53 i downloaded the QT SDK last night, and it seems like it comes with a NAND image for maemo 5 pr 1.3 that boots in qemu Apr 21 15:44:57 i guess I can use that Apr 21 15:45:37 DocScrutinizer, and what is considered an "event" in that mode? Apr 21 15:46:20 Venemo: enable highpass, set IRQ to fire if any of X' Y' Z' is !=0 (it *changed*), then read out the new absolute values nad reset IRQ Apr 21 15:47:00 DocScrutinizer, ahh, that makes sense Apr 21 15:47:13 anyone know about this nand image that comes with the qt sdk? is it basically the stock PR 1.3 image found in the FIASCO image? Apr 21 15:47:20 as if ever my posts would make sense ;-P Apr 21 15:47:47 DocScrutinizer, however, pieces in puzzle-master should continue drifting even if nothing changes. so at the end, I still end up doing something N times per second. Apr 21 15:47:52 uname -a reports "Linux Nokia-N900 2.6.28-omap1 #1 PREEMPT Fri Aug 6 11:50:00 EEST 2010 armv7l unkown" Apr 21 15:48:02 *unknown Apr 21 15:48:24 Sazpaimon, that is no news Apr 21 15:48:47 Venemo, I'm aware, I'm wondering if this is the same nand image found on the fiasco image Apr 21 15:49:05 dunno, I have PK Apr 21 15:49:13 if so I think this may be better development environment than scratchbox Apr 21 15:49:15 Venemo: it's no problem to poll coords of acceleormeter if you're doing anything anyway. It's *BAD* to poll them just for deciding "nothing changed, should have stayed asleep..." Apr 21 15:49:44 DocScrutinizer, but that's the whole point. QtM doesn't poll and see if it's changed or not. Apr 21 15:49:54 DocScrutinizer, it polls and sends the results of the poll always. Apr 21 15:49:56 afaik Apr 21 15:50:01 but I may be wrong in this. Apr 21 15:50:35 DocScrutinizer, anyway according to their docs, it should work the way you described Apr 21 15:50:48 see, if you have a app waiting for an orientation change, then you don't want your app or QtM poll the g-meter constantly Apr 21 15:51:40 Ω Apr 21 15:51:46 Fecking bad aim. Apr 21 15:51:56 GeneralAntilles: eh? Apr 21 15:52:19 Cmd-v keeps turning into Opt-v. Apr 21 15:55:54 Venemo: maemo lis302 kernel driver supports kevents on IRQ from lis302 threshold trigger engines. Reading from /sys/*/coords means the raw data is fetched from chip - this is polling, and this is what QtM does based on a QTimer all the time aiui Apr 21 15:57:52 The 20-year-old son of Kaspersky Lab's CEO has reportedly gone missing, with kidnappers said to be demanding 3m for his release! Apr 21 15:58:01 Venemo: mce is handling the threshold settings (echo 754 >/sys/*/threshold) and also is listening to kevents afaik, to detect orientation changes. QtM does NOT Apr 21 15:58:08 * RST38h wonders if he should laugh satanically at this point Apr 21 16:00:15 Venemo: NB atm the maemo lis302.ko has no way to enable highpass Apr 21 16:01:40 DocScrutinizer, so, at the end of the day, we would gain nothing even if we changed QtM. Apr 21 16:02:17 so mce probably is dynamically adapting the thresholds and trigger config at large, to get next kevent when the device is changed to other than recent orientation Apr 21 16:02:40 mhmm Apr 21 16:02:54 so, does it still have a point to bother with this? Apr 21 16:02:58 no matter what mce does, there MUST not be two concurrent handlers for accelerometer Apr 21 16:03:22 understandable. Apr 21 16:03:32 hmm Apr 21 16:03:43 in the meantime, I was looking at the MeeGo implementation Apr 21 16:03:47 of QtM Apr 21 16:03:50 well, QtM can still listen(!) to kevents and only read /sys/*/coords if something is happening Apr 21 16:04:16 it seems to be a lot more robust than the maemo one Apr 21 16:04:53 hmm, the lis3lv02.ko of meego definitly is braindead Apr 21 16:05:26 maybe so, but the QtM of meego is not. or seems not to be Apr 21 16:05:41 but honestly I'm not too much interested in meego (anymore) Apr 21 16:06:22 QtM accelero of meego *can not* work properly, with this kernel driver meego is using Apr 21 16:06:43 that's why we see this filesensor polling shit Apr 21 16:06:51 I guess Apr 21 16:06:57 no filesensor polling shit in meego accelerometer implementation Apr 21 16:07:03 o.O Apr 21 16:07:05 wow Apr 21 16:07:25 so they leave polling to app level? Apr 21 16:07:30 nonono Apr 21 16:07:45 they use some stuff called "sensord" Apr 21 16:08:00 hah, so this one is doing the polling then Apr 21 16:09:42 DocScrutinizer, I'm not sure what it's doing, but I see no code for polling Apr 21 16:09:58 if we could find "accelerometersensor_i.h" and its cpp file, then we could have the answer Apr 21 16:10:56 god, it's still not it Apr 21 16:11:15 look at http://gitorious.org/nokia-n900-kernel/nokia-n900-kernel/blobs/master/drivers/hwmon/lis3lv02d.c#line63 Apr 21 16:11:48 yes, you showed it to me already Apr 21 16:12:42 >>The values are updated at 40Hz (at the lowest frequency), but as it can be pretty time consuming on some low processor, ***we poll the sensor only at 20Hz...*** enough for the joystick<< Apr 21 16:13:02 yep, that is what the driver is doing Apr 21 16:13:24 exactly Apr 21 16:13:50 20 times / second read out coord data from chip, FOR NUTTIN Apr 21 16:14:04 you can't cure that on any higher level Apr 21 16:14:22 indeed, but I want to find out whether the higher level is any better or not Apr 21 16:15:17 it can't as the driver doesn't support any sane (I.E. IRQdriven kevents) concept Apr 21 16:16:18 sure, but I'm wondering if it _would_ be any good if the driver _supported_ it. Apr 21 16:16:39 that's why meego is fsckdup regarding power management. And QtM must be fsckdup as it's basing on that Apr 21 16:17:35 NB this is only one of several dozen peripherals. No idea why meego should be more sane on any of the other ones Apr 21 16:18:19 wondering about what QtM COULD be like, if only meego wasn't fsckdup is moot Apr 21 16:18:48 DocScrutinizer, actually, I think MeeGo's QtM does the right thing. Apr 21 16:18:59 i CAN NOT Apr 21 16:19:28 aiui the lis3lv02 driver doesn't support kevents or any other sane event driven concept Apr 21 16:19:35 I understand that Apr 21 16:19:47 however, its QtM reads stuff from some socket as far as I see - which is exactly what we want to implement in Maemo's QtM Apr 21 16:20:33 well, nice if it tries to use kevents on a NETLINK socket Apr 21 16:20:54 and it would actually work if only kernel was sane Apr 21 16:21:26 yeah Apr 21 16:21:28 maybe, if they also would care about setiing up lis302 chip trigger engines correctly Apr 21 16:21:35 mhm Apr 21 16:21:39 prolly duty of sensord Apr 21 16:21:55 yepp... Apr 21 16:22:11 anyway all that is meego BS and I gave up on explaining them about it long ago Apr 21 16:22:11 I still am not 100% sure what sensord does exactly Apr 21 16:22:38 so o/ Apr 21 16:31:14 DocScrutinizer, is there a channel for shr? Apr 21 16:31:38 DocScrutinizer, I'm curious what DE does shr use Apr 21 16:31:39 om-cdevel Apr 21 16:31:58 in what manner is shr related to om? Apr 21 16:37:43 SHR is a distro founded on a 'merger' between OM2008 distro and dunno QtMoko? Apr 21 16:39:24 DocScrutinizer, aaah, so SHR is a continuation of OM Apr 21 16:41:28 somewhat Apr 21 16:42:32 FSO has SHR as reference "platform" Apr 21 16:43:12 though FSO is a platform/distro independent middleware Apr 21 16:43:29 mhm Apr 21 16:43:39 why don't they co-operate with the meego project? Apr 21 16:45:26 meego wasn't interested Apr 21 16:46:38 I asked about using FSO which for sure is the superior alternative to QtM, but the answer was "wait til system is working, then you can supply patches" (SIC!) Apr 21 16:47:40 mhm Apr 21 16:47:42 very nice Apr 21 16:47:44 ofono attributed FSO as "simple stupid AT interface to modem", so meego is using ofono instead FSO Apr 21 16:48:10 NIH syndrome, all over the place Apr 21 16:50:08 NIH? Apr 21 16:53:31 ~nih Apr 21 16:53:31 well, nih is \"Not Invented Here\" - a syndrome often suffered by developers and companies who tend to reinvent the wheel for no reason other than being able to put their name on it. Apr 21 17:11:23 ah. yeah DocScrutinizer - MeeGo stinks from NIH Apr 21 17:16:04 well i installed the power kernel in the N900 qemu image and that makes it not go into a gui Apr 21 17:16:08 yay things Apr 21 17:17:25 i can still access the console though Apr 21 17:17:29 so whatever Apr 21 17:39:50 can anyone pls help me with dbus and python? Apr 21 17:43:05 I mean why does mdbus2 com.nokia.profiled is empty? Apr 21 17:44:30 how should I print com.nokia.profiled.get_profile Apr 21 17:59:45 battery idle drain is 35-46 mA Apr 21 17:59:50 10 times too high Apr 21 18:00:14 hildon-desktop maenotify Apr 21 18:02:29 ok maenotify gone Apr 21 18:02:42 hildon desktop is where my trojan is eh Apr 21 18:08:08 citylights, what do you want to do? Apr 21 18:24:51 anyone know how to write a proper NAND image using the mtdblocks of my device Apr 21 18:24:59 do i just combine all 6 together? Apr 21 18:27:44 citylights: you're aware of 'mdbus2 -i' mode, and tab expansion Apr 21 18:35:07 http://www.nerdmeritbadges.com/ merit badges for nerds +++ Apr 21 18:36:18 http://funkyimg.com/u2/484/220/fa.jpg Apr 21 18:36:40 http://www.nerdmeritbadges.com/products/printerhero Apr 21 18:36:57 This has already happened to me once this week. Apr 21 18:42:58 it's funny ad copy Apr 21 18:47:10 http://www.scq.ubc.ca/sciencescouts/the-have-violated-the-posterior-of-an-animal-in-the-name-of-science-badge/ Apr 21 18:55:39 http://www.theeffectslab.com/forums/viewtopic.php?p=116223#116223 (Bert from Sesame Street) Apr 21 18:58:53 is it possible to download maps to the n900 and use them without Internet access? Apr 21 19:05:14 yes Apr 21 19:06:01 I tried placing map files in ~/.nokia-maps but it doesn't work Apr 21 19:08:16 I tried a maps package I found with 0-9,a-f directories Apr 21 19:08:53 does it need to be placed in another directory? Apr 21 19:10:52 uhsf: don't place large files in your home directory Apr 21 19:12:39 it's only 13% full Apr 21 19:13:28 do you know a page with instructions for maps on n900? Apr 21 19:30:11 uhsf: only what google tells me Apr 21 19:32:20 i don't know what nokia was thinking when they made the maps application, it's so incredibly crappy, the gps doesn't even work where i live Apr 21 19:35:56 move to a place where the sky is visible. Apr 21 19:37:39 hello, i type alot on virtual keyboard and i encountered a few problems with it when i try to edit some text in it. after i leave the virtual keyboard mode, the text sometimes seems to be messy Apr 21 19:38:59 http://www.theregister.co.uk/2011/04/21/texas_jury_says_google_infringed_linux_patent/ <-- you're joking right??? Apr 21 19:42:50 i experience something similar to this http://talk.maemo.org/showthread.php?t=42272 Apr 21 19:49:41 ruskie, software patents ftl Apr 21 19:52:16 nox-: did you log into daimonin yesterday?? Apr 21 19:52:33 what? i dont even know what that is... :) Apr 21 19:52:41 ok someone named Nox did Apr 21 19:52:50 ah ok, some game i presume? Apr 21 19:52:54 ya Apr 21 19:53:00 yeah was not me Apr 21 21:10:55 what is wrong with this dbus python script? http://dpaste.com/534495/ it doesnt work Apr 21 21:22:32 hm, what is the proper dbus command to turn off vibrations on the n900 and reactivate them to the normal settings? Apr 21 21:24:02 pupnik: hm, so around 3 mA is a usual battery drain then for it? Apr 21 21:24:41 mikki-kun: i get around 5-6 with wifi + ssh and battery monitor Apr 21 21:24:53 What are you using for measuring? Apr 21 21:25:11 pupnik: which battery monitor are you using? i am using a script which is called bq2700.sh Apr 21 21:25:15 and, 5-6 is very low. It's equivalent to a week of standby Apr 21 21:25:19 wow, mine get's around 80 mA... Apr 21 21:25:30 with wifi, but also skype Apr 21 21:25:37 bq27200.sh is my script :) Apr 21 21:25:39 lol, -53 watt XD Apr 21 21:25:52 but mine doesn't give watts :) Apr 21 21:26:05 missed the "m" while laughing =p Apr 21 21:26:25 or mwatts :P Apr 21 21:26:54 80 is kinda high for: screen off, wifi, skype Apr 21 21:26:59 80 mA that is Apr 21 21:27:37 ShadowJK: thanks for the script - use it all the time Apr 21 21:27:41 arghs, yeah, amps it is actually, not watts which are given... (both *10^-3 for coorect units) Apr 21 21:27:57 but now i am getting adfter removing from th charger -50 mA... Apr 21 21:28:17 cool, were do i draw the energy from? Apr 21 21:28:24 From the battery Apr 21 21:28:26 my electrosmog in the room?! Apr 21 21:28:30 skype sucks power Apr 21 21:28:37 - means that battery is discharging. If there is no "-", that means that the battery is getting charged. Apr 21 21:28:48 ohhh, ok, then it makes sense x) Apr 21 21:29:00 So if you want to measure how much power things use, you can't have charger connected Apr 21 21:29:00 but -60 it is for me without skype :/ Apr 21 21:29:08 well there's a problem with hildon-desktop (bug known) consuming cpu Apr 21 21:29:13 that's my current drain Apr 21 21:29:43 mikki-kun, do you do "./bq27200.sh 5" ? Apr 21 21:30:04 yup Apr 21 21:30:09 ok :) Apr 21 21:30:25 man, killing py processes just draws more batt-power as they get restartet... Apr 21 21:30:28 Ok, so I'm at -33mA myself, with wifi+skype+irx Apr 21 21:30:29 irc* Apr 21 21:32:26 ahhh, for christs sake... i might redo my n900 and just just use selected apps... Apr 21 21:32:49 been installing stuff i never used once just to have it once i might need it... Apr 21 21:33:39 ShadowJK: are you using the CSSU? Apr 21 21:34:01 nope Apr 21 21:34:24 catorize (or whatever it was called, the thing htat lets you rearrange your menus) is a known battery hog, btw Apr 21 21:34:32 i am using apmefo Apr 21 21:34:54 might be fixed in cssu actually, not sure Apr 21 21:34:54 and actually it does help me getting faster through my menus Apr 21 21:35:16 ohhh and i am using like 2 widgets only and two desktops from which one is empty Apr 21 21:35:42 well don't freak out about standby drain Apr 21 21:35:43 so i got down from heavy widget-usage to just two, recaller and the conversations inbox Apr 21 21:35:49 hehe Apr 21 21:35:57 pupnik: i freak out about the battery drain at my university Apr 21 21:36:05 300 mA is a minimum on their wifi... Apr 21 21:36:13 waow! Apr 21 21:36:30 my poor n900 goes down in no time Apr 21 21:36:43 and i am on powersaving... Apr 21 21:36:51 no power saving support in the wifi access points :) Apr 21 21:42:12 seems so... they sure need some of that online Apr 21 21:43:13 and they are the ones talking about "energy efficieny" Apr 21 21:46:00 btw, is there somehow a way i can check which dbus-commands are being transmitted when i switch certain options? Apr 21 21:46:28 is there a complete list of extra classes in maemo-qt somewhere? Apr 21 21:46:56 (it's kinda hard to find them by comparing http://doc.qt.nokia.com/qt-maemo-4.7/classes.html and http://doc.qt.nokia.com/4.7/classes.html by eye) Apr 21 21:54:50 mikki-kun, dbus-monitor Apr 21 21:55:17 ShadowJK: hm, is there one already preinstalled? Apr 21 21:55:22 ya Apr 21 21:56:37 gah Apr 21 21:56:54 hm, do you know a way on how i could call it? :) Apr 21 21:56:58 "QTextEdit and QPlainTextEdit are fully Maemo 5 style guide compliant. This means that these widgets will not show scrollbars, will not allow the user to select text and will not have kinetic scrolling enabled by default." -- so Qt isn't supposed to be able to do something like the Notes app? Apr 21 21:57:46 no scrollbars? immense phail imho Apr 21 21:57:52 dbus-monitor --session Apr 21 21:57:54 or something Apr 21 21:57:56 lots of output Apr 21 21:57:59 try --help and -h Apr 21 21:58:19 ShadowJK: thanks, so it was for once a pretty straight forward command... Apr 21 21:58:55 omg Ö.ö yeah, lots of output indeed Ö.ö Apr 21 22:00:16 lol, no -help x) Apr 21 22:01:06 mikki-kun: it's the lack of selection that bothers me Apr 21 22:01:26 the Notes app (GTK) has kinetic scrolling and finger-selection Apr 21 22:01:53 well, they merged with micro$h17 didn't they? their phones don't have c&p as well... Apr 21 22:09:55 may i ask what you are coding? :) Apr 21 22:21:34 the Notes app (GTK) has kinetic scrolling and finger-selection Apr 21 22:21:40 sure it has kinetic scrolling? Apr 21 22:48:33 oh cool, dsme is open Apr 21 22:50:08 open == source available? Apr 21 22:50:28 https://meego.gitorious.org/meego-middleware/dsme/ Apr 21 22:51:21 hmmm backport to Mer Apr 21 23:07:58 MohammadAG: quite right, i feel stupid now Apr 21 23:08:20 i'd been quite instinctively scrolling by extending the selection, without even realising it Apr 21 23:09:51 how do i get the current user's home directory in Qt? QFile::open doesn't seem to like # Apr 21 23:09:58 to like ~/ much Apr 21 23:11:32 getenv("HOME") Apr 21 23:11:38 ah, QDir::homePath Apr 21 23:11:46 oh, that too Apr 21 23:11:54 DocScrutinizer: that uses the environment variable? Apr 21 23:11:59 sure Apr 21 23:12:42 Qt for sure has a way more nifty way to do it Apr 21 23:13:57 QDir::homePath() seems to work Apr 21 23:14:09 thanks though Apr 21 23:15:37 there's another method I think Apr 21 23:16:09 it ought to support ~/ Apr 21 23:16:23 i mean, if you let the user put in a path, and it has a ~/ in it, do you have to fix it yourself? Apr 21 23:17:54 I think there's a method to get ~/ on Linux, C:/Users/user on Windows etc Apr 21 23:18:40 oh that should work nvm Apr 21 23:19:39 getpwnam()? Apr 21 23:19:58 (and then pw_dir) Apr 21 23:26:17 i so hate not having an escape button Apr 21 23:26:50 pupnik, remap the keyboard and make yourself one Apr 21 23:27:03 what, "Q" Apr 21 23:27:04 ? Apr 21 23:28:54 great idea Apr 21 23:29:09 you remove 'q' from all instances of writing and programs on the planet Apr 21 23:29:19 then i'll map it to escape Apr 21 23:29:27 BCMM: ~ is a shell thing Apr 21 23:29:46 it's also kinda a unix convention Apr 21 23:29:53 plenty of GUI apps work right with ~/ Apr 21 23:30:01 no filesystem has a notion about meaning of ~ Apr 21 23:30:15 true Apr 21 23:30:39 I might be wrong but I think ~ works in Qt Apr 21 23:30:41 but it's not just a shell thing Apr 21 23:30:53 actually ~ is a shortcut for ${HOME} Apr 21 23:31:06 qDebug() << QFile("~/file").exists() Apr 21 23:31:10 while ~user is even more complex Apr 21 23:31:15 if it works in Qt, that should be true Apr 21 23:31:20 it's a shell thing and a file manager thing (for any reasonable file manager) and a file-open dialog thing (for any reasonable toolkit), etc. Apr 21 23:31:40 getpwnam()? <- ~user Apr 21 23:33:09 BCMM: sure a lot of apps try to conform shell behaviour and syntax Apr 21 23:33:39 QString fileName = "~"; does not work and QString fileName = QDir::homePath(); does, in my application Apr 21 23:33:41 its a useful convention Apr 21 23:33:50 (it is appended to afterwards) Apr 21 23:33:51 but they could as well use ½ instead of ~ Apr 21 23:34:24 haha ½ Apr 21 23:35:29 yes, but they don't. all sensible shells use ~, and so do all sensible GUI apps Apr 21 23:39:09 yeah, still it's a shell thing, whatever shell you're using. Might be a file-open requester in Qt or whatever, but it's hardcoded there Apr 21 23:39:54 QString fileName = "~"; will set the filename to '~' Apr 21 23:40:38 and you'll literally get a file named '~' if you open() for rw Apr 21 23:41:42 let's try that :p Apr 21 23:41:47 yes sure Apr 21 23:41:58 just for user input you should expand ~ Apr 21 23:42:06 and ~user too Apr 21 23:42:35 (ok the latter i guess is less important on a phone...) Apr 21 23:43:52 jr@halley:~> echo bla >\~x Apr 21 23:44:06 jr@halley:~> ls -l ?x Apr 21 23:44:08 -rw-r--r-- 1 jr users 4 22. Apr 01:40 ~x Apr 21 23:44:19 and you're right Apr 21 23:45:50 \ is a shell thing, just like ~ Apr 21 23:46:51 yep Apr 22 00:09:03 :-D Apr 22 00:09:07 jr@halley:/home/kicad> HOME=/home/jr/ Apr 22 00:09:08 jr@halley:/home/kicad> cd Apr 22 00:09:10 jr@halley:/home/jr> HOME=/home/jr Apr 22 00:09:11 jr@halley:~> Apr 22 00:09:16 /home/maemo/src/cross-toolchain/gmp-5.0.1+dfsg/build/tests/cxx/.libs/lt-t-locale: relocation error: /home/maemo/src/cross-toolchain/gmp-5.0.1+dfsg/build/tests/cxx/.libs/lt-t-locale: symbol _ZNSt8numpunctIcE22_M_initialize_numpunctEPi, version GLIBCXX_3.4 not defined in file libstdc++.so.6 with link time reference Apr 22 00:09:19 uhhhhhhhhhhhh Apr 22 00:09:20 what the hell Apr 22 00:09:28 what is scratchbox doing Apr 22 00:11:27 lt-t-locale has been linked against a different version of libstdc++.so.6 Apr 22 01:30:15 DocScrutinizer, I see that, but how did it happen Apr 22 01:30:31 is there some scratchbox gotcha that i missed? Apr 22 01:31:16 i never had a problem like this until i switched to the x86 target Apr 22 01:32:14 good morning Apr 22 01:43:38 moo Apr 22 01:50:45 baaaaah! Apr 22 01:55:32 foo Apr 22 01:58:45 hm, did anyone else ever have error -110 when trying to flash their n900? Apr 22 02:00:04 i mean on the dmesg side... Apr 22 02:00:11 not from flasher itself Apr 22 02:33:14 happens Apr 22 02:33:32 that was cannot enumerate the device? Apr 22 02:33:36 that error -110 **** ENDING LOGGING AT Fri Apr 22 02:59:57 2011