**** BEGIN LOGGING AT Sat Apr 21 03:00:00 2012 Apr 21 08:12:47 Hey all. Apr 21 08:14:52 I upgraded to power-kernel50 from a previous version, but it's caused some problems, and I'd like to revert. What's the best way to do this? I upgraded by doing a 'apt-get update' and then installing power-kernel from HAM Apr 21 08:16:25 narcos: you can downgrade to stock kernel, then upgrade to your chosen kernel Apr 21 08:16:50 Sicelo: Ahhh Apr 21 08:16:55 you can also just downgrade in one step using apt-get (if you're brave) :) Apr 21 08:17:04 heh Apr 21 08:17:05 I'm bravae Apr 21 08:17:09 *brave Apr 21 08:17:27 Rather - how tricky is the downgrade to stock process? Apr 21 08:17:52 then apt-get install .. you need 3 packages, kernel-power, kernel-power-modules, kernel-power-flasher Apr 21 08:19:12 The above 3 packages are already at the newest version Apr 21 08:20:26 * narcos finds http://wiki.maemo.org/Kernel_Power#Deinstallation Apr 21 08:22:53 apt-get install kernel-power=1:2.6.28-10power49 ..... Apr 21 08:23:09 btw, what problems does KP50 give you? Apr 21 08:23:23 Sicelo: Injection drivers for the wireless don't load Apr 21 08:23:46 iirc you need new modules or something like that.. check in TMO Apr 21 08:23:50 Sicelo: Is there a way to determine what power-kernel version I previously had? Apr 21 08:23:54 I think it was 40 Apr 21 08:24:04 But I'm not certain Apr 21 08:24:41 i don't think that's possilbe .. not absolutely sure though Apr 21 08:26:11 Hmm - lemme check the chan log, I think I may have mentioned it before Apr 21 08:26:51 repos have 50, 49, 42, 37, and 24 Apr 21 08:29:35 Guess I'll try 42 - it is a magic number and all Apr 21 08:30:01 So, apt-get install kernel-power=1:2.6.28-10power42 ? Apr 21 08:33:45 apt-get install kernel-power=2.6.28-maemo42 kernel-power-modules=2.6.28-maemo42 kernel-power-flasher=2.6.28-maemo42 Apr 21 08:35:02 ta Apr 21 08:35:16 * narcos holds thumbs Apr 21 08:35:39 Doh @ super slow GRPS connection on the phone Apr 21 08:40:59 Sicelo: Process finished - I just reboot now? Apr 21 08:53:18 Sicelo: Success :) Down to 42 Apr 21 08:53:25 * narcos tries packet injection drivers now Apr 21 08:57:39 Oi, a whole new set of errors Apr 21 08:57:49 * narcos will go find food and ponder Apr 21 08:58:00 Thanks for the help Sicelo ! Apr 21 09:05:28 narcos: are you certain KP doesn't have injection drivers by default? Just a thought, haven't checked. Apr 21 09:10:01 no, not by default.. Apr 21 09:10:52 i just think he didn't need to downgrade.. especially to 42 :/ Apr 21 09:21:20 I guess zeq was right Apr 21 09:24:46 AIUI just the generic instructions how to install and load injection drivers simply don't match kp50 which comes with them already? Apr 21 09:25:36 so following instructions how to install 42 drivers of course would result in "doesn't load drivers" Apr 21 09:33:17 * RST38h yawns, greets Doc Apr 21 10:06:03 * DocScrutinizer re-greets Apr 21 10:45:23 hm Apr 21 10:45:35 weird.. my sim seems to have started working again Apr 21 10:46:09 well... sim reader Apr 21 10:46:12 odd Apr 21 10:46:16 oh well lol Apr 21 10:46:34 it hasn't messed up all day Apr 21 10:47:26 i'm sure i have spoken too soon but still :) Apr 21 10:48:13 hi Apr 21 10:48:21 triend to send sms via script Apr 21 10:48:25 but says -> ImportError: No module named QtMobility.Messaging Apr 21 10:49:08 I installed just -> python-qtmobility.messaging and python-qtmobility12.messaging Apr 21 10:49:17 what packet is needed? :o Apr 21 11:05:40 found deps but now ssms.py segfaulting.. Apr 21 11:13:11 are you sure you're talking on right channel? sounds like you mix up fremantle and harmattan Apr 21 11:14:45 if you are using a N9 (or 950) then you should /join #harmattan. If N900 is your device, I dunno if the qt-mobility approach applies at a ll Apr 21 11:16:03 hi Doc, using n900 :) Apr 21 11:16:37 that is segfaulting -> http://wiki.maemo.org/Phone_control#Send_SMS Apr 21 11:17:13 ooh, I've been wrong it seems: http://wiki.maemo.org/Phone_control#Send_SMS Apr 21 11:17:22 yeah :-) Apr 21 11:18:01 :) Apr 21 11:18:06 Python 2.5.4 Apr 21 11:18:13 anyway I sugest the 2nd approach there ;-D Apr 21 11:18:57 ok, its shorter :p Apr 21 11:19:48 third one is probably most clean one, and in line with dbus-centric concept of fremantle Apr 21 11:20:46 while 2nd one will probably send SMS that don't even show up in messages history Apr 21 11:21:25 pnatd directly talks to modem, bypassing all fremantle framework that usually handles conversations Apr 21 11:28:27 ok Apr 21 11:29:10 sent sms to own number, did't see anything to appear with 2nd example Apr 21 11:30:02 had typo :p Apr 21 11:31:22 now need to learn python to set up params :F Apr 21 11:31:53 err Apr 21 11:32:13 to make that script more efficent Apr 21 11:32:32 I think the DBUS method of sending SMSs is the best way to go Apr 21 11:33:07 thats so long script :p Apr 21 11:33:43 import getopt, sys Apr 21 11:33:44 try: Apr 21 11:33:46 opts, args = getopt.getopt(sys.argv[1:],"hlt:", ["help","listen","time="]) Apr 21 11:34:03 number = args[0] Apr 21 11:34:04 msg = args[1] Apr 21 11:34:48 jonwil: ack Apr 21 11:34:51 and Hi! Apr 21 11:39:15  Apr 21 11:39:18 hmm says -> Apr 21 11:39:19 number = args[0] Apr 21 11:39:20 ^ Apr 21 11:39:20 SyntaxError: invalid syntax Apr 21 11:39:47 o.O Apr 21 11:40:16 should that "try:" be there? :p Apr 21 11:40:35 or was it just to me to try it Apr 21 11:40:40 you can't c&p the few lines above, they were just a quote what'S doing the argument parsing in the exampe #3 in phonecontrol Apr 21 11:41:38 the "try:" is a part of an exception catcher construct in python Apr 21 11:41:47 ok Apr 21 11:41:53 it needs "except:" for when "try:" fails Apr 21 11:42:21 that's why "number =" is a syntax error at lat position, at thet indentation level Apr 21 11:42:43 s/*/that/. Apr 21 11:43:43 hmm my n900 is so slowwwwww, uptime 17 days.. Apr 21 11:44:16 killall browserd Apr 21 11:44:22 even I have CSSU community Apr 21 11:45:13 thx, faster now :p Apr 21 11:45:34 import getopt, sys Apr 21 11:45:35 that should be added to CSSU Apr 21 11:45:36 try: Apr 21 11:45:37 opts, args = getopt.getopt(sys.argv[1:],"hlt:", ["help","listen","time="]) Apr 21 11:45:39 Apr 21 11:45:40 except getopt.GetoptError, err: Apr 21 11:45:42 # print help information and exit: Apr 21 11:45:43 print str(err) # will print something like "option -a not recognized" Apr 21 11:45:45 usage() Apr 21 11:45:46 sys.exit(2) Apr 21 11:45:48 sorry for spam Apr 21 11:46:01 don't learn from my nasty habit Apr 21 11:46:04 :-) Apr 21 11:46:29 yea, I was just about to use pastebin :p Apr 21 11:47:30 anyway that's a proper arg parser Apr 21 11:48:08 after that ' number = args[0] ' should work Apr 21 11:49:38 ok Apr 21 11:50:10 how do I use variables in perl? child.send('$msg') ? Apr 21 11:51:42 WAAAH perl Apr 21 11:52:42 yea, perl guy here :p Apr 21 11:52:59 never done python as you can see... :D:D: Apr 21 11:53:46 python is quite simple, all you have to know is it strictly uses indentation as a code structure element Apr 21 11:54:20 which makes it particularly unsuited for pasting code snippets to wiki Apr 21 11:54:35 or IRC ;-P Apr 21 11:55:41 well, there's another interesting aspect with python: you can tell from the line >> opts, args = getopt.getopt(... << Apr 21 11:55:44 yeap :p Apr 21 11:55:55 functions can return quite complex results Apr 21 11:56:23 but how do I use that 'msg' variable in that 'child.send' ? was that correct? Apr 21 11:56:41 nfc, that's perl :-) Apr 21 11:56:49 hmm without that '$' Apr 21 11:57:20 the question how to use python vars in perl is... err... Apr 21 11:57:39 no its python script :p Apr 21 11:57:53 editing that ssms.py script Apr 21 11:58:13 in python a var is a var Apr 21 11:58:23 fobar=2 Apr 21 11:58:32 fobar = fobar + 4 Apr 21 11:58:57 foofunc(fobar) Apr 21 11:59:30 ok so -> child.send(msg); Apr 21 11:59:42 looks ok'ish Apr 21 12:00:26 yea Apr 21 12:00:36 how about this? -> child.send('at+cmgs=number\r'); Apr 21 12:00:59 how to separate that number variable from string text :p Apr 21 12:01:00 that's sending a string const you defined in place Apr 21 12:02:14 err, sth along: arg = 'at+cmgs=' % number Apr 21 12:02:22 I bet this was wrong Apr 21 12:02:37 string operators are quite obscure for me in python Apr 21 12:03:41 maybe >> myarg = "at+cmgs=" Apr 21 12:04:02 myarg.concat(number.string) Apr 21 12:04:22 no clue really, as you can tell from this^^^ Apr 21 12:05:01 anyway in python basically everything is an object, with associated methods Apr 21 12:06:38 hmm Apr 21 12:06:43 didn't work -> number = 'at+cmgs=' % args[0] % '\r' Apr 21 12:07:06 n900 question. is there any way to schedule an action when internet connection (3G, wlan) becomes active? i know how to do it when phone connected via usb, i can add commands in pcsuite-enable and pcsuite-disable Apr 21 12:07:07 think it needs '\r' to end Apr 21 12:07:53 vdv: check ifup Apr 21 12:10:02 >>> print(str) Apr 21 12:10:03 DocScrutinizer, is this a shell script? Apr 21 12:10:04 ATtest= Apr 21 12:10:05 >>> str=str + "ABC" Apr 21 12:10:07 >>> print(str) Apr 21 12:10:08 ATtest=ABC Apr 21 12:10:54 vdv: I think this is a (shell) cmd that invokes additions stuff if existing Apr 21 12:11:20 just a starting point where to look Apr 21 12:11:26 maybe not even a good one Apr 21 12:12:48 >>> str=str + 5 Apr 21 12:12:49 Traceback (most recent call last): Apr 21 12:12:51 File "", line 1, in Apr 21 12:12:52 TypeError: cannot concatenate 'str' and 'int' objects Apr 21 12:14:17 DocScrutinizer, ok, thanks Apr 21 12:14:30 Doc: Are you teaching him Ruby? Apr 21 12:14:38 Doc: Are you teaching yourself Ruby Apr 21 12:14:45 Is it the end of the world? Apr 21 12:15:27 DocScrutinizer, ifup just activates a connection on given interface Apr 21 12:17:21 One day you mention you'll probably go to Android for your next device and the next your writing Ruby Apr 21 12:17:28 It's a dangerous gateway I tells ya Apr 21 12:17:55 RST38h: just playing a bit with python :-) Apr 21 12:18:17 >>> str=str+num.__str__() Apr 21 12:18:18 >>> print(str) Apr 21 12:18:20 ATtest=ABC5 Apr 21 12:18:37 num=5; obviously Apr 21 12:19:21 I bet a few python savvy coders just went vomiting Apr 21 12:21:09 my last python coding is like 12 years ago Apr 21 12:30:19 DocScrutinizer: by this string prints fine but doesn't work -> number = "at+cmgs=" + args[0] + "\r" Apr 21 12:30:53 err Apr 21 12:30:59 but doesn't show "\r" ofcourse, mayve child.send needs it Apr 21 12:31:04 * maybe Apr 21 12:31:05 * DocScrutinizer glares at "\r" Apr 21 12:32:09 hmm, no. should work Apr 21 12:32:36 but doesn't, using also -> child.send(number); Apr 21 12:32:36 child.send(msg); Apr 21 12:32:39 use ' instead " Apr 21 12:32:48 might make a diff Apr 21 12:32:49 k Apr 21 12:33:35 nope Apr 21 12:34:16 hmmm Apr 21 12:34:21 what a pain.. Apr 21 12:34:22 \r means carriage return and that's what it does Apr 21 12:34:49 hmm so it needs to be passed to child.send Apr 21 12:34:51 print('123\rx') Apr 21 12:40:13 yea Apr 21 12:40:58 anyway pnatd is using generic AT interface of cellmo, so you need exactly the right format for that string Apr 21 12:45:34 you could invoke pnatd on shell directly, this will show you the result msgs from modem Apr 21 12:45:59 beware! you need a "killall pnatd" in another shell to quit Apr 21 12:54:35 Vib3: I see you omitted the " around in your string construction Apr 21 12:54:54 depending on AT parser this may or even will fail Apr 21 12:55:21 yea, that comes from php :p Apr 21 12:55:26 number = 'at+cmgs="' + args[0] + '"\r' Apr 21 12:57:09 just for best practice, even: Apr 21 12:57:24 number = 'AT+CMGS="' + args[0] + '"\r' Apr 21 12:57:59 that worked, missed that " and ' was needed to together Apr 21 12:58:12 that was cos of \r ? Apr 21 12:59:05 number = 'AT+CMGS="' + args[0].replace('+', '00') + '"\r' Apr 21 13:02:17 my toenails curl on that 0 in args[0] Apr 21 13:02:35 well, that's c Apr 21 13:02:58 *that comes from* Apr 21 13:03:28 c <3 Apr 21 13:03:50 python :F Apr 21 13:03:54 yak Apr 21 13:05:00 DocScrutinizer: thx m8)! Apr 21 13:06:03 I want the camera button to run xterm when the lens cover is on, is it possible? Apr 21 13:06:13 yes Apr 21 13:06:37 camkeyd can be configured i think Apr 21 13:06:39 I think it's named shortcutd or sth like that Apr 21 13:06:44 or that Apr 21 13:06:51 but why would you want to lose the awesome default of task-switching? Apr 21 13:07:47 maybe because awesome taskswitching is on + already? Apr 21 13:08:44 well, then OTOH awesome xterm is on errr shift+ctrl-x? Apr 21 13:12:18 ( that was cos of \r ?) nope, that was because of syntax of that AT cmd is >> AT+CMGS= << and sting in AT is >> "[char]..." <<< Apr 21 13:12:21 DocScrutinizer: so 00$countrycode works also when calling? forget that "$" Apr 21 13:12:45 DocScrutinizer: hard to type shift-ctrl-x... Apr 21 13:13:04 ok Apr 21 13:15:10 I think in GSM "00" is common countrycode prefix, not sure about that "+" Apr 21 13:15:44 fire up pnatd and test it! ;-D Apr 21 13:16:40 ATD+180012345678 vs ATD00180012345678 Apr 21 13:16:46 worked also :p Apr 21 13:16:51 I guess both will work Apr 21 13:17:09 hm Apr 21 13:17:16 N900 is still going Apr 21 13:17:39 Macer: need help how to fix this annoying status? Apr 21 13:17:46 ;-P Apr 21 13:18:15 * DocScrutinizer offers the sledgehammer Apr 21 13:29:57 damn Apr 21 13:29:59 lol Apr 21 13:30:16 diD speak too soon Apr 21 13:30:34 damn sim cut off again :) Apr 21 13:30:40 ah well Apr 21 13:41:18 just reflashed successfully, didn't realise that it has to reboot if you change locales Apr 21 13:46:03 * DocScrutinizer waves and ->afk Apr 21 13:47:22 bye Doc! Apr 21 14:16:27 is it possible to use #31# when calling from dbus? Apr 21 14:18:56 dunno but if you're typing that on the command line, make sure to escape the part with the '#' so it doesn't turn the rest of the line into a comment ;) Apr 21 14:19:41 or, er, quote it I mean Apr 21 14:19:56 though I guess either would work...anyway Apr 21 14:22:33 it's very nice to be able to control the phone so well I think, I've sometimes scheduled wake up calls with it so it makes a call to my gf and turns the speaker on, I might still be sleeping but she'll wake up ;) (she's abroad currently) Apr 21 14:33:01 k, hehe :p Apr 21 14:33:26 when put #31# before said problem with number Apr 21 14:34:08 its funny when setting number to hidden and calling from dbus, number shows up still Apr 21 14:34:41 but DocScrutinizer might know more Apr 21 14:35:35 yeah seems like you can't add it there just like that..tried Apr 21 14:36:09 installed starhash enabler but still didn't work Apr 21 14:36:28 maybe cos its just #31# Apr 21 14:37:21 Vib3 http://talk.maemo.org/showthread.php?t=66420 Apr 21 14:37:24 How are you dialing this call? Apr 21 14:37:54 yeah that thread makes sense Apr 21 14:38:08 if you go through Teleapthy and not through com.nokia.CSD.call it will work better Apr 21 14:39:01 hmmm, python again :F Apr 21 14:39:10 special things like #31# don't go through com.nokia.CSD.call, they go through com.nokia.CSD.SS Apr 21 14:42:44 ok Apr 21 14:48:11 *#-enabler doesn't affect anything here, it just sets some flag relevant for stock dialer to allow processing of Supplementary Service Codes Apr 21 14:48:44 AT interface won't accept SSC rich "numbers" Apr 21 14:48:52 are there any especially interesting service codes by the way? Apr 21 14:49:11 quite a couple Apr 21 14:50:03 I've never really needed them much myself so I can't really remember them, had to check what the #31# stood for Apr 21 14:50:30 http://www.mobilemania.de/facts+infos/gsmcodes.php Apr 21 14:50:41 http://www.gsmcodes-online.de/Anrufsperren/anrufsperren.html Apr 21 14:51:18 now that I look at that I think the only one I've actually had a proper use for was for forwarding Apr 21 14:51:49 maybe a vague memory of a conference call years ago, not sure :) Apr 21 15:03:31 http://www.geckobeach.com/cellular/secrets/gsmcodes.php (note that all 3-digit codes are USSD, not SSC. they aren't standardized in any way and defined by your provider) Apr 21 15:09:27 hmm that says -> NameError: global name 'sbus' is not defined Apr 21 15:13:49 DANG! >>made excuses instead of owning responsibility for less than standard package<< >>Item was advertized as "brand new", but I received a refurbished phone.<< http://www.ebay.de/itm/New-Nokia-N900-3G-32GB-WIFI-GPS-WVGA-5MP-Carl-Zeiss-QWERTY-SmartPhone-/190638186050?pt=Cell_Phones&hash=item2c62ebde42 Apr 21 15:25:16 DocScrutinizer: yeah, I was going to order a backup N900 a month or two ago, then noticed they're all frauds Apr 21 15:34:24 hmm getting with that python calling script -> http://pastebin.com/kcpDiXpf Apr 21 15:36:14 how should that sbus be defined? Apr 21 15:38:50 I guess that's a typo Apr 21 15:38:53 s/d Apr 21 15:39:14 which raises the question: should dbus be defined? Apr 21 15:40:30 idk Apr 21 15:40:48 now it says -> AttributeError: 'module' object has no attribute 'get_object' Apr 21 15:41:43 hmm it should be maybe just "bus" :p Apr 21 15:43:13 yeap Apr 21 15:44:14 this is no proper python program, just a excerpt snippet Apr 21 15:46:54 import dbus \n bus = dbus.SystemBus() \n foobar = bus.get_object('com.nokia.phone.SMS',..... Apr 21 15:47:29 yea got it working Apr 21 15:50:00 s/bus =/sbus =/ Apr 21 15:50:01 DocScrutinizer meant: import dbus \n sbus = dbus.SystemBus() \n foobar = bus.get_object('com.nokia.phone.SMS',..... Apr 21 15:51:27 s/ bus/ sbus/ Apr 21 15:51:27 DocScrutinizer meant: import dbus \n sbus = dbus.SystemBus() \n foobar = bus.get_object('com.nokia.phone.SMS',..... Apr 21 15:51:33 s/ bus/ sbus/g Apr 21 15:51:34 DocScrutinizer meant: import dbus \n sbus = dbus.SystemBus() \n foobar = sbus.get_object('com.nokia.phone.SMS',..... Apr 21 15:51:37 dang Apr 21 15:52:16 ding dong Apr 21 15:52:38 now script calls from hidden number :p Apr 21 15:52:51 thx joga and Doc Apr 21 15:52:55 so post it to that friggin tmo thread! Apr 21 15:53:22 its there Apr 21 15:53:38 just need to make some fixes Apr 21 15:54:41 not there Apr 21 15:56:11 hmm but it needs still fixing :p Apr 21 15:56:19 imo Apr 21 16:16:06 heh Apr 21 16:16:31 i wish this damn windows phone has telepathy Apr 21 16:16:36 :) Apr 21 16:16:55 if there is one thing i limed the most about maemo it was telepathy Apr 21 16:20:14 :D Apr 21 16:32:42 you limed it? did it help? Apr 21 16:33:30 i'm trying to create a deb package for n900 in scratchbox. inspite debian dir inside of the dir with sources contains all necessary files, generate deb file is empty Apr 21 16:33:53 i've created a package with dpkg-buildpackage -rfakeroot -b -uc Apr 21 16:34:04 and used this howto: http://wiki.maemo.org/User:Jebba/Package_Building_HOWTO Apr 21 16:39:35 Macer: I fully agree on telepathy being a PITA Apr 21 16:40:17 the ultimate solution to problems we never had before ;-) Apr 21 16:41:02 while inventing a whole new class of generic problems Apr 21 16:46:49 well. actually. compared to most apps that do the same it isnt bad at all Apr 21 16:47:15 i always thought it worked quite well. even kn m4 Apr 21 16:47:19 in Apr 21 16:47:23 damn vkb Apr 21 16:49:07 modulo telepathy is no app at all Apr 21 16:50:06 it's a meta-meta-meta API for "communication" Apr 21 16:52:09 hello Apr 21 16:52:14 is there anyone there? Apr 21 16:52:24 hi Apr 21 16:52:38 is there anyone Apr 21 16:52:39 ? Apr 21 16:52:56 yes... ? Apr 21 16:53:00 oh hello Apr 21 16:53:07 i have a n900 Apr 21 16:53:12 and i seek a littlşe help Apr 21 16:53:16 little Apr 21 16:53:21 can you help me? Apr 21 16:53:42 ~ask Apr 21 16:53:42 Questions in the channel should be specific, informative, complete, concise, and on-topic. Don't ask if you can ask a question first. Don't ask if a person is there; just ask what you intended to ask them. Better questions more frequently yield better answers. We are all here voluntarily or against our will. Apr 21 16:53:53 ah, it works, lol Apr 21 16:54:06 ok than Apr 21 16:54:20 i just installed kernel_power Apr 21 16:54:40 "or against our will." lol Apr 21 16:54:41 this morning it was working great but i broke it and flashed the phone Apr 21 16:54:57 and now i'm installing the power kernel Apr 21 16:55:14 but i cant find the file @ /etc/default/kernel-power Apr 21 16:55:21 to change my clock settings Apr 21 16:55:25 yeah r00t|home .. i always found that line kewl ;) Apr 21 16:56:21 any ideas how can i get this configuration file? Apr 21 16:56:28 DocScrutinizer: well. i meant telepathy+conversations Apr 21 16:56:33 konur: i also have kernel-power. i dont have that file. what is the 'real' problem you have? Apr 21 16:56:45 not sure what the telepathy client for m4 was called Apr 21 16:56:53 i was changing my clock settings from that config file Apr 21 16:57:04 but i can't find the file Apr 21 16:57:48 and it should be there i mean i used it a lot of times Apr 21 16:57:57 it comes with KP-config Apr 21 16:58:37 this is an app right? Apr 21 16:58:40 which I consider a deprecated tool anyway Apr 21 16:58:45 yes Apr 21 16:59:02 uhm. is scottland called something else? Apr 21 16:59:12 usps doesnt seem to ship to scottland Apr 21 16:59:24 do they use uk post or something? Apr 21 16:59:30 deprecated, since it makes messing with guts of kernel way too easy for noobs with no idea what they're doing Apr 21 16:59:55 lol Apr 21 17:00:00 well how can i get this kp-config Apr 21 17:00:00 those damn noobs Apr 21 17:00:02 ? Apr 21 17:00:19 I suppose via appmanager Apr 21 17:00:30 but i can't find it there Apr 21 17:03:18 yes i can't find this kp-config Apr 21 17:03:21 :S Apr 21 17:05:35 Apr 21 17:06:02 kernel-power-settings Apr 21 17:07:37 i installed that one Apr 21 17:07:57 but i still don't have the file Apr 21 17:08:20 ah.. so when he says clock he means clock speed, lol.. i was still wondering how kernel-power has settings for 'clock' Apr 21 17:08:30 :) Apr 21 17:09:26 http://wiki.maemo.org/Kernel_Power#Use_of_kernel-config Apr 21 17:10:16 is it possible to listen music while making a phone call? Apr 21 17:10:35 i know that page Apr 21 17:10:52 i installed the kernel by this instructions Apr 21 17:11:00 but still no luck Apr 21 17:11:21 uname -r says i have the power kernel but i don't have config files Apr 21 17:12:25 DocScrutinizer: is it possible to listen music while making a phone call? Apr 21 17:13:22 or to play audio file to call Apr 21 17:13:33 yes Apr 21 17:13:41 but tricky Apr 21 17:14:08 check what recall does Apr 21 17:14:28 it at least records both steams Apr 21 17:14:52 for playback to those streams you need sth similar Apr 21 17:15:48 Apr 21 17:15:57 higher arcane PA spells Apr 21 17:17:28 konur: you probably need to create that file, by startung the config app Apr 21 17:17:52 I don't think it gets "installed" Apr 21 17:20:01 yeah you may be right and i figured it just seconds ago and i created same file in home/.kernel Apr 21 17:20:17 and i will edit it from there and load it Apr 21 17:20:22 it should work Apr 21 17:30:55 conky says its working :) Apr 21 17:31:01 but i wonder after a reboot Apr 21 17:33:05 DocScrutinizer: ok, hmmm not easy one.. Apr 21 17:34:15 thank you a zillion time Apr 21 17:34:34 i've figured out how it works good day Apr 21 17:34:35 :) Apr 21 19:18:19 N900 refuses to mount /home/user/MyDocs. What do I do? Apr 21 19:18:53 refuses to mount? how? Apr 21 19:19:15 After I reboot the device, there is nothing there but DCIM directory Apr 21 19:19:27 have to mount manually Apr 21 19:19:59 btw, the external sd card does not show up either Apr 21 19:21:08 CSSU? Apr 21 19:21:16 Is it CSSU? Apr 21 19:21:24 yes, I have cssu Apr 21 19:21:38 get most recent update Apr 21 19:21:54 no updates shown Apr 21 19:22:04 ask freemangordon where to get his fixed ke-recv from Apr 21 19:22:17 WTF? Apr 21 19:22:33 So, now latest CSSU breaks all storage? Apr 21 19:22:40 And that is "ok"? Apr 21 19:22:56 not afaik, it just fails on some particular configs aiui Apr 21 19:23:20 mghm Apr 21 19:23:28 Is there any instruction on what to do? Apr 21 19:23:46 aen't you on #maemo-ssu as well? Apr 21 19:23:52 yes Apr 21 19:24:44 so read your backscroll, I'm not entirely sure what's the problem, I just can say I upgraded to latest T yesterday and all seems just fine for my device Apr 21 19:27:56 I do not have backscroll Apr 21 19:28:02 Anyway, what version are you running? Apr 21 19:30:32 21.2011.38-1Tmaemo3.1 here Apr 21 19:31:37 Mghm...even when I manually mount MyDocs, I still cannot access it via USB Apr 21 19:32:16 ii ke-recv 3.19-15 Apr 21 19:51:34 same here Apr 21 19:52:23 are you sure you haven't plugged it in to USB? Apr 21 19:52:49 PCsuite-mode would pretty much explain it Apr 21 19:53:26 Doc: I am selecting masst storagemode of course Apr 21 19:55:49 hi Apr 21 19:55:55 hmm trying to install sendmail Apr 21 19:56:08 but says -> Apr 21 19:56:08 The following packages have unmet dependencies: Apr 21 19:56:08 sendmail-bin: Depends: sendmail-base but it is not going to be installed Apr 21 19:56:08 Depends: sendmail-cf but it is not going to be installed Apr 21 19:56:09 E: Broken packages Apr 21 19:56:49 Vib3: why would you want sendmail? Apr 21 19:56:54 !sendmail Apr 21 19:57:15 just wanna send mail with script Apr 21 19:57:37 Vib3: then you dont want sendmail Apr 21 19:57:59 k, didn't find postfix Apr 21 19:58:06 valdyn: what I want then? Apr 21 19:58:10 Vib3: iirc mutt can send mail alone Apr 21 20:01:01 ok, I will check it Apr 21 20:30:19 RST38h: yup, exactly what I meant Apr 21 20:30:31 sorry, I'm not focused today Apr 21 21:02:06 how can i automount microsd card at boot (n900)? Apr 21 21:02:25 if i put a script in /etc/event.d/ Apr 21 21:02:40 with start on started hildon-desktop Apr 21 21:02:45 is that ok? Apr 21 21:03:22 hmm .. doesn't that already happen automatically, or i' misunderstanding Apr 21 21:03:58 only if it's fat32 Apr 21 21:15:20 Hello! Apr 21 21:16:03 I need a little help with N900 Apr 21 21:16:17 ? Apr 21 21:16:28 I'm often change SIM cards Apr 21 21:17:26 the problem is, that, when i put in a Ukrainian card, the language switches to Russian, and when put in a Hungarian card, the language switches to English Apr 21 21:18:17 how can i disable this behavior, what init scripts needs to modify? Apr 21 21:18:24 had somebody the same problem? Apr 21 21:27:05 hmm sendmail says -> sendmail-base: Depends: m4 but it is not installable Apr 21 21:30:38 d Apr 21 21:37:50 whats that "m4"-package? Apr 21 21:37:57 can't find it anywhere Apr 21 21:39:12 macro processor Apr 21 21:39:52 available in the sdk repo Apr 21 21:39:57 http://maemo.org/packages/view/m4/ Apr 21 21:40:12 yea, thx Apr 21 21:51:13 any Qt gurus around? Apr 21 21:51:16 or C++ in general Apr 21 21:52:02 QObject *providerObject = qobject_cast(provider); returns no matching function for call to 'qobject_cast(AbstractLyricsProvider*&)' Apr 21 22:06:16 figured it out Apr 21 22:06:32 I forgot my class wasn't inheriting QObject :3 Apr 21 22:06:47 dynamic_cast obviously fixed it Apr 21 22:07:00 Qt plugins are awesome Apr 21 22:07:07 I made a basic lyrics viewer that's plugin-based Apr 21 22:07:37 basically you have plugins for sites, right now I only have AZLyrics but anything could be implemented and loaded dynamically as .so files Apr 21 22:41:52 hmm sendmail says now -> Apr 21 22:41:54 /etc/init.d/sendmail start Apr 21 22:41:54 /etc/init.d/sendmail: .: line 35: can't open /lib/init/vars.sh Apr 21 22:55:40 here's the plugin based lyrics viewer I was talking about, https://gitorious.org/qt-mediaplayer/lyricsviewer Apr 21 22:58:24 wasn't matans modified desktop included in cssu? Apr 21 23:01:22 the code, not the actual package Apr 21 23:03:24 I thought it would be possible to assign custom shortcuts just like starting xterm from keyboard: ctrl shift x Apr 21 23:03:34 but I can't figure out how... Apr 21 23:04:19 Also it's stated that ctrl shift h should go to home, something that doesn't work Apr 21 23:05:42 So is the code of the cssu exactly the same as matans desktop? I never used matans desktop as I am a born in N900 after cssu Apr 21 23:12:19 MrPingu, yes, hold on Apr 21 23:12:35 MrPingu, http://my.arava.co.il/~matan/repo/Modified_Hildon_Desktop.html Apr 21 23:13:02 MrPingu, shortcuts like xterm are hardcoded in hildon-desktop, patches welcome Apr 21 23:14:08 here's the actual code for that https://gitorious.org/community-ssu/hildon-desktop/blobs/master/src/main.c#line673 Apr 21 23:14:58 ~hail MohammadAG Apr 21 23:14:58 * infobot bows down to MohammadAG and chants, "I'M NOT WORTHY!!" Apr 21 23:15:42 uni didn't ruin my memory at least... Apr 21 23:16:02 ~rain MohammadAG Apr 21 23:16:10 haha Apr 21 23:16:32 I thought matan did made these shortcuts configurable, atleast possibility to create more I read somewhere on the wiki or TMO Apr 21 23:16:45 hmm Apr 21 23:16:50 not sure about that Apr 21 23:16:53 DocScrutinizer, https://gitorious.org/community-ssu/hildon-desktop/blobs/master/src/main.c#line586 <-- can't that handle SIGTERM? Apr 21 23:16:58 I think he added some new ones Apr 21 23:17:03 MrPingu, no, at least not with hildon-desktop itself Apr 21 23:17:26 the code doesn't seem to be customizable outside of it, but he did add some shortcuts Apr 21 23:17:38 MrPingu: plus there was a way to send dbus signals for function keys Apr 21 23:17:42 you can do that too by editing the code and rebuilding hildon-desktop Apr 21 23:17:48 whatever the def of "function key" Apr 21 23:18:24 DocScrutinizer, fn is mod5 apparently Apr 21 23:18:31 whatever that is Apr 21 23:18:51 sure, but I meant function-keys as in matan's definition Apr 21 23:18:55 Well not for now ;p Project for after my exams Apr 21 23:19:26 I don't have the brains for such devstuff yet :P Apr 21 23:19:41 DocScrutinizer, that IS matan's definition :p Apr 21 23:19:51 braindead stuff really :P Apr 21 23:20:08 >> Apr 21 23:20:10 /apps/osso/hildon-desktop/key-actions/dbus_ctrl_shortcuts (*) Apr 21 23:20:11 If this key is true, hildon desktop captures and reports on D-Bus the following combinations: ctrl+space, ctrl+comma, ctrl+period, ctrl+volume+/-. This conflicts with other uses for some of these combinations.<< Apr 21 23:20:53 # /apps/osso/hildon-desktop/key-actions/preset_shift_ctrl Apr 21 23:20:53 previous key is false. Apr 21 23:21:02 /apps/osso/hildon-desktop/key-actions/dbus_shortcuts_use_fn (*) Apr 21 23:21:04 use ctrl+FN+key instead of ctrl+shift+key for D-Bus shortcuts. Apr 21 23:21:21 Why does the H key not work? Apr 21 23:23:27 Is dbus-scripts really bad on your battery? I mean I read somewhere it monitors the dbus the whole time and waiting to act on an event, but is that monitoring really holding the cpu from it's sleep state? Apr 21 23:24:40 Matan: "The program that handles those shortcuts is hildon-desktop, which is free software. I changed it to support more (and configurable) shortcuts, and released the result as modified-hildon-desktop" Apr 21 23:24:43 /apps/osso/hildon-desktop/key-actions/dbus_shift_ctrl (*) Apr 21 23:24:45 If the value of this key is true, then ctrl-shift-letter combinations are reported on the d-bus, Apr 21 23:25:13 Yes I have that key enabled and disabled the preset Apr 21 23:25:32 but still Home shortcut doesn't work Apr 21 23:25:42 MrPingu: (dbus scripting) no, this daemon works perfectly Apr 21 23:26:58 I always hold of dbus-scripts package because I read on TMO it was not good on your battery. Apr 21 23:29:48 Unless the implementation sucks I don't think that can be true Apr 21 23:31:01 http://talk.maemo.org/showthread.php?t=73038&page=2 Apr 21 23:31:17 MohammadAG: what's been your question re SIGTERM? Apr 21 23:31:17 http://talk.maemo.org/showpost.php?p=1031376&postcount=20 Apr 21 23:31:37 Second link I meant, that scard me away from using dbus-scripts Apr 21 23:31:44 MrPingu: I won't even look at that tmo rant Apr 21 23:31:55 DocScrutinizer: Can signal() handle it? Apr 21 23:32:01 why not? Apr 21 23:32:34 DocScrutinizer: Cause main() probably abruptly stops? Apr 21 23:32:35 signal() can handle all except SIGSTOP and SIGKILL Apr 21 23:33:10 So can we do something after 3 SIGTERMs? Apr 21 23:33:31 Err I meant SIGSEV btw Apr 21 23:33:32 if you like to implement such funny stuff, yes Apr 21 23:33:36 Segfault Apr 21 23:33:39 meh Apr 21 23:34:07 Ah I trust you more than people on TMO, so I am not scard of dbus-scripts anymore then :P Apr 21 23:34:13 yes, you can catch SIGSEGV, otherwise dumphandlers wouldn't work Apr 21 23:34:19 Going to sleep now, bye! Apr 21 23:34:27 n8 Apr 21 23:34:42 MrPingu: I use dbus scripting since years Apr 21 23:34:45 So I can catch it in main.c? Gives me ideas Apr 21 23:34:50 works just nice Apr 21 23:35:21 Save number of segfaults in file, after three faults activate a recovery terminal Apr 21 23:35:25 on n900, how can i check programmatically whether internet connection is established? Apr 21 23:35:41 or does activating an internet connection trigger some event? Apr 21 23:35:54 If you're using Qt there's an easy way Apr 21 23:36:22 MohammadAG, which one? Apr 21 23:38:17 https://gitorious.org/qtbook/qtbook/blobs/master/mainwindow.cpp#line101 vdv Apr 21 23:39:12 MohammadAG: (SIGSEGV) all that signal() does is placing addr of a callback function (the signal handler) into a location that will get jumped to on asserting that signal Apr 21 23:39:55 this signal handler has to be a static void func() Apr 21 23:40:02 So you obviously cant use pointers? Apr 21 23:40:05 i'm not in qt actually, thought your hint can help me, but now i see i need some another way of detecting Apr 21 23:40:10 That answers that Apr 21 23:40:59 There's probably a standard linux way, or an icd2 way Apr 21 23:42:08 how "dangerous" is the editing of files /usr/bin/osso-mmc-mount.sh and /usr/sbin/mmc-mount.sh? according to http://wiki.maemo.org/Ext2_on_microSD_card Apr 21 23:42:31 i.e. i have ext3 formatted micro sd Apr 21 23:42:43 and i want to automount it on boot Apr 21 23:42:43 vdv: use CSSU! Apr 21 23:43:15 recent testing mounts all just fine Apr 21 23:43:37 even multiple partitions on uSD Apr 21 23:43:44 is stable one safe? Apr 21 23:44:13 yes, but has no multimount yet Apr 21 23:45:39 MohammadAG, dbus-send --system --type=method_call --dest=com.nokia.icd_ui /com/nokia/icd_ui com.nokia.icd_ui.show_conn_dlg boolean:false Apr 21 23:45:54 call above shows change connection ui Apr 21 23:46:35 most likely some event also triggered when user chooses connection Apr 21 23:46:43 and connection establishes Apr 21 23:47:06 there's for sure a dbus-signal when connection gets established, yes Apr 21 23:47:10 http://maemo.org/api_refs/5.0/beta/icd2/group__dbus__api.html#gafcbb73b4f35ce6f807baad88c6ced92 Apr 21 23:47:20 vdv: ^ Apr 21 23:48:04 hmm.. state query Apr 21 23:48:31 it's already close Apr 21 23:49:21 i can add a check to script Apr 21 23:49:26 and run script on cron Apr 21 23:50:00 but the best scenario, is when my script is invoked automatically when inet is on Apr 21 23:50:16 and process kill when go offline Apr 21 23:51:41 MohammadAG, for example, pressing connect pc suite button, invokes /usr/sbin/pcsuite-enable.sh script Apr 21 23:52:26 err Apr 21 23:53:14 there's the variant that gets sent whenever a connection comes up or goes down Apr 21 23:53:28 all you need to do is listen dbus for that very signal Apr 21 23:53:55 just read on some 2 boxes down Apr 21 23:54:18 you could even use dbus scripting for that Apr 21 23:54:33 DocScrutinizer, then i end up on having a process which monitors that, right? Apr 21 23:54:41 sure Apr 21 23:55:16 e.g. dbus-scriptingd Apr 21 23:55:23 or whatever it's called Apr 21 23:55:28 if so, then i'd better let offlineimap daemon run on background Apr 21 23:55:39 o.O Apr 21 23:55:59 when inet comes up, it'll synchronize Apr 21 23:56:08 so what? Apr 21 23:56:28 when there's no internet connection, i hope it'll sleep Apr 21 23:56:35 and not eat processor too much Apr 21 23:56:47 you asked for a way to run some stuff when a connection gets established, well that is it Apr 21 23:57:06 DocScrutinizer, sorry, yes i know Apr 21 23:58:56 nfc what offlineimapdaemon will do during offline Apr 21 23:59:12 I'd guess it's doing exactly the same Apr 21 23:59:47 listening to dbus signals telling there's a connection coming up Apr 22 00:00:26 or it actively establishes a connection whenever it tries to poll imap on a timer schedule Apr 22 00:00:47 I doubt that though Apr 22 00:01:20 not even modest does that Apr 22 00:33:04 does nokia service out of warranty devices (nokia n900)? Apr 22 00:34:22 No. Apr 22 00:34:31 Or maybe. Apr 22 00:34:43 They may or may not do small repairs. Apr 22 00:34:50 They cannot do board-swaps anymore. Apr 22 00:34:59 At least - they couldn't in november. Apr 22 00:35:28 they weren't willing to do Apr 22 00:35:43 Well - yes. Apr 22 00:35:46 I bet there's still some 150 boards for extreme cases Apr 22 00:35:56 Perhaps. Apr 22 00:36:19 guess i just have to notify them of my problem and hope for the best Apr 22 00:36:41 What's wrong with it? Apr 22 00:37:51 they just noticed the rate by which the RMA requests declined would cause expiry of spare boards before all N900 out in the wild got binned, so they advised helpdesk and service to deny serviceability Apr 22 00:38:27 won't come on. i see a dim 'NOKIA' when i try to turn it on, but it never boots. when plugged into usb, yellow light stays on. battery fully charged. Apr 22 00:39:02 have you tried swapping battery? Apr 22 00:39:09 meh, that's neither battery fuly chaged, nor any severe problem Apr 22 00:39:18 you just need to reflash I guess Apr 22 00:39:49 gn00b: Do you happen to own a multimeter? Apr 22 00:39:50 which won't work without properly charged battery, which in turn doesn't get charged without flashed device Apr 22 00:40:28 SpeedEvil: no Apr 22 00:40:52 no DMM needed, I can tell from remote what's up with that device :-D Apr 22 00:40:59 i have a seperate battery charger, so i know that the batteries are fully charged Apr 22 00:41:10 Ah Apr 22 00:41:14 hmmm Apr 22 00:41:41 steady yellow means emergency charging, which happens only on very low battery Apr 22 00:42:44 this is a hardware function that hardly ever fails in such a way it would kick in for fully chaged battery Apr 22 00:43:32 I'd try plugging it into wallcharger, and leaving for a few hours Apr 22 00:43:43 I'd rather bet on two borked batteries, or a defect external charger, rather than any other explanation why this steady yellow is seen Apr 22 00:44:15 SpeedEvil: won't help when it doesn't boot up from NOLO Apr 22 00:44:25 hmm Apr 22 00:44:32 SpeedEvil: he said he sees dim NOKIA Apr 22 00:44:42 ah Apr 22 00:44:51 won't flasher pause charging? Apr 22 00:45:08 one battery i know is going bad. the other i bought a few months ago on ebay, may also be bad. i'll buy another. Apr 22 00:45:22 flasher will not help charging anyway Apr 22 00:46:17 Good luck Apr 22 00:46:53 thanx Apr 22 00:49:57 gn00b: check your external charger, maybe it eats batteries Apr 22 00:50:13 cheap ones tend to do Apr 22 00:53:22 The japod I bought a year or so ago on dealextreme is really excellent. However, the comments on dx forums suggest the current japod bl-5j isn't that good. Apr 22 00:53:56 is that a charger? Apr 22 00:55:18 aah, a battery? Apr 22 00:56:28 I tend to buy usually original ones from second hand phone shops Apr 22 00:57:03 not that I've done that often Apr 22 00:58:47 Yes it's a battery Apr 22 00:59:38 it's about a year old, but I only started using it a few weeks ago when my N900 died, and I switched to spare N900 Apr 22 01:00:46 Capacities reported by bq27200, cycle:mAh:: 04:1459, 09:1455, 014:1441, 015:1464, 021:1453, 022:1454 Apr 22 01:00:49 ShadowJK: massive amount of "new N900" on ebay, all "from HK", and probably all fake Apr 22 01:02:01 (RS=21) **** ENDING LOGGING AT Sun Apr 22 03:00:00 2012