IRC log of #maemo for Tuesday, 2012-05-22

merlin1991just spent 3 hours swapping a laptop display00:01
merlin1991fun times :D00:01
DocScrutinizer51just spent 3 ours cursing and swearing00:02
DocScrutinizer51as I lost my EC card00:02
DocScrutinizer51real fun times00:02
merlin1991well I cursed a lot too00:02
merlin1991first time the display cbale wasnt in properly00:02
merlin1991then I didn't put in the keyboard properly00:02
DocScrutinizer51yesterday I started to rip N900:03
DocScrutinizer51after watching some semi official youtube00:04
*** setanta has quit IRC00:05
DocScrutinizer51that suggests to 'do not re-use! discard!' half the phone00:05
DocScrutinizer51I stopped that00:05
*** thopiekar has quit IRC00:06
*** mece has joined #maemo00:06
Estel_DocScrutinizer,  those "do not use" iss bullshit00:06
Estel_they say it about everything, from camera module to screws00:06
Estel_same apply for "official" instructions for N90000:06
Estel_just use common sense as sharpest tool ;)00:07
DocScrutinizer51instructions are for shops to ensure customers get 'like new' quality00:08
MrPingu_Indeed, they say not to use these screws again00:08
MrPingu_Btw, evening sirs00:09
Estel_hi MrPingu00:09
Estel_hey, experts, little question here again :P00:09
Estel_take look at this please:00:09
Estel_I would like to scavenge this code, although, change it in a way00:10
Estel_that I first source config file, where main swap and backup swap is defined00:10
Estel_and then, instead of searching microsd for swap type partition, like in original code00:10
Estel_I would like it to check if main swap (as defined in config) is available, and in other case, enable backup swap00:11
Estel_(reasons for main swap being unavailable main be lack of microSD card, or corrupted, or whatever)00:11
Estel_any idea how to achieve that?00:11
Estel_by experts I mean DocScrutinizer, merlin1991 or anyone interested and able to help ;)00:12
*** b0unc3 has quit IRC00:13
*** eijk has joined #maemo00:13
DocScrutinizer51n900 here00:13
DocScrutinizer51no way I'll check that now00:13
*** b0unc3 has joined #maemo00:14
*** shanttu has quit IRC00:14
*** archeyDevil has quit IRC00:15
DocScrutinizer51I'd guess blkinfo or what it's called is your friend00:15
*** Atarii` has joined #maemo00:15
*** Atarii` has left #maemo00:15
merlin1991but invoke it with the flash cache command or you'll have real fun00:16
DocScrutinizer51merlin1991: ??00:17
merlin1991blikid -g00:17
merlin1991err blkid -g00:17
*** piggz has quit IRC00:18
merlin1991otherwise he can have swap partitions that are long gone00:18
MrPingu_merlin1991 : What other gst packages do you have? From what I found of googling I miss so I might miss a whole package? :P00:19
merlin1991MrPingu_: I only ever used tha todo screenshots00:19
*** eijk has quit IRC00:20
*** archeyDevil has joined #maemo00:21
merlin1991but there's the package load-applet-xiamgewsrc00:21
merlin1991might contain what you want00:21
*** vbenes has joined #maemo00:22
MrPingu_I installed gst-tools, earlier today thank you for that but all pipes are giving me the following error: No element "ximagesrc". Using the commands from the link you gave00:23
MrPingu_Will look at it ;)00:23
*** vbenes has quit IRC00:23
*** eijk has joined #maemo00:23
*** eijk has quit IRC00:24
*** eijk has joined #maemo00:24
Estel_DocScrutinizer,  merlin1991, thanks.00:30
Estel_blkid -g gives me nothing, though00:30
Estel_only blkid alone gives me results00:30
merlin1991you need to run blkid -g && blkid00:30
merlin1991blkid -g only does the garbage collection, but does not display anyhting00:31
*** archeyDevil has quit IRC00:31
Estel_I see, sorry00:32
Estel_I think I'm a little tired :P00:32
Estel_preparing first 100% own package in life for last few hours :P00:32
*** etrunko has quit IRC00:35
*** archeyDevil has joined #maemo00:37
*** vblazquez has quit IRC00:38
*** vblazquez has joined #maemo00:38
Estel_merlin1991,  this line in original script:00:39
Estel_      swapmicro=$(echo "$drivelist" -n | grep Id=82 | awk '/mmcblk1/ {print $1}')00:39
Estel_says, in human language00:39
Estel_"grep some value from drivelist output, and put it as value for swapmicro. Otherwise, leave swapmicro empty00:40
Estel_later we have:00:40
Estel_      if [ "$swapmicro" ]; then00:40
*** NishanthMenon has quit IRC00:41
Estel_which is either true if swapmicro got assigned proper value00:41
Estel_or false, if not00:41
merlin1991so where's your problem? :D00:41
Estel_I would like to rephrase first mentioned line to do blkid -g && blkid and to grep location of swap00:41
*** mece has quit IRC00:41
Estel_I would like to rephrase first mentioned line to do blkid -g && blkid and to grep location of swap00:42
Estel_(definedd earlier)00:42
Estel_or to leave it empty00:42
Estel_which would make 2nd line false00:42
Estel_for the life of me I can't get it working properly00:42
*** b0unc3 has quit IRC00:42
Estel_any ideas how that line should like, i.e. what instead of:00:42
Estel_      swapmicro=$(echo "$drivelist" -n | grep Id=82 | awk '/mmcblk1/ {print $1}')00:43
Estel_having example line, would make it easier for me to learn...00:43
Estel_forgive that I'm asking probably easy things00:44
*** e-yes has joined #maemo00:45
Estel_lets say I've, from sourced config file, a declaration: swap0=/dev/mmcblk1p200:45
merlin1991swapmicro=$(blkid -g && blkid  |  grep mmcblk1.*swap | awk 'print substr($1, 1, length($1) -1)')00:45
Estel_oh god00:45
Estel_so I make it:00:45
merlin1991that should find the first swap on an sd card00:45
Estel_yea, but I must set it to explicitly use swap provided via config00:46
MrPingu_What are you cooking, Estel_ ?00:46
Estel_i.e. I got declaration swap0=/dev/mmcblk1p200:46
*** b0unc3 has joined #maemo00:46
merlin1991that's even easier00:46
Estel_MrPingu,  solution for fool-proof anti-swap fragmentation00:47
Estel_almost finished, merlin1991 is *very* kind to help me with hardest part, a script that will adjust people's rcS-late to enable proper swap on boot, or go failsafe to backup swap00:47
MrPingu_sounds for me, I was/am too lazy to search/make swap refresh script :P00:48
*** shamus has quit IRC00:48
Estel_swapmicro=$(blkid -g && blkid  |  grep $swap0.*swap | awk 'print substr($1, 1, length($1) -1)')00:48
merlin1991that sounds about right00:48
MrPingu_Stil using the event.d method :P00:48
Estel_merlin1991,  as I don't understand this line fully: doesn't it still search for first swap on microsd unnecessary?00:49
merlin1991only that it doesn't work xD00:49
* merlin1991 investigates00:49
merlin1991ah yeah blkid -g must move one line up00:50
Estel_remember that I've put $swap0 there, which is earlier declared as, for example, /dev/mmcblk1p200:50
*** MrPingu has quit IRC00:52
* merlin1991 plays a lil with awk00:52
*** MrPingu_ has quit IRC00:52
merlin1991swapmicro=$(blkid  |  grep $swap0.*swap | awk '{print substr($1, 1, length($1) -1)}')00:56
*** eijk has quit IRC00:56
merlin1991hm still not valid00:56
*** trbs has quit IRC00:56
Estel_huge thank You! so, I need to put blkid -g a line above?00:56
*** eijk has joined #maemo00:57
merlin1991ah wait it works00:57
merlin1991I'm only the master of pastefile00:57
merlin1991and yeah blkid -g a line above00:57
*** MrPingu has joined #maemo00:58
Estel_Hurrian,  this example of rcsFlate editing to contain failsafe swap enabling is Your work, or from something else?00:58
Estel_I would like to give proper credits00:58
Estel_merlin1991,  so, now, if I put on next line:00:59
Estel_if [ "$swapmicro" ]; then00:59
Hurrianit's from the swapmicro script, lemme google the author (another guy on tmo)00:59
*** jd has joined #maemo00:59
*** jd has quit IRC00:59
*** jd has joined #maemo00:59
Estel_it will be "dev/mmcblk1p2" as $swapmicro00:59
Estel_if it exist00:59
Estel_or false?00:59
Estel_yes, sorry forget initial /01:00
merlin1991the awk line is to strip the : from the output01:00
Estel_ah, I see01:00
merlin1991(err pipe not line)01:00
*** eijk has quit IRC01:00
MrPinguYay, I fixed the gst-tools ;)01:00
Estel_later I have "else", that enables backup swap01:01
*** eijk has joined #maemo01:01
merlin1991btw I'd even use swapmicro=$(blkid  |  grep $swap0.*TYPE=\"swap\" | awk '{print sub01:01
merlin1991str($1, 1, length($1) -1)}')01:01
Estel_huge thanks merlin1991, really01:01
HurrianEstel_ :
merlin1991otherwise you could end up trying to swap on a partitions that has the genious label of swap but not the type :D01:02
MrPinguWhat I did was enabling SDK and TOOLS repo pull plugins-good-extra01:02
*** Jade has quit IRC01:02
MrPinguThanks for the  help merlin1991 ;)01:02
*** eijk has quit IRC01:02
merlin1991err, yes :D01:02
*** e-yes has quit IRC01:02
merlin1991fsckd putty01:02
merlin1991was supposed to be swapmicro=$(blkid  |  grep $swap0.*TYPE=\"swap\" | awk '{print substr($1, 1, length($1) -1)}')01:03
*** eijk has joined #maemo01:03
Estel_I'm using it with pleasure :)01:04
*** eijk has joined #maemo01:04
Estel_soon I should have it finished, will try to upload into -devel...01:04
merlin1991also I wouldn't do a simple if [ $swapmicro ] but if [ -n $swapmicro ]01:05
*** eijk has quit IRC01:05
Estel_right, ok.01:05
merlin1991it's safer to check against non zero length than implicit "false"01:05
* Estel_ nods01:05
*** eijk has joined #maemo01:06
MrPinguI won't mind testing, as soon as you packaged and uploaded it, Estel_01:06
*** msanchez has joined #maemo01:06
merlin1991MrPingu: so when can we see the result of your work? :D01:06
Estel_Hurrian,  thanks01:07
Estel_MrPingu,  also thanks ;)01:07
DocScrutinizerEstel_: you're tired? *I* got BSE - o my brain transmuted to extremely concentrated vacuum01:08
HurrianEstel_, are you pushing it as a replacement rcS-late?01:08
Estel_no, just as set of script for swap refreshing purposes, which also take user configurable swap locations and adjust rcs-late accordingly01:08
Estel_so, it's kinda multitool ;)01:09
MrPinguAs soon as I got a proper vid of cleven and faircrack and like ;)01:09
*** PeterWolf has joined #maemo01:09
DocScrutinizerpondering about this shitty vendor machine is built in a way to make fools with bse forget their credit card, since it offers the goods before you remove the card. Pondering still when I was 20m away from machine. 3h later I noticed I forgot my credit card01:10
Estel_in fact I've also developed small notification system that iform user about success, or, in case of failure, report about exact step that failed01:10
Estel_via maemo notification system01:10
DocScrutinizerI expect a ROTFL at very least01:10
Estel_DocScrutinizer,  was about to write lol01:11
Estel_but I suspect it's big problem for You01:11
merlin1991well dunno I suppose it's more annoying than a real problem01:11
merlin1991you have to lock the fsckd card and get a new one01:11
Estel_ah, now I know why bank machines want me to take card first01:11
merlin1991and pay a lil for that01:11
DocScrutinizerit's big problem not for the card but for my infallibly accurate brain rotting to pile of crap with this job01:13
DocScrutinizerlast time something like this happened to me was 15 years ago, on Valium which my doc thought was a good prescription against my stomach problems01:14
GeneralAntillesHooray, brain rot!01:15
* GeneralAntilles drools.01:15
DocScrutinizercard been locked since 4h now01:15
MrPinguI will post a YT link here, for sure ;) Anyway it can take some weeks as I actually have exams and go on holiday with classmates directly after :P01:15
*** andre__ has quit IRC01:16
DocScrutinizerbtw the lock phone call voice machine is such a fucktard as well, I already was about to power up my MTHELs01:16
*** rm_work has quit IRC01:18
DocScrutinizerI buolt better voice mailboxes 20 years ago01:18
merlin1991reminds me of the day my server @ 1and1 went down01:18
merlin1991phone system was totally fsckd01:18
DocScrutinizer1&1 NUUUUUUKE°!01:18
merlin1991I ended up in sales on the technical support hotline01:19
GeneralAntillesDocScrutinizer, tell them to get off your lawn.01:19
merlin1991DocScrutinizer: nuked them quickly after that, now with hetzner :)01:19
Estel_merlin1991,  look at:
DocScrutinizerhetzner better01:19
Estel_it doesnt work01:19
Estel_I'm also pastefail?01:19
* merlin1991 fires up ssh again01:20
DocScrutinizerEstel_: bracket arguments into '01:20
DocScrutinizererr, not for args with $env01:21
DocScrutinizert900:/usr/sbin# blkid  |  grep $swap0.*TYPE=\"swap\" | awk '{print substr($1, 1, length($1) -1)}'01:22
*** florian has quit IRC01:23
DocScrutinizerNB I haven't defined $swap0 before01:23
DocScrutinizert900:/usr/sbin# swap0=/dev/mmcblk1p301:25
*** shamus has joined #maemo01:25
DocScrutinizert900:/usr/sbin# blkid  |  grep $swap0.*TYPE=\"swap\" | awk '{print substr($1, 1, length($1) -1)}'01:25
MrPingureminded me of closing an internet connection of my passed away aunt, you were always put in wait. Then I called the customer support : I want to buy "something" and directly I got a real man at the other end.01:26
*** vblazquez has quit IRC01:26
DocScrutinizerEstel_: maybe your "script" (sorry for ") works perfectly, just the system doesn't do what you expect it to do01:26
merlin1991why the fuck does the -n check succed even when the string is a zero string01:26
*** vblazquez has joined #maemo01:26
Estel_oh god, I've stepped on nail left by my son on floor (part of toy with hammer)01:27
DocScrutinizerjr@halley:~> help [01:27
Estel_my roon is like bloodbath now01:27
DocScrutinizer This is a synonym for the "test" builtin, bu01:27
infobotEstel_ meant: my room is like bloodbath now01:27
DocScrutinizerPUNX RULE01:28
merlin1991DocScrutinizer: any particular reason why a if [ -n $something ] would be true when $something = "" ?01:29
Estel_DocScrutinizer,  this is not script, it's snippet from main script01:29
DocScrutinizer      -n STRING01:29
DocScrutinizer         STRING      True if string is not empty.01:29
Estel_I pasted it just for fix purposes, whole tool is much more complicated01:29
*** Atarii has quit IRC01:30
merlin1991DocScrutinizer: by "" I mean string but empty01:30
DocScrutinizeryay, complicificatificated for the winning01:30
Estel_merlin1991,  another problem is that after executing it I haven't good swap prompt that device is invalid01:30
DocScrutinizermerlin1991: I'm just c&p quoting01:30
Estel_but swap usage screen01:30
Estel_cause it's empty01:30
DocScrutinizerconsider non-printable01:30
Estel_so it used empty01:30
* merlin1991 rewrites awk part01:31
Estel_so there is another problem too - I actually have /dev/mmcblk1p301:31
Estel_so why it was empty anyway?01:31
Estel_blkid list it too01:31
merlin1991Estel_: for me it works when I have the partition01:31
*** MrPingu has quit IRC01:31
merlin1991but it also does a false positive when I don'T have it01:32
*** Dibblah_ has quit IRC01:32
*** MrPingu has joined #maemo01:32
*** APTX has quit IRC01:32
DocScrutinizer/sbin/swapon $(grep $swap0.*TYPE=\"swap\" | awk '{print substr($1, 1, length($1) -1)}') ) || swapon /dev/mmcblk0p701:33
merlin1991DocScrutinizer: consider
DocScrutinizerbeat that01:33
*** MrPingu has joined #maemo01:33
merlin1991for some reason I always end up in the "yes" tree01:34
*** vblazquez has quit IRC01:34
merlin1991stupid term01:34
DocScrutinizerecho ">>$swapmicro<<" $(echo $swapmicro|od)01:35
merlin19910000000 000012 000000101:36
DocScrutinizertoldya ;-P01:36
*** MrPingu has quit IRC01:36
* merlin1991 wonders wft that is01:36
*** MrPingu has joined #maemo01:36
DocScrutinizerdon't trust blkid01:37
merlin1991nah it's awk01:37
merlin1991fu awk01:37
*** jargon- has quit IRC01:37
DocScrutinizerlol, not awk01:37
merlin1991hm not awk aswell01:37
merlin1991but messybox somewhere01:37
DocScrutinizerhonestly, make better regex!01:38
merlin1991heh why? :D01:38
Estel_erm, I'm here but in listening mode01:38
merlin1991that makes no sense01:39
merlin1991that would match anything again01:39
merlin1991but I want to find the line that has preset /dev node and is swap01:40
merlin1991otherwise discard all01:40
teotwaki_on some inventor programme, some dude came round, showing off a prototype of a gaussian canon01:40
*** nox- has quit IRC01:40
teotwaki_and went "I can make a perpetual movement machine with this, free energy, woo"01:40
teotwaki_everytime anyone asked a question, he went "Look at the shiny ball, it's attracted by magnets, look, it moves by itself"01:40
DocScrutinizerwhat does (grep $swap0.*TYPE=\"swap\" | awk '{print substr($1, 1, length($1) -1)} ?01:41
teotwaki_and they all went wild.01:41
teotwaki_how fucking retarded do you have to be.01:41
*** MrPingu has quit IRC01:41
DocScrutinizerawk '{print substr($1, 1, length($1) -1)} gets you any shitee that blkid might spew out01:42
teotwaki_people having a hard time with regexp? Need help?01:42
merlin1991check blkid output against devnode in $swap0 + the type of swap and get rid of the : in the  blkid output since I was lazy to write a better echo $swap0 if found solution :D01:42
DocScrutinizerteotwaki_: ME? nope!01:42
teotwaki_not you, I know :)01:43
merlin1991hm I could use the return code of grep instead of that silly solution01:44
teotwaki_merlin1991: what are you trying to achieve?01:45
merlin1991nah I'm htere I think01:45
* DocScrutinizer throws some Haloperidol pills into channel - madness for everybody01:46
merlin1991this is getting silly01:46
teotwaki_merlin1991: just explain your problem.01:46
DocScrutinizerI'm *extremely* silly today01:46
merlin1991and still the bloody utf header in $swapmicro :D01:46
teotwaki_I don't have a device at the ready01:47
teotwaki_so don't know what that does -- walk me through it01:47
merlin1991teotwaki_: basically  Idefine a devnode01:47
merlin1991then use the blkid to get all valid partitions with types and whatnot01:47
merlin1991grep for the devnode I want, under the condiditon that it is swap01:47
merlin1991and if yes it should swap otherwise use the fallback01:48
DocScrutinizerblkid|od -xc01:48
merlin1991DocScrutinizer: echo $whyistihishappening | od01:49
merlin1991-> 0000000  00507701:49
teotwaki_blkid | grep "$swap0.*TYPE=.swap." && swapmicro=$swap001:49
* DocScrutinizer kicks himself01:50
teotwaki_if [ -n "${swapmicro}" ]01:50
DocScrutinizerecho -n "${swapmicro}"|od -xc01:50
teotwaki_blkid | grep "$swap0.*TYPE=.swap."01:51
* DocScrutinizer blames messybox, as it's always OK to do that01:51
teotwaki_if [ $? -eq 0 ] ; then swapmicro="$swap0"01:52
teotwaki_; fi01:52
merlin1991teotwaki_: thanks for the -n "$something"01:52
DocScrutinizerif terse form doesn't work, get verbose!01:52
merlin1991avoids messybox, yay01:52
* DocScrutinizer hates terse code01:53
*** eMHa has joined #maemo01:54
DocScrutinizerespecially those c wankers who think it's cute to pack 7 'normal' lines of code into one statement01:54
merlin1991DocScrutinizer: ash evalueates left to right?01:55
teotwaki_or, if you want to get funky: if [ `blkid | grep -c "$swap0.*TYPE=.swap."` -gt 0 ]; then echo $swap0 | od; fi01:55
*** GNUtoo-desktop has quit IRC01:55
DocScrutinizermerlin1991: usually r-t-l01:55
Estel_merlin1991,  thanks01:55
DocScrutinizerat least for pipes etc01:55
merlin1991DocScrutinizer: that answer is not verbose enough for me :D01:56
DocScrutinizera|b|c; c will get invoked first01:56
teotwaki_how does that work, considering c gets fed the input of b?01:56
DocScrutinizerit's a fifo, dear teotwaki_01:56
merlin1991well what I want to ask if the last line in my latest paste only runs the swapon $swap2 if the first bunch failed01:57
merlin1991or actually does other nasty things I didn't even think of :D01:57
DocScrutinizert900:/usr/sbin# set -vx01:57
DocScrutinizert900:/usr/sbin# date|cat|od01:58
DocScrutinizer+ cat01:58
DocScrutinizer+ od01:58
DocScrutinizer+ date01:58
DocScrutinizer0000000  072524 020145 060515 020171 031062 030040 035061 03206001:58
DocScrutinizerso not rtl either01:58
DocScrutinizerhonestly nfc01:58
DocScrutinizermid to outside?01:58
merlin1991Estel_: my last script seems to work01:59
* merlin1991 hates messybox scripting02:00
* DocScrutinizer hates messybox02:00
Estel_I'm investigating it, don't think I'm such bastard to say thanks and go away after You, DocScrutinizer and teotwaki did such work :D02:00
Estel_In fact, I'm going to bless You ;)02:01
Estel_just testing it now in many situations02:01
* DocScrutinizer headdesks a bit more - listens to remnants of what been a brain making funny noises02:02
Estel_it works perfectly, thanks a lot :D02:05
Estel_reallyp it saved my day :P02:05
Estel_+ I got moral satisfaction ;) that my problem wasn't so trivial to solve02:06
Estel_I'm going to integrate it now with rest... Only few long but working things with sed, and I'll have this bastard ready for -devel02:06
*** atlas has joined #maemo02:07
DocScrutinizerhonestly, for 'complicated multiline edits' use patch02:07
DocScrutinizernm, patch: not found02:07
teotwaki_DocScrutinizer: interesting...02:07
DocScrutinizerF U messybox!02:07
DocScrutinizerteotwaki_: ????02:08
merlin1991hehe good old patch missing02:08
teotwaki_DocScrutinizer: cat, od, date02:08
DocScrutinizerinteresting to watch me go insane, or what?02:08
DocScrutinizerweird stuff02:09
teotwaki_$ echo "foo" | grep foo02:09
teotwaki_+ echo foo02:09
teotwaki_+ grep --colour=auto foo02:09
merlin1991you probably remember our fun times in #maemo-ssu thining about how to patch conversations css :D02:09
DocScrutinizermaybe I do02:09
DocScrutinizeranyway logicals like &&, || are stictly ltr02:10
Estel_as path is missing02:10
DocScrutinizerfor pipes though things change sometimes02:10
Estel_can I use sed inside script with argument containing variables?02:11
Estel_I mean:02:11
DocScrutinizerit's shell expanding $env02:11
DocScrutinizernot sed02:11
Estel_variables inside sed argument will be properly filled, instead of thing replacing my line with $swap002:11
Estel_I see02:11
Estel_a relief, I think02:12
DocScrutinizershell expands everything except things 'enclosed in ticks'02:12
teotwaki_single quotes02:12
*** e-yes has joined #maemo02:12
DocScrutinizerEstel_: set -vx tells you the real invocation with parameters02:13
DocScrutinizer[2012-05-22 01:09:07] <teotwaki_> $ echo "foo" | grep foo02:13
DocScrutinizer[2012-05-22 01:09:07] <teotwaki_> + echo foo02:13
DocScrutinizer[2012-05-22 01:09:07] <teotwaki_> + grep --colour=auto foo02:13
Estel_yea, of course02:13
DocScrutinizerobviously grep is an alias here02:13
Estel_sed -i "1!N; s@      /sbin/swapon -a || echo "Failed to enable paging partition."@blkid -g\nblkid | grep $swap0.*TYPE=\"swap\" && /sbin/swapon $swap0 || /sbin/swapon $swap2@" /etc/event.d/rcS-late02:14
*** M4rtinK has quit IRC02:14
Estel_do You like this short command? :P02:14
Estel_errors inside or just gustas et non discutante?02:15
*** hardaker has joined #maemo02:15
DocScrutinizertoo drunk to focus on that mess ;-P02:15
teotwaki_anyway, I'm out02:15
teotwaki_'night people02:15
Psidoes anyone know what impedance the n900 headphone out is designed to drive?02:16
DocScrutinizerEstel_: it has bugs as well02:16
DocScrutinizerunpaired "02:16
DocScrutinizer"Failed to enable paging partition."02:16
DocScrutinizer"1!N; s@      /sbin/swapon -a || echo "02:17
DocScrutinizer"@blkid -g\nblkid | grep $swap0.*TYPE=\"swap\" && /sbin/swapon $swap0 || /sbin/swapon $swap2@"02:17
Estel_I see, but wtf it doesngt work02:17
Estel_how to overcome it?02:18
DocScrutinizerescape the " inside02:18
Estel_but but02:19
Estel_inside contain an escaped " already02:19
Estel_I mean02:19
DocScrutinizerso what?02:19
Estel_it must get inside like that02:19
Estel_so how to distinguish it from my escaped "02:20
DocScrutinizerthen use ' instead of " for the sed argument02:20
DocScrutinizeror even better, use $env02:20
Estel_sed -i '1!N; s@      /sbin/swapon -a || echo "Failed to enable paging partition."@blkid -g\nblkid | grep $swap0.*TYPE=\"swap\" && /sbin/swapon $swap0 || /sbin/swapon $swap2@' /etc/event.d/rcS-late02:21
Estel_like that02:21
Estel_ah, define argument as env02:21
Estel_like forsed=sed -i "1!N; s@      /sbin/swapon -a || echo "Failed to enable paging partition."@blkid -g\nblkid | grep $swap0.*TYPE=\"swap\" && /sbin/swapon $swap0 || /sbin/swapon $swap2@" /etc/event.d/rcS-late02:21
Estel_forsed=1!N; s@      /sbin/swapon -a || echo "Failed to enable paging partition."@blkid -g\nblkid | grep $swap0.*TYPE=\"swap\" && /sbin/swapon $swap0 || /sbin/swapon $swap2@02:22
Estel_then sed -i $forsed02:22
Estel_then sed -i $forsed /etc/event.d/rcS-late02:22
DocScrutinizerforsed='1!N; s@      /sbin/swapon -a || echo "Failed to enable paging partition."@blkid -g\nblkid | grep $swap0.*TYPE=\"swap\" && /sbin/swapon $swap0 || /sbin/swapon $swap2@'02:22
Estel_ah, shouldn't drop the '02:23
Estel_I understand02:23
DocScrutinizeror sth like that02:23
DocScrutinizerescaping is rather tricky on shell02:23
Estel_it its $env are the ' at beginning and end needed still, got ya02:23
Estel_s/got ya/got that/02:23
infobotEstel_ meant: it its $env are the ' at beginning and end needed still, got that02:23
DocScrutinizerdiscard 1!N;02:24
DocScrutinizerit confuses hell outa me02:25
DocScrutinizeriscard leading whitespace02:25
cehtehbusybox or bash?02:26
DocScrutinizerdiscard overly comprehensive matchstring, replace large parts by .*02:26
DocScrutinizers@swapon -a.*@...02:28
Estel_doesn't work02:28
DocScrutinizers@/sbin/swapon -a.*@...02:28
*** hurbu has quit IRC02:29
DocScrutinizers@ */sbin/swapon -a.*@...02:29
Estel_why should I do that02:29
Estel_when I want to swapon only pre-defined backup swap02:29
DocScrutinizer /sbin/swapon -a || echo .Failed to enable paging partition\..02:30
DocScrutinizerdot is a special symbol02:30
DocScrutinizer. matches one arbitrary char02:31
DocScrutinizerX* matches X and XXXXXXXXXXXXXXXXXX02:31
DocScrutinizer.* matches everything02:31
DocScrutinizer\. matches a dot02:32
DocScrutinizeru? matches zero or one 'u'02:33
DocScrutinizerI'm tired02:33
*** b0unc3 has quit IRC02:33
*** b0unc3 has joined #maemo02:34
DocScrutinizerEstel_: use a textfile and grep to test your regex02:35
DocScrutinizerthen copy that regex to first half od sed s§<matchstring>§02:36
infobotDocScrutinizer meant: then copy that regex to first half of sed s§<matchstring>§02:36
*** eijk has quit IRC02:43
*** sergsergiu is now known as SergSergiu02:52
*** rcg1 has quit IRC02:54
*** robbiethe1st has joined #maemo02:54
Estel_DocScrutinizer,  thanks, although I don' understand 3/4 of what You're telling me02:57
Estel_sorry for dissaperance, got notification about new mail from modest and N900 just got into frozen state02:57
Estel_due to swap fragmentation, many shit opened, + fm radio02:58
Estel_interesingly enough, I was able to ssh02:58
DocScrutinizer~hail modest02:58
* infobot bows down to modest and chants, "I'M NOT WORTHY!!"02:58
Estel_but N900 was only repeatedly turning keyboard lights on and off02:58
Estel_I killed radii, modest etc via ssh02:58
Estel_screen changed accordingly to taskbar, but no change02:58
Estel_enraged, I killed browserd with no effect02:59
Estel_waited a while, and due no change, killed - still via ssh - xorg02:59
Estel_to force proper shutdown :P02:59
Estel_erm, about ask, I'll start with semi-simple question:02:59
DocScrutinizerI'll start with semi-asshat answer: man 7 regex :-P03:00
Estel_will read it03:01
Estel_why this shit doesn't work?03:01
Estel_command itself is ok, I mean sed03:01
*** APTX has joined #maemo03:02
Estel_I want sed to insert my (merlin's ;) ) beautiful complicated commands into rcS-late03:02
Estel_orally or anally, no mater. but sed is driving me mad03:02
DocScrutinizertry sed -i "$forsed"03:02
Estel_as You can see by bullshit 'm writing03:02
Estel_will try03:03
Estel_but it will make it sit inside "''"03:03
Estel_as forsed got ' at end and beginning03:03
DocScrutinizerno, it doesn't03:03
*** kraft_ has quit IRC03:03
DocScrutinizerI think03:03
*** Vanadis has quit IRC03:04
*** lopz has joined #maemo03:04
*** kraft has joined #maemo03:04
DocScrutinizerjr@halley:~> forsed='1!N; s@      /sbin/swapon -a || echo "Failed to enable paging partition."@blkid -g\nblkid | grep $swap0.*TYPE=\"swap\" && /sbin/swapon $swap0 || /sbin/swapon $swap2@'03:04
DocScrutinizerjr@halley:~> echo ">>$forsed<<"03:05
DocScrutinizer>>1!N; s@      /sbin/swapon -a || echo "Failed to enable paging partition."@blkid -g\nblkid | grep $swap0.*TYPE=\"swap\" && /sbin/swapon $swap0 || /sbin/swapon $swap2@<<03:05
*** Vanadis has joined #maemo03:05
DocScrutinizersorry, gotta sleep03:05
Estel_no problem, good night03:06
Estel_now it works but give fckd results03:06
Estel_inserts $swap0 instead of it's content03:06
Estel_+ do other weird shit03:06
*** lopz has quit IRC03:07
Estel_instead of replacing line, it makes it:03:07
Estel_blkid | grep $swap0.*TYPE="swap"       /sbin/swapon -a || echo "Failed to enable paging partition."      /sbin/swapon -a || echo "Failed to enable paging partition." /sbin/swapon $swap0 || /sbin/swapon $swap203:08
Estel_while effect should be:03:08
Estel_blkid | grep $swap0.*TYPE=\"swap\" && /sbin/swapon /dev/mmcblk1p2 || /sbin/swapon /dev/mmcblk0p703:08
Estel_blkid | grep $/dev/mmcblk1p2*TYPE=\"swap\" && /sbin/swapon /dev/mmcblk1p2 || /sbin/swapon /dev/mmcblk0p703:09
Estel_in fact03:09
Estel_~kill sed03:09
* infobot shoots a charged pseudograviton gun at sed03:09
Estel_merlin1991,  You're probably asleep already?03:10
DocScrutinizerEstel_: shell expands, unless enclosed in ' '03:11
merlin1991Estel_: nah still here03:11
Estel_thanks godness. Oh, and DocScrutinizer is lunatic03:11
DocScrutinizer'$foo' -> $foo03:11
DocScrutinizer"$foo" -> bar03:11
Estel_so how to format this fckd sed command03:12
Estel_merlin1991,  it gives me and DocScrutinizer headache03:12
DocScrutinizerfoo="this ->\" is an doubletick"03:12
Estel_or just me, who knows03:12
merlin1991dunno I never did sed stuff so far :D03:12
DocScrutinizerecho $foo -> this " is an doubletick03:13
Estel_so how would You make script that find line in rcS-late and replace it with our beautiful work03:13
Estel_(i.e. script cooked earlier)03:13
Estel_DocScrutinizer,  but inside script there is also escaped part required03:14
Estel_I'm just lost how to make sed interpret it properly03:14
DocScrutinizer51inside escapes escapes neewd to be escaped03:14
Estel_this part need to be passed to edited file03:15
Estel_not escaped03:15
merlin1991reminds me of how to regex match a \ in java03:15
DocScrutinizer51echo "\"\\\\""03:15
merlin1991Patter.Compile("\\\\"); <-- awesome stuff right there03:15
Estel_DocScrutinizer,  wtf?03:16
Estel_forsed='1!N; s@      /sbin/swapon -a || echo "Failed to enable paging partition."@blkid -g\nblkid | grep $swap0.*TYPE=\"swap\" && /sbin/swapon $swap0 || /sbin/swapon $swap2@'03:16
Estel_Failed to enable paging partition."@blkid -g\nblkid | grep $swap0.*TYPE=\"swap\" && /sbin/swapon $swap0 || /sbin/swapon $swap2@'03:16
Estel_sorry, wrong quote03:16
Estel_whats wrong with this03:17
Estel_i.e. should this shit should look03:18
* Estel_ is head desking03:18
*** xev has quit IRC03:18
Estel_I just *must* finish this shit today and upload *madness*03:18
Estel_i mean tonight :P03:18
Estel_then I can ~kill sed03:18
DocScrutinizer51WRONG approach03:19
Estel_probably, but no patch in busybox03:19
DocScrutinizer51if it gets tough today, ship next week03:19
Estel_ah, it's what You mean. Yea, I know03:19
Estel_but seriously, it's damn last thing before packaging :P03:19
Estel_literally last03:20
DocScrutinizer51last thing is let it ripe 3 days, and some 2 friends test it03:20
Estel_need to package it before that03:20
Estel_packaging != repos03:21
Estel_would be silly to let it test 3 days then make bug while packaging03:21
Estel_btw, I'm using main part for a year or so. it's just that fuckin one-time-run script that needs finishing03:21
Estel_it's all because I decided to make really easy to use package, without instruction to manually edit rcS-Late before use03:22
Estel_user just provide locations in config , and run one timer. It handles updating rcS-late03:22
Estel_then, You can eternally use what is main part of this package - well-tested rock solid scripts to refresh swap03:23
Estel_and of course this "small addition" to make rcS-late edit is driving me mad03:23
Estel_but, seriously, do You have idea how to fix that?03:23
Estel_(see last zerobin)03:23
* Estel_ trying different approaches to fight with sed03:27
*** zap_ has quit IRC03:30
* DocScrutinizer51 jumps out of bed again03:32
DocScrutinizer51Estel_: it's definitely are questionable idea to edit rcS-*03:32
Estel_no problem, this package is also for that03:33
Estel_and doesn't do it automaticaly03:33
Estel_user can do it by hand if willing to or not do at all03:33
*** lxp1 has joined #maemo03:33
Estel_(yet, many things wont work if not done)03:33
Estel_it just contain instruction to edit config file and run script only once03:34
Estel_I'll also add line writing counter from iostat to have info about data written to swap03:35
Estel_anyway, it's onlhy one sane approach to it03:35
Estel_other would be to use /event.d/ script03:35
Estel_but it would slow down boot03:35
Estel_as swap would be enabled by rcS-late03:35
Estel_then disabled and enabled (other) via scfript in event.d03:35
Estel_idiotic + time consuming03:35
Estel_btw I use rcS-late editing approach for ages it doesn't bring any problems03:36
Estel_if done correctly03:37
*** lxp has quit IRC03:37
Estel_and I swant to spare people bootlops due to typos while editing manualy03:37
DocScrutinizer51learn about upstart and sysV init. then better find a way that doesn't involve editing core initscripts03:38
*** Vanadis has quit IRC03:39
DocScrutinizer51insert a own inotscript that runs before rcS-late and edits fstab accordingly03:39
DocScrutinizer51add a script to undo swap mounting done by rc+-late03:40
*** Vanadis has joined #maemo03:40
DocScrutinizer51editing core stuff is EVIL03:40
*** b0unc3 has quit IRC03:45
*** xev has joined #maemo03:46
*** b0unc3 has joined #maemo03:46
*** e-yes has quit IRC03:52
Estel_honestly, something that mess with fstab just to cheat rcS-late is more EVIL03:53
Estel_if I have to choose between holy way editing script that got executed once on boot and then is just a file sitting on disk...03:54
Estel_...or fstab, on which many things could rely...03:54
*** LaoLang_cool has joined #maemo03:54
Estel_I preffer option 103:55
Estel_anyway, fighting with sed goes better and better, I think I'm close to finding it03:55
freemangordondamn, there was an earthquake here :(04:00
*** hardaker has quit IRC04:01
*** Sazpaimon has quit IRC04:07
*** Sazpaimon has joined #maemo04:08
*** gri has quit IRC04:12
*** gri has joined #maemo04:13
*** uen| has joined #maemo04:13
*** beford has quit IRC04:16
*** uen has quit IRC04:17
*** beford has joined #maemo04:18
Estel_freemangordon,  not fatal one I hope?04:21
Estel_sed -i \'$forsed\' /home/user/original-rcS-late04:21
Estel_sed: unsupported command '04:21
*** Vanadis__ has joined #maemo04:21
freemangordonno, nothing serious, just a little frightening04:21
Estel_what the fuckin fuck?04:21
Estel_I see04:21
Estel_here= where?04:22
freemangordon5.6-6 or something04:22
Estel_not very light either04:22
Estel_it apparently talks about \', because if i change it to \", it complains about unsupported command "04:23
*** Pali has quit IRC04:23
Estel_hm, should't Sofia be out of earthquakes zone?04:23
Estel_still, I've no idea how the fuck it interprets this ' as command, as without it, it complains about unmatched @ (content of $forsed)04:24
Estel_~kill sed04:24
* infobot shoots a hyper-charged anti-photon gun at sed04:24
Estel_~kill sed04:24
Estel_~kill sed04:24
* infobot shoots a hyper-charged anti-quark gun at sed04:24
Estel_~kill sed04:24
Estel_~kill sed04:24
* infobot shoots a ionized proton gun at sed04:24
*** Vanadis has quit IRC04:24
Estel_why, ah why busybox doesn't contain "patch"04:24
*** pigeon has quit IRC04:24
Estel_~suicude sed04:25
Estel_~die sed04:25
* infobot murders sed, takes two shots to the head then crumples to the ground, lifeless...04:25
Estel_~annihilate sed04:25
* infobot bakes a cake and gives it to sed04:25
Estel_I'm fighting with this shit for few hours already04:26
Estel_3 or 404:26
* Estel_ headdesk04:26
infobotEstel_ meant: s/headdesks/headdesks04:26
Estel_no, seriously, I'm out of ideas04:27
Estel_how to make sed properly interpret:04:27
Estel_sed -i 's@      /sbin/swapon -a || echo "Failed to enable paging partition."@blkid -g\nblkid | grep $swap0.*TYPE=\"swap\" && /sbin/swapon $swap0 || /sbin/swapon $swap2@' /etc/event.d/rcS-late04:28
Estel_I've properly escaped scapes inside escapes04:29
Estel_which gave me04:29
Estel_with usage of $env04:29
Estel_forsed="s@      /sbin/swapon \-a || echo \"Failed to enable paging partition.\"@blkid \-g\nblkid | grep $swap0.*TYPE=\\\"swap\\\" && /sbin/swapon $swap0 || /sbin/swapon $swap2@"04:29
Estel_sed -i \'$forsed\' /home/user/original-rcS-late04:29
Estel_...yet this unholy shit still doesn't work04:29
Estel_any idea, anyone? pleeease?04:30
Estel_~murder sed04:30
* infobot shoots sed in his sleep04:30
Estel_~assasinate sed04:31
Estel_~rape sed04:31
* infobot takes sed behind the WallMart and makes a few grunts and screams04:31
Estel_~sodomize sed04:31
Estel_~seed sed04:31
Estel_no really. I'm out of today, this shit just ain't gonna work for now :(04:32
infobotEstel_ meant: no really. I'm out for today, this shit just ain't gonna work for now :(04:32
befordhold on04:32
beforddo you have the original file?04:33
befordi mean, pastebin it so I can see and give it a try04:33
Estel_I'm little angry, as it's last part of work needed to upload bigger package04:33
Estel_ok, but04:33
Estel_do You mean script04:33
Estel_or file to be edited04:33
Estel_by sed04:33
befordthe file to be edited, and the line you wnat to change04:33
Estel_ok, pastebinning04:33
Estel_file to be edited04:35
Estel_editing script (well, make shit version, as it's part of complex script set, normally)04:37
Estel_..and, finally, line to be editd and how it should look after edit:04:38
befordline 5204:38
Estel_yea, 52 to be edited04:40
Estel_and replaced by 2 lines04:40
Estel_already managed to get info about working multi-lining in sed etc...04:40
befordisn't it unsafe to edit system scripts though?04:41
Estel_last things is script that will read config file (i replacedd this by declaring values, in makeshift script) and modify rc$-late accordingly04:41
Estel_it's unsafe to make typos during edit04:41
Estel_although, I've almost finished program (set of scripts) mean't to easy refreshing of swap04:42
Estel_+ it allows to set arbitrary swaps on boot04:42
Estel_for both tasks editing rcS-late is necessary and wanted04:42
Estel_I want to save editing rcS-lated manually for end users04:43
*** Sazpaimon_ has joined #maemo04:43
Estel_and prepare script that, once config if filled by user, will do it for them04:43
befordautomagically yea04:43
Estel_would be trivial with patch, but patch isn't part of busybox04:43
Estel_not exactly automagically, user need explicitly invoke script ;)04:44
Estel_program manual and description in package manager will state to edit config and run script once04:44
*** Sazpaimon has quit IRC04:44
Estel_problem - can't force sed to work properly04:44
Estel_huge thanks if You manage to find it04:45
Estel_btw,set -xv bit is to show output in console, so You see shat actually is passed to sedd by sh04:45
Estel_many tricky things with " and \ that need to be escaped from shell or sed04:45
*** atlas has quit IRC04:45
Estel_(in order to get into file that's edited)04:46
Estel_thats why my current workshop version looks like that:04:46
Estel_...what You found in adjust-rcS-late that I've zerobin'ned before04:46
Estel_it *almost* work04:46
Estel_arguments are escaped correctly etc... just freaking sed is shitting about unsupported argument '04:47
Estel_if I replace \'$forsed\' with \"$forsed\"...04:47
Estel_it complains about "unsupported option "04:48
Estel_unsupported "04:48
Estel_so it's clearly related to \'$forsed\'04:48
*** pigeon has joined #maemo04:51
*** hurbu has joined #maemo04:53
Estel_beford,  hard times with sed, eh?05:01
*** APTX has quit IRC05:02
*** jd is now known as Jaded05:02
* beford tries hard05:03
* Estel_ too05:05
*** APTX has joined #maemo05:09
*** FredrIQ has joined #maemo05:10
Estel_I don't get whysed cares for content between @ @ @05:10
Estel_if it would think it's not proper syntax, it would complain for unmatched @05:11
Estel_yet, it doesn't so he knows it's command to sed05:11
Estel_so why he fuckin cares about inside?05:11
Estel_I must escape -a inside swapon -a05:12
Estel_or sed complains about unknown option a05:12
*** krau has quit IRC05:12
*** b0unc3 has quit IRC05:12
*** DrGrov has joined #maemo05:12
Estel_but, if this shithead know that it's string for replace - and he know, as he don't complain about unmatched @ - why he keeps bitching about it?05:12
*** FIQ has quit IRC05:13
*** FredrIQ is now known as FIQ05:13
Estel_after 5 hours of fighting with it I'm getting murderous instincts against sed and it's creators05:13
*** krau has joined #maemo05:14
cehtehsorry i am too tired else i may help :P05:20
cehtehi must be some machine .. i almost never manage to deciper recaptchas05:23
*** pcfe_ has joined #maemo05:31
*** pcfe has quit IRC05:35
*** t_s_o has joined #maemo05:36
*** DrGrov has left #maemo05:39
*** sasquatch has quit IRC05:41
Estel_beford,  how hacking this is going? failure here :(05:42
Sc0rpiuswhat are we hacking?05:42
Sc0rpiusdid you fix your sed script?05:44
*** GeorgeH has joined #maemo05:45
Estel_Sc0rpius,  nope05:46
Estel_sed is05:46
Estel_~murder sed05:46
* infobot shoots sed in his sleep05:46
Sc0rpiussed is great05:46
Sc0rpiuslet's see what you're doing wrong05:46
Estel_wanna change Your mind?05:46
Estel_I'll send You zerobins05:46
Sc0rpiussed -i 's@      /sbin/swapon -a || echo "Failed to enable paging partition."@blkid -g\nblkid | grep $swap0.*TYPE=\"swap\" && /sbin/swapon $swap0 || /sbin/swapon $swap2@'05:47
Sc0rpiusthat line doesn't work as you expect, right?05:47
Estel_file to be edited:05:47
Estel_editing script (well, make shit version, as it's part of complex script set, normally):05:47
Estel_..and, finally, line to be editd and how it should look after edit:05:47
befordi thinkg i did it05:48
befordnot sure05:48
Estel_If You manage to fix it I'll call You sedking05:48
Estel_beford,  dafuq?05:48
Estel_lemme check05:48
Estel_paste it please :D05:48
Sc0rpiusok let's see05:48
Estel_beford,  ommiting -i is necessary?05:49
*** mavhc has quit IRC05:50
Sc0rpiusit should add two lines?05:50
befordoh I ommited it to avoid having to restore the original file05:50
befordit should work anyway05:50
Sc0rpiusreplace swapon line for two lines?05:50
* beford checks05:50
Sc0rpiusyour script works, you just need to scape | and $ lemme show you:05:51
Estel_Sc0rpius,  yea, two lines05:52
Estel_sorry I'm checking... hm?05:52
befordmine works with -s05:52
befordI mean -i05:52
Estel_scape | and $?05:52
*** KrayonWork has quit IRC05:53
*** mavhc has joined #maemo05:54
Sc0rpiussed "s@/sbin/swapon \-a || echo \"Failed to enable paging partition.\"@blkid \-g\n\tblkid \| grep $swap0.*TYPE=\\\"swap\\\" \&\& /sbin/swapon \$swap0 \|\| /sbin/swapon \$swap2@" file05:54
*** radic has quit IRC05:54
Sc0rpiusthat one works for me (file is your file).05:54
*** radic_ has joined #maemo05:54
*** radic_ is now known as radic05:55
Estel_beford,  for some reason don't find necessary line, yet at least, doesn't throw errors05:55
Estel_Sc0rpius,  lemme check...05:55
Sc0rpiuscheck, it'll work05:55
Estel_I belive, I'm checking what was wrong, trying to learn05:56
Sc0rpius$things in the second part of the sed are variables05:56
Sc0rpiusyou didn't escape those05:56
Sc0rpiusI can do things like this:05:56
befordI though he wanted to escape them?05:56
Estel_right, see it05:56
Sc0rpiussed s/I'll print just this:(.*)+/$0/05:56
Estel_Sc0rpius,  huge thanks, but something is still wrong...06:00
*** dockane_ has joined #maemo06:00
Estel_it doesn't replace anything06:00
Sc0rpiuswhat OS are you using?06:00
Estel_or my file got fcked somehow06:00
Estel_Maemo :P06:00
Estel_doing everything on device06:01
Estel_I'll restore file from pastebin I've sent You06:01
Estel_maybe during trial and error I've failed to restore original content at some point06:01
Estel_I'm fighting with it for freaking 6 hours06:01
Estel_beford for 1,5 hour too :P06:02
befordit works here06:02
befordchallenge solved06:02
*** msanchez has quit IRC06:02
befordlet me ssh to the n900 and check06:02
*** dockane has quit IRC06:03
Sc0rpiusit works ok here with the file06:03
Estel_Sc0rpius,  zerobin links give me - after pasting - output without new lines06:04
*** cyborg-one has quit IRC06:04
Estel_could You please re send me my own file :P as my own link doesnt work for me?06:04
Sc0rpiusyeah it sucks but there's a workaround06:04
Sc0rpiuspress Clone06:04
Sc0rpiusand copy/paste from there06:04
*** cyborg-one has joined #maemo06:05
befordwors on the n900 for me06:06
Estel_yea, it works! Sc0rpius and beford, You're my heroes ;)06:06
Sc0rpiusif you want to be purist06:06
Estel_small glitch only - need more escaping on TYPE=/"swap/"06:06
Sc0rpiusyou can replace \t for the blank spaces you need to be in the exact indentation06:07
Estel_but I'll manage06:07
befordmore scaping06:07
Estel_wait, wait, what \t06:07
Sc0rpiusthe script was a \n\t (a tab after the newline)06:07
Estel_I see06:08
Estel_yes yes06:08
Sc0rpiushere: \n\tblkid06:08
Estel_found it06:08
Sc0rpiusyou can replace \t for several spaces so it's just below the previous line in perfect identantion06:08
Estel_and I can delete /t with exact number of spaces?06:08
Estel_\t is tab, yep?06:08
Sc0rpiusbut tab is 8 spaces06:08
Sc0rpiusand you need 606:08
Estel_I noticed small problem06:09
Estel_$swap2 is passed like that06:09
Estel_not it's value06:10
Estel_probably something easy will check that06:10
befordits being scaped06:10
Sc0rpiusI thought you wanted literal $swap0 and $swap206:10
befordremove \ before $06:10
Sc0rpiusthen they will be empty06:10
befordhe had them defined on his script06:11
Sc0rpiusbecause $swap0 and $swap2 will be sed variables not the outer script variables06:11
Sc0rpiusoh and THAT'S a problem difficult to solve06:11
*** sasquatch has joined #maemo06:11
Estel_Sc0rpius,  maybe just06:11
Sc0rpiusnah it will work.06:11
Sc0rpiusit will work06:11
Sc0rpiusI just tested it06:11
Sc0rpiusexport swap2="ANYTHING"06:12
Estel_create $forsed variable to feed sed06:12
Sc0rpiusand then ran the script without the \ before the $06:12
Sc0rpiusand it worked06:12
Estel_yetp why swap0 is properly translated06:12
Estel_and swap2 not?06:12
Estel_export should be just one line above sed?06:12
Estel_btw, why blkid || grep works as blkid \| grep06:13
Estel_i.e. one escape one pipe = two pipes as result?06:13
Sc0rpiusheh that's funny06:13
*** radic has quit IRC06:13
Sc0rpiususe swap3 instead of swap0 and it will work06:13
*** radic_ has joined #maemo06:13
*** radic_ is now known as radic06:14
Sc0rpiusI have to look why a $variableendingin0 won't work06:14
Sc0rpiusbut it just don'06:14
Estel_btw swap0 was translated properly only 1st time, 2nd time failed06:14
*** LaoLang_cool has quit IRC06:14
Estel_look, on first place it replaced it with /dev/mmcblk1p206:14
Sc0rpiusthen just put a g at the end06:14
Estel_on second apperance it haven't06:14
Sc0rpiussed "s@/sbin/swapon \-a || echo \"Failed to enable paging partition.\"@blkid \-g\nblkid \| grep $swap0.*TYPE=\\\\\"swap\\\\\" \&\& /sbin/swapon $swap3 \|\| /sbin/swapon $swap2@g"06:15
Sc0rpiussee the g at the very end?06:15
Estel_what does it matter? haven't found it in docs06:15
Sc0rpiusthat will make process the line several times06:15
Sc0rpiusit does!!06:15
Estel_I used wrong wording06:15
Estel_I mean't06:16
Sc0rpiusso that's why swap0 wasn't working the second time.06:16
Estel_"what does it means"06:16
infobotEstel_ meant: s/mean/mean06:16
Estel_of, whatever ;)06:16
befordg means global06:16
Estel_ok, I'll try...06:16
Sc0rpiusyeah it means "Global replacement"06:17
Sc0rpiuswithout it, it'll only replace the first occurrence of everything that matches06:17
Sc0rpiusnow it works 100% ok :) (I just tested it)06:18
Estel_almost there... it's just that now scrpt never ends06:19
Estel_adjust-rcS-late, upon calling, is processing infinitely06:19
Sc0rpiuswell I'm not running your script just the sed line over the file06:20
Estel_Yea, suspected that06:20
Estel_somehow adding g06:20
Estel_made it run forever (and after killing, original file content isn't changed)06:20
Estel_any idea how to make it terminate properly?06:20
*** radic has quit IRC06:21
Estel_false alarm, I'm just idiot06:21
Estel_(frankly, just tired)06:21
Estel_copied it without specifying file etc06:21
Sc0rpiusanyway IO'm wondering why you use -i06:21
Sc0rpiusoh to replace the file06:22
Sc0rpiusthat's a dangerous option06:22
befordinplace edit yea06:22
befordwell editing the file is dangerous06:22
*** radic has joined #maemo06:23
Sc0rpiusnow tell me why are you doing all this in the first place06:24
Estel_just required micro fix for ammount of spaces and it works great!06:24
Estel_thanks a lot Sc0rpius, You're awesome, You know?06:24
Estel_and I agree sed is great06:24
Sc0rpiushaha not really but I've been working with sed for a long time06:24
Estel_~apologise sed06:24
Sc0rpiusand awk too06:24
Sc0rpiusand sed+awk is a very powerful combination06:25
Estel_as for why I need it06:25
Estel_yea, but sometimes tricky06:25
befordI prefer perl <306:25
Sc0rpiusare you Piotr?06:25
Estel_I'm preparing package for repos, which contain... well, let me paste my description:06:25
Estel_yes :)06:25
Sc0rpiusoh so you're running for the council06:25
Sc0rpiusthe results will be the day after tomorrow I guess06:25
Sc0rpiusI should go back to my Whatsapp client for N90006:26
befordthe java based?06:26
Sc0rpiusno I'm making my own06:26
Sc0rpiusQt based06:26
Sc0rpiusthe project is  fairly advanced06:26
*** KrayonWork has joined #maemo06:26
Sc0rpiusbut still not ready for people use06:27
Estel_hm, nice06:27
Estel_it sounds like quite huge task06:27
Estel_Sc0rpius,  here is description of what I'm cooking06:27
Sc0rpiusnope, it's actually pretty easy06:27
Sc0rpiusthe GUI is what makes me waste more time06:27
* Sc0rpius clicks06:27
Estel_(not passed through text editor yet, may contain typos or nasty grammar)06:27
Estel_I though whatsapp is closed source so no way for proper port other than running java midlets06:28
Sc0rpiushmm so it disables and enables swap when it detects fragmentation06:28
Sc0rpiusyeah it's closed source06:28
Sc0rpiusyou can always reverse it06:28
Estel_+ sets user defined swap to be enabled on boot or backup swap if first fail06:28
Sc0rpiusthat's what Wazzap did06:29
Sc0rpiusand that's what I did too06:29
Estel_+, I'll add in a second 3th sed line (forget it) to save stats for counter06:29
Sc0rpiuseverything started when the guy that made the Java port said06:29
Estel_Sc0rpius,  lol, nice06:29
Sc0rpius"Java versions for S40 devices are not obfuscated"06:29
Sc0rpiusand everybody went to decompile those versions06:29
Sc0rpiuseverybody tried before with the Android versions, that are extremely obfuscated, and pretty hard to reverse because of that06:30
Sc0rpiusnobody ever thought the S40 versions were totally plain with no protection at all06:30
Estel_ah thats why sudden of nothing 7575 threads about whatsapp appeared06:31
Estel_on tmo...06:31
Sc0rpiusand I'm sure I'm not the only making another one to add Wazzap a little pressure hehe06:31
befordwebos needs a client too06:32
Sc0rpiuswho uses that?06:32
befordwebos users ?06:32
Estel_I must admit I missed it as I was never interested in this program - but You're definitely goind to make many people happy.06:32
Sc0rpiusI ported an app from Webos to Maemo06:32
Sc0rpiusSplashID, because I really needed it06:32
* Estel_ searchs for it on packages interface06:33
Sc0rpiusheh it's not there06:33
Estel_btw, I need to add 3th line to sed:06:33
Estel_/usr/bin/iostat -md mmcblk1p2 | grep mmcblk1p2 | awk '{print $6}' >/root/reswap.stat06:33
Sc0rpiussince that's pretty illegal I never submit it06:33
Estel_I hope I'll manage to do it now06:33
Estel_without stucking06:34
Estel_surely need to escape -md06:34
Sc0rpiusbut you need to space \$ and the \'06:34
Sc0rpiusand maybe the \|06:34
Sc0rpiusI would do it just in case06:34
Sc0rpiusescape actually06:35
Estel_ok, proceeding06:35
*** robbiethe1st has quit IRC06:42
Estel_Sc0rpius,  little question, if You don't mind06:59
Estel_is there a way to make sed find text matching pattern (wildcard) and replace it?06:59
Estel_for example, I would like him to find mmcblk*p* (mmcblk0-9p0-9) and replace it with fixed text07:00
Estel_wildcards are an option?07:00
Sc0rpiusyeah sure07:00
Estel_s/mmcblk*p*/mmcblk1p2/ for example07:01
Sc0rpiusthat would be:07:01
Estel_not need for any special escaping, marking etc? ;)07:01
Estel_dot asterisk07:01
Sc0rpius[0-9]+: at least one digit (it could be several)07:02
Sc0rpius[0-9]*: none, or several digits07:02
Estel_thanks the latter is even better07:02
Estel_I doubt someone got more than 10 partitions, but still07:02
Estel_and .*: jus 1 digit?07:03
Estel_or at least 1?07:03
Sc0rpius* 0 or more matches of the previous regexp07:03
Sc0rpius+ 1 or more matches of the previous regexp07:03
Sc0rpius. = any char07:03
Sc0rpius.+  = one character or more07:04
Sc0rpius.* = nothing or anything hehe (sounds weird)07:04
Sc0rpiusa.*b would match ab, a1b, aaskdjfhakjb, etc.07:04
Sc0rpiusa.+b would only match a1b, assdfsdfb07:04
Sc0rpiusbut no ab.07:04
Estel_and [0-9] is to limit it for digits07:04
Estel_instead of all alphanumeric07:05
Sc0rpius[0-9] one single digit from 0 to 907:05
Estel_I got it.07:05
Sc0rpius[0-9]+ several digits07:05
Estel_[0-9]*nothing or any number of digits07:05
Estel_thank a lot, You got talent to explain things, surely.07:06
Sc0rpiusexactly, you got it07:06
Estel_sorry for bothering You and taking out of developing ;)07:06
Sc0rpiusit's ok, it's too hot for me to code tonight07:06
Sc0rpiusand no A/C in this room, only in the bedroom where TV is07:07
Sc0rpiusso TV is calling hehe07:07
Estel_:) I got 28 too but only during day07:09
Estel_29 today expected07:09
Estel_but now it's quite pleasant morning (6:09 AM)07:09
Sc0rpiusit's 11:41pm here, during the day it reaches 36C is crazy07:11
Estel_where it is, where do You live?07:13
Estel_btw, last question here - any way to make sed into replacing all occurenced of pattern07:13
Estel_not only first found?07:13
Estel_(I'm sure there is, and I promise to read whole manual tommorow, too tired to do it right now :P)07:13
Sc0rpiusCaracas, Venezuela07:14
Sc0rpiusg at the end will replace all occurrences07:14
Estel_ah, so temperatures are justified.07:15
Sc0rpiussed manual is pretty long07:15
Estel_thats why I'm asking now07:15
Estel_btw I'm on "far north", Poland07:15
Sc0rpiusthat's far07:15
Estel_but it's just a little cooler ;)07:15
Estel_hm, so g replaced all occurences... why it helped us with $swap0/$swap2?07:16
Estel_first pattern was replaced @ first run07:16
Estel_so any another run shouldn't alter it07:16
*** GeorgeH has quit IRC07:17
Sc0rpiusit's weird07:17
Sc0rpiusbut it worked nonetheless07:17
Estel_yea :)07:18
*** Termana has quit IRC07:18
*** Openfree` has quit IRC07:24
*** Openfree` has joined #maemo07:24
*** Termana has joined #maemo07:27
*** tank-man has quit IRC07:29
*** bjv has quit IRC07:35
*** Jaded is now known as Jade07:38
*** Veggen has quit IRC07:46
*** gexc has joined #maemo07:59
*** gexc has quit IRC08:00
*** e-yes has joined #maemo08:04
*** LaoLang_cool has joined #maemo08:04
Estel_...and here is how file should look after operation:08:12
Estel_(just numbers modified on 5 place, normally script will take new values from config)08:13
Estel_Sc0rpius,  if You could look at it after returning, I'll be very grateful.08:13
Sc0rpiusI'm here08:14
Sc0rpiusI was whining at #mer08:14
Estel_oh :)08:14
Sc0rpiusI think I miss the problem?08:14
Estel_ok, I'll re-paste my monologue ;)08:15
Estel_Sc0rpius,  could You help me with one last thing?08:15
Estel_I though I'll manage to do it myself, but still failing08:15
Estel_beside, I'll also include update-rcS-late.sh08:16
Estel_the latter is almost identical script, that take already modified rcS-late08:16
Estel_and update locations swaps there08:16
Estel_(in case user change swap layout and update config, will update it for user safely)08:16
Estel_ I tried to just imput same things on both sides of @08:16
Estel_on "old" content side using wildcard mmcblk[0-9]+p[0-9]+08:16
Estel_ and on "new" content side, use exactly same content as with previous script ($swap0 etc)08:17
Estel_yet, resulting modified file is totally screwed up08:17
Estel_whole rcS-late is filled with patterns ;)08:17
Sc0rpiuswhat's your script this time?08:17
Estel_I've also triedd to update 5 occurences in 5 steps...08:17
Estel_but results vere similar08:17
Estel_Sc0rpius,  here is my 2nd script (modified to not load external config):08:17
Estel_ here is file to be modified:08:18
Estel_...and here is how file should look after operation:08:18
Estel_(just numbers modified on 5 place, normally script will take new values from config)08:18
Estel_playback complete ;)08:18
Estel_after fail of "5 steps" solution, I tried what You see in script now - whole text in one step08:20
Sc0rpiusand what are you getting with your script?08:21
*** Vib3 has quit IRC08:21
*** Vib3 has joined #maemo08:22
Sc0rpius'cos I'm getting a total disaster with it08:22
Estel_same here08:23
*** Corsac has quit IRC08:24
Sc0rpiusmostly because you forgot to escape >08:24
Sc0rpiusno , it's not that08:25
Sc0rpiuslemme see what's wrong08:25
Sc0rpiustry your script without escaping & and |08:26
Sc0rpiusbut that will never work08:29
Sc0rpiussed works line by line08:29
Sc0rpiusyou can't match two lines on sed at a time08:29
Sc0rpiusI can see that you have a \n in the match expression, that will never work08:29
Sc0rpiusbut this script is to "revert" the first script, what I would do is create a .bak file or something instead of doing another script for reverting08:29
Estel_somewhere theyMve written about using 1!H and such things08:30
Estel_no no08:30
Estel_not revert08:30
Estel_just update mmcblk*p* values08:30
Estel_and honestly I've tried line by line approach in many steps08:30
Estel_(5 steps for 5 values to replace)08:30
Sc0rpiusbut you don't need to match the first blkid -g line08:30
Estel_it resulted in same disaster08:30
*** piggz has joined #maemo08:31
Estel_just 2nd and 3nd08:31
Sc0rpiusisn't easier like this:08:31
Estel_should be doable in 2 steps08:31
Sc0rpiusthe problem is that there are two swaps08:32
*** real-dev has joined #maemo08:32
Estel_swap0 is 2 times in first line and 2 times in second08:33
Sc0rpiusbut i would definitly do simpler scripts like:08:33
Estel_swap2 is only one time, in first line08:33
*** dev has quit IRC08:33
*** sulx has joined #maemo08:33
*** real-dev is now known as dev08:33
Sc0rpiusthis will be funny but:08:34
Sc0rpiussed s/mmcblk.p.[^$]/$swap0/g08:35
Sc0rpiusand then:08:35
Sc0rpiussed s/mmcbkl.p.$/$swap1/08:35
Sc0rpiusand done.08:35
Sc0rpiusI would summarize your really big script with just those 2 lines.08:35
Estel_would be wonderful, but08:36
*** beford has quit IRC08:36
Estel_wouldn't it in step 2nd replace thing from step 1nd?08:36
Estel_resulting in swap2 everywhere?08:36
Sc0rpiusno the first one will replace any mmcblk that is not at the end of a line with swap008:36
Sc0rpiusand the second line will replace only mmcblk that are at the end of a line with swap1 (or 2 or whatever)08:36
*** piggz has quit IRC08:37
Estel_kk, trying08:37
Sc0rpiusif that scares you, you can change it to:08:37
Sc0rpiussed s/mmcblk.p.*||/$swap0/g <-- all mmblk that are behind a ||08:37
Sc0rpiussed s/||.*mmcbkl.p.$/$swap2/ <-- all mmblk that are after a ||08:37
Estel_no, why scarry :) just need to check08:38
Estel_I see08:38
Sc0rpiusand actually I can summarize the first script to something very simple too08:38
Sc0rpiusif you think somebody has more than 9 partitions use [0-9]+ instead of .08:39
*** jacekowski has quit IRC08:43
*** jacekowski has joined #maemo08:43
*** Corsac has joined #maemo08:47
*** e-yes has quit IRC08:48
Estel_Sc0rpius,  little problem08:51
Estel_on 1st occurence, it also replaces a dot08:51
Sc0rpiuswhat dot?08:51
Estel_blkid | grep /dev/mmcblk7p3.*TYPE=\"swap\"08:52
Estel_blkid | grep /dev/mmcblk1p2*TYPE=\"swap\"08:52
Estel_(missing dot before *TYPE)08:52
Sc0rpiusI see08:52
Estel_i wanted to fix it, but08:52
Estel_it breaks other occurences ;)08:52
Estel_I'm using 1st version You proposed08:53
Estel_sed -i s@mmcblk.p.[^$]@$swap0@g /home/user/original-rcS-late08:53
*** Veggen has joined #maemo08:53
Sc0rpiusyeah lemme think08:55
Sc0rpiusI know why08:55
Estel_also there is missing space after 2nd occurence08:56
Estel_&& /sbin/swapon /dev/mmcblk7p3 ||08:56
Estel_&& /sbin/swapon /dev/mmcblk1p2||08:56
Estel_(space before pipes)08:56
Sc0rpiussed "s/mmcblk.p.\([^$]\)/$swap0\1/g" file08:57
Sc0rpiusand for the second one:08:57
Estel_same for 2nd line:08:57
Estel_/usr/bin/iostat -md mmcblk1p2| grep mmcblk1p2| awk08:57
Estel_/usr/bin/iostat -md mmcblk1p2 | grep mmcblk1p2 | awk08:58
Sc0rpiusyeah it's fixed with:08:58
Sc0rpiussed "s/mmcblk.p.\([^$]\)/$swap0\1/g" file08:58
Estel_(should be with space08:58
Sc0rpiusthe second one works fine:08:59
Sc0rpiussed "s/mmcblk.p.$/$swap2/" file09:00
Macersynology uses cgi09:04
Estel_thanks a lot, works flawlessly under all conditions09:04
Estel_You've made it so simple Sc0rpius :)09:04
Estel_I see that with such thing expertise gained due to experience matters really, really very much09:04
Estel_I've been using loong scripts just hoping to get it working, and Yours 6x shorten works ideally :)09:05
Estel_Sc0rpius,  what is Your tmo link?09:07
infobotEstel_ meant: Sc0rpius,  what is Your tmo nick?09:07
Estel_want to give proper credits in script comment and package description :)09:07
Sc0rpiustmo link?09:11
Sc0rpiustmo nick hmm09:11
Sc0rpiusit's Scorpius09:11
Estel_;) thanks09:12
Sc0rpiusI was checking if it was with an o or with a zero09:12
Sc0rpius(I forgot)09:12
*** sirdancealot4 has joined #maemo09:13
*** sq-one has joined #maemo09:15
*** ponyofdeath has quit IRC09:18
Sc0rpiusEstel do you use Backupmenu right?09:18
Sc0rpius'cos I think you post in that thread09:18
Sc0rpiusdo you use it with multiboot (default) or with U-Boot?09:18
Estel_in fact I use backupmenu-multiboot variant, manually updated to latest verion09:19
infobotEstel_ meant: in fact I use backupmenu-multiboot variant, manually updated to latest version09:19
Sc0rpiusI would really like to stop using multiboot and use U-Boot since everything works with U-Boot (Nemo, Nitdroid, etc) but I love my Backupmenu09:19
Estel_I don't use U-Boot yet, I'm still not sure if it's not posing regressions. Probably will switch when thumb2 arrives09:19
Estel_backupmenu can be used with U-boot for 100%09:20
Sc0rpiusthat's what I've heard09:20
Estel_I remember someone asking it it U-boot thread09:20
infobotEstel_ meant: yea09:20
Estel_although I don't have any details :(09:20
Sc0rpiussome guy uploaded some files to make it work but the link expired09:20
*** robink has quit IRC09:21
Sc0rpiusanyway the first thing I need is a microSD and I don't have one09:27
Sc0rpiusafter that I'll think about U-Boot + Backupmenu09:27
*** MacDrunk has joined #maemo09:28
Estel_hm, why not using eMMC for this?09:30
Sc0rpiusthe thing is that I want to test Mer/Nemo09:32
Sc0rpiusbut I need a microSD card for that09:32
*** robink_ has joined #maemo09:40
Estel_I see. Sure thing09:43
Estel_but sd cards should be cheap09:43
Estel_be sure to buy class 4 one09:43
Estel_prefferably genuine sandisk 8GB09:43
Estel_most performance, better than class 6 or 1009:43
*** zap_ has joined #maemo09:44
Estel_ufff, ereswap finished09:47
Estel_I took it as first project to upload to extras as I though it'll be faster09:48
Estel_but during preparing ideas for make it more conveinent for users came...09:48
Estel_and it turned out to be hardest and most complex09:48
Estel_not it's like backend for a swap management utility09:48
Estel_can be used from terminal, via desktop shortcuts (obviously), queen-beecon-widgets, shortcutd etc...09:49
Estel_and writing gui for it should be trivial for anyone experienced09:49
*** MacDrunk has left #maemo09:50
Estel_whole code is rather simple and commented very verbosely, so it should be quite good for other people to learn few tricks I've scavenged from pros (and small, very small fraction of my inventions)09:50
Estel_only thing it's lacking now is enabling ramzswap (on demand)09:50
*** rcg1 has joined #maemo09:50
*** murrayc has joined #maemo09:50
Estel_I hope You people will enjoy it ;) later I'll upload other, more simple yet useful09:51
Estel_see ya!09:51
*** robink_ is now known as robink09:51
*** robink has joined #maemo09:51
*** LaoLang_coo_ has joined #maemo09:58
*** ludens has quit IRC09:58
*** hurbu has quit IRC10:00
*** LaoLang_cool has quit IRC10:01
Psiwould anyone commend a web based file manager i can run on the n900 so i can grab files from other pcs on the lan without having to take the phone out of my pocket?10:07
*** calvaris has joined #maemo10:08
*** harbaum has joined #maemo10:08
*** harbaum has left #maemo10:08
*** calvaris has quit IRC10:09
*** calvaris has joined #maemo10:09
*** Funnyface has quit IRC10:13
*** hurbu has joined #maemo10:14
*** florian has joined #maemo10:15
*** florian has quit IRC10:15
*** florian has joined #maemo10:15
SiceloPsi: what about plain old sftp10:21
Estel_merlin1991,  ping10:22
Estel_merlin1991,  I've finished my work on ereswap, although got predictable problems with builder10:23
PsiSicelo: need a client10:23
Estel_I suspect it's /debian/rules fault, so here it is:10:23
Psii want something that works without me having to install anything on their pc10:23
Estel_summary log from builder just says "failed" without providing any hints10:25
Estel_detail logs is here, although, also not helpful:10:25
SiceloPsi: hmm, ftp server on your N900 then. any pc has an ftp client.10:26
*** jargon- has joined #maemo10:26
Estel_here is my ereswap_1.0.dsc:10:29
*** sasquatch has quit IRC10:29
*** sasquatch has joined #maemo10:29
Estel_...and here is source package:10:29
*** jonne|reconnecte has quit IRC10:30
Estel_merlin1991,  if You could look at it, I would be thankful. No idea what could be wrong besides rules (yet, I *think* I followed Your suggestions)10:30
Estel_thanks in advance!10:30
*** Dibblah has joined #maemo10:30
*** Saviq_ has joined #maemo10:32
*** Saviq_ has quit IRC10:33
PsiSicelo: you mean browser as ftp client?10:35
Siceloiirc all versions of windows have ftp.exe (cmd line..) which will allow you to upload to your N900 as well.10:38
Siceloanyway, it was just a suggestion.. there might be a 'web' method that would fit your needs better10:39
*** jonne|reconnecte has joined #maemo10:43
*** drussell has quit IRC10:44
*** eMHa has quit IRC10:44
*** ludens has joined #maemo10:45
*** jhb has joined #maemo10:49
*** mortenvp has quit IRC10:51
*** croppa has joined #maemo10:54
*** Jade has quit IRC10:54
*** Jade has joined #maemo10:55
*** Jade has quit IRC10:55
*** Jade has joined #maemo10:55
*** drussell has joined #maemo10:56
PsiSicelo: commandline ftp is awful10:57
Psior it is for what i want10:57
*** lukasz_gut has joined #maemo10:59
*** tank-man has joined #maemo11:01
*** geaaru has joined #maemo11:05
*** schen has joined #maemo11:05
jogaPsi you want to grab files to n900 from other computers, *without* touching the phone?11:06
Psiwant to walk into places that i already have wifi setup and be able to upload/download files to my phone while its still in my pocket~11:08
Psibe nice if i could also view text files11:08
*** mk8 has joined #maemo11:09
jogaI dunno...I always use ssh for such11:11
*** M4rtinK has joined #maemo11:11
*** arno0ob has joined #maemo11:13
Psiyeah, but then i need to install putty11:13
*** doc|home has quit IRC11:18
*** mhlavink_afk has quit IRC11:19
*** robink has quit IRC11:19
*** dafox has joined #maemo11:20
*** robink_ has joined #maemo11:22
*** mhlavink has joined #maemo11:23
*** aloril has quit IRC11:24
SiceloPsi: another option is samba11:27
Psiyeah, i have that, bit its a bit of a cpu hog11:27
*** narcos has quit IRC11:27
Sc0rpiuswhat about OpenSSH server and you just SFTP to the phone from PCs?11:28
Sc0rpiusthat's what I do.11:28
*** inz has quit IRC11:28
Sicelohe's already ruled that one out11:28
*** LaoLang_coo_ has quit IRC11:28
petterirsync with /etc/network/if-up rule11:28
Sc0rpiusoh he wants it web based?11:28
*** inz has joined #maemo11:28
petteriwith N9 you can do it easiely with profilematic11:29
*** sq-one has quit IRC11:29
SiceloPsi: why are you doing this..? i mean, why you can't whip your phone out of the pocket for the file upload/download?11:29
*** doc|home has joined #maemo11:32
* Sicelo doesn't believe that .. anyway11:33
chem|stputty and winscp do not need an install11:33
Siceloso, you get to this place, your N900 auto-connects, how do you find out what IP address N900 was assigned?11:33
Psichem|st: you still need to go download them11:33
Psior grab them somehow11:34
chem|stSicelo: simple broadcast11:34
PsiSicelo: i setup a mac static on the wifi11:34
Psior that11:34
Siceloif you do all that, i don't see how/why ftp is a no-go11:35
Psiftp is more a file download/upload app, i want a full file manager11:35
Psiwith copy/move etc11:35
chem|stPsi: some liek kies air?11:35
*** ludens has quit IRC11:36
Psiive used Ajaxplorer but i only got it installed inside debian chroot, so i would still need to load that on the phone first11:36
chem|stPsi: start stop services depending on the network you are in11:36
Psiyeah, could do i guess11:36
*** mortenvp has joined #maemo11:37
*** aloril has joined #maemo11:37
*** eMHa has joined #maemo11:38
*** msanchez has joined #maemo11:38
*** rcg1 has quit IRC11:40
*** mirsal_ has joined #maemo11:41
*** mirsal_ has joined #maemo11:42
*** rcg1 has joined #maemo11:42
* Estel_ ** WinSys ** Client: XChat-WDK 1507 (x86) ** OS: Microsoft Windows XP Professional ** CPU: Procesor Intel Pentium III Xeon (2,00 GHz) ** RAM: 3581 MB Total (2725 MB Free) ** VGA: NVIDIA GeForce 8600M GT ** Uptime: 50,03 Hours **11:44
jargon-anybody have this problem where media files somehow corrupt each other? some of my music and video files seem to partially overwrite some of my podcast files11:45
Estel_fckd'ed up vfat filesystem?11:46
jargon-deleting the podcast file and redownloading, doesn't seem to help. file remains corrupted11:46
jargon-run fsck?11:46
Estel_yeo, but unmount first of course11:46
Estel_prefferable, fsck.vfat /dev/mmcblk1p1 -r -v11:46
*** Pali has joined #maemo11:47
Estel_if that doesn't help, copy all remaining good things, and re-format vfat (re create)11:47
Estel_then copy back11:47
Estel_if *that* doesn't help, i have NFC11:47
*** ludens has joined #maemo11:48
jargon-hmm. can't mount it as user11:50
jargon-and if i mount as root, it's all root-owned11:50
*** ludens has quit IRC11:52
Psiyeah, i agree when fat16/32 gets corrupt you get some weird things occuring11:55
*** vbenes has joined #maemo11:55
jargon-Psi: Estel_: how do i mount it back as user after fsck?11:55
Psialso, you get strange issues when your microsd card is cheap and cant handle the timing the device is trying to use it at11:55
*** mortenvp has quit IRC11:56
jargon-no microsd yet11:56
Psiso just the onboard?11:56
*** mortenvp has joined #maemo11:56
*** ludens has joined #maemo11:57
*** SmilyOrg has joined #maemo11:57
*** Smily has quit IRC12:02
*** calvaris has quit IRC12:05
*** msanchez has quit IRC12:07
*** Hurrian has quit IRC12:10
*** jargon- has quit IRC12:19
*** jargon- has joined #maemo12:19
Estel_jargon, device should be usable if You use proper mount commands12:24
Estel_even if you mount as root12:24
Estel_gimme a sec12:24
*** Saviq_ has joined #maemo12:24
*** Saviq_ has quit IRC12:25
Estel_mount -t vfat /dev/mmcblk1p1 /home/user/MyDocs -o noauto,nodev,noexec,nosuid,noatime,nodiratime,utf8,uid=29999,shortname=mixed,dmask=000,fmask=0133,rodir12:26
Estel_that's proper mounting line for MyDocs12:26
Estel_do Yourself a favor and save it as shell script in /usrb/sbin/12:26
Estel_for example ""12:26
Estel_BTW, reboot would also help You ;)12:26
*** Arkenoi has quit IRC12:32
*** calvaris has joined #maemo12:33
*** sulx has left #maemo12:33
*** simh_ has quit IRC12:34
*** Pali has quit IRC12:35
*** doc|home has quit IRC12:36
*** hurbu has quit IRC12:37
*** xev has quit IRC12:38
*** xev has joined #maemo12:38
*** simh_ has joined #maemo12:39
*** sunny_s has joined #maemo12:39
*** MrPingu has joined #maemo12:40
Estel_DocScrutinizer, about done by this guy - you've pointed out nice suggestion there, what about a revision of his code?12:43
Estel_We already know You're one of sh mastahs, so, it would be great to have properly revisioned code. It could be a semi-official update to charge.sh12:44
Estel_BTw, i never remember, which charge was more reccomended - or charge21.sh12:44
*** xev has quit IRC12:48
*** hurbu has joined #maemo12:50
*** xev has joined #maemo12:51
*** jargon- has quit IRC12:53
DocScrutinizer51Estel_: already on my todo list12:55
*** aloril has quit IRC12:57
*** gomiam has joined #maemo12:58
*** murrayc has quit IRC12:58
Estel_DocScrutinizer, nice to hear :D12:58
Estel_Well, i'm not councilor (yet?), but I try to faciliate communication and ideas already ;)12:59
Estel_at least it's always easier to know right person to do some thing, than do it yourself, lol...12:59
Estel_seriously though, I haven't sleep yet due to fricking package I'm preparing. with giga help of Sc0rpius, I was able to finish it13:00
Estel_yet now build fail ;)13:00
Estel_considering it doesn't contain any code to compile - just .sh scripts and /debian/* required files - it's quite irritating13:00
Estel_especially after 12 hours of work13:00
Estel_or more...13:00
DocScrutinizer51re ETB:
*** zap_ has quit IRC13:03
*** croppa has quit IRC13:03
*** aloril has joined #maemo13:10
*** t_s_o has quit IRC13:16
merlin1991Estel_: your control file is wrong13:18
Estel_I'm all ears. with feets, actually.13:18
merlin1991anything multiline, like descriptions has to have a new line starting with a space, just like with the xb-maemo-icon-2613:19
*** r00t|home has quit IRC13:19
Estel_roger that.13:20
*** Pali has joined #maemo13:20
merlin1991also why do you chmod the scripts in postinst?13:20
*** r00t|home has joined #maemo13:21
*** Pali has quit IRC13:25
*** mk8 has quit IRC13:25
*** mk8 has joined #maemo13:26
*** r00t|home has quit IRC13:27
*** r00t|home has joined #maemo13:30
*** habmala has joined #maemo13:31
Estel_because they'rer not runable otherwise?13:34
merlin1991have them with the runable bit set in the tar already13:35
*** r00t|home has quit IRC13:35
freemangordonmerlin1991, thumb2 :P13:37
DocScrutinizer51we got that (or could get that) in KP?13:38
freemangordonand ways to trace it13:38
*** r00t|home has joined #maemo13:38
*** t_s_o has joined #maemo13:38
freemangordonDocScrutinizer51, I can bet that n900 being HS device will not benefit of that. Just imagine if userspace is allowed to do instruction (or whatever) trace of everything in system. don't believe that i possible.13:39
*** MrPingu has quit IRC13:40
DocScrutinizer51though, since we don't run secure mose anyway...13:40
Estel_merlin1991, thanks13:40
Estel_I've just based postinst script on other packages13:40
Estel_afaik even hend does this chmod :P13:41
Estel_will keep in mind that it's not needed13:41
freemangordonDocScrutinizer51, otherwise all that HS, TrustZone , etc. talk will be a pile of crap13:41
*** b0unc3 has joined #maemo13:41
DocScrutinizer51isn't it anyway, for fremantle?13:42
Estel_merlin1991, so i already define new lines in description by making it new line + space?13:42
infobotBZFlag's autopilot, named after "Airplane's" pilot13:42
*** r00t|home has quit IRC13:43
freemangordonDocScrutinizer51, why is that? Once (and if) I have my NFC flex cable I will explore the possibilities for true banking/payment applications on n90013:43
Estel_rules file is ok?13:43
merlin1991get rid of the --buildsystem=cmake13:43
merlin1991but otherwise rules should work13:44
Estel_freemangordon, dafuq? payment application?13:44
Estel_connected to which interface?13:44
Estel_merlin1991, ok13:44
freemangordonAnd having in mind that there is kind of HW security supported, lets see hw it will develop13:44
freemangordonEstel_, yes, NFC13:44
Estel_what does than stand for, other than no fuckin clue13:44
Estel_near field com?13:44
Estel_they couldn't take worse shortcut name13:45
*** k273 has joined #maemo13:45
freemangordonwhat about PCI?13:45
Estel_merli, empty lines betwen acapits ind escription also must contain space?13:45
Estel_PCI desktop interface :OP13:45
freemangordonPayment Card(s) Industry13:46
merlin1991Estel_: yes, anything the belongs to the description apart form the first line has to start with a space13:46
*** k273 has quit IRC13:46
*** r00t|home has joined #maemo13:46
Estel_roger roger13:46
Estel_experience is rising to heavens ;)13:46
Estel_after df in rules file, should I keep $@ ?13:49
Estel_(after getting rid of --buildsystem=cmake)13:49
Estel_what exactly this tag means?13:49
merlin1991it's shortcut to the old way of debhelper where you had to have a line for every friggin dh_* script13:49
*** mzanetti has quit IRC13:49
merlin1991rules file is called like "make dh_shlibdebs" and the %: rule grabs that and just runs it13:50
Estel_where have yopu learned all of this ;)13:51
*** r00t|home has quit IRC13:52
*** b0unc3 has quit IRC13:53
*** MrPingu has joined #maemo13:53
*** r00t|home has joined #maemo13:54
*** MrPingu has quit IRC14:00
*** r00t|home has quit IRC14:00
*** vesa_ is now known as vesa14:00
*** b0unc3 has joined #maemo14:00
DocScrutinizer51freemangordon: IHI0014Q_etm_architecture_spec.pdf p129 "3.5 detailed register descriptions" ETMACTR [13:10]14:02
*** zap_ has joined #maemo14:02
*** r00t|home has joined #maemo14:03
*** Aranel has quit IRC14:05
*** maybeArgh has joined #maemo14:05
* lardman watches Olympic torch travel through Frome, presumably not too dangerous there with only 3 outrunners14:06
*** maybeWTF has quit IRC14:07
lardmanonline I hasten to mention ;)14:07
*** r00t|home has quit IRC14:08
*** radic has quit IRC14:11
*** GeneralAntilles has quit IRC14:11
Estel_lardman, yesterday they fallen with torch due to light wind14:11
*** r00t|home has joined #maemo14:11
Estel_but on Ukraine, as protest against UEFA EURO, 2 femminist activists devastated some footbal cup14:12
lardmanEstel_: yes, made me laugh that even for an RRP ~£500 torch, it won't stay lit ;)14:12
Estel_first one went topless with quite obscenic writing on stomach, and, after short consternation, guards kicked at her - then, 2nd one picked cup and threw it to the ground14:12
Estel_little tricky ;)14:12
Estel_jumped, not kicked14:13
lardmanah ok a real cup, I thought you meant a match14:13
Estel_although I don't support devastation, I feel quite sympathetic for them ;)14:13
Estel_ammount of corruption during preparing EURO on ukraine is gigantic, with uefa blessing14:14
Estel_well, even here in Poland it doesn't look bright, and only one aprt that is going to make money on this shit is UEFA14:14
Estel_but msot sheeps are regulatory happy about it ;)14:14
lardman(I also briefly wondered whether you meant this climbing into a football stadium ;) :
*** hurbu has quit IRC14:15
*** r00t|home has quit IRC14:16
*** r00t|home has joined #maemo14:20
Estel_merlin1991, still builder failed with same output (lack of) :(14:23
Estel_failed and no reason provided, and in detailed log, last line is14:23
Estel_[2012-05-22 14:08:24] cd /home/builder2/maemo-fremantle-i386-extras-devel/work/ereswap-1.0 && dpkg-checkbuilddeps14:23
Estel_[2012-05-22 14:08:24] Cleaning up...14:23
Estel_[2012-05-22 14:08:24] Removing temporary target...14:23
Estel_[2012-05-22 14:08:25] Done.14:23
Estel_= exactly like before14:23
Estel_WTF autobuilder wants from me to provide/fix?14:23
*** radic has joined #maemo14:24
Estel_Link to actual tarball --->
*** Hurrian has joined #maemo14:25
*** r00t|home has quit IRC14:25
Estel_I've added spaces as recommended + removed unnecesary line from rule14:26
Estel_any help appreciated, would like to push this bugger through.14:26
Estel_maybe something with dependencies? It doesn't depent on anything excepot debhelper for build...14:27
*** hurbu has joined #maemo14:28
Estel_Should I remove ${shlibs:Depends} ? I don't think so...14:28
*** r00t|home has joined #maemo14:29
X-FadeEstel_: Are you using windows to edit these files?14:29
Estel_nope, edited on Maemo14:29
Estel_I did everything on device14:29
Estel_frankly, I suspect it's my fault, not autobuilder's (i'm doing it for the first time this way - very first was with truecrypt source, not entirely my own fioles)14:30
infobotEstel_ meant: frankly, I suspect it's my fault, not autobuilder's (i'm doing it for the first time this way - very first was with truecrypt source, not entirely my own files)14:30
Estel_probably I just did something wrong way, can't figure what though.14:31
X-FadeYour control file looks messy.14:31
* Estel_ nods14:31
X-FadeEmpty lines in description need a dot.14:31
Estel_which part may be wrong? description still?14:31
Estel_0_o good to know14:31
merlin1991hm the empty line after the dscription shouldn't be there14:32
X-FadeAnd all that crap in the description is also not needed.14:32
*** kent_autistic has joined #maemo14:32
X-FadeThat is what instructions are for ;)14:32
X-FadeYou're putting your whole life story in there :D14:33
*** markm has joined #maemo14:33
*** hurbu has quit IRC14:33
Estel_:d wanted to be verbose, but You're right14:34
*** r00t|home has quit IRC14:34
Estel_will move it to man inside and clean14:34
X-FadeDescription also has some specific rules.14:34
*** etrunko has joined #maemo14:34
X-Fadefirst line is short description, next lines are the regular description14:34
Estel_I'm all ears with feets. I're red about mentioning that it's command-line tool14:34
kent_autisticguys, we are having problems with facebook sharing plugin. more info at
kent_autisticany ideas why?14:35
Estel_thanks a lot X-Fade (and merlin1991), fixing it...14:35
X-FadeEstel_: ^^ That doc describes it all.14:35
*** r00t|home has joined #maemo14:38
Estel_X-Fade, thanks, went through it14:41
Estel_although, some doesn't apply here, yep? I haven't seen any md5sums on .changes file14:41
Estel_(maemo one)14:41
Estel_only in .dsc14:41
Estel_put aside details like lack of sha256 sum, sha1 and md5sum only. right?14:41
*** DocScrutinizer has quit IRC14:42
*** DocScrutinizer has joined #maemo14:42
*** r00t|home has quit IRC14:43
*** freemangordon has quit IRC14:44
*** hurbu has joined #maemo14:45
*** r00t|home has joined #maemo14:47
*** mzanetti has joined #maemo14:50
*** mzanetti has quit IRC14:50
Estel_X-Fade, what about /debian/changelog? is it ok?14:51
Estel_documentation says about dots and spaces, but, scavenging changes files from other packages in repos, I don't see anything like that14:51
*** r00t|home has quit IRC14:52
*** GeneralAntilles has joined #maemo14:53
*** r00t|home has joined #maemo14:56
DocScrutinizer51anybody else thinks wiki page design or CSS sheet sucks sonce months?14:57
DocScrutinizer51buzzword "BETA" et all14:58
*** r00t|home has quit IRC15:01
*** ZogG_laptop has quit IRC15:01
*** ZogG_laptop has joined #maemo15:01
*** r00t|home has joined #maemo15:05
*** vbenes has quit IRC15:05
*** vbenes has joined #maemo15:06
*** vbenes has quit IRC15:09
*** vbenes has joined #maemo15:10
*** r00t|home has quit IRC15:10
*** r00t|home has joined #maemo15:14
*** Dibblah has quit IRC15:15
Estel_fixed all things as suggested and trying to upload again...15:16
*** r00t|home has quit IRC15:19
*** r00t|home has joined #maemo15:23
Estel_X-Fade, still failed :(15:25
Estel_strange, it created both 1386.root.log.OK.txt and 1386.root.log.FAILED.txt15:26
Estel_1386.root.log.OK.txt one got same content as former reports, although, FAILEd one got some usefull info, actually15:26
Estel_cp: cannot stat `./data/adjust-rcS-late': No such file or directory15:27
Estel_dh_install: cp -a ./data/adjust-rcS-late debian/ereswap/home/user/.ereswap/ returned exit code 115:27
*** aloril has quit IRC15:28
Estel_file is actually called adjust-rcS-late.sh15:28
* Estel_ points out on .sh15:28
*** r00t|home has quit IRC15:28
X-FadeEstel_: Check your debian/install file15:29
Estel_yea, noticed that as well, I'm dumbie15:30
Estel_actually, like hell15:30
infobotashamed is probably an exemplary example of a nerd baller15:30
Estel_;) sorry, should notice it myself before asking15:31
X-FadeGood thing is that the builder doesn't make this stuff up :)15:31
*** r00t|home has joined #maemo15:33
*** Dibblah has joined #maemo15:34
Estel_yea :)15:35
Estel_YEA, build suceed!15:38
Estel_X-Fade, merlin1991  huge, huge thanks15:38
*** r00t|home has quit IRC15:38
Estel_finally I've something that works to base further work upon15:38
*** MrPingu has joined #maemo15:40
*** aloril has joined #maemo15:40
*** r00t|home has joined #maemo15:42
*** florian has quit IRC15:46
*** r00t|home has quit IRC15:47
*** r00t|home has joined #maemo15:51
*** r00t|home has quit IRC15:56
*** LaoLang_cool has joined #maemo15:59
*** r00t|home has joined #maemo16:01
*** Sazpaimon_ has quit IRC16:03
*** jargon- has joined #maemo16:05
*** narcos has joined #maemo16:06
*** Pali has joined #maemo16:06
*** r00t|home has quit IRC16:06
*** r00t|home has joined #maemo16:10
*** mzanetti has joined #maemo16:12
*** r00t|home has quit IRC16:16
*** mase76 has joined #maemo16:16
*** r00t|home has joined #maemo16:20
*** gomiam has quit IRC16:21
*** ychavan has quit IRC16:21
*** r00t|home has quit IRC16:25
*** valeriusM has quit IRC16:28
*** r00t|home has joined #maemo16:30
*** penguinbait has joined #maemo16:33
*** penguinbait has joined #maemo16:33
*** mase76 has quit IRC16:35
*** r00t|home has quit IRC16:35
*** r00t|home has joined #maemo16:40
*** MrPingu has quit IRC16:41
*** hardaker has joined #maemo16:44
*** valeriusM has joined #maemo16:45
*** xev has quit IRC16:45
*** xev has joined #maemo16:45
*** NishanthMenon has joined #maemo16:46
*** r00t|home has quit IRC16:46
*** r00t|home has joined #maemo16:50
*** r00t|home has quit IRC16:56
*** smoe has joined #maemo16:58
*** smoe has left #maemo16:58
*** ZogG_laptop has quit IRC17:00
*** r00t|home has joined #maemo17:00
Estel_Woody14619, ivgalvez, ping?17:01
Estel_#maemo,   <- it's effect of efforts and my endless question to You all :)17:03
Estel_if anyone feel it usable and/or willing to tes, i'll be glad17:03
*** sq-one has joined #maemo17:04
*** LaoLang_coo_ has joined #maemo17:05
*** r00t|home has quit IRC17:06
*** LaoLang_coo_ has quit IRC17:07
*** LaoLang_cool has quit IRC17:09
*** rm_work has joined #maemo17:09
kent_autisticanybody familiar with fbreader?17:10
*** setanta has joined #maemo17:10
jaskadepends on what familiar means, i have read .epub:s with it17:10
*** r00t|home has joined #maemo17:11
*** sobczyk has joined #maemo17:13
*** t_s_o has quit IRC17:13
sobczykhi, is there any hope of getting the usb port fixed after warranty?17:13
sobczykit's not yet completely detached, but getting loose17:14
*** r00t|home has quit IRC17:16
*** wmarone has joined #maemo17:18
*** wmarone_ has quit IRC17:18
rm_worksobczyk: by nokia, no -- even if it was under warranty, they would send you back a different device, not fix it :/17:18
*** r00t|home has joined #maemo17:21
luke-jranyone encounter N900 that says it's charging, but doesn't? :/17:21
kent_autisticjaska: is there really no kinetic scrolling in fbreader?17:22
*** freemangordon has joined #maemo17:22
jaskai scroll by page anyway17:22
jaskaso dont know17:22
jaskai never even wanted that feature so havent looked for it17:23
kent_autisticdo you it in portrait orientation?17:24
kent_autisticdo you use it in portrait orientation?17:24
jaskayeah, portrait, using the volume keys for page scrolling17:24
Estel_sobczyk, only fellow maemo users can repair it for You17:24
sobczykrm_work: what about soldering?17:24
Estel_for a feww/donation17:24
Estel_or You can done it on Your own17:24
*** javispedro has joined #maemo17:25
Estel_if going via other maemo user way, You must consider paying for work and shipping17:25
Estel_work is mostly a bargain, considering ammoung of work needed to fix it by hand, shipping can get worse, both sides17:25
Estel_sobczyk, the main problem is that evgen if Your port hjaven't feel appart...17:25
Estel_if port's pad is loose on motherboard17:26
Estel_it wont be easily fixable17:26
rm_worksobczyk: i think this is possible, but you need to find someone who knows how to take the device apart (and put it back together!) safely without damaging it, and is good at soldering very small parts that are very close to other fragile things.17:26
Estel_only pads thaT ARE INTACT ARE QUITE EASY17:26
Estel_sorry, caps17:26
*** r00t|home has quit IRC17:26
rm_worki had my USB port completely break off, but I think it still would have been possible to fix by someone who was REALLY good at soldering17:26
sobczykalready disassembled it, I own a soldering station17:26
Estel_dissasembling and assembling is trivial, soldering is while troubles start17:27
Estel_sobczyk, unless it's a ifnra red station, You probably mean just ressistive soldering iron with temp control?17:27
*** ruskie has quit IRC17:27
sobczykI already soldered 0402 SMDs so Im rather comfortable with it17:27
Estel_I've already fixed many N900's for fellow Maemo users (usb ports)17:27
Estel_sobczyk, so just do it17:27
Estel_if You got thin enough soldering tip...17:27
Estel_you should be good17:28
*** t_s_o has joined #maemo17:28
Estel_then, after soldering, reinforce port as per dr_frost_dk's instructions17:28
*** r00t|home has joined #maemo17:31
*** narcos has quit IRC17:33
sobczykok now I see why soldering with reisistive tip might be a problem, the shield just behind the usb gets in the way17:35
*** setanta_ has joined #maemo17:35
*** setanta has quit IRC17:35
Estel_You can remove part of it17:35
*** r00t|home has quit IRC17:36
*** kent_autistic has quit IRC17:38
*** k273 has joined #maemo17:40
*** r00t|home has joined #maemo17:42
*** hurbu has quit IRC17:46
*** r00t|home has quit IRC17:47
*** ruskie has joined #maemo17:49
*** beford has joined #maemo17:51
*** valeriusM has quit IRC17:51
*** r00t|home has joined #maemo17:52
*** jargon- has quit IRC17:53
*** cityLights has quit IRC17:56
*** mhlavink has quit IRC17:56
*** Darkchaos has joined #maemo17:58
*** mhlavink_afk has joined #maemo17:58
*** r00t|home has quit IRC17:58
Estel_does anyone know, if javispedro 's c FM Radio have an option to listen through speaker?17:59
*** eMHa has quit IRC17:59
infobotEstel_ meant: does anyone know, if javispedro 's c FM Radio have an option to listen through speakers?17:59
Estel_of course I know it's possible via messing with alsa, but I'm asking about it's GUI18:00
*** Cor-Ai has joined #maemo18:01
*** r00t|home has joined #maemo18:03
javispedroEstel_: I don't know if the extras release has, but latest source tarballs have several options for you to choose how to actually do the mixing =)18:07
*** r00t|home has quit IRC18:08
*** timeless has quit IRC18:11
HurrianEstel_, nice script ;)18:12
*** valeriusM has joined #maemo18:12
Hurrianmay I suggest keeping the config in /home/user/.config/ereswap18:13
*** r00t|home has joined #maemo18:13
DocScrutinizer51javispedro: what's your take on ARM ETB / ETM / STM / CoreSight on N900?18:14
javispedroas in, trace block?18:15
javispedroyou probably know that better than I do, I don't even know what are the pins under the battery18:16
DocScrutinizer51we might get really great 'coredumps'18:16
*** ferdna has joined #maemo18:16
DocScrutinizer51it's a buffer (6.8k iirc) that traces opcodes data of reg and timestamps and can get read out from CPU in my book18:17
*** jargon- has joined #maemo18:17
DocScrutinizer51of course also via jtag18:17
*** dos1 has joined #maemo18:17
javispedrothat'd make for interesting performance counters18:18
DocScrutinizer51all sorts of highly interesting things18:18
*** r00t|home has quit IRC18:19
DocScrutinizer51see backscroll, I spammed links18:19
* DocScrutinizer51 idly wonders what beagleboard guys did with ETB18:21
sobczyki did the dr_frost_dk modifications on the usb port, but still it seems as if the port is loose, either the small pins are not attached well (I could not reach them with the iron) or the USB port loosened inside18:21
DocScrutinizer51how can it seem loose?18:22
*** t_s_o has quit IRC18:23
sobczykwhen I push the connected charger plug down, info appears on n900 that I can disconnect the charger from wall socket18:24
*** r00t|home has joined #maemo18:24
*** schen has quit IRC18:25
Hurrianit probably lifts the pins when you push it down18:27
Hurrianyeah, clean it all up, and resolder18:27
*** r00t|home has quit IRC18:30
*** r00t|home has joined #maemo18:35
*** timeless has joined #maemo18:36
*** M4rtinK has quit IRC18:38
Estel_Hurrian,  do You remember what need to be done, in order to force re-assigning of icons in Maemo's menu (alphabetically, it re-sort that by default)18:39
*** r00t|home has quit IRC18:40
*** florian has joined #maemo18:41
*** zap_ has quit IRC18:42
*** jonwil has joined #maemo18:43
*** PeterWolf has quit IRC18:45
*** jonwil has quit IRC18:46
*** r00t|home has joined #maemo18:46
*** r00t|home has quit IRC18:51
*** mece has joined #maemo18:53
*** Pali has quit IRC18:54
*** vbenes has quit IRC18:56
*** r00t|home has joined #maemo18:57
*** mece has left #maemo18:57
*** jargon- has quit IRC19:02
*** r00t|home has quit IRC19:02
*** totalizator has quit IRC19:03
*** totalizator has joined #maemo19:04
*** r00t|home has joined #maemo19:07
*** NIN101 has joined #maemo19:09
*** eMHa has joined #maemo19:10
*** r00t|home has quit IRC19:13
*** mortenvp has quit IRC19:13
*** r00t|home has joined #maemo19:19
*** lukasz_gut has quit IRC19:23
*** r00t|home has quit IRC19:24
*** vbenes has joined #maemo19:25
*** ZogG_laptop has joined #maemo19:30
*** r00t|home has joined #maemo19:30
*** ZogG has quit IRC19:33
*** eijk has joined #maemo19:34
*** jd has joined #maemo19:34
*** r00t|home has quit IRC19:35
*** Jade has quit IRC19:37
*** arno0ob has quit IRC19:37
*** javispedro has quit IRC19:40
*** doc|home has joined #maemo19:40
*** Venusaur has quit IRC19:40
*** r00t|home has joined #maemo19:41
*** dafox has quit IRC19:41
*** doc|home has left #maemo19:43
*** ZogG has joined #maemo19:45
*** eijk has quit IRC19:47
*** r00t|home has quit IRC19:47
*** eijk has joined #maemo19:48
*** ponyofdeath has joined #maemo19:48
*** nox- has joined #maemo19:50
*** mece has joined #maemo19:50
*** Arkenoi has joined #maemo19:50
*** peetah has quit IRC19:52
*** r00t|home has joined #maemo19:52
*** peetah has joined #maemo19:53
*** r00t|home has quit IRC19:57
*** ZogG_laptop has quit IRC20:01
*** ZogG_laptop has joined #maemo20:01
*** hardaker has quit IRC20:01
*** Atarii has joined #maemo20:04
*** r00t|home has joined #maemo20:04
*** hardaker has joined #maemo20:06
*** r00t|home has quit IRC20:09
*** b0unc3 has quit IRC20:15
*** Venusaur has joined #maemo20:15
*** r00t|home has joined #maemo20:15
*** b0unc3 has joined #maemo20:17
*** r00t|home has quit IRC20:18
*** sb1980 has quit IRC20:18
*** rcg1 has quit IRC20:19
*** r00t|home has joined #maemo20:20
*** r00t|home has quit IRC20:21
*** r00t|home has joined #maemo20:21
*** b0unc3 has quit IRC20:25
*** b0unc3 has joined #maemo20:27
*** Darkchaos has quit IRC20:28
*** geaaru has quit IRC20:34
*** sq-one has quit IRC20:34
*** ZogG_laptop has quit IRC20:35
*** b0unc3 has quit IRC20:35
*** narcos has joined #maemo20:37
*** b0unc3 has joined #maemo20:38
*** jhb has quit IRC20:43
*** calvaris has quit IRC20:45
*** sirdancealot2 has quit IRC20:47
*** Pali has joined #maemo20:53
*** trbs has joined #maemo20:54
*** Pali has quit IRC20:54
*** rcg1 has joined #maemo20:56
*** robink_ is now known as robink20:59
*** robink has quit IRC20:59
*** robink has joined #maemo20:59
*** ZogG_laptop has joined #maemo21:02
*** loganbr has quit IRC21:10
*** mase76 has joined #maemo21:15
*** loganbr has joined #maemo21:16
*** mece has left #maemo21:17
*** mortenvp has joined #maemo21:19
*** M4rtinK has joined #maemo21:21
*** ZogG_laptop has quit IRC21:31
*** piggz has joined #maemo21:31
*** ZogG_laptop has joined #maemo21:31
*** mase76 has quit IRC21:31
*** b0unc3 has quit IRC21:33
*** b0unc3 has joined #maemo21:35
*** Corsac has quit IRC21:38
*** b0unc3 has quit IRC21:43
*** Corsac has joined #maemo21:44
*** b0unc3 has joined #maemo21:45
*** zap_ has joined #maemo21:53
*** piggz has quit IRC22:02
*** piggz_ has joined #maemo22:02
*** Gadgetoid has joined #maemo22:03
*** mase76 has joined #maemo22:04
*** beford has quit IRC22:07
NIN101anybody noticed that the openssh stuff in maemo is outdated? Not sure whether there some critical vulnerabilities though.22:08
*** MrPingu has joined #maemo22:09
*** ferdna has quit IRC22:13
*** vbenes has quit IRC22:13
*** vbenes has joined #maemo22:13
*** ferdna has joined #maemo22:13
*** dafox has joined #maemo22:16
*** valeriusN has left #maemo22:19
*** valeriusN has joined #maemo22:19
*** beford has joined #maemo22:20
*** e-yes has joined #maemo22:22
*** sq-one has joined #maemo22:24
Macersomething that is seriously irritating me about the lumia 90022:37
Macerthe damn wifi turns off when you put it in sleep mode22:37
Macerand turns back on when you wake it up. totally screwing over my gtalk client22:37
*** petur has joined #maemo22:40
*** narcos has quit IRC22:41
*** dafox has quit IRC22:45
DocScrutinizerNIN101: good point22:46
*** dafox has joined #maemo22:48
*** peetah has quit IRC22:51
*** b0unc3 has quit IRC22:52
*** peetah has joined #maemo22:52
*** b0unc3 has joined #maemo22:53
*** Dynamit has joined #maemo22:56
Siceloluke-jr: yes, i've had a few times of N900 with blinking orange on wallwart, apparently charging, but actually discharging23:00
*** b0unc3 has quit IRC23:00
*** penguinbait has quit IRC23:01
*** b0unc3 has joined #maemo23:03
SiceloEstel_: maybe you can persuade javispedro to release an update to the radio then. also add the ability to advance frequencies by 0.5MHz intervals. only FM Radio (pycage) supports that afaik23:03
Sicelomeh, 0.05MHz :)23:04
luke-jrSicelo: this is on car charger and PC :/23:04
luke-jris $220 a reasonable price for a barely-used N900 these days?23:05
*** b0unc3 has quit IRC23:06
Siceloin all the times i've had that, it's the charger connection that was at fault, not n900. you could possibly check with script23:06
Sicelobtw, how's the Gentoo effort?23:07
*** dafox has quit IRC23:09
*** b0unc3 has joined #maemo23:10
*** hurbu has joined #maemo23:11
*** b0unc3 has quit IRC23:13
*** b0unc3 has joined #maemo23:16
*** ioan has left #maemo23:17
*** cwoodward has joined #maemo23:22
*** Woody14619 has quit IRC23:24
*** Dynamit has quit IRC23:26
*** MrPingu has quit IRC23:30
*** vblazquez has joined #maemo23:38

Generated by 2.15.1 by Marius Gedminas - find it at!