DocScrutinizer51 | yw | 00:00 |
---|---|---|
merlin1991 | just spent 3 hours swapping a laptop display | 00:01 |
merlin1991 | fun times :D | 00:01 |
DocScrutinizer51 | just spent 3 ours cursing and swearing | 00:02 |
DocScrutinizer51 | as I lost my EC card | 00:02 |
DocScrutinizer51 | real fun times | 00:02 |
merlin1991 | well I cursed a lot too | 00:02 |
merlin1991 | first time the display cbale wasnt in properly | 00:02 |
merlin1991 | then I didn't put in the keyboard properly | 00:02 |
merlin1991 | :D | 00:03 |
DocScrutinizer51 | yesterday I started to rip N9 | 00:03 |
DocScrutinizer51 | after watching some semi official youtube | 00:04 |
*** setanta has quit IRC | 00:05 | |
DocScrutinizer51 | that suggests to 'do not re-use! discard!' half the phone | 00:05 |
DocScrutinizer51 | I stopped that | 00:05 |
DocScrutinizer51 | lol | 00:05 |
*** thopiekar has quit IRC | 00:06 | |
*** mece has joined #maemo | 00:06 | |
Estel_ | DocScrutinizer, those "do not use" iss bullshit | 00:06 |
Estel_ | they say it about everything, from camera module to screws | 00:06 |
DocScrutinizer51 | aemi | 00:06 |
DocScrutinizer51 | semi | 00:06 |
Estel_ | same apply for "official" instructions for N900 | 00:06 |
Estel_ | just use common sense as sharpest tool ;) | 00:07 |
DocScrutinizer51 | yep | 00:07 |
DocScrutinizer51 | instructions are for shops to ensure customers get 'like new' quality | 00:08 |
MrPingu_ | Indeed, they say not to use these screws again | 00:08 |
MrPingu_ | Btw, evening sirs | 00:09 |
Estel_ | hi MrPingu | 00:09 |
Estel_ | hey, experts, little question here again :P | 00:09 |
Estel_ | take look at this please: | 00:09 |
Estel_ | http://sebsauvage.net/paste/?15f3715baa9167de#wEO/AFX/OSRy+Pxue+sXooVRrWqxbpFdpTr+qRYPBTg= | 00:09 |
Estel_ | I would like to scavenge this code, although, change it in a way | 00:10 |
Estel_ | that I first source config file, where main swap and backup swap is defined | 00:10 |
Estel_ | and then, instead of searching microsd for swap type partition, like in original code | 00:10 |
Estel_ | I would like it to check if main swap (as defined in config) is available, and in other case, enable backup swap | 00: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 IRC | 00:13 | |
*** eijk has joined #maemo | 00:13 | |
DocScrutinizer51 | n900 here | 00:13 |
DocScrutinizer51 | no way I'll check that now | 00:13 |
*** b0unc3 has joined #maemo | 00:14 | |
*** shanttu has quit IRC | 00:14 | |
*** archeyDevil has quit IRC | 00:15 | |
DocScrutinizer51 | I'd guess blkinfo or what it's called is your friend | 00:15 |
*** Atarii` has joined #maemo | 00:15 | |
*** Atarii` has left #maemo | 00:15 | |
merlin1991 | but invoke it with the flash cache command or you'll have real fun | 00:16 |
DocScrutinizer51 | blkid | 00:16 |
DocScrutinizer51 | merlin1991: ?? | 00:17 |
DocScrutinizer51 | sznc? | 00:17 |
DocScrutinizer51 | sync? | 00:17 |
merlin1991 | blikid -g | 00:17 |
merlin1991 | err blkid -g | 00:17 |
*** piggz has quit IRC | 00:18 | |
merlin1991 | otherwise he can have swap partitions that are long gone | 00:18 |
DocScrutinizer51 | yup | 00:18 |
DocScrutinizer51 | :-) | 00:18 |
MrPingu_ | merlin1991 : What other gst packages do you have? From what I found of googling I miss libgstximagesrc.so so I might miss a whole package? :P | 00:19 |
merlin1991 | MrPingu_: I only ever used tha todo screenshots | 00:19 |
*** eijk has quit IRC | 00:20 | |
*** archeyDevil has joined #maemo | 00:21 | |
merlin1991 | but there's the package load-applet-xiamgewsrc | 00:21 |
merlin1991 | might contain what you want | 00:21 |
*** vbenes has joined #maemo | 00: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 gave | 00:23 |
MrPingu_ | Will look at it ;) | 00:23 |
*** vbenes has quit IRC | 00:23 | |
*** eijk has joined #maemo | 00:23 | |
*** eijk has quit IRC | 00:24 | |
*** eijk has joined #maemo | 00:24 | |
Estel_ | DocScrutinizer, merlin1991, thanks. | 00:30 |
Estel_ | blkid -g gives me nothing, though | 00:30 |
Estel_ | only blkid alone gives me results | 00:30 |
merlin1991 | you need to run blkid -g && blkid | 00:30 |
merlin1991 | blkid -g only does the garbage collection, but does not display anyhting | 00:31 |
merlin1991 | lulzworthy | 00:31 |
*** archeyDevil has quit IRC | 00:31 | |
Estel_ | I see, sorry | 00:32 |
Estel_ | I think I'm a little tired :P | 00:32 |
Estel_ | preparing first 100% own package in life for last few hours :P | 00:32 |
*** etrunko has quit IRC | 00:35 | |
*** archeyDevil has joined #maemo | 00:37 | |
*** vblazquez has quit IRC | 00:38 | |
*** vblazquez has joined #maemo | 00: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 language | 00:39 |
Estel_ | "grep some value from drivelist output, and put it as value for swapmicro. Otherwise, leave swapmicro empty | 00:40 |
Estel_ | later we have: | 00:40 |
Estel_ | if [ "$swapmicro" ]; then | 00:40 |
*** NishanthMenon has quit IRC | 00:41 | |
Estel_ | which is either true if swapmicro got assigned proper value | 00:41 |
Estel_ | or false, if not | 00:41 |
merlin1991 | so where's your problem? :D | 00:41 |
Estel_ | I would like to rephrase first mentioned line to do blkid -g && blkid and to grep location of swap | 00:41 |
*** mece has quit IRC | 00:41 | |
Estel_ | I would like to rephrase first mentioned line to do blkid -g && blkid and to grep location of swap | 00:42 |
Estel_ | (definedd earlier) | 00:42 |
Estel_ | or to leave it empty | 00:42 |
Estel_ | which would make 2nd line false | 00:42 |
Estel_ | for the life of me I can't get it working properly | 00:42 |
*** b0unc3 has quit IRC | 00: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 things | 00:44 |
*** e-yes has joined #maemo | 00:45 | |
Estel_ | lets say I've, from sourced config file, a declaration: swap0=/dev/mmcblk1p2 | 00:45 |
merlin1991 | swapmicro=$(blkid -g && blkid | grep mmcblk1.*swap | awk 'print substr($1, 1, length($1) -1)') | 00:45 |
Estel_ | oh god | 00:45 |
Estel_ | so I make it: | 00:45 |
merlin1991 | that should find the first swap on an sd card | 00:45 |
Estel_ | yea, but I must set it to explicitly use swap provided via config | 00:46 |
MrPingu_ | What are you cooking, Estel_ ? | 00:46 |
Estel_ | i.e. I got declaration swap0=/dev/mmcblk1p2 | 00:46 |
*** b0unc3 has joined #maemo | 00:46 | |
merlin1991 | that's even easier | 00:46 |
Estel_ | MrPingu, solution for fool-proof anti-swap fragmentation | 00: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 swap | 00:47 |
MrPingu_ | sounds for me, I was/am too lazy to search/make swap refresh script :P | 00:48 |
*** shamus has quit IRC | 00:48 | |
Estel_ | swapmicro=$(blkid -g && blkid | grep $swap0.*swap | awk 'print substr($1, 1, length($1) -1)') | 00:48 |
Estel_ | ??? | 00:48 |
merlin1991 | that sounds about right | 00:48 |
MrPingu_ | Stil using the event.d method :P | 00:48 |
Estel_ | merlin1991, as I don't understand this line fully: doesn't it still search for first swap on microsd unnecessary? | 00:49 |
merlin1991 | only that it doesn't work xD | 00:49 |
Estel_ | :P | 00:49 |
* merlin1991 investigates | 00:49 | |
merlin1991 | ah yeah blkid -g must move one line up | 00:50 |
Estel_ | remember that I've put $swap0 there, which is earlier declared as, for example, /dev/mmcblk1p2 | 00:50 |
*** MrPingu has quit IRC | 00:52 | |
* merlin1991 plays a lil with awk | 00:52 | |
*** MrPingu_ has quit IRC | 00:52 | |
merlin1991 | swapmicro=$(blkid | grep $swap0.*swap | awk '{print substr($1, 1, length($1) -1)}') | 00:56 |
*** eijk has quit IRC | 00:56 | |
merlin1991 | hm still not valid | 00:56 |
merlin1991 | ffs | 00:56 |
*** trbs has quit IRC | 00:56 | |
Estel_ | huge thank You! so, I need to put blkid -g a line above? | 00:56 |
Estel_ | hm | 00:56 |
*** eijk has joined #maemo | 00:57 | |
merlin1991 | ah wait it works | 00:57 |
merlin1991 | I'm only the master of pastefile | 00:57 |
merlin1991 | and yeah blkid -g a line above | 00:57 |
Estel_ | ;) | 00:57 |
merlin1991 | s/pastefile/pastefail/ | 00:57 |
Hurrian | Estel_? | 00:57 |
*** MrPingu has joined #maemo | 00: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 credits | 00:58 |
Estel_ | merlin1991, so, now, if I put on next line: | 00:59 |
Estel_ | if [ "$swapmicro" ]; then | 00:59 |
Hurrian | it's from the swapmicro script, lemme google the author (another guy on tmo) | 00:59 |
*** jd has joined #maemo | 00:59 | |
*** jd has quit IRC | 00:59 | |
*** jd has joined #maemo | 00:59 | |
Estel_ | it will be "dev/mmcblk1p2" as $swapmicro | 00:59 |
Estel_ | if it exist | 00:59 |
Estel_ | or false? | 00:59 |
merlin1991 | /dev/mmcblk1p2 | 00:59 |
Estel_ | yes, sorry forget initial / | 01:00 |
merlin1991 | the awk line is to strip the : from the output | 01:00 |
Estel_ | ah, I see | 01:00 |
merlin1991 | (err pipe not line) | 01:00 |
*** eijk has quit IRC | 01:00 | |
MrPingu | Yay, I fixed the gst-tools ;) | 01:00 |
Estel_ | later I have "else", that enables backup swap | 01:01 |
*** eijk has joined #maemo | 01:01 | |
merlin1991 | btw I'd even use swapmicro=$(blkid | grep $swap0.*TYPE=\"swap\" | awk '{print sub | 01:01 |
merlin1991 | str($1, 1, length($1) -1)}') | 01:01 |
Estel_ | huge thanks merlin1991, really | 01:01 |
Estel_ | hm? | 01:02 |
Hurrian | Estel_ : http://talk.maemo.org/showpost.php?p=846082&postcount=84 | 01:02 |
merlin1991 | otherwise you could end up trying to swap on a partitions that has the genious label of swap but not the type :D | 01:02 |
MrPingu | What I did was enabling SDK and TOOLS repo pull plugins-good-extra | 01:02 |
Estel_ | :D | 01:02 |
*** Jade has quit IRC | 01:02 | |
MrPingu | Thanks for the help merlin1991 ;) | 01:02 |
*** eijk has quit IRC | 01:02 | |
merlin1991 | err, yes :D | 01:02 |
*** e-yes has quit IRC | 01:02 | |
merlin1991 | fsckd putty | 01:02 |
merlin1991 | was supposed to be swapmicro=$(blkid | grep $swap0.*TYPE=\"swap\" | awk '{print substr($1, 1, length($1) -1)}') | 01:03 |
*** eijk has joined #maemo | 01:03 | |
Estel_ | I'm using it with pleasure :) | 01:04 |
*** eijk has joined #maemo | 01:04 | |
Estel_ | soon I should have it finished, will try to upload into -devel... | 01:04 |
merlin1991 | also I wouldn't do a simple if [ $swapmicro ] but if [ -n $swapmicro ] | 01:05 |
*** eijk has quit IRC | 01:05 | |
Estel_ | right, ok. | 01:05 |
merlin1991 | it's safer to check against non zero length than implicit "false" | 01:05 |
* Estel_ nods | 01:05 | |
*** eijk has joined #maemo | 01:06 | |
MrPingu | I won't mind testing, as soon as you packaged and uploaded it, Estel_ | 01:06 |
*** msanchez has joined #maemo | 01:06 | |
merlin1991 | MrPingu: so when can we see the result of your work? :D | 01:06 |
Estel_ | Hurrian, thanks | 01:07 |
Estel_ | MrPingu, also thanks ;) | 01:07 |
DocScrutinizer | Estel_: you're tired? *I* got BSE - o my brain transmuted to extremely concentrated vacuum | 01:08 |
Estel_ | :P | 01:08 |
Hurrian | Estel_, 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 accordingly | 01:08 |
Hurrian | ah | 01:08 |
Hurrian | alright | 01:08 |
Estel_ | so, it's kinda multitool ;) | 01:09 |
MrPingu | As soon as I got a proper vid of cleven and faircrack and like ;) | 01:09 |
*** PeterWolf has joined #maemo | 01:09 | |
DocScrutinizer | pondering 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 card | 01: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 failed | 01:10 |
Estel_ | via maemo notification system | 01:10 |
DocScrutinizer | I expect a ROTFL at very least | 01:10 |
Estel_ | DocScrutinizer, was about to write lol | 01:11 |
Estel_ | ;) | 01:11 |
Estel_ | but I suspect it's big problem for You | 01:11 |
merlin1991 | well dunno I suppose it's more annoying than a real problem | 01:11 |
merlin1991 | you have to lock the fsckd card and get a new one | 01:11 |
Estel_ | ah, now I know why bank machines want me to take card first | 01:11 |
merlin1991 | and pay a lil for that | 01:11 |
Estel_ | :P | 01:12 |
DocScrutinizer | it's big problem not for the card but for my infallibly accurate brain rotting to pile of crap with this job | 01:13 |
DocScrutinizer | last time something like this happened to me was 15 years ago, on Valium which my doc thought was a good prescription against my stomach problems | 01:14 |
GeneralAntilles | Hooray, brain rot! | 01:15 |
* GeneralAntilles drools. | 01:15 | |
DocScrutinizer | card been locked since 4h now | 01:15 |
MrPingu | I 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 :P | 01:15 |
GNUtoo-desktop | ok | 01:16 |
*** andre__ has quit IRC | 01:16 | |
DocScrutinizer | btw the lock phone call voice machine is such a fucktard as well, I already was about to power up my MTHELs | 01:16 |
DocScrutinizer | +49911116116 | 01:17 |
DocScrutinizer | FSCKU | 01:17 |
*** rm_work has quit IRC | 01:18 | |
DocScrutinizer | I buolt better voice mailboxes 20 years ago | 01:18 |
DocScrutinizer | built* | 01:18 |
merlin1991 | reminds me of the day my server @ 1and1 went down | 01:18 |
merlin1991 | phone system was totally fsckd | 01:18 |
DocScrutinizer | 1&1 NUUUUUUKE°! | 01:18 |
merlin1991 | I ended up in sales on the technical support hotline | 01:19 |
GeneralAntilles | DocScrutinizer, tell them to get off your lawn. | 01:19 |
merlin1991 | DocScrutinizer: nuked them quickly after that, now with hetzner :) | 01:19 |
Estel_ | merlin1991, look at:http://sebsauvage.net/paste/?d5c04fea4770a39c#GwkIL3tpY+hOMrFyP8ouZBGYsUb4srSo2VePMNOsGs4= | 01:19 |
DocScrutinizer | hetzner better | 01:19 |
Estel_ | please | 01:19 |
Estel_ | it doesnt work | 01:19 |
Estel_ | I'm also pastefail? | 01:19 |
* merlin1991 fires up ssh again | 01:20 | |
DocScrutinizer | Estel_: bracket arguments into ' | 01:20 |
DocScrutinizer | err, not for args with $env | 01:21 |
DocScrutinizer | yayayay | 01:22 |
DocScrutinizer | t900:/usr/sbin# blkid | grep $swap0.*TYPE=\"swap\" | awk '{print substr($1, 1, length($1) -1)}' | 01:22 |
DocScrutinizer | /dev/mmcblk0p3 | 01:22 |
*** florian has quit IRC | 01:23 | |
DocScrutinizer | NB I haven't defined $swap0 before | 01:23 |
DocScrutinizer | t900:/usr/sbin# swap0=/dev/mmcblk1p3 | 01:25 |
*** shamus has joined #maemo | 01:25 | |
DocScrutinizer | t900:/usr/sbin# blkid | grep $swap0.*TYPE=\"swap\" | awk '{print substr($1, 1, length($1) -1)}' | 01:25 |
DocScrutinizer | t900:/usr/sbin# | 01:25 |
MrPingu | reminded 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 IRC | 01:26 | |
DocScrutinizer | Estel_: maybe your "script" (sorry for ") works perfectly, just the system doesn't do what you expect it to do | 01:26 |
merlin1991 | why the fuck does the -n check succed even when the string is a zero string | 01:26 |
*** vblazquez has joined #maemo | 01:26 | |
Estel_ | oh god, I've stepped on nail left by my son on floor (part of toy with hammer) | 01:27 |
DocScrutinizer | jr@halley:~> help [ | 01:27 |
Estel_ | my roon is like bloodbath now | 01:27 |
Hurrian | ouch. | 01:27 |
DocScrutinizer | This is a synonym for the "test" builtin, bu | 01:27 |
Estel_ | s/roon/room/ | 01:27 |
infobot | Estel_ meant: my room is like bloodbath now | 01:27 |
DocScrutinizer | PUNX RULE | 01:28 |
merlin1991 | DocScrutinizer: 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 script | 01:29 |
DocScrutinizer | -n STRING | 01:29 |
DocScrutinizer | STRING True if string is not empty. | 01:29 |
Estel_ | I pasted it just for fix purposes, whole tool is much more complicated | 01:29 |
*** Atarii has quit IRC | 01:30 | |
merlin1991 | DocScrutinizer: by "" I mean string but empty | 01:30 |
DocScrutinizer | yay, complicificatificated for the winning | 01:30 |
Estel_ | merlin1991, another problem is that after executing it I haven't good swap prompt that device is invalid | 01:30 |
DocScrutinizer | merlin1991: I'm just c&p quoting | 01:30 |
Estel_ | but swap usage screen | 01:30 |
Estel_ | ah | 01:30 |
Estel_ | cause it's empty | 01:30 |
DocScrutinizer | consider non-printable | 01:30 |
Estel_ | so it used empty | 01:30 |
* merlin1991 rewrites awk part | 01:31 | |
Estel_ | so there is another problem too - I actually have /dev/mmcblk1p3 | 01:31 |
Estel_ | so why it was empty anyway? | 01:31 |
Estel_ | blkid list it too | 01:31 |
merlin1991 | Estel_: for me it works when I have the partition | 01:31 |
*** MrPingu has quit IRC | 01:31 | |
merlin1991 | but it also does a false positive when I don'T have it | 01:32 |
*** Dibblah_ has quit IRC | 01:32 | |
*** MrPingu has joined #maemo | 01:32 | |
*** APTX has quit IRC | 01:32 | |
DocScrutinizer | /sbin/swapon $(grep $swap0.*TYPE=\"swap\" | awk '{print substr($1, 1, length($1) -1)}') ) || swapon /dev/mmcblk0p7 | 01:33 |
merlin1991 | DocScrutinizer: consider http://sebsauvage.net/paste/?9083b5a04c9dcf29#jrRTQiNpgT/QzFdHeT1+tUreMuCD5nJgQLCEtMemrUk= | 01:33 |
DocScrutinizer | beat that | 01:33 |
*** MrPingu has joined #maemo | 01:33 | |
merlin1991 | for some reason I always end up in the "yes" tree | 01:34 |
*** vblazquez has quit IRC | 01:34 | |
merlin1991 | arf | 01:34 |
merlin1991 | stupid term | 01:34 |
merlin1991 | http://sebsauvage.net/paste/?35f7fb495a6af862#ENYcrbkOaa9WTWHmS6dubJgokvOOHobmPKb1c8MVTkQ= | 01:34 |
DocScrutinizer | echo ">>$swapmicro<<" $(echo $swapmicro|od) | 01:35 |
merlin1991 | 0000000 000012 0000001 | 01:36 |
merlin1991 | dafuq? | 01:36 |
DocScrutinizer | toldya ;-P | 01:36 |
*** MrPingu has quit IRC | 01:36 | |
* merlin1991 wonders wft that is | 01:36 | |
DocScrutinizer | utf8? | 01:36 |
*** MrPingu has joined #maemo | 01:36 | |
DocScrutinizer | don't trust blkid | 01:37 |
merlin1991 | nah it's awk | 01:37 |
merlin1991 | fu awk | 01:37 |
*** jargon- has quit IRC | 01:37 | |
DocScrutinizer | lol, not awk | 01:37 |
DocScrutinizer | MESSYBOX!!! | 01:37 |
merlin1991 | hm not awk aswell | 01:37 |
merlin1991 | but messybox somewhere | 01:37 |
DocScrutinizer | honestly, make better regex! | 01:38 |
merlin1991 | heh why? :D | 01:38 |
Estel_ | erm, I'm here but in listening mode | 01:38 |
DocScrutinizer | "\(\/dev\/mmcblk[0-9]p[0-9]\)" | 01:39 |
teotwaki_ | mwhahahaha | 01:39 |
merlin1991 | that makes no sense | 01:39 |
merlin1991 | that would match anything again | 01:39 |
merlin1991 | but I want to find the line that has preset /dev node and is swap | 01:40 |
merlin1991 | otherwise discard all | 01:40 |
teotwaki_ | on some inventor programme, some dude came round, showing off a prototype of a gaussian canon | 01:40 |
*** nox- has quit IRC | 01: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 |
DocScrutinizer | what 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 IRC | 01:41 | |
DocScrutinizer | awk '{print substr($1, 1, length($1) -1)} gets you any shitee that blkid might spew out | 01:42 |
teotwaki_ | people having a hard time with regexp? Need help? | 01:42 |
merlin1991 | check 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 :D | 01:42 |
DocScrutinizer | teotwaki_: ME? nope! | 01:42 |
teotwaki_ | not you, I know :) | 01:43 |
merlin1991 | hm I could use the return code of grep instead of that silly solution | 01:44 |
teotwaki_ | merlin1991: what are you trying to achieve? | 01:45 |
merlin1991 | madness | 01:45 |
merlin1991 | ;) | 01:45 |
teotwaki_ | sparta? | 01:45 |
merlin1991 | nah I'm htere I think | 01:45 |
* DocScrutinizer throws some Haloperidol pills into channel - madness for everybody | 01:46 | |
merlin1991 | this is getting silly | 01:46 |
DocScrutinizer | indeed | 01:46 |
teotwaki_ | merlin1991: just explain your problem. | 01:46 |
DocScrutinizer | I'm *extremely* silly today | 01:46 |
merlin1991 | http://sebsauvage.net/paste/?a5530899c8625f49#pZeeI7ZulBKoRo8yatvq/S95sthp1ma7GcdmtjHOM3M= | 01:46 |
merlin1991 | and still the bloody utf header in $swapmicro :D | 01:46 |
DocScrutinizer | LOL | 01:46 |
teotwaki_ | I don't have a device at the ready | 01:47 |
teotwaki_ | so don't know what that does -- walk me through it | 01:47 |
merlin1991 | teotwaki_: basically Idefine a devnode | 01:47 |
teotwaki_ | aye | 01:47 |
merlin1991 | then use the blkid to get all valid partitions with types and whatnot | 01:47 |
teotwaki_ | ok | 01:47 |
merlin1991 | grep for the devnode I want, under the condiditon that it is swap | 01:47 |
merlin1991 | and if yes it should swap otherwise use the fallback | 01:48 |
DocScrutinizer | blkid|od -xc | 01:48 |
merlin1991 | DocScrutinizer: echo $whyistihishappening | od | 01:49 |
merlin1991 | -> 0000000 005077 | 01:49 |
merlin1991 | 0000002 | 01:49 |
teotwaki_ | blkid | grep "$swap0.*TYPE=.swap." && swapmicro=$swap0 | 01:49 |
DocScrutinizer | 0780922907318931709^4275^ß839 | 01:49 |
* DocScrutinizer kicks himself | 01:50 | |
teotwaki_ | if [ -n "${swapmicro}" ] | 01:50 |
DocScrutinizer | echo -n "${swapmicro}"|od -xc | 01:50 |
teotwaki_ | or | 01:51 |
teotwaki_ | blkid | grep "$swap0.*TYPE=.swap." | 01:51 |
* DocScrutinizer blames messybox, as it's always OK to do that | 01:51 | |
teotwaki_ | if [ $? -eq 0 ] ; then swapmicro="$swap0" | 01:52 |
teotwaki_ | ; fi | 01:52 |
DocScrutinizer | indeed | 01:52 |
merlin1991 | teotwaki_: thanks for the -n "$something" | 01:52 |
merlin1991 | :) | 01:52 |
DocScrutinizer | if terse form doesn't work, get verbose! | 01:52 |
merlin1991 | avoids messybox, yay | 01:52 |
* DocScrutinizer hates terse code | 01:53 | |
*** eMHa has joined #maemo | 01:54 | |
DocScrutinizer | especially those c wankers who think it's cute to pack 7 'normal' lines of code into one statement | 01:54 |
merlin1991 | Estel_: http://sebsauvage.net/paste/?c77ddc4d9e0ae234#WdfCcHYUz3Cs9E2npsUTWIhuBLiMrfz1CSpfDmtXOgs= | 01:54 |
merlin1991 | DocScrutinizer: 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; fi | 01:55 |
*** GNUtoo-desktop has quit IRC | 01:55 | |
DocScrutinizer | merlin1991: usually r-t-l | 01:55 |
Estel_ | merlin1991, thanks | 01:55 |
DocScrutinizer | at least for pipes etc | 01:55 |
merlin1991 | DocScrutinizer: that answer is not verbose enough for me :D | 01:56 |
DocScrutinizer | a|b|c; c will get invoked first | 01:56 |
teotwaki_ | wut? | 01:56 |
teotwaki_ | how does that work, considering c gets fed the input of b? | 01:56 |
DocScrutinizer | it's a fifo, dear teotwaki_ | 01:56 |
teotwaki_ | ? | 01:57 |
merlin1991 | well what I want to ask if the last line in my latest paste only runs the swapon $swap2 if the first bunch failed | 01:57 |
merlin1991 | or actually does other nasty things I didn't even think of :D | 01:57 |
DocScrutinizer | t900:/usr/sbin# set -vx | 01:57 |
DocScrutinizer | t900:/usr/sbin# date|cat|od | 01:58 |
DocScrutinizer | date|cat|od | 01:58 |
DocScrutinizer | + cat | 01:58 |
DocScrutinizer | + od | 01:58 |
DocScrutinizer | + date | 01:58 |
DocScrutinizer | 0000000 072524 020145 060515 020171 031062 030040 035061 032060 | 01:58 |
DocScrutinizer | so not rtl either | 01:58 |
DocScrutinizer | honestly nfc | 01:58 |
DocScrutinizer | mid to outside? | 01:58 |
merlin1991 | Estel_: my last script seems to work | 01:59 |
* merlin1991 hates messybox scripting | 02:00 | |
* DocScrutinizer hates messybox | 02:00 | |
DocScrutinizer | period | 02: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 :D | 02:00 |
Estel_ | In fact, I'm going to bless You ;) | 02:01 |
Estel_ | just testing it now in many situations | 02:01 |
* DocScrutinizer headdesks a bit more - listens to remnants of what been a brain making funny noises | 02:02 | |
Estel_ | it works perfectly, thanks a lot :D | 02:05 |
Estel_ | reallyp it saved my day :P | 02:05 |
Estel_ | + I got moral satisfaction ;) that my problem wasn't so trivial to solve | 02:06 |
Estel_ | (joke) | 02: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 -devel | 02:06 |
*** atlas has joined #maemo | 02:07 | |
DocScrutinizer | honestly, for 'complicated multiline edits' use patch | 02:07 |
DocScrutinizer | nm, patch: not found | 02:07 |
teotwaki_ | DocScrutinizer: interesting... | 02:07 |
DocScrutinizer | F U messybox! | 02:07 |
DocScrutinizer | teotwaki_: ???? | 02:08 |
merlin1991 | hehe good old patch missing | 02:08 |
teotwaki_ | DocScrutinizer: cat, od, date | 02:08 |
DocScrutinizer | interesting to watch me go insane, or what? | 02:08 |
DocScrutinizer | aah | 02:08 |
DocScrutinizer | indeed | 02:08 |
DocScrutinizer | weird stuff | 02:09 |
teotwaki_ | $ echo "foo" | grep foo | 02:09 |
teotwaki_ | + echo foo | 02:09 |
teotwaki_ | + grep --colour=auto foo | 02:09 |
merlin1991 | you probably remember our fun times in #maemo-ssu thining about how to patch conversations css :D | 02:09 |
DocScrutinizer | maybe I do | 02:09 |
DocScrutinizer | anyway logicals like &&, || are stictly ltr | 02:10 |
Estel_ | exactly | 02:10 |
Estel_ | so | 02:10 |
Estel_ | as path is missing | 02:10 |
DocScrutinizer | for pipes though things change sometimes | 02:10 |
Estel_ | can I use sed inside script with argument containing variables? | 02:11 |
DocScrutinizer | sure | 02:11 |
Estel_ | I mean: | 02:11 |
DocScrutinizer | it's shell expanding $env | 02:11 |
DocScrutinizer | not sed | 02:11 |
Estel_ | variables inside sed argument will be properly filled, instead of thing replacing my line with $swap0 | 02:11 |
Estel_ | :P | 02:11 |
Estel_ | I see | 02:11 |
Estel_ | a relief, I think | 02:12 |
DocScrutinizer | shell expands everything except things 'enclosed in ticks' | 02:12 |
teotwaki_ | single quotes | 02:12 |
*** e-yes has joined #maemo | 02:12 | |
DocScrutinizer | Estel_: set -vx tells you the real invocation with parameters | 02:13 |
DocScrutinizer | [2012-05-22 01:09:07] <teotwaki_> $ echo "foo" | grep foo | 02:13 |
DocScrutinizer | [2012-05-22 01:09:07] <teotwaki_> + echo foo | 02:13 |
DocScrutinizer | [2012-05-22 01:09:07] <teotwaki_> + grep --colour=auto foo | 02:13 |
Estel_ | yea, of course | 02:13 |
DocScrutinizer | obviously grep is an alias here | 02: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-late | 02:14 |
*** M4rtinK has quit IRC | 02:14 | |
Estel_ | do You like this short command? :P | 02:14 |
DocScrutinizer | no | 02:14 |
Estel_ | errors inside or just gustas et non discutante? | 02:15 |
*** hardaker has joined #maemo | 02:15 | |
DocScrutinizer | too drunk to focus on that mess ;-P | 02:15 |
Estel_ | :PPPPP | 02:15 |
teotwaki_ | anyway, I'm out | 02:15 |
teotwaki_ | 'night people | 02:15 |
DocScrutinizer | o/ | 02:16 |
Psi | does anyone know what impedance the n900 headphone out is designed to drive? | 02:16 |
DocScrutinizer | Estel_: it has bugs as well | 02:16 |
DocScrutinizer | unpaired " | 02:16 |
DocScrutinizer | "Failed to enable paging partition." | 02:16 |
DocScrutinizer | or | 02:17 |
DocScrutinizer | "1!N; s@ /sbin/swapon -a || echo " | 02:17 |
DocScrutinizer | or | 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 work | 02:17 |
Estel_ | yea | 02:18 |
Estel_ | how to overcome it? | 02:18 |
DocScrutinizer | escape the " inside | 02:18 |
Estel_ | by? | 02:18 |
DocScrutinizer | \ | 02:18 |
Estel_ | but but | 02:19 |
Estel_ | inside contain an escaped " already | 02:19 |
Estel_ | I mean | 02:19 |
Estel_ | TYPE=\"swap\" | 02:19 |
DocScrutinizer | so what? | 02:19 |
Estel_ | it must get inside like that | 02:19 |
Estel_ | so how to distinguish it from my escaped " | 02:20 |
DocScrutinizer | then use ' instead of " for the sed argument | 02:20 |
DocScrutinizer | or even better, use $env | 02: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-late | 02:21 |
Estel_ | like that | 02:21 |
Estel_ | ah, define argument as env | 02:21 |
DocScrutinizer | yup | 02: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-late | 02:21 |
Estel_ | wrong | 02: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_ | correct? | 02:22 |
Estel_ | then sed -i $forsed | 02:22 |
Estel_ | then sed -i $forsed /etc/event.d/rcS-late | 02:22 |
Estel_ | actually | 02:22 |
DocScrutinizer | 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_ | ah, shouldn't drop the ' | 02:23 |
Estel_ | I understand | 02:23 |
DocScrutinizer | or sth like that | 02:23 |
DocScrutinizer | escaping is rather tricky on shell | 02:23 |
Estel_ | it its $env are the ' at beginning and end needed still, got ya | 02:23 |
Estel_ | s/got ya/got that/ | 02:23 |
infobot | Estel_ meant: it its $env are the ' at beginning and end needed still, got that | 02:23 |
DocScrutinizer | discard 1!N; | 02:24 |
DocScrutinizer | it confuses hell outa me | 02:25 |
cehteh | mhm | 02:25 |
DocScrutinizer | iscard leading whitespace | 02:25 |
cehteh | busybox or bash? | 02:26 |
DocScrutinizer | discard overly comprehensive matchstring, replace large parts by .* | 02:26 |
DocScrutinizer | s@swapon -a.*@... | 02:28 |
DocScrutinizer | err | 02:28 |
Estel_ | doesn't work | 02:28 |
DocScrutinizer | s@/sbin/swapon -a.*@... | 02:28 |
*** hurbu has quit IRC | 02:29 | |
DocScrutinizer | even | 02:29 |
DocScrutinizer | s@ */sbin/swapon -a.*@... | 02:29 |
Estel_ | why should I do that | 02:29 |
Estel_ | when I want to swapon only pre-defined backup swap | 02:29 |
DocScrutinizer | readability | 02:29 |
DocScrutinizer | /sbin/swapon -a || echo .Failed to enable paging partition\.. | 02:30 |
DocScrutinizer | dot is a special symbol | 02:30 |
DocScrutinizer | . matches one arbitrary char | 02:31 |
DocScrutinizer | X* matches X and XXXXXXXXXXXXXXXXXX | 02:31 |
DocScrutinizer | .* matches everything | 02:31 |
DocScrutinizer | \. matches a dot | 02:32 |
DocScrutinizer | u? matches zero or one 'u' | 02:33 |
DocScrutinizer | iirc | 02:33 |
DocScrutinizer | I'm tired | 02:33 |
DocScrutinizer | n8 | 02:33 |
*** b0unc3 has quit IRC | 02:33 | |
*** b0unc3 has joined #maemo | 02:34 | |
DocScrutinizer | Estel_: use a textfile and grep to test your regex | 02:35 |
DocScrutinizer | then copy that regex to first half od sed s§<matchstring>§ | 02:36 |
DocScrutinizer | s/od/of/ | 02:36 |
infobot | DocScrutinizer meant: then copy that regex to first half of sed s§<matchstring>§ | 02:36 |
*** eijk has quit IRC | 02:43 | |
*** sergsergiu is now known as SergSergiu | 02:52 | |
*** rcg1 has quit IRC | 02:54 | |
*** robbiethe1st has joined #maemo | 02:54 | |
Estel_ | DocScrutinizer, thanks, although I don' understand 3/4 of what You're telling me | 02:57 |
DocScrutinizer | ask | 02:57 |
Estel_ | sorry for dissaperance, got notification about new mail from modest and N900 just got into frozen state | 02:57 |
DocScrutinizer | lol | 02:57 |
Estel_ | due to swap fragmentation, many shit opened, + fm radio | 02:58 |
Estel_ | interesingly enough, I was able to ssh | 02:58 |
DocScrutinizer | ~hail modest | 02: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 off | 02:58 |
Estel_ | I killed radii, modest etc via ssh | 02:58 |
Estel_ | screen changed accordingly to taskbar, but no change | 02:58 |
Estel_ | enraged, I killed browserd with no effect | 02:59 |
Estel_ | waited a while, and due no change, killed - still via ssh - xorg | 02:59 |
Estel_ | to force proper shutdown :P | 02:59 |
DocScrutinizer | hihi | 02:59 |
Estel_ | anyway | 02:59 |
Estel_ | erm, about ask, I'll start with semi-simple question: | 02:59 |
DocScrutinizer | I'll start with semi-asshat answer: man 7 regex :-P | 03:00 |
Estel_ | :P | 03:01 |
Estel_ | will read it | 03:01 |
Estel_ | through | 03:01 |
Estel_ | http://sebsauvage.net/paste/?ead3931098e1bfa9#GZHCNnklBf2N8Fm2v0AeV5+st28zLC6jxoVcSBSA/Bc= | 03:01 |
Estel_ | why this shit doesn't work? | 03:01 |
Estel_ | command itself is ok, I mean sed | 03:01 |
*** APTX has joined #maemo | 03:02 | |
Estel_ | I want sed to insert my (merlin's ;) ) beautiful complicated commands into rcS-late | 03:02 |
Estel_ | orally or anally, no mater. but sed is driving me mad | 03:02 |
DocScrutinizer | try sed -i "$forsed" | 03:02 |
Estel_ | as You can see by bullshit 'm writing | 03:02 |
Estel_ | dafuq? | 03:02 |
Estel_ | ah | 03:03 |
Estel_ | will try | 03:03 |
Estel_ | but it will make it sit inside "''" | 03:03 |
Estel_ | as forsed got ' at end and beginning | 03:03 |
DocScrutinizer | no, it doesn't | 03:03 |
*** kraft_ has quit IRC | 03:03 | |
DocScrutinizer | I think | 03:03 |
*** Vanadis has quit IRC | 03:04 | |
*** lopz has joined #maemo | 03:04 | |
*** kraft has joined #maemo | 03:04 | |
DocScrutinizer | jr@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 |
DocScrutinizer | jr@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 #maemo | 03:05 | |
DocScrutinizer | sorry, gotta sleep | 03:05 |
Estel_ | no problem, good night | 03:06 |
Estel_ | now it works but give fckd results | 03:06 |
Estel_ | inserts $swap0 instead of it's content | 03:06 |
Estel_ | + do other weird shit | 03:06 |
*** lopz has quit IRC | 03: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 $swap2 | 03:08 |
Estel_ | while effect should be: | 03:08 |
Estel_ | blkid | grep $swap0.*TYPE=\"swap\" && /sbin/swapon /dev/mmcblk1p2 || /sbin/swapon /dev/mmcblk0p7 | 03:08 |
Estel_ | blkid | grep $/dev/mmcblk1p2*TYPE=\"swap\" && /sbin/swapon /dev/mmcblk1p2 || /sbin/swapon /dev/mmcblk0p7 | 03:09 |
Estel_ | in fact | 03:09 |
Estel_ | ~kill sed | 03:09 |
* infobot shoots a charged pseudograviton gun at sed | 03:09 | |
Estel_ | merlin1991, You're probably asleep already? | 03:10 |
DocScrutinizer | http://tldp.org/LDP/abs/abs-guide.pdf | 03:10 |
DocScrutinizer | Estel_: shell expands, unless enclosed in ' ' | 03:11 |
merlin1991 | Estel_: nah still here | 03:11 |
Estel_ | thanks godness. Oh, and DocScrutinizer is lunatic | 03:11 |
DocScrutinizer | '$foo' -> $foo | 03:11 |
DocScrutinizer | "$foo" -> bar | 03:11 |
Estel_ | so how to format this fckd sed command | 03:12 |
Estel_ | merlin1991, it gives me and DocScrutinizer headache | 03:12 |
DocScrutinizer | foo="this ->\" is an doubletick" | 03:12 |
Estel_ | or just me, who knows | 03:12 |
merlin1991 | dunno I never did sed stuff so far :D | 03:12 |
Estel_ | :P | 03:12 |
DocScrutinizer | echo $foo -> this " is an doubletick | 03:13 |
Estel_ | so how would You make script that find line in rcS-late and replace it with our beautiful work | 03:13 |
Estel_ | (i.e. script cooked earlier) | 03:13 |
Estel_ | DocScrutinizer, but inside script there is also escaped part required | 03:14 |
Estel_ | I'm just lost how to make sed interpret it properly | 03:14 |
DocScrutinizer51 | inside escapes escapes neewd to be escaped | 03:14 |
DocScrutinizer51 | lol | 03:14 |
Estel_ | 0_o | 03:14 |
Estel_ | *TYPE=\"swap\" | 03:14 |
Estel_ | this part need to be passed to edited file | 03:15 |
Estel_ | not escaped | 03:15 |
merlin1991 | reminds me of how to regex match a \ in java | 03:15 |
DocScrutinizer51 | echo "\"\\\\"" | 03:15 |
merlin1991 | Patter.Compile("\\\\"); <-- awesome stuff right there | 03: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_ | wtf | 03:16 |
Estel_ | sorry, wrong quote | 03:16 |
Estel_ | http://sebsauvage.net/paste/?c4e3aa202e012ba1#gh42uDO/Tt63XcVfUsHKexKkJvQMvWJ2cVcQITvKHR4= | 03:17 |
Estel_ | whats wrong with this | 03:17 |
Estel_ | i.e. should this shit should look | 03:18 |
* Estel_ is head desking | 03:18 | |
*** xev has quit IRC | 03:18 | |
Estel_ | I just *must* finish this shit today and upload *madness* | 03:18 |
Estel_ | i mean tonight :P | 03:18 |
Estel_ | then I can ~kill sed | 03:18 |
DocScrutinizer51 | WRONG approach | 03:19 |
Estel_ | probably, but no patch in busybox | 03:19 |
DocScrutinizer51 | if it gets tough today, ship next week | 03:19 |
Estel_ | ah, it's what You mean. Yea, I know | 03:19 |
Estel_ | but seriously, it's damn last thing before packaging :P | 03:19 |
Estel_ | literally last | 03:20 |
DocScrutinizer51 | nope | 03:20 |
DocScrutinizer51 | last thing is let it ripe 3 days, and some 2 friends test it | 03:20 |
Estel_ | need to package it before that | 03:20 |
Estel_ | packaging != repos | 03:21 |
Estel_ | would be silly to let it test 3 days then make bug while packaging | 03:21 |
DocScrutinizer51 | aure | 03:21 |
Estel_ | btw, I'm using main part for a year or so. it's just that fuckin one-time-run script that needs finishing | 03:21 |
Estel_ | it's all because I decided to make really easy to use package, without instruction to manually edit rcS-Late before use | 03:22 |
Estel_ | user just provide locations in config , and run one timer. It handles updating rcS-late | 03:22 |
Estel_ | then, You can eternally use what is main part of this package - well-tested rock solid scripts to refresh swap | 03:23 |
Estel_ | and of course this "small addition" to make rcS-late edit is driving me mad | 03: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 sed | 03:27 | |
*** zap_ has quit IRC | 03:30 | |
* DocScrutinizer51 jumps out of bed again | 03:32 | |
DocScrutinizer51 | Estel_: it's definitely are questionable idea to edit rcS-* | 03:32 |
Estel_ | no problem, this package is also for that | 03:33 |
Estel_ | and doesn't do it automaticaly | 03:33 |
Estel_ | user can do it by hand if willing to or not do at all | 03:33 |
*** lxp1 has joined #maemo | 03:33 | |
Estel_ | (yet, many things wont work if not done) | 03:33 |
Estel_ | it just contain instruction to edit config file and run adjust-rcS-late.sh script only once | 03:34 |
Estel_ | I'll also add line writing counter from iostat to have info about data written to swap | 03:35 |
Estel_ | anyway, it's onlhy one sane approach to it | 03:35 |
Estel_ | other would be to use /event.d/ script | 03:35 |
Estel_ | but it would slow down boot | 03:35 |
Estel_ | as swap would be enabled by rcS-late | 03:35 |
Estel_ | then disabled and enabled (other) via scfript in event.d | 03:35 |
Estel_ | idiotic + time consuming | 03:35 |
Estel_ | btw I use rcS-late editing approach for ages it doesn't bring any problems | 03:36 |
Estel_ | if done correctly | 03:37 |
*** lxp has quit IRC | 03:37 | |
Estel_ | and I swant to spare people bootlops due to typos while editing manualy | 03:37 |
DocScrutinizer51 | learn about upstart and sysV init. then better find a way that doesn't involve editing core initscripts | 03:38 |
*** Vanadis has quit IRC | 03:39 | |
DocScrutinizer51 | insert a own inotscript that runs before rcS-late and edits fstab accordingly | 03:39 |
DocScrutinizer51 | add a script to undo swap mounting done by rc+-late | 03:40 |
*** Vanadis has joined #maemo | 03:40 | |
DocScrutinizer51 | editing core stuff is EVIL | 03:40 |
*** b0unc3 has quit IRC | 03:45 | |
*** xev has joined #maemo | 03:46 | |
*** b0unc3 has joined #maemo | 03:46 | |
*** e-yes has quit IRC | 03:52 | |
Estel_ | honestly, something that mess with fstab just to cheat rcS-late is more EVIL | 03: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 #maemo | 03:54 | |
Estel_ | I preffer option 1 | 03:55 |
Estel_ | anyway, fighting with sed goes better and better, I think I'm close to finding it | 03:55 |
freemangordon | damn, there was an earthquake here :( | 04:00 |
*** hardaker has quit IRC | 04:01 | |
*** Sazpaimon has quit IRC | 04:07 | |
*** Sazpaimon has joined #maemo | 04:08 | |
*** gri has quit IRC | 04:12 | |
*** gri has joined #maemo | 04:13 | |
*** uen| has joined #maemo | 04:13 | |
*** beford has quit IRC | 04:16 | |
*** uen has quit IRC | 04:17 | |
*** beford has joined #maemo | 04:18 | |
Estel_ | freemangordon, not fatal one I hope? | 04:21 |
Estel_ | sed -i \'$forsed\' /home/user/original-rcS-late | 04:21 |
Estel_ | sed: unsupported command ' | 04:21 |
*** Vanadis__ has joined #maemo | 04:21 | |
freemangordon | no, nothing serious, just a little frightening | 04:21 |
Estel_ | what the fuckin fuck? | 04:21 |
Estel_ | I see | 04:21 |
Estel_ | here= where? | 04:22 |
freemangordon | 5.6-6 or something | 04:22 |
Estel_ | not very light either | 04:22 |
freemangordon | Sofia | 04:22 |
Estel_ | it apparently talks about \', because if i change it to \", it complains about unsupported command " | 04:23 |
*** Pali has quit IRC | 04: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 sed | 04:24 |
* infobot shoots a hyper-charged anti-photon gun at sed | 04:24 | |
Estel_ | ~kill sed | 04:24 |
Estel_ | ~kill sed | 04:24 |
* infobot shoots a hyper-charged anti-quark gun at sed | 04:24 | |
Estel_ | ~kill sed | 04:24 |
Estel_ | ~kill sed | 04:24 |
* infobot shoots a ionized proton gun at sed | 04:24 | |
*** Vanadis has quit IRC | 04:24 | |
Estel_ | why, ah why busybox doesn't contain "patch" | 04:24 |
*** pigeon has quit IRC | 04:24 | |
Estel_ | ~suicude sed | 04:25 |
Estel_ | ~die sed | 04:25 |
* infobot murders sed, takes two shots to the head then crumples to the ground, lifeless... | 04:25 | |
Estel_ | ~annihilate sed | 04:25 |
* infobot bakes a cake and gives it to sed | 04:25 | |
Estel_ | LOL | 04:25 |
Estel_ | I'm fighting with this shit for few hours already | 04:26 |
Estel_ | 3 or 4 | 04:26 |
* Estel_ headdesk | 04:26 | |
Estel_ | s/headdesk/headdesks | 04:26 |
Estel_ | s/headdesk/headdesks/ | 04:26 |
infobot | Estel_ meant: s/headdesks/headdesks | 04:26 |
Estel_ | fu | 04:26 |
beford | hah | 04:26 |
Estel_ | no, seriously, I'm out of ideas | 04: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-late | 04:28 |
Estel_ | I've properly escaped scapes inside escapes | 04:29 |
Estel_ | which gave me | 04:29 |
Estel_ | with usage of $env | 04: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-late | 04:29 |
Estel_ | ...yet this unholy shit still doesn't work | 04:29 |
Estel_ | any idea, anyone? pleeease? | 04:30 |
Estel_ | ~murder sed | 04:30 |
* infobot shoots sed in his sleep | 04:30 | |
Estel_ | ~assasinate sed | 04:31 |
Estel_ | ~rape sed | 04:31 |
* infobot takes sed behind the WallMart and makes a few grunts and screams | 04:31 | |
Estel_ | ~sodomize sed | 04:31 |
Estel_ | ~seed sed | 04:31 |
Estel_ | no really. I'm out of today, this shit just ain't gonna work for now :( | 04:32 |
Estel_ | s/of/for/ | 04:32 |
infobot | Estel_ meant: no really. I'm out for today, this shit just ain't gonna work for now :( | 04:32 |
beford | hold on | 04:32 |
Estel_ | ? | 04:32 |
beford | do you have the original file? | 04:33 |
beford | i mean, pastebin it so I can see and give it a try | 04:33 |
Estel_ | I'm little angry, as it's last part of work needed to upload bigger package | 04:33 |
Estel_ | ok, but | 04:33 |
Estel_ | do You mean script | 04:33 |
Estel_ | or file to be edited | 04:33 |
Estel_ | by sed | 04:33 |
beford | the file to be edited, and the line you wnat to change | 04:33 |
beford | want* | 04:33 |
Estel_ | ok, pastebinning | 04:33 |
Estel_ | file to be edited | 04:35 |
Estel_ | http://sebsauvage.net/paste/?2c697dcc486362c1#G25BFmY3qhTXSyDCr1vbnYnf+3E70eumrD0bDnzKEXo= | 04:35 |
Estel_ | editing script (well, make shit version, as it's part of complex script set, normally) | 04:37 |
Estel_ | http://sebsauvage.net/paste/?24a1e04d862b42df#hRgaptuujC3WAviw/DIjNEuftrPmbATtGyPPD51ZNZ4= | 04:37 |
Estel_ | ..and, finally, line to be editd and how it should look after edit: | 04:38 |
beford | line 52 | 04:38 |
Estel_ | http://sebsauvage.net/paste/?b1bf09d1dfcf58f9#R233nu+06ujjLg8dRINFkmwFvzL5oVSc2a8kH6PqOKg= | 04:40 |
Estel_ | yea, 52 to be edited | 04:40 |
Estel_ | and replaced by 2 lines | 04:40 |
Estel_ | already managed to get info about working multi-lining in sed etc... | 04:40 |
beford | isn'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 accordingly | 04:41 |
Estel_ | it's unsafe to make typos during edit | 04:41 |
Estel_ | although, I've almost finished program (set of scripts) mean't to easy refreshing of swap | 04:42 |
Estel_ | + it allows to set arbitrary swaps on boot | 04:42 |
Estel_ | for both tasks editing rcS-late is necessary and wanted | 04:42 |
Estel_ | I want to save editing rcS-lated manually for end users | 04:43 |
*** Sazpaimon_ has joined #maemo | 04:43 | |
Estel_ | and prepare script that, once config if filled by user, will do it for them | 04:43 |
beford | automagically yea | 04:43 |
Estel_ | would be trivial with patch, but patch isn't part of busybox | 04:43 |
Estel_ | not exactly automagically, user need explicitly invoke adjust-rcS-late.sh script ;) | 04:44 |
Estel_ | program manual and description in package manager will state to edit config and run script once | 04:44 |
*** Sazpaimon has quit IRC | 04:44 | |
Estel_ | problem - can't force sed to work properly | 04:44 |
Estel_ | huge thanks if You manage to find it | 04:45 |
Estel_ | btw,set -xv bit is to show output in console, so You see shat actually is passed to sedd by sh | 04:45 |
Estel_ | many tricky things with " and \ that need to be escaped from shell or sed | 04:45 |
*** atlas has quit IRC | 04: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 before | 04:46 |
Estel_ | it *almost* work | 04: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 #maemo | 04:51 | |
*** hurbu has joined #maemo | 04:53 | |
Estel_ | beford, hard times with sed, eh? | 05:01 |
*** APTX has quit IRC | 05:02 | |
*** jd is now known as Jaded | 05:02 | |
* beford tries hard | 05:03 | |
* Estel_ too | 05:05 | |
*** APTX has joined #maemo | 05:09 | |
*** FredrIQ has joined #maemo | 05: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 sed | 05:11 |
Estel_ | so why he fuckin cares about inside? | 05:11 |
Estel_ | I must escape -a inside swapon -a | 05:12 |
Estel_ | or sed complains about unknown option a | 05:12 |
*** krau has quit IRC | 05:12 | |
*** b0unc3 has quit IRC | 05:12 | |
*** DrGrov has joined #maemo | 05: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 IRC | 05:13 | |
*** FredrIQ is now known as FIQ | 05:13 | |
Estel_ | after 5 hours of fighting with it I'm getting murderous instincts against sed and it's creators | 05:13 |
*** krau has joined #maemo | 05:14 | |
cehteh | heh | 05:20 |
cehteh | sorry i am too tired else i may help :P | 05:20 |
luke-jr | https://dl.dropbox.com/u/726501/recaptcha.png | 05:21 |
cehteh | i must be some machine .. i almost never manage to deciper recaptchas | 05:23 |
*** pcfe_ has joined #maemo | 05:31 | |
*** pcfe has quit IRC | 05:35 | |
*** t_s_o has joined #maemo | 05:36 | |
*** DrGrov has left #maemo | 05:39 | |
*** sasquatch has quit IRC | 05:41 | |
Estel_ | beford, how hacking this is going? failure here :( | 05:42 |
Sc0rpius | what are we hacking? | 05:42 |
Sc0rpius | did you fix your sed script? | 05:44 |
*** GeorgeH has joined #maemo | 05:45 | |
Estel_ | Sc0rpius, nope | 05:46 |
Estel_ | sed is | 05:46 |
Estel_ | ~murder sed | 05:46 |
* infobot shoots sed in his sleep | 05:46 | |
Sc0rpius | sed is great | 05:46 |
Estel_ | yea? | 05:46 |
Sc0rpius | let's see what you're doing wrong | 05:46 |
Estel_ | wanna change Your mind? | 05:46 |
Estel_ | thanks | 05:46 |
Estel_ | I'll send You zerobins | 05:46 |
Sc0rpius | 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@' | 05:47 |
Sc0rpius | that line doesn't work as you expect, right? | 05:47 |
Estel_ | file to be edited: | 05:47 |
Estel_ | http://sebsauvage.net/paste/?2c697dcc486362c1#G25BFmY3qhTXSyDCr1vbnYnf+3E70eumrD0bDnzKEXo= | 05:47 |
Estel_ | editing script (well, make shit version, as it's part of complex script set, normally): | 05:47 |
Estel_ | http://sebsauvage.net/paste/?24a1e04d862b42df#hRgaptuujC3WAviw/DIjNEuftrPmbATtGyPPD51ZNZ4= | 05:47 |
Estel_ | ..and, finally, line to be editd and how it should look after edit: | 05:47 |
Estel_ | http://sebsauvage.net/paste/?b1bf09d1dfcf58f9#R233nu+06ujjLg8dRINFkmwFvzL5oVSc2a8kH6PqOKg= | 05:48 |
beford | i thinkg i did it | 05:48 |
beford | think | 05:48 |
beford | xD | 05:48 |
beford | not sure | 05:48 |
Estel_ | If You manage to fix it I'll call You sedking | 05:48 |
Estel_ | beford, dafuq? | 05:48 |
Estel_ | lemme check | 05:48 |
Estel_ | paste it please :D | 05:48 |
Sc0rpius | ok let's see | 05:48 |
beford | http://paste2.org/p/2031236 | 05:48 |
Estel_ | beford, ommiting -i is necessary? | 05:49 |
*** mavhc has quit IRC | 05:50 | |
Sc0rpius | it should add two lines? | 05:50 |
beford | oh I ommited it to avoid having to restore the original file | 05:50 |
beford | it should work anyway | 05:50 |
Sc0rpius | replace swapon line for two lines? | 05:50 |
* beford checks | 05:50 | |
Sc0rpius | your script works, you just need to scape | and $ lemme show you: | 05:51 |
Estel_ | Sc0rpius, yea, two lines | 05:52 |
Estel_ | sorry I'm checking... hm? | 05:52 |
beford | mine works with -s | 05:52 |
beford | I mean -i | 05:52 |
Estel_ | scape | and $? | 05:52 |
*** KrayonWork has quit IRC | 05:53 | |
*** mavhc has joined #maemo | 05:54 | |
Sc0rpius | sed "s@/sbin/swapon \-a || echo \"Failed to enable paging partition.\"@blkid \-g\n\tblkid \| grep $swap0.*TYPE=\\\"swap\\\" \&\& /sbin/swapon \$swap0 \|\| /sbin/swapon \$swap2@" file | 05:54 |
*** radic has quit IRC | 05:54 | |
Sc0rpius | that one works for me (file is your file). | 05:54 |
*** radic_ has joined #maemo | 05:54 | |
*** radic_ is now known as radic | 05:55 | |
Estel_ | beford, for some reason don't find necessary line, yet at least, doesn't throw errors | 05:55 |
Estel_ | Sc0rpius, lemme check... | 05:55 |
Sc0rpius | check, it'll work | 05:55 |
Estel_ | I belive, I'm checking what was wrong, trying to learn | 05:56 |
Sc0rpius | $things in the second part of the sed are variables | 05:56 |
Sc0rpius | you didn't escape those | 05:56 |
Sc0rpius | I can do things like this: | 05:56 |
beford | I though he wanted to escape them? | 05:56 |
beford | thought* | 05:56 |
Estel_ | right, see it | 05:56 |
Sc0rpius | sed s/I'll print just this:(.*)+/$0/ | 05:56 |
beford | http://sebsauvage.net/paste/?b1bf09d1dfcf58f9#R233nu+06ujjLg8dRINFkmwFvzL5oVSc2a8kH6PqOKg= | 05:56 |
Estel_ | Sc0rpius, huge thanks, but something is still wrong... | 06:00 |
*** dockane_ has joined #maemo | 06:00 | |
Estel_ | it doesn't replace anything | 06:00 |
Sc0rpius | what OS are you using? | 06:00 |
Estel_ | or my file got fcked somehow | 06:00 |
Estel_ | Maemo :P | 06:00 |
Estel_ | doing everything on device | 06:01 |
Estel_ | I'll restore file from pastebin I've sent You | 06:01 |
Estel_ | maybe during trial and error I've failed to restore original content at some point | 06:01 |
Estel_ | I'm fighting with it for freaking 6 hours | 06:01 |
Estel_ | beford for 1,5 hour too :P | 06:02 |
beford | it works here | 06:02 |
beford | challenge solved | 06:02 |
beford | xD | 06:02 |
*** msanchez has quit IRC | 06:02 | |
beford | let me ssh to the n900 and check | 06:02 |
*** dockane has quit IRC | 06:03 | |
Sc0rpius | it works ok here with the file | 06:03 |
Estel_ | Sc0rpius, zerobin links give me - after pasting - output without new lines | 06:04 |
*** cyborg-one has quit IRC | 06:04 | |
Estel_ | could You please re send me my own file :P as my own link doesnt work for me? | 06:04 |
Sc0rpius | yeah it sucks but there's a workaround | 06:04 |
Sc0rpius | press Clone | 06:04 |
Sc0rpius | and copy/paste from there | 06:04 |
Estel_ | lol | 06:04 |
Estel_ | thanks | 06:04 |
*** cyborg-one has joined #maemo | 06:05 | |
beford | wors on the n900 for me | 06:06 |
Estel_ | yea, it works! Sc0rpius and beford, You're my heroes ;) | 06:06 |
Sc0rpius | if you want to be purist | 06:06 |
Estel_ | small glitch only - need more escaping on TYPE=/"swap/" | 06:06 |
Estel_ | ? | 06:06 |
Sc0rpius | you can replace \t for the blank spaces you need to be in the exact indentation | 06:07 |
Estel_ | but I'll manage | 06:07 |
beford | yes | 06:07 |
beford | more scaping | 06:07 |
beford | http://pastie.org/3947969 | 06:07 |
Estel_ | wait, wait, what \t | 06:07 |
Sc0rpius | the script was a \n\t (a tab after the newline) | 06:07 |
Estel_ | I see | 06:08 |
Estel_ | yes yes | 06:08 |
Sc0rpius | here: \n\tblkid | 06:08 |
Estel_ | found it | 06:08 |
Sc0rpius | you can replace \t for several spaces so it's just below the previous line in perfect identantion | 06:08 |
Estel_ | and I can delete /t with exact number of spaces? | 06:08 |
Estel_ | \t is tab, yep? | 06:08 |
Sc0rpius | yeah | 06:08 |
Sc0rpius | but tab is 8 spaces | 06:08 |
Sc0rpius | and you need 6 | 06:08 |
Estel_ | I noticed small problem | 06:09 |
Estel_ | $swap2 is passed like that | 06:09 |
Estel_ | not it's value | 06:10 |
Estel_ | probably something easy will check that | 06:10 |
beford | its being scaped | 06:10 |
Sc0rpius | I thought you wanted literal $swap0 and $swap2 | 06:10 |
beford | remove \ before $ | 06:10 |
Sc0rpius | then they will be empty | 06:10 |
beford | he had them defined on his script | 06:11 |
Sc0rpius | because $swap0 and $swap2 will be sed variables not the outer script variables | 06:11 |
Sc0rpius | oh and THAT'S a problem difficult to solve | 06:11 |
*** sasquatch has joined #maemo | 06:11 | |
Estel_ | Sc0rpius, maybe just | 06:11 |
Sc0rpius | nah it will work. | 06:11 |
Sc0rpius | it will work | 06:11 |
Sc0rpius | I just tested it | 06:11 |
Sc0rpius | export swap2="ANYTHING" | 06:12 |
Estel_ | create $forsed variable to feed sed | 06:12 |
Sc0rpius | and then ran the script without the \ before the $ | 06:12 |
Sc0rpius | and it worked | 06:12 |
Estel_ | ok | 06:12 |
Estel_ | thanks... | 06:12 |
Estel_ | yetp why swap0 is properly translated | 06: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 \| grep | 06:13 |
Estel_ | i.e. one escape one pipe = two pipes as result? | 06:13 |
Sc0rpius | heh that's funny | 06:13 |
*** radic has quit IRC | 06:13 | |
Sc0rpius | use swap3 instead of swap0 and it will work | 06:13 |
*** radic_ has joined #maemo | 06:13 | |
Estel_ | ?! | 06:14 |
*** radic_ is now known as radic | 06:14 | |
Sc0rpius | I have to look why a $variableendingin0 won't work | 06:14 |
Sc0rpius | but it just don' | 06:14 |
Sc0rpius | dont | 06:14 |
Estel_ | btw swap0 was translated properly only 1st time, 2nd time failed | 06:14 |
*** LaoLang_cool has quit IRC | 06:14 | |
Estel_ | look, on first place it replaced it with /dev/mmcblk1p2 | 06:14 |
Sc0rpius | oh | 06:14 |
Sc0rpius | then just put a g at the end | 06:14 |
Estel_ | on second apperance it haven't | 06:14 |
Estel_ | hm? | 06:15 |
Sc0rpius | sed "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 |
Sc0rpius | see the g at the very end? | 06:15 |
Estel_ | yea | 06:15 |
Estel_ | what does it matter? haven't found it in docs | 06:15 |
Sc0rpius | that will make process the line several times | 06:15 |
Sc0rpius | it does!! | 06:15 |
Estel_ | oh | 06:15 |
Estel_ | I used wrong wording | 06:15 |
Estel_ | I mean't | 06:16 |
Sc0rpius | so that's why swap0 wasn't working the second time. | 06:16 |
Estel_ | "what does it means" | 06:16 |
Estel_ | s/means/mean | 06:16 |
Estel_ | s/means/mean/ | 06:16 |
infobot | Estel_ meant: s/mean/mean | 06:16 |
Estel_ | of, whatever ;) | 06:16 |
beford | g means global | 06:16 |
Estel_ | ok, I'll try... | 06:16 |
Sc0rpius | yeah it means "Global replacement" | 06:17 |
Sc0rpius | without it, it'll only replace the first occurrence of everything that matches | 06:17 |
Sc0rpius | http://www.grymoire.com/Unix/Sed.html#uh-6 | 06:17 |
Sc0rpius | now it works 100% ok :) (I just tested it) | 06:18 |
Estel_ | almost there... it's just that now scrpt never ends | 06:19 |
Estel_ | script* | 06:19 |
Estel_ | adjust-rcS-late, upon calling, is processing infinitely | 06:19 |
Sc0rpius | well I'm not running your script just the sed line over the file | 06:20 |
Estel_ | Yea, suspected that | 06:20 |
Estel_ | somehow adding g | 06: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 IRC | 06:21 | |
Estel_ | false alarm, I'm just idiot | 06:21 |
Estel_ | (frankly, just tired) | 06:21 |
Estel_ | copied it without specifying file etc | 06:21 |
Estel_ | fixing | 06:21 |
Sc0rpius | anyway IO'm wondering why you use -i | 06:21 |
Sc0rpius | I'm | 06:21 |
Sc0rpius | oh to replace the file | 06:22 |
Sc0rpius | that's a dangerous option | 06:22 |
beford | inplace edit yea | 06:22 |
Sc0rpius | yeah | 06:22 |
beford | well editing the file is dangerous | 06:22 |
beford | :P | 06:22 |
*** radic has joined #maemo | 06:23 | |
Estel_ | yea! | 06:23 |
Sc0rpius | now tell me why are you doing all this in the first place | 06: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 great | 06:24 |
Sc0rpius | haha not really but I've been working with sed for a long time | 06:24 |
Estel_ | ~apologise sed | 06:24 |
Sc0rpius | and awk too | 06:24 |
Sc0rpius | and sed+awk is a very powerful combination | 06:25 |
Estel_ | as for why I need it | 06:25 |
Estel_ | yea, but sometimes tricky | 06:25 |
beford | I prefer perl <3 | 06:25 |
Sc0rpius | are 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 |
Sc0rpius | oh so you're running for the council | 06:25 |
Estel_ | yea | 06:25 |
Sc0rpius | the results will be the day after tomorrow I guess | 06:25 |
Sc0rpius | I should go back to my Whatsapp client for N900 | 06:26 |
beford | the java based? | 06:26 |
Sc0rpius | no I'm making my own | 06:26 |
Sc0rpius | Qt based | 06:26 |
Sc0rpius | the project is fairly advanced | 06:26 |
*** KrayonWork has joined #maemo | 06:26 | |
Sc0rpius | but still not ready for people use | 06:27 |
Estel_ | hm, nice | 06:27 |
Estel_ | it sounds like quite huge task | 06:27 |
Estel_ | Sc0rpius, here is description of what I'm cooking | 06:27 |
Estel_ | http://sebsauvage.net/paste/?a024cb4a7357d82d#59rshwfdfjqUzPpYIwwfwG3MdeAsADMcBwOJD/Xamb0= | 06:27 |
Sc0rpius | nope, it's actually pretty easy | 06:27 |
Sc0rpius | the GUI is what makes me waste more time | 06:27 |
* Sc0rpius clicks | 06: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 midlets | 06:28 |
Sc0rpius | hmm so it disables and enables swap when it detects fragmentation | 06:28 |
Sc0rpius | yeah it's closed source | 06:28 |
Sc0rpius | you can always reverse it | 06:28 |
Estel_ | + sets user defined swap to be enabled on boot or backup swap if first fail | 06:28 |
Sc0rpius | that's what Wazzap did | 06:29 |
Sc0rpius | and that's what I did too | 06:29 |
Estel_ | +, I'll add in a second 3th sed line (forget it) to save stats for counter | 06:29 |
Sc0rpius | everything started when the guy that made the Java port said | 06:29 |
Estel_ | Sc0rpius, lol, nice | 06:29 |
Estel_ | ? | 06:29 |
Sc0rpius | "Java versions for S40 devices are not obfuscated" | 06:29 |
Sc0rpius | and everybody went to decompile those versions | 06:29 |
Estel_ | haha | 06:29 |
Sc0rpius | everybody tried before with the Android versions, that are extremely obfuscated, and pretty hard to reverse because of that | 06:30 |
Sc0rpius | nobody ever thought the S40 versions were totally plain with no protection at all | 06:30 |
Estel_ | ah thats why sudden of nothing 7575 threads about whatsapp appeared | 06:31 |
Estel_ | on tmo... | 06:31 |
Sc0rpius | yeah | 06:31 |
Sc0rpius | and I'm sure I'm not the only making another one to add Wazzap a little pressure hehe | 06:31 |
beford | webos needs a client too | 06:32 |
Sc0rpius | who uses that? | 06:32 |
beford | webos 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 |
beford | :P | 06:32 |
Sc0rpius | I ported an app from Webos to Maemo | 06:32 |
Sc0rpius | SplashID, because I really needed it | 06:32 |
* Estel_ searchs for it on packages interface | 06:33 | |
Sc0rpius | heh it's not there | 06: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.stat | 06:33 |
Sc0rpius | since that's pretty illegal I never submit it | 06:33 |
Estel_ | I hope I'll manage to do it now | 06:33 |
Estel_ | without stucking | 06:34 |
Estel_ | surely need to escape -md | 06:34 |
Estel_ | pipes | 06:34 |
Sc0rpius | no | 06:34 |
Estel_ | ? | 06:34 |
Sc0rpius | but you need to space \$ and the \' | 06:34 |
Sc0rpius | and maybe the \| | 06:34 |
Sc0rpius | I would do it just in case | 06:34 |
Sc0rpius | s/space/scape | 06:35 |
Sc0rpius | escape actually | 06:35 |
Estel_ | ok, proceeding | 06:35 |
*** robbiethe1st has quit IRC | 06:42 | |
Estel_ | Sc0rpius, little question, if You don't mind | 06: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 text | 07:00 |
Estel_ | wildcards are an option? | 07:00 |
Sc0rpius | yeah sure | 07:00 |
Estel_ | s/mmcblk*p*/mmcblk1p2/ for example | 07:01 |
Sc0rpius | that would be: | 07:01 |
Estel_ | not need for any special escaping, marking etc? ;) | 07:01 |
Sc0rpius | s/mmcblk.*p.*/mmcblk1p2/ | 07:01 |
Estel_ | ah | 07:01 |
Estel_ | .* | 07:01 |
Estel_ | dot asterisk | 07:01 |
Sc0rpius | or: | 07:01 |
Sc0rpius | s/mmcblk[0-9]+p[0-9]+/mmcblk1p2/ | 07:01 |
Sc0rpius | [0-9]+: at least one digit (it could be several) | 07:02 |
Sc0rpius | [0-9]*: none, or several digits | 07:02 |
Estel_ | thanks the latter is even better | 07:02 |
Estel_ | I doubt someone got more than 10 partitions, but still | 07:02 |
Estel_ | and .*: jus 1 digit? | 07:03 |
Estel_ | or at least 1? | 07:03 |
Sc0rpius | * 0 or more matches of the previous regexp | 07:03 |
Sc0rpius | + 1 or more matches of the previous regexp | 07:03 |
Sc0rpius | . = any char | 07:03 |
Sc0rpius | so: | 07:04 |
Sc0rpius | .+ = one character or more | 07:04 |
Sc0rpius | .* = nothing or anything hehe (sounds weird) | 07:04 |
Estel_ | :) | 07:04 |
Sc0rpius | a.*b would match ab, a1b, aaskdjfhakjb, etc. | 07:04 |
Sc0rpius | a.+b would only match a1b, assdfsdfb | 07:04 |
Sc0rpius | but no ab. | 07:04 |
Estel_ | and [0-9] is to limit it for digits | 07:04 |
Estel_ | instead of all alphanumeric | 07:05 |
Sc0rpius | [0-9] one single digit from 0 to 9 | 07:05 |
Estel_ | I got it. | 07:05 |
Sc0rpius | [0-9]+ several digits | 07:05 |
Estel_ | [0-9]*nothing or any number of digits | 07:05 |
Estel_ | thank a lot, You got talent to explain things, surely. | 07:06 |
Sc0rpius | exactly, you got it | 07:06 |
Estel_ | sorry for bothering You and taking out of developing ;) | 07:06 |
Sc0rpius | it's ok, it's too hot for me to code tonight | 07:06 |
Sc0rpius | 27C | 07:06 |
Sc0rpius | and no A/C in this room, only in the bedroom where TV is | 07:07 |
Sc0rpius | so TV is calling hehe | 07:07 |
Estel_ | :) I got 28 too but only during day | 07:09 |
Estel_ | 29 today expected | 07:09 |
Estel_ | but now it's quite pleasant morning (6:09 AM) | 07:09 |
Sc0rpius | it's 11:41pm here, during the day it reaches 36C is crazy | 07: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 pattern | 07: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 |
Sc0rpius | Caracas, Venezuela | 07:14 |
Sc0rpius | g at the end will replace all occurrences | 07:14 |
Estel_ | ah, so temperatures are justified. | 07:15 |
Sc0rpius | sed manual is pretty long | 07:15 |
Estel_ | thats why I'm asking now | 07:15 |
Estel_ | btw I'm on "far north", Poland | 07:15 |
Sc0rpius | that's far | 07:15 |
Sc0rpius | :) | 07: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 run | 07:16 |
Estel_ | so any another run shouldn't alter it | 07:16 |
*** GeorgeH has quit IRC | 07:17 | |
Sc0rpius | it's weird | 07:17 |
Sc0rpius | but it worked nonetheless | 07:17 |
Estel_ | yea :) | 07:18 |
*** Termana has quit IRC | 07:18 | |
*** Openfree` has quit IRC | 07:24 | |
*** Openfree` has joined #maemo | 07:24 | |
*** Termana has joined #maemo | 07:27 | |
*** tank-man has quit IRC | 07:29 | |
Jaded | <3 | 07:35 |
*** bjv has quit IRC | 07:35 | |
*** Jaded is now known as Jade | 07:38 | |
*** Veggen has quit IRC | 07:46 | |
*** gexc has joined #maemo | 07:59 | |
*** gexc has quit IRC | 08:00 | |
*** e-yes has joined #maemo | 08:04 | |
*** LaoLang_cool has joined #maemo | 08:04 | |
Estel_ | ...and here is how file should look after operation: | 08:12 |
Estel_ | http://sebsauvage.net/paste/?c15cb8bf247c7a39#1QwS15G45PHlF8fuxzSc2alQoQIitGcBWO3UZUuw8s4= | 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 |
Sc0rpius | I'm here | 08:14 |
Sc0rpius | I was whining at #mer | 08:14 |
Estel_ | oh :) | 08:14 |
Sc0rpius | I 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 failing | 08:15 |
Estel_ | beside adjust-rcS-late.sh, I'll also include update-rcS-late.sh | 08:16 |
Sc0rpius | ok | 08:16 |
Estel_ | the latter is almost identical script, that take already modified rcS-late | 08:16 |
Estel_ | and update locations swaps there | 08:16 |
Estel_ | (in case user change swap layout and update config, update-rcS-late.sh 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 |
Sc0rpius | ok | 08:17 |
Estel_ | yet, resulting modified file is totally screwed up | 08:17 |
Estel_ | whole rcS-late is filled with patterns ;) | 08:17 |
Sc0rpius | what'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 similar | 08:17 |
Estel_ | Sc0rpius, here is my 2nd script (modified to not load external config): | 08:17 |
Estel_ | http://sebsauvage.net/paste/?9217d7d86f9cf762#hh6lpRRVhTBJnBo+XxJBDZW5/5Ag1yfmE2zXU9zgJPk= | 08:18 |
Estel_ | here is file to be modified: | 08:18 |
Estel_ | http://sebsauvage.net/paste/?f2348cacc4e4fc8f#jhkbnYBZKiWYdgi6tJ60jB3guPDqxybWbfK6QwbnrWM= | 08:18 |
Estel_ | ...and here is how file should look after operation: | 08:18 |
Estel_ | http://sebsauvage.net/paste/?c15cb8bf247c7a39#1QwS15G45PHlF8fuxzSc2alQoQIitGcBWO3UZUuw8s4= | 08:18 |
Estel_ | (just numbers modified on 5 place, normally script will take new values from config) | 08:18 |
Estel_ | playback complete ;) | 08:18 |
Sc0rpius | hmm | 08:19 |
Estel_ | after fail of "5 steps" solution, I tried what You see in script now - whole text in one step | 08:20 |
Sc0rpius | and what are you getting with your script? | 08:21 |
*** Vib3 has quit IRC | 08:21 | |
*** Vib3 has joined #maemo | 08:22 | |
Sc0rpius | 'cos I'm getting a total disaster with it | 08:22 |
Estel_ | same here | 08:23 |
*** Corsac has quit IRC | 08:24 | |
Sc0rpius | mostly because you forgot to escape > | 08:24 |
Sc0rpius | no , it's not that | 08:25 |
Sc0rpius | lemme see what's wrong | 08:25 |
Sc0rpius | ok | 08:26 |
Sc0rpius | try your script without escaping & and | | 08:26 |
Sc0rpius | but that will never work | 08:29 |
Sc0rpius | listen | 08:29 |
Sc0rpius | sed works line by line | 08:29 |
Sc0rpius | you can't match two lines on sed at a time | 08:29 |
Sc0rpius | I can see that you have a \n in the match expression, that will never work | 08:29 |
Sc0rpius | but 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 reverting | 08:29 |
Estel_ | somewhere theyMve written about using 1!H and such things | 08:30 |
Estel_ | no no | 08:30 |
Estel_ | not revert | 08:30 |
Estel_ | just update mmcblk*p* values | 08:30 |
Estel_ | and honestly I've tried line by line approach in many steps | 08:30 |
Sc0rpius | ok | 08:30 |
Estel_ | (5 steps for 5 values to replace) | 08:30 |
Sc0rpius | but you don't need to match the first blkid -g line | 08:30 |
Estel_ | it resulted in same disaster | 08:30 |
*** piggz has joined #maemo | 08:31 | |
Estel_ | sure | 08:31 |
Estel_ | just 2nd and 3nd | 08:31 |
Sc0rpius | isn't easier like this: | 08:31 |
Estel_ | should be doable in 2 steps | 08:31 |
Sc0rpius | hmm | 08:32 |
Sc0rpius | the problem is that there are two swaps | 08:32 |
Estel_ | yea. | 08:32 |
*** real-dev has joined #maemo | 08:32 | |
Estel_ | swap0 is 2 times in first line and 2 times in second | 08:33 |
Sc0rpius | but i would definitly do simpler scripts like: | 08:33 |
Estel_ | swap2 is only one time, in first line | 08:33 |
*** dev has quit IRC | 08:33 | |
*** sulx has joined #maemo | 08:33 | |
*** real-dev is now known as dev | 08:33 | |
Sc0rpius | this will be funny but: | 08:34 |
Sc0rpius | sed s/mmcblk.p.[^$]/$swap0/g | 08:35 |
Sc0rpius | and then: | 08:35 |
Sc0rpius | sed s/mmcbkl.p.$/$swap1/ | 08:35 |
Sc0rpius | and done. | 08:35 |
Sc0rpius | I would summarize your really big script with just those 2 lines. | 08:35 |
Estel_ | would be wonderful, but | 08:36 |
*** beford has quit IRC | 08:36 | |
Estel_ | wouldn't it in step 2nd replace thing from step 1nd? | 08:36 |
Estel_ | resulting in swap2 everywhere? | 08:36 |
Sc0rpius | no the first one will replace any mmcblk that is not at the end of a line with swap0 | 08:36 |
Sc0rpius | and 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 IRC | 08:37 | |
Estel_ | kk, trying | 08:37 |
Sc0rpius | if that scares you, you can change it to: | 08:37 |
Sc0rpius | sed s/mmcblk.p.*||/$swap0/g <-- all mmblk that are behind a || | 08:37 |
Sc0rpius | sed s/||.*mmcbkl.p.$/$swap2/ <-- all mmblk that are after a || | 08:37 |
Estel_ | no, why scarry :) just need to check | 08:38 |
Estel_ | I see | 08:38 |
Sc0rpius | and actually I can summarize the first script to something very simple too | 08:38 |
Sc0rpius | if you think somebody has more than 9 partitions use [0-9]+ instead of . | 08:39 |
*** jacekowski has quit IRC | 08:43 | |
*** jacekowski has joined #maemo | 08:43 | |
*** Corsac has joined #maemo | 08:47 | |
*** e-yes has quit IRC | 08:48 | |
Estel_ | Sc0rpius, little problem | 08:51 |
Sc0rpius | ? | 08:51 |
Estel_ | on 1st occurence, it also replaces a dot | 08:51 |
Sc0rpius | what dot? | 08:51 |
Estel_ | blkid | grep /dev/mmcblk7p3.*TYPE=\"swap\" | 08:52 |
Estel_ | becomes | 08:52 |
Estel_ | blkid | grep /dev/mmcblk1p2*TYPE=\"swap\" | 08:52 |
Estel_ | (missing dot before *TYPE) | 08:52 |
Sc0rpius | I see | 08:52 |
Estel_ | i wanted to fix it, but | 08:52 |
Estel_ | it breaks other occurences ;) | 08:52 |
Estel_ | I'm using 1st version You proposed | 08:53 |
Estel_ | sed -i s@mmcblk.p.[^$]@$swap0@g /home/user/original-rcS-late | 08:53 |
*** Veggen has joined #maemo | 08:53 | |
Sc0rpius | yeah lemme think | 08:55 |
Sc0rpius | I know why | 08:55 |
Estel_ | also there is missing space after 2nd occurence | 08:56 |
Estel_ | && /sbin/swapon /dev/mmcblk7p3 || | 08:56 |
Estel_ | && /sbin/swapon /dev/mmcblk1p2|| | 08:56 |
Estel_ | (space before pipes) | 08:56 |
Sc0rpius | sed "s/mmcblk.p.\([^$]\)/$swap0\1/g" file | 08:57 |
Sc0rpius | and for the second one: | 08:57 |
Estel_ | same for 2nd line: | 08:57 |
Estel_ | /usr/bin/iostat -md mmcblk1p2| grep mmcblk1p2| awk | 08:57 |
Estel_ | /usr/bin/iostat -md mmcblk1p2 | grep mmcblk1p2 | awk | 08:58 |
Sc0rpius | yeah it's fixed with: | 08:58 |
Sc0rpius | sed "s/mmcblk.p.\([^$]\)/$swap0\1/g" file | 08:58 |
Estel_ | (should be with space | 08:58 |
Estel_ | ok | 08:58 |
Sc0rpius | the second one works fine: | 08:59 |
Sc0rpius | sed "s/mmcblk.p.$/$swap2/" file | 09:00 |
Macer | synology uses cgi | 09:04 |
Estel_ | thanks a lot, works flawlessly under all conditions | 09: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 much | 09: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 |
Estel_ | s/link/nick/ | 09:07 |
infobot | Estel_ meant: Sc0rpius, what is Your tmo nick? | 09:07 |
Estel_ | want to give proper credits in script comment and package description :) | 09:07 |
Sc0rpius | tmo link? | 09:11 |
Estel_ | nick | 09:11 |
Sc0rpius | tmo nick hmm | 09:11 |
Sc0rpius | it's Scorpius | 09:11 |
Estel_ | ;) thanks | 09:12 |
Sc0rpius | I was checking if it was with an o or with a zero | 09:12 |
Sc0rpius | (I forgot) | 09:12 |
Estel_ | understood | 09:12 |
*** sirdancealot4 has joined #maemo | 09:13 | |
*** sq-one has joined #maemo | 09:15 | |
*** ponyofdeath has quit IRC | 09:18 | |
Sc0rpius | Estel do you use Backupmenu right? | 09:18 |
Sc0rpius | 'cos I think you post in that thread | 09:18 |
Estel_ | yes | 09:18 |
Sc0rpius | do you use it with multiboot (default) or with U-Boot? | 09:18 |
Estel_ | in fact I use backupmenu-multiboot variant, manually updated to latest verion | 09:19 |
Estel_ | s/verion/version/ | 09:19 |
infobot | Estel_ meant: in fact I use backupmenu-multiboot variant, manually updated to latest version | 09:19 |
Sc0rpius | I would really like to stop using multiboot and use U-Boot since everything works with U-Boot (Nemo, Nitdroid, etc) but I love my Backupmenu | 09: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 arrives | 09:19 |
Estel_ | backupmenu can be used with U-boot for 100% | 09:20 |
Sc0rpius | that's what I've heard | 09:20 |
Estel_ | I remember someone asking it it U-boot thread | 09:20 |
Estel_ | ye | 09:20 |
Estel_ | s/ye/yea/ | 09:20 |
infobot | Estel_ meant: yea | 09:20 |
Estel_ | although I don't have any details :( | 09:20 |
Sc0rpius | some guy uploaded some files to make it work but the link expired | 09:20 |
Estel_ | hm | 09:20 |
*** robink has quit IRC | 09:21 | |
Sc0rpius | anyway the first thing I need is a microSD and I don't have one | 09:27 |
Sc0rpius | after that I'll think about U-Boot + Backupmenu | 09:27 |
*** MacDrunk has joined #maemo | 09:28 | |
Estel_ | hm, why not using eMMC for this? | 09:30 |
Sc0rpius | the thing is that I want to test Mer/Nemo | 09:32 |
Sc0rpius | but I need a microSD card for that | 09:32 |
*** robink_ has joined #maemo | 09:40 | |
Estel_ | I see. Sure thing | 09:43 |
Estel_ | but sd cards should be cheap | 09:43 |
Estel_ | be sure to buy class 4 one | 09:43 |
Estel_ | prefferably genuine sandisk 8GB | 09:43 |
Estel_ | most performance, better than class 6 or 10 | 09:43 |
*** zap_ has joined #maemo | 09:44 | |
Macer | heh | 09:46 |
Estel_ | ufff, ereswap finished | 09:47 |
Estel_ | I took it as first project to upload to extras as I though it'll be faster | 09: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 complex | 09:48 |
Estel_ | not it's like backend for a swap management utility | 09: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 experienced | 09:49 |
*** MacDrunk has left #maemo | 09: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 #maemo | 09:50 | |
*** murrayc has joined #maemo | 09:50 | |
Estel_ | I hope You people will enjoy it ;) later I'll upload other, more simple yet useful | 09:51 |
Estel_ | things | 09:51 |
Estel_ | see ya! | 09:51 |
*** robink_ is now known as robink | 09:51 | |
*** robink has joined #maemo | 09:51 | |
*** LaoLang_coo_ has joined #maemo | 09:58 | |
*** ludens has quit IRC | 09:58 | |
*** hurbu has quit IRC | 10:00 | |
*** LaoLang_cool has quit IRC | 10:01 | |
Psi | would 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 |
Psi | commend=recommend | 10:07 |
*** calvaris has joined #maemo | 10:08 | |
*** harbaum has joined #maemo | 10:08 | |
*** harbaum has left #maemo | 10:08 | |
*** calvaris has quit IRC | 10:09 | |
*** calvaris has joined #maemo | 10:09 | |
*** Funnyface has quit IRC | 10:13 | |
*** hurbu has joined #maemo | 10:14 | |
*** florian has joined #maemo | 10:15 | |
*** florian has quit IRC | 10:15 | |
*** florian has joined #maemo | 10:15 | |
Sicelo | Psi: what about plain old sftp | 10:21 |
Estel_ | merlin1991, ping | 10:22 |
Estel_ | merlin1991, I've finished my work on ereswap, although got predictable problems with builder | 10:23 |
Psi | Sicelo: need a client | 10:23 |
Estel_ | I suspect it's /debian/rules fault, so here it is: | 10:23 |
Psi | i want something that works without me having to install anything on their pc | 10:23 |
Estel_ | http://sebsauvage.net/paste/?416a9573dc5751c6#6HvCkkZUEujhPy5GmJvy48ZIhCMvciQCHMZLhNKsSCU= | 10:25 |
Estel_ | summary log from builder just says "failed" without providing any hints | 10:25 |
Estel_ | detail logs is here, although, also not helpful: | 10:25 |
Sicelo | Psi: hmm, ftp server on your N900 then. any pc has an ftp client. | 10:26 |
*** jargon- has joined #maemo | 10:26 | |
Estel_ | http://sebsauvage.net/paste/?c6f081284e324b62#gVlGl5GHa22wirEpW7zHROJXdTYkviFzP4msAopXzlA= | 10:27 |
Estel_ | here is my ereswap_1.0.dsc: | 10:29 |
*** sasquatch has quit IRC | 10:29 | |
Estel_ | http://sebsauvage.net/paste/?1e3a45f2cf7e1f8a#nMHsqM2WVNS2UajQk2/HgS3gkhnjh5w+5jW7MgpOmu8= | 10:29 |
*** sasquatch has joined #maemo | 10:29 | |
Estel_ | ...and here is source package: | 10:29 |
Estel_ | https://garage.maemo.org/builder/fremantle/ereswap_1.0/sources/ereswap_1.0.tar.gz | 10:29 |
*** jonne|reconnecte has quit IRC | 10: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 #maemo | 10:30 | |
*** Saviq_ has joined #maemo | 10:32 | |
*** Saviq_ has quit IRC | 10:33 | |
Psi | Sicelo: you mean browser as ftp client? | 10:35 |
Sicelo | iirc all versions of windows have ftp.exe (cmd line..) which will allow you to upload to your N900 as well. | 10:38 |
Sicelo | anyway, it was just a suggestion.. there might be a 'web' method that would fit your needs better | 10:39 |
*** jonne|reconnecte has joined #maemo | 10:43 | |
*** drussell has quit IRC | 10:44 | |
*** eMHa has quit IRC | 10:44 | |
*** ludens has joined #maemo | 10:45 | |
*** jhb has joined #maemo | 10:49 | |
*** mortenvp has quit IRC | 10:51 | |
*** croppa has joined #maemo | 10:54 | |
*** Jade has quit IRC | 10:54 | |
*** Jade has joined #maemo | 10:55 | |
*** Jade has quit IRC | 10:55 | |
*** Jade has joined #maemo | 10:55 | |
*** drussell has joined #maemo | 10:56 | |
Psi | Sicelo: commandline ftp is awful | 10:57 |
Psi | or it is for what i want | 10:57 |
*** lukasz_gut has joined #maemo | 10:59 | |
*** tank-man has joined #maemo | 11:01 | |
*** geaaru has joined #maemo | 11:05 | |
*** schen has joined #maemo | 11:05 | |
joga | Psi you want to grab files to n900 from other computers, *without* touching the phone? | 11:06 |
Psi | correct | 11:07 |
Psi | want 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 |
Psi | be nice if i could also view text files | 11:08 |
*** mk8 has joined #maemo | 11:09 | |
joga | I dunno...I always use ssh for such | 11:11 |
*** M4rtinK has joined #maemo | 11:11 | |
*** arno0ob has joined #maemo | 11:13 | |
Psi | yeah, but then i need to install putty | 11:13 |
*** doc|home has quit IRC | 11:18 | |
*** mhlavink_afk has quit IRC | 11:19 | |
*** robink has quit IRC | 11:19 | |
*** dafox has joined #maemo | 11:20 | |
*** robink_ has joined #maemo | 11:22 | |
*** mhlavink has joined #maemo | 11:23 | |
*** aloril has quit IRC | 11:24 | |
Sicelo | Psi: another option is samba | 11:27 |
Psi | yeah, i have that, bit its a bit of a cpu hog | 11:27 |
Psi | *but | 11:27 |
*** narcos has quit IRC | 11:27 | |
Sc0rpius | what about OpenSSH server and you just SFTP to the phone from PCs? | 11:28 |
Sc0rpius | that's what I do. | 11:28 |
*** inz has quit IRC | 11:28 | |
Sicelo | he's already ruled that one out | 11:28 |
*** LaoLang_coo_ has quit IRC | 11:28 | |
petteri | rsync with /etc/network/if-up rule | 11:28 |
Sc0rpius | oh he wants it web based? | 11:28 |
*** inz has joined #maemo | 11:28 | |
petteri | with N9 you can do it easiely with profilematic | 11:29 |
*** sq-one has quit IRC | 11:29 | |
Sicelo | Psi: 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 |
Psi | lazy | 11:31 |
*** doc|home has joined #maemo | 11:32 | |
* Sicelo doesn't believe that .. anyway | 11:33 | |
chem|st | putty and winscp do not need an install | 11:33 |
chem|st | o/ | 11:33 |
Sicelo | so, you get to this place, your N900 auto-connects, how do you find out what IP address N900 was assigned? | 11:33 |
Psi | chem|st: you still need to go download them | 11:33 |
Psi | or grab them somehow | 11:34 |
chem|st | Sicelo: simple broadcast | 11:34 |
Psi | Sicelo: i setup a mac static on the wifi | 11:34 |
Psi | or that | 11:34 |
Sicelo | if you do all that, i don't see how/why ftp is a no-go | 11:35 |
Psi | ftp is more a file download/upload app, i want a full file manager | 11:35 |
Psi | with copy/move etc | 11:35 |
chem|st | Psi: some liek kies air? | 11:35 |
*** ludens has quit IRC | 11:36 | |
Psi | ive used Ajaxplorer but i only got it installed inside debian chroot, so i would still need to load that on the phone first | 11:36 |
chem|st | Psi: start stop services depending on the network you are in | 11:36 |
Psi | yeah, could do i guess | 11:36 |
*** mortenvp has joined #maemo | 11:37 | |
*** aloril has joined #maemo | 11:37 | |
*** eMHa has joined #maemo | 11:38 | |
*** msanchez has joined #maemo | 11:38 | |
*** rcg1 has quit IRC | 11:40 | |
*** mirsal_ has joined #maemo | 11:41 | |
*** mirsal_ has joined #maemo | 11:42 | |
*** rcg1 has joined #maemo | 11: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 files | 11:45 |
Estel_ | fckd'ed up vfat filesystem? | 11:46 |
jargon- | deleting the podcast file and redownloading, doesn't seem to help. file remains corrupted | 11:46 |
jargon- | run fsck? | 11:46 |
Estel_ | yeo, but unmount first of course | 11:46 |
jargon- | ok | 11:46 |
Estel_ | prefferable, fsck.vfat /dev/mmcblk1p1 -r -v | 11:46 |
*** Pali has joined #maemo | 11:47 | |
Estel_ | if that doesn't help, copy all remaining good things, and re-format vfat (re create) | 11:47 |
Estel_ | then copy back | 11:47 |
Estel_ | if *that* doesn't help, i have NFC | 11:47 |
*** ludens has joined #maemo | 11:48 | |
jargon- | hmm. can't mount it as user | 11:50 |
jargon- | and if i mount as root, it's all root-owned | 11:50 |
*** ludens has quit IRC | 11:52 | |
Psi | yeah, i agree when fat16/32 gets corrupt you get some weird things occuring | 11:55 |
*** vbenes has joined #maemo | 11:55 | |
jargon- | Psi: Estel_: how do i mount it back as user after fsck? | 11:55 |
Psi | also, you get strange issues when your microsd card is cheap and cant handle the timing the device is trying to use it at | 11:55 |
*** mortenvp has quit IRC | 11:56 | |
jargon- | no microsd yet | 11:56 |
Psi | so just the onboard? | 11:56 |
*** mortenvp has joined #maemo | 11:56 | |
*** ludens has joined #maemo | 11:57 | |
jargon- | yeah | 11:57 |
*** SmilyOrg has joined #maemo | 11:57 | |
Psi | strange | 11:58 |
*** Smily has quit IRC | 12:02 | |
*** calvaris has quit IRC | 12:05 | |
*** msanchez has quit IRC | 12:07 | |
*** Hurrian has quit IRC | 12:10 | |
*** jargon- has quit IRC | 12:19 | |
*** jargon- has joined #maemo | 12:19 | |
Estel_ | jargon, device should be usable if You use proper mount commands | 12:24 |
Estel_ | even if you mount as root | 12:24 |
Estel_ | gimme a sec | 12:24 |
*** Saviq_ has joined #maemo | 12:24 | |
*** Saviq_ has quit IRC | 12: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,rodir | 12:26 |
Estel_ | that's proper mounting line for MyDocs | 12:26 |
Estel_ | do Yourself a favor and save it as shell script in /usrb/sbin/ | 12:26 |
Estel_ | for example "mydocson.sh" | 12:26 |
Estel_ | BTW, reboot would also help You ;) | 12:26 |
*** Arkenoi has quit IRC | 12:32 | |
*** calvaris has joined #maemo | 12:33 | |
*** sulx has left #maemo | 12:33 | |
*** simh_ has quit IRC | 12:34 | |
*** Pali has quit IRC | 12:35 | |
*** doc|home has quit IRC | 12:36 | |
*** hurbu has quit IRC | 12:37 | |
*** xev has quit IRC | 12:38 | |
*** xev has joined #maemo | 12:38 | |
*** simh_ has joined #maemo | 12:39 | |
*** sunny_s has joined #maemo | 12:39 | |
*** MrPingu has joined #maemo | 12:40 | |
Estel_ | DocScrutinizer, about charge21.sh 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.sh | 12:44 |
Estel_ | BTw, i never remember, which charge was more reccomended - charge.sh or charge21.sh | 12:44 |
*** xev has quit IRC | 12:48 | |
*** hurbu has joined #maemo | 12:50 | |
*** xev has joined #maemo | 12:51 | |
*** jargon- has quit IRC | 12:53 | |
DocScrutinizer51 | Estel_: already on my todo list | 12:55 |
*** aloril has quit IRC | 12:57 | |
*** gomiam has joined #maemo | 12:58 | |
*** murrayc has quit IRC | 12:58 | |
Estel_ | DocScrutinizer, nice to hear :D | 12: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 it | 13: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 irritating | 13:00 |
Estel_ | especially after 12 hours of work | 13:00 |
Estel_ | :p | 13:00 |
Estel_ | or more... | 13:00 |
DocScrutinizer51 | re ETB: http://www.email-archive.com/linux-omap@vger.kernel.org/msg17607.html http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ihi0014o/index.html | 13:02 |
*** zap_ has quit IRC | 13:03 | |
*** croppa has quit IRC | 13:03 | |
*** aloril has joined #maemo | 13:10 | |
*** t_s_o has quit IRC | 13:16 | |
merlin1991 | Estel_: your control file is wrong | 13:18 |
Estel_ | I'm all ears. with feets, actually. | 13:18 |
merlin1991 | anything multiline, like descriptions has to have a new line starting with a space, just like with the xb-maemo-icon-26 | 13:19 |
*** r00t|home has quit IRC | 13:19 | |
Estel_ | roger that. | 13:20 |
*** Pali has joined #maemo | 13:20 | |
merlin1991 | also why do you chmod the scripts in postinst? | 13:20 |
*** r00t|home has joined #maemo | 13:21 | |
*** Pali has quit IRC | 13:25 | |
*** mk8 has quit IRC | 13:25 | |
*** mk8 has joined #maemo | 13:26 | |
*** r00t|home has quit IRC | 13:27 | |
*** r00t|home has joined #maemo | 13:30 | |
*** habmala has joined #maemo | 13:31 | |
Estel_ | because they'rer not runable otherwise? | 13:34 |
Estel_ | merlin1991 | 13:34 |
merlin1991 | have them with the runable bit set in the tar already | 13:35 |
*** r00t|home has quit IRC | 13:35 | |
DocScrutinizer51 | lxr.free-electrons.com/source/arch/arm/kernel/etm.c | 13:37 |
merlin1991 | dafuq? | 13:37 |
freemangordon | merlin1991, thumb2 :P | 13:37 |
DocScrutinizer51 | we got that (or could get that) in KP? | 13:38 |
freemangordon | and ways to trace it | 13:38 |
*** r00t|home has joined #maemo | 13:38 | |
*** t_s_o has joined #maemo | 13:38 | |
freemangordon | DocScrutinizer51, 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 |
DocScrutinizer51 | yup | 13:40 |
*** MrPingu has quit IRC | 13:40 | |
DocScrutinizer51 | though, since we don't run secure mose anyway... | 13:40 |
DocScrutinizer51 | mode* | 13:40 |
Estel_ | merlin1991, thanks | 13:40 |
Estel_ | I've just based postinst script on other packages | 13:40 |
Estel_ | afaik even hend does this chmod :P | 13:41 |
Estel_ | will keep in mind that it's not needed | 13:41 |
freemangordon | DocScrutinizer51, otherwise all that HS, TrustZone , etc. talk will be a pile of crap | 13:41 |
*** b0unc3 has joined #maemo | 13:41 | |
DocScrutinizer51 | isn'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 |
merlin1991 | yep | 13:42 |
Estel_ | ~roger | 13:42 |
infobot | BZFlag's autopilot, named after "Airplane's" pilot | 13:42 |
*** r00t|home has quit IRC | 13:43 | |
freemangordon | DocScrutinizer51, why is that? Once (and if) I have my NFC flex cable I will explore the possibilities for true banking/payment applications on n900 | 13:43 |
Estel_ | rules file is ok? | 13:43 |
merlin1991 | get rid of the --buildsystem=cmake | 13:43 |
merlin1991 | but otherwise rules should work | 13:44 |
Estel_ | freemangordon, dafuq? payment application? | 13:44 |
Estel_ | connected to which interface? | 13:44 |
Estel_ | merlin1991, ok | 13:44 |
freemangordon | And having in mind that there is kind of HW security supported, lets see hw it will develop | 13:44 |
freemangordon | Estel_, yes, NFC | 13:44 |
Estel_ | what does than stand for, other than no fuckin clue | 13:44 |
Estel_ | near field com? | 13:44 |
freemangordon | yep | 13:45 |
Estel_ | they couldn't take worse shortcut name | 13:45 |
*** k273 has joined #maemo | 13:45 | |
freemangordon | :D | 13:45 |
freemangordon | what about PCI? | 13:45 |
Estel_ | merli, empty lines betwen acapits ind escription also must contain space? | 13:45 |
Estel_ | PCI desktop interface :OP | 13:45 |
freemangordon | Payment Card(s) Industry | 13:46 |
merlin1991 | Estel_: yes, anything the belongs to the description apart form the first line has to start with a space | 13:46 |
*** k273 has quit IRC | 13:46 | |
Estel_ | s/merli/merlin1991/ | 13:46 |
*** r00t|home has joined #maemo | 13:46 | |
Estel_ | roger roger | 13:46 |
Estel_ | experience is rising to heavens ;) | 13:46 |
Estel_ | after df in rules file, should I keep $@ ? | 13:49 |
merlin1991 | yes | 13:49 |
Estel_ | (after getting rid of --buildsystem=cmake) | 13:49 |
Estel_ | ok | 13:49 |
Estel_ | what exactly this tag means? | 13:49 |
merlin1991 | it's shortcut to the old way of debhelper where you had to have a line for every friggin dh_* script | 13:49 |
*** mzanetti has quit IRC | 13:49 | |
merlin1991 | rules file is called like "make dh_shlibdebs" and the %: rule grabs that and just runs it | 13:50 |
Estel_ | understood | 13:51 |
Estel_ | where have yopu learned all of this ;) | 13:51 |
*** r00t|home has quit IRC | 13:52 | |
*** b0unc3 has quit IRC | 13:53 | |
*** MrPingu has joined #maemo | 13:53 | |
*** r00t|home has joined #maemo | 13:54 | |
*** MrPingu has quit IRC | 14:00 | |
*** r00t|home has quit IRC | 14:00 | |
*** vesa_ is now known as vesa | 14:00 | |
*** b0unc3 has joined #maemo | 14:00 | |
DocScrutinizer51 | freemangordon: IHI0014Q_etm_architecture_spec.pdf p129 "3.5 detailed register descriptions" ETMACTR [13:10] | 14:02 |
*** zap_ has joined #maemo | 14:02 | |
*** r00t|home has joined #maemo | 14:03 | |
*** Aranel has quit IRC | 14:05 | |
*** maybeArgh has joined #maemo | 14:05 | |
* lardman watches Olympic torch travel through Frome, presumably not too dangerous there with only 3 outrunners | 14:06 | |
*** maybeWTF has quit IRC | 14:07 | |
lardman | online I hasten to mention ;) | 14:07 |
*** r00t|home has quit IRC | 14:08 | |
*** radic has quit IRC | 14:11 | |
*** GeneralAntilles has quit IRC | 14:11 | |
Estel_ | lardman, yesterday they fallen with torch due to light wind | 14:11 |
*** r00t|home has joined #maemo | 14:11 | |
Estel_ | but on Ukraine, as protest against UEFA EURO, 2 femminist activists devastated some footbal cup | 14:12 |
lardman | Estel_: yes, made me laugh that even for an RRP ~£500 torch, it won't stay lit ;) | 14:12 |
lardman | devastated? | 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 ground | 14:12 |
Estel_ | little tricky ;) | 14:12 |
Estel_ | s/kicked/jumped/ | 14:13 |
Estel_ | jumped, not kicked | 14:13 |
lardman | ah ok a real cup, I thought you meant a match | 14:13 |
Estel_ | haha | 14: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 blessing | 14: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 UEFA | 14: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 ;) : http://www.seibertron.com/transformers/news/tf-rotf-devastator-concept-art-overload-robot-mode/16446/) | 14:15 |
*** hurbu has quit IRC | 14:15 | |
*** r00t|home has quit IRC | 14:16 | |
*** r00t|home has joined #maemo | 14: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 is | 14:23 |
Estel_ | [2012-05-22 14:08:24] cd /home/builder2/maemo-fremantle-i386-extras-devel/work/ereswap-1.0 && dpkg-checkbuilddeps | 14: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 before | 14:23 |
Estel_ | WTF autobuilder wants from me to provide/fix? | 14:23 |
*** radic has joined #maemo | 14:24 | |
Estel_ | Link to actual tarball ---> https://garage.maemo.org/builder/fremantle/ereswap_1.0/sources/ereswap_1.0.tar.gz | 14:25 |
*** Hurrian has joined #maemo | 14:25 | |
*** r00t|home has quit IRC | 14:25 | |
Estel_ | I've added spaces as recommended + removed unnecesary line from rule | 14: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 #maemo | 14:28 | |
Estel_ | Should I remove ${shlibs:Depends} ? I don't think so... | 14:28 |
*** r00t|home has joined #maemo | 14:29 | |
X-Fade | Estel_: Are you using windows to edit these files? | 14:29 |
Estel_ | nope, edited on Maemo | 14:29 |
Estel_ | I did everything on device | 14: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 |
Estel_ | s/fioles/files/ | 14:30 |
infobot | Estel_ 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-Fade | Your control file looks messy. | 14:31 |
* Estel_ nods | 14:31 | |
X-Fade | Empty lines in description need a dot. | 14:31 |
Estel_ | which part may be wrong? description still? | 14:31 |
Estel_ | 0_o good to know | 14:31 |
merlin1991 | hm the empty line after the dscription shouldn't be there | 14:32 |
X-Fade | And all that crap in the description is also not needed. | 14:32 |
*** kent_autistic has joined #maemo | 14:32 | |
X-Fade | That is what instructions are for ;) | 14:32 |
X-Fade | You're putting your whole life story in there :D | 14:33 |
*** markm has joined #maemo | 14:33 | |
*** hurbu has quit IRC | 14:33 | |
Estel_ | :d wanted to be verbose, but You're right | 14:34 |
*** r00t|home has quit IRC | 14:34 | |
Estel_ | will move it to man inside and clean | 14:34 |
X-Fade | Description also has some specific rules. | 14:34 |
*** etrunko has joined #maemo | 14:34 | |
X-Fade | first line is short description, next lines are the regular description | 14:34 |
Estel_ | I'm all ears with feets. I're red about mentioning that it's command-line tool | 14:34 |
kent_autistic | guys, we are having problems with facebook sharing plugin. more info at http://talk.maemo.org/showthread.php?t=84410 | 14:35 |
kent_autistic | any ideas why? | 14:35 |
X-Fade | Estel_: http://www.debian.org/doc/debian-policy/ch-controlfields.html#s-f-Description | 14:35 |
Estel_ | thanks a lot X-Fade (and merlin1991), fixing it... | 14:35 |
X-Fade | Estel_: ^^ That doc describes it all. | 14:35 |
*** r00t|home has joined #maemo | 14:38 | |
Estel_ | X-Fade, thanks, went through it | 14:41 |
Estel_ | although, some doesn't apply here, yep? I haven't seen any md5sums on .changes file | 14:41 |
Estel_ | (maemo one) | 14:41 |
Estel_ | only in .dsc | 14:41 |
Estel_ | put aside details like lack of sha256 sum, sha1 and md5sum only. right? | 14:41 |
*** DocScrutinizer has quit IRC | 14:42 | |
*** DocScrutinizer has joined #maemo | 14:42 | |
*** r00t|home has quit IRC | 14:43 | |
*** freemangordon has quit IRC | 14:44 | |
*** hurbu has joined #maemo | 14:45 | |
*** r00t|home has joined #maemo | 14:47 | |
*** mzanetti has joined #maemo | 14:50 | |
*** mzanetti has quit IRC | 14: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 that | 14:51 |
*** r00t|home has quit IRC | 14:52 | |
*** GeneralAntilles has joined #maemo | 14:53 | |
*** r00t|home has joined #maemo | 14:56 | |
DocScrutinizer51 | anybody else thinks wiki page design or CSS sheet sucks sonce months? | 14:57 |
DocScrutinizer51 | buzzword "BETA" et all | 14:58 |
*** r00t|home has quit IRC | 15:01 | |
*** ZogG_laptop has quit IRC | 15:01 | |
*** ZogG_laptop has joined #maemo | 15:01 | |
*** r00t|home has joined #maemo | 15:05 | |
*** vbenes has quit IRC | 15:05 | |
*** vbenes has joined #maemo | 15:06 | |
*** vbenes has quit IRC | 15:09 | |
*** vbenes has joined #maemo | 15:10 | |
*** r00t|home has quit IRC | 15:10 | |
*** r00t|home has joined #maemo | 15:14 | |
*** Dibblah has quit IRC | 15:15 | |
Estel_ | fixed all things as suggested and trying to upload again... | 15:16 |
*** r00t|home has quit IRC | 15:19 | |
*** r00t|home has joined #maemo | 15:23 | |
Estel_ | X-Fade, still failed :( | 15:25 |
Estel_ | strange, it created both 1386.root.log.OK.txt and 1386.root.log.FAILED.txt | 15:26 |
Estel_ | 0_o | 15:26 |
Estel_ | 1386.root.log.OK.txt one got same content as former reports, although, FAILEd one got some usefull info, actually | 15:26 |
Estel_ | https://garage.maemo.org/builder/fremantle/ereswap_1.0/i386.build.log.FAILED.txt | 15:27 |
Estel_ | cp: cannot stat `./data/adjust-rcS-late': No such file or directory | 15:27 |
Estel_ | dh_install: cp -a ./data/adjust-rcS-late debian/ereswap/home/user/.ereswap/ returned exit code 1 | 15:27 |
Estel_ | wtf? | 15:27 |
*** aloril has quit IRC | 15:28 | |
Estel_ | file is actually called adjust-rcS-late.sh | 15:28 |
* Estel_ points out on .sh | 15:28 | |
*** r00t|home has quit IRC | 15:28 | |
X-Fade | Estel_: Check your debian/install file | 15:29 |
Estel_ | yea, noticed that as well, I'm dumbie | 15:30 |
Estel_ | actually, like hell | 15:30 |
Estel_ | ~ashamed | 15:30 |
infobot | ashamed is probably an exemplary example of a nerd baller | 15:30 |
Estel_ | ;) sorry, should notice it myself before asking | 15:31 |
X-Fade | Good thing is that the builder doesn't make this stuff up :) | 15:31 |
*** r00t|home has joined #maemo | 15:33 | |
*** Dibblah has joined #maemo | 15:34 | |
Estel_ | yea :) | 15:35 |
Estel_ | YEA, build suceed! | 15:38 |
Estel_ | X-Fade, merlin1991 huge, huge thanks | 15:38 |
*** r00t|home has quit IRC | 15:38 | |
Estel_ | finally I've something that works to base further work upon | 15:38 |
*** MrPingu has joined #maemo | 15:40 | |
*** aloril has joined #maemo | 15:40 | |
*** r00t|home has joined #maemo | 15:42 | |
*** florian has quit IRC | 15:46 | |
*** r00t|home has quit IRC | 15:47 | |
*** r00t|home has joined #maemo | 15:51 | |
*** r00t|home has quit IRC | 15:56 | |
*** LaoLang_cool has joined #maemo | 15:59 | |
*** r00t|home has joined #maemo | 16:01 | |
*** Sazpaimon_ has quit IRC | 16:03 | |
*** jargon- has joined #maemo | 16:05 | |
*** narcos has joined #maemo | 16:06 | |
*** Pali has joined #maemo | 16:06 | |
*** r00t|home has quit IRC | 16:06 | |
*** r00t|home has joined #maemo | 16:10 | |
*** mzanetti has joined #maemo | 16:12 | |
*** r00t|home has quit IRC | 16:16 | |
*** mase76 has joined #maemo | 16:16 | |
*** r00t|home has joined #maemo | 16:20 | |
*** gomiam has quit IRC | 16:21 | |
*** ychavan has quit IRC | 16:21 | |
*** r00t|home has quit IRC | 16:25 | |
*** valeriusM has quit IRC | 16:28 | |
*** r00t|home has joined #maemo | 16:30 | |
*** penguinbait has joined #maemo | 16:33 | |
*** penguinbait has joined #maemo | 16:33 | |
*** mase76 has quit IRC | 16:35 | |
*** r00t|home has quit IRC | 16:35 | |
*** r00t|home has joined #maemo | 16:40 | |
*** MrPingu has quit IRC | 16:41 | |
*** hardaker has joined #maemo | 16:44 | |
*** valeriusM has joined #maemo | 16:45 | |
*** xev has quit IRC | 16:45 | |
*** xev has joined #maemo | 16:45 | |
*** NishanthMenon has joined #maemo | 16:46 | |
*** r00t|home has quit IRC | 16:46 | |
*** r00t|home has joined #maemo | 16:50 | |
*** r00t|home has quit IRC | 16:56 | |
*** smoe has joined #maemo | 16:58 | |
*** smoe has left #maemo | 16:58 | |
*** ZogG_laptop has quit IRC | 17:00 | |
*** r00t|home has joined #maemo | 17:00 | |
Estel_ | Woody14619, ivgalvez, ping? | 17:01 |
Estel_ | #maemo, http://maemo.org/packages/ereswap <- 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 glad | 17:03 |
Estel_ | enjoy! | 17:03 |
*** sq-one has joined #maemo | 17:04 | |
*** LaoLang_coo_ has joined #maemo | 17:05 | |
*** r00t|home has quit IRC | 17:06 | |
*** LaoLang_coo_ has quit IRC | 17:07 | |
*** LaoLang_cool has quit IRC | 17:09 | |
*** rm_work has joined #maemo | 17:09 | |
kent_autistic | anybody familiar with fbreader? | 17:10 |
*** setanta has joined #maemo | 17:10 | |
jaska | depends on what familiar means, i have read .epub:s with it | 17:10 |
*** r00t|home has joined #maemo | 17:11 | |
*** sobczyk has joined #maemo | 17:13 | |
*** t_s_o has quit IRC | 17:13 | |
sobczyk | hi, is there any hope of getting the usb port fixed after warranty? | 17:13 |
sobczyk | it's not yet completely detached, but getting loose | 17:14 |
*** r00t|home has quit IRC | 17:16 | |
*** wmarone has joined #maemo | 17:18 | |
*** wmarone_ has quit IRC | 17:18 | |
rm_work | sobczyk: 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 #maemo | 17:21 | |
luke-jr | anyone encounter N900 that says it's charging, but doesn't? :/ | 17:21 |
kent_autistic | jaska: is there really no kinetic scrolling in fbreader? | 17:22 |
*** freemangordon has joined #maemo | 17:22 | |
jaska | i scroll by page anyway | 17:22 |
jaska | so dont know | 17:22 |
jaska | i never even wanted that feature so havent looked for it | 17:23 |
kent_autistic | do you it in portrait orientation? | 17:24 |
kent_autistic | do you use it in portrait orientation? | 17:24 |
jaska | yeah, portrait, using the volume keys for page scrolling | 17:24 |
Estel_ | sobczyk, only fellow maemo users can repair it for You | 17:24 |
sobczyk | rm_work: what about soldering? | 17:24 |
Estel_ | for a feww/donation | 17:24 |
Estel_ | or You can done it on Your own | 17:24 |
*** javispedro has joined #maemo | 17:25 | |
Estel_ | if going via other maemo user way, You must consider paying for work and shipping | 17:25 |
Estel_ | work is mostly a bargain, considering ammoung of work needed to fix it by hand, shipping can get worse, both sides | 17: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 motherboard | 17:26 |
Estel_ | it wont be easily fixable | 17:26 |
rm_work | sobczyk: 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 EASY | 17:26 |
Estel_ | sorry, caps | 17:26 |
*** r00t|home has quit IRC | 17:26 | |
rm_work | i 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 soldering | 17:26 |
sobczyk | already disassembled it, I own a soldering station | 17:26 |
Estel_ | dissasembling and assembling is trivial, soldering is while troubles start | 17: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 IRC | 17:27 | |
sobczyk | I already soldered 0402 SMDs so Im rather comfortable with it | 17:27 |
Estel_ | I've already fixed many N900's for fellow Maemo users (usb ports) | 17:27 |
Estel_ | sobczyk, so just do it | 17:27 |
Estel_ | if You got thin enough soldering tip... | 17:27 |
Estel_ | you should be good | 17:28 |
*** t_s_o has joined #maemo | 17:28 | |
Estel_ | then, after soldering, reinforce port as per dr_frost_dk's instructions | 17:28 |
*** r00t|home has joined #maemo | 17:31 | |
*** narcos has quit IRC | 17:33 | |
sobczyk | ok now I see why soldering with reisistive tip might be a problem, the shield just behind the usb gets in the way | 17:35 |
*** setanta_ has joined #maemo | 17:35 | |
*** setanta has quit IRC | 17:35 | |
Estel_ | You can remove part of it | 17:35 |
*** r00t|home has quit IRC | 17:36 | |
*** kent_autistic has quit IRC | 17:38 | |
*** k273 has joined #maemo | 17:40 | |
*** r00t|home has joined #maemo | 17:42 | |
*** hurbu has quit IRC | 17:46 | |
*** r00t|home has quit IRC | 17:47 | |
*** ruskie has joined #maemo | 17:49 | |
*** beford has joined #maemo | 17:51 | |
*** valeriusM has quit IRC | 17:51 | |
*** r00t|home has joined #maemo | 17:52 | |
*** jargon- has quit IRC | 17:53 | |
*** cityLights has quit IRC | 17:56 | |
*** mhlavink has quit IRC | 17:56 | |
*** Darkchaos has joined #maemo | 17:58 | |
*** mhlavink_afk has joined #maemo | 17:58 | |
*** r00t|home has quit IRC | 17:58 | |
Estel_ | does anyone know, if javispedro 's c FM Radio have an option to listen through speaker? | 17:59 |
*** eMHa has quit IRC | 17:59 | |
Estel_ | s/speaker/speakers/ | 17:59 |
infobot | Estel_ 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 GUI | 18:00 |
*** Cor-Ai has joined #maemo | 18:01 | |
*** r00t|home has joined #maemo | 18:03 | |
javispedro | Estel_: 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 IRC | 18:08 | |
*** timeless has quit IRC | 18:11 | |
Hurrian | Estel_, nice script ;) | 18:12 |
*** valeriusM has joined #maemo | 18:12 | |
Hurrian | may I suggest keeping the config in /home/user/.config/ereswap | 18:13 |
*** r00t|home has joined #maemo | 18:13 | |
DocScrutinizer51 | javispedro: what's your take on ARM ETB / ETM / STM / CoreSight on N900? | 18:14 |
javispedro | as in, trace block? | 18:15 |
DocScrutinizer51 | yup | 18:15 |
javispedro | you probably know that better than I do, I don't even know what are the pins under the battery | 18:16 |
DocScrutinizer51 | we might get really great 'coredumps' | 18:16 |
*** ferdna has joined #maemo | 18:16 | |
DocScrutinizer51 | nah | 18:16 |
javispedro | .oO(jtag?) | 18:16 |
DocScrutinizer51 | it's a buffer (6.8k iirc) that traces opcodes data of reg and timestamps and can get read out from CPU in my book | 18:17 |
*** jargon- has joined #maemo | 18:17 | |
DocScrutinizer51 | of course also via jtag | 18:17 |
*** dos1 has joined #maemo | 18:17 | |
javispedro | that'd make for interesting performance counters | 18:18 |
DocScrutinizer51 | yep | 18:18 |
DocScrutinizer51 | all sorts of highly interesting things | 18:18 |
*** r00t|home has quit IRC | 18:19 | |
DocScrutinizer51 | see backscroll, I spammed links | 18:19 |
* DocScrutinizer51 idly wonders what beagleboard guys did with ETB | 18:21 | |
sobczyk | i 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 inside | 18:21 |
DocScrutinizer51 | how can it seem loose? | 18:22 |
*** t_s_o has quit IRC | 18:23 | |
sobczyk | when I push the connected charger plug down, info appears on n900 that I can disconnect the charger from wall socket | 18:24 |
*** r00t|home has joined #maemo | 18:24 | |
*** schen has quit IRC | 18:25 | |
Hurrian | it probably lifts the pins when you push it down | 18:27 |
Hurrian | yeah, clean it all up, and resolder | 18:27 |
*** r00t|home has quit IRC | 18:30 | |
*** r00t|home has joined #maemo | 18:35 | |
*** timeless has joined #maemo | 18:36 | |
*** M4rtinK has quit IRC | 18: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 |
Estel_ | ? | 18:39 |
*** r00t|home has quit IRC | 18:40 | |
*** florian has joined #maemo | 18:41 | |
*** zap_ has quit IRC | 18:42 | |
*** jonwil has joined #maemo | 18:43 | |
*** PeterWolf has quit IRC | 18:45 | |
*** jonwil has quit IRC | 18:46 | |
*** r00t|home has joined #maemo | 18:46 | |
*** r00t|home has quit IRC | 18:51 | |
*** mece has joined #maemo | 18:53 | |
*** Pali has quit IRC | 18:54 | |
*** vbenes has quit IRC | 18:56 | |
*** r00t|home has joined #maemo | 18:57 | |
*** mece has left #maemo | 18:57 | |
*** jargon- has quit IRC | 19:02 | |
*** r00t|home has quit IRC | 19:02 | |
*** totalizator has quit IRC | 19:03 | |
*** totalizator has joined #maemo | 19:04 | |
*** r00t|home has joined #maemo | 19:07 | |
*** NIN101 has joined #maemo | 19:09 | |
*** eMHa has joined #maemo | 19:10 | |
*** r00t|home has quit IRC | 19:13 | |
*** mortenvp has quit IRC | 19:13 | |
*** r00t|home has joined #maemo | 19:19 | |
*** lukasz_gut has quit IRC | 19:23 | |
*** r00t|home has quit IRC | 19:24 | |
*** vbenes has joined #maemo | 19:25 | |
*** ZogG_laptop has joined #maemo | 19:30 | |
*** r00t|home has joined #maemo | 19:30 | |
*** ZogG has quit IRC | 19:33 | |
*** eijk has joined #maemo | 19:34 | |
*** jd has joined #maemo | 19:34 | |
*** r00t|home has quit IRC | 19:35 | |
*** Jade has quit IRC | 19:37 | |
*** arno0ob has quit IRC | 19:37 | |
*** javispedro has quit IRC | 19:40 | |
*** doc|home has joined #maemo | 19:40 | |
*** Venusaur has quit IRC | 19:40 | |
*** r00t|home has joined #maemo | 19:41 | |
*** dafox has quit IRC | 19:41 | |
*** doc|home has left #maemo | 19:43 | |
*** ZogG has joined #maemo | 19:45 | |
*** eijk has quit IRC | 19:47 | |
*** r00t|home has quit IRC | 19:47 | |
*** eijk has joined #maemo | 19:48 | |
*** ponyofdeath has joined #maemo | 19:48 | |
*** nox- has joined #maemo | 19:50 | |
*** mece has joined #maemo | 19:50 | |
*** Arkenoi has joined #maemo | 19:50 | |
*** peetah has quit IRC | 19:52 | |
*** r00t|home has joined #maemo | 19:52 | |
*** peetah has joined #maemo | 19:53 | |
*** r00t|home has quit IRC | 19:57 | |
*** ZogG_laptop has quit IRC | 20:01 | |
*** ZogG_laptop has joined #maemo | 20:01 | |
*** hardaker has quit IRC | 20:01 | |
*** Atarii has joined #maemo | 20:04 | |
*** r00t|home has joined #maemo | 20:04 | |
*** hardaker has joined #maemo | 20:06 | |
*** r00t|home has quit IRC | 20:09 | |
*** b0unc3 has quit IRC | 20:15 | |
*** Venusaur has joined #maemo | 20:15 | |
*** r00t|home has joined #maemo | 20:15 | |
*** b0unc3 has joined #maemo | 20:17 | |
*** r00t|home has quit IRC | 20:18 | |
*** sb1980 has quit IRC | 20:18 | |
*** rcg1 has quit IRC | 20:19 | |
*** r00t|home has joined #maemo | 20:20 | |
*** r00t|home has quit IRC | 20:21 | |
*** r00t|home has joined #maemo | 20:21 | |
*** b0unc3 has quit IRC | 20:25 | |
*** b0unc3 has joined #maemo | 20:27 | |
*** Darkchaos has quit IRC | 20:28 | |
*** geaaru has quit IRC | 20:34 | |
*** sq-one has quit IRC | 20:34 | |
*** ZogG_laptop has quit IRC | 20:35 | |
*** b0unc3 has quit IRC | 20:35 | |
*** narcos has joined #maemo | 20:37 | |
*** b0unc3 has joined #maemo | 20:38 | |
*** jhb has quit IRC | 20:43 | |
*** calvaris has quit IRC | 20:45 | |
*** sirdancealot2 has quit IRC | 20:47 | |
*** Pali has joined #maemo | 20:53 | |
*** trbs has joined #maemo | 20:54 | |
*** Pali has quit IRC | 20:54 | |
*** rcg1 has joined #maemo | 20:56 | |
*** robink_ is now known as robink | 20:59 | |
*** robink has quit IRC | 20:59 | |
*** robink has joined #maemo | 20:59 | |
*** ZogG_laptop has joined #maemo | 21:02 | |
*** loganbr has quit IRC | 21:10 | |
*** mase76 has joined #maemo | 21:15 | |
*** loganbr has joined #maemo | 21:16 | |
*** mece has left #maemo | 21:17 | |
*** mortenvp has joined #maemo | 21:19 | |
*** M4rtinK has joined #maemo | 21:21 | |
*** ZogG_laptop has quit IRC | 21:31 | |
*** piggz has joined #maemo | 21:31 | |
*** ZogG_laptop has joined #maemo | 21:31 | |
*** mase76 has quit IRC | 21:31 | |
*** b0unc3 has quit IRC | 21:33 | |
*** b0unc3 has joined #maemo | 21:35 | |
*** Corsac has quit IRC | 21:38 | |
*** b0unc3 has quit IRC | 21:43 | |
*** Corsac has joined #maemo | 21:44 | |
*** b0unc3 has joined #maemo | 21:45 | |
*** zap_ has joined #maemo | 21:53 | |
*** piggz has quit IRC | 22:02 | |
*** piggz_ has joined #maemo | 22:02 | |
*** Gadgetoid has joined #maemo | 22:03 | |
DocScrutinizer | http://pidgin.im/news/security/?id=62 http://pidgin.im/news/security/?id=63 | 22:03 |
*** mase76 has joined #maemo | 22:04 | |
*** beford has quit IRC | 22:07 | |
NIN101 | anybody noticed that the openssh stuff in maemo is outdated? Not sure whether there some critical vulnerabilities though. | 22:08 |
*** MrPingu has joined #maemo | 22:09 | |
*** ferdna has quit IRC | 22:13 | |
*** vbenes has quit IRC | 22:13 | |
*** vbenes has joined #maemo | 22:13 | |
*** ferdna has joined #maemo | 22:13 | |
*** dafox has joined #maemo | 22:16 | |
*** valeriusN has left #maemo | 22:19 | |
*** valeriusN has joined #maemo | 22:19 | |
*** beford has joined #maemo | 22:20 | |
*** e-yes has joined #maemo | 22:22 | |
*** sq-one has joined #maemo | 22:24 | |
Macer | wow | 22:37 |
Macer | something that is seriously irritating me about the lumia 900 | 22:37 |
Macer | the damn wifi turns off when you put it in sleep mode | 22:37 |
Macer | and turns back on when you wake it up. totally screwing over my gtalk client | 22:37 |
*** petur has joined #maemo | 22:40 | |
*** narcos has quit IRC | 22:41 | |
*** dafox has quit IRC | 22:45 | |
DocScrutinizer | NIN101: good point | 22:46 |
*** dafox has joined #maemo | 22:48 | |
*** peetah has quit IRC | 22:51 | |
*** b0unc3 has quit IRC | 22:52 | |
*** peetah has joined #maemo | 22:52 | |
*** b0unc3 has joined #maemo | 22:53 | |
*** Dynamit has joined #maemo | 22:56 | |
Sicelo | luke-jr: yes, i've had a few times of N900 with blinking orange on wallwart, apparently charging, but actually discharging | 23:00 |
*** b0unc3 has quit IRC | 23:00 | |
*** penguinbait has quit IRC | 23:01 | |
*** b0unc3 has joined #maemo | 23:03 | |
Sicelo | Estel_: 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 afaik | 23:03 |
Sicelo | meh, 0.05MHz :) | 23:04 |
luke-jr | Sicelo: this is on car charger and PC :/ | 23:04 |
luke-jr | is $220 a reasonable price for a barely-used N900 these days? | 23:05 |
*** b0unc3 has quit IRC | 23:06 | |
Sicelo | in all the times i've had that, it's the charger connection that was at fault, not n900. you could possibly check with bq27200.sh script | 23:06 |
Sicelo | btw, how's the Gentoo effort? | 23:07 |
*** dafox has quit IRC | 23:09 | |
*** b0unc3 has joined #maemo | 23:10 | |
*** hurbu has joined #maemo | 23:11 | |
*** b0unc3 has quit IRC | 23:13 | |
*** b0unc3 has joined #maemo | 23:16 | |
*** ioan has left #maemo | 23:17 | |
*** cwoodward has joined #maemo | 23:22 | |
*** Woody14619 has quit IRC | 23:24 | |
*** Dynamit has quit IRC | 23:26 | |
*** MrPingu has quit IRC | 23:30 | |
*** vblazquez has joined #maemo | 23:38 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!