IRC log of #maemo for Friday, 2015-09-18

*** Milhouse has quit IRC00:11
*** Milhouse has joined #maemo00:13
*** futpib has quit IRC00:17
*** _rd has quit IRC00:24
*** florian has quit IRC00:29
*** antranigv has left #maemo00:34
*** florian has joined #maemo01:07
*** Axel_H has joined #maemo01:18
*** Axel_H has joined #maemo01:18
*** protem has joined #maemo01:51
*** florian has quit IRC01:57
*** drawkula has quit IRC02:07
DocScrutinizer05Maxdamantus: actualy tracker, I guess02:10
DocScrutinizer05that goes mad on too many files. Not the camera app itself02:11
*** SpeedEvil has quit IRC02:13
*** SpeedEvil has joined #maemo02:14
*** MikaT_ has quit IRC02:19
*** aloril has quit IRC02:19
*** MikaT has joined #maemo02:20
*** aloril has joined #maemo02:21
*** drawkula has joined #maemo02:36
*** pentanol has joined #maemo02:37
*** vectis has quit IRC02:38
*** Venusaur has quit IRC02:47
*** trumee has quit IRC02:57
*** trumee has joined #maemo02:58
*** Venusaur has joined #maemo03:03
*** unclouded has quit IRC03:04
*** L29Ah has left #maemo03:05
*** L29Ah has joined #maemo03:06
*** unclouded has joined #maemo03:15
*** LauRoman has quit IRC03:22
*** beford has joined #maemo03:42
MaxdamantusDocScrutinizer05: I think I replaced tracker with a script that does nothing.03:47
Maxdamantusoh, or not, but I don't think it does anything.03:47
MaxdamantusMeh, can't remember.03:48
*** arossdotme has joined #maemo03:59
*** saponga has joined #maemo04:13
*** saponga has quit IRC04:20
*** eMHa__ has joined #maemo04:25
*** trumee has quit IRC04:25
*** trumee has joined #maemo04:28
*** eMHa_ has quit IRC04:28
*** beford has quit IRC04:54
*** Humpelst1lzchen has joined #maemo04:58
*** Humpelstilzchen has quit IRC04:59
*** lxp has quit IRC05:06
*** saponga has joined #maemo05:24
*** sparetire_ has quit IRC05:25
*** saponga has quit IRC05:44
*** Luke-Jr has quit IRC06:01
*** robbiethe1st has joined #maemo06:05
*** Roth has joined #maemo06:08
*** supergaban has joined #maemo06:12
*** supergaban has quit IRC06:16
*** L29Ah has left #maemo06:19
*** L29Ah has joined #maemo06:20
*** L29Ah has left #maemo06:20
*** beford has joined #maemo06:25
*** Smily has quit IRC06:44
*** Smily has joined #maemo06:44
*** Oksana has quit IRC07:04
*** Oksana_ has joined #maemo07:09
*** Oksana_ has quit IRC07:10
*** Oksana_ has joined #maemo07:16
*** Oksana_ is now known as Oksana07:22
*** robbiethe1st has quit IRC07:23
*** protem has quit IRC07:33
KotCzarnyds3: there are cmdline exif renamers07:37
*** Luke-Jr has joined #maemo07:45
*** _rd has joined #maemo07:48
*** delt has joined #maemo07:49
deltHello07:50
deltmy n810 is completely dead all of a sudden... won't turn on.07:50
KotCzarnybattery dead?07:50
delttried pulling the battery and putting it back, no effect07:50
KotCzarnycharge in other device?07:50
deltKotCzarny: nope... it's plugged in07:50
delteven when plugged in, i hold down the power button and it's just dead...won't start.07:51
deltis there any firmware trick i could use in a case like this?07:51
KotCzarnydont remember if n8x0 needs good battery to work, but with n900 you cant run without07:51
deltjust plugged it into the usb port with the (weird) cable that came with it... still nothing. doesn't show up in 'lsusb' (running linux mint on the pc)07:53
*** japa-fi has joined #maemo07:54
MaxdamantusI don't think the N900 would show up in lsusb if it's unable to power on (dunno about N8x0)07:55
deltthis is a n81007:55
deltoh ok... sorry, misread -)07:55
deltyeah, normally if the device doesn't power up it won't show in the lsusb listing....07:56
deltanyway. i just read something on the web about removing the battery for at least 15 minutes. Even though this one has been dead and ununsed for some time, i'll give it a try...07:57
*** _rd has quit IRC07:59
deltsame page says to flash it with some new rom update.. how do i do that if it doesn't even power on??07:59
deltanyway.. there's no trick like hold down a certain button while plugging it, or push power 5 times before, etc etc...?08:00
Maxdamantuswith the N900 you just have to let it charge at a slower rate while it's off.08:05
Maxdamantusunless maybe you have a dumb charging source (indicated by the shorted data pins)08:05
MaxdamantusI'd try plugging it into a charger you know does that, if you have one.08:06
Maxdamantus(official Nokia chargers should, other chargers often won't)08:06
deltyeah, the charger i have for this is a foreign (i think european) plug (i'm in Canada) plugged into an adapter to make it fit into the normal wall plug..08:07
delthow do i tell about the "shorted data pins" though?08:08
delt(preferably without cutting it to pieces)08:08
*** Smily has quit IRC08:15
deltplugged the charger into another socket.... nope. wont even flash a led or something, completely dead.08:16
*** _rd has joined #maemo08:17
MaxdamantusHave you tried just leavin it plugged in for a while?08:17
deltyeah, it was plugged in for months, and always worked. suddenly it just decided to die.08:18
MaxdamantusI mean over a shorter period, like half an hour or so.08:18
Maxdamantusand not trying to turn it on during that time.08:19
deltok, i'll try that08:19
deltafter being unplugged for how long?08:20
MaxdamantusNot being unplugged.08:20
Maxdamantusjust leave it plugged in for half an hour, then turn it on.08:20
inzdelt, as N810 does not do USB charging, the shorted data pins does not apply08:20
MaxdamantusAh.08:21
deltinz: yeah, i remember something about that...08:21
deltMaxdamantus: it was plugged in for weeks/months. now what :D08:21
delti could always see the green/blue-ish led in the top left corner pulsating/flashing, but it just stopped. went dead.08:23
*** Roth has quit IRC08:24
MaxdamantusThe point with leaving it plugged in (at leat, if it charges from USB, and abides by the specificaotion as the N900 does) is it might otherwise use the small amount of charge it has to power on but not get to the point where it can draw more power (from USB, by negotiating with the host.)08:25
*** _rd has quit IRC08:27
deltheh... refigerator trick =) ---> http://techieworldz.blogspot.ca/2012/04/nokia-n810-dead-battery-issue.html08:27
KotCzarnyi think that battery just died08:28
KotCzarnybuy new/used one08:29
KotCzarnyplugged in for months == 100% charge all the time == death for li-ions08:29
deltyeah, must be the case :/08:29
KotCzarnyluckily you can have cheap good replacement08:29
KotCzarnylook for polarcell brand08:29
delti will, when i have a few $$ for it -)08:32
delt...but even plugged in, the n810 won't turn on without a battery? (i don't remember, haven't checked)08:33
inzI wonder how long my N810 will keep serving web pages, being constantly plugged in08:34
DocScrutinizer05delt: forget about "shorted data pins", N810 carges from 1.5mm(?) barrel connector08:34
DocScrutinizer05ooh inz beat me to it08:34
deltinz: in fact i do remember seeing a web server for it (:08:35
inzDoc, IIRC it's 2.0, way too thin to bear any kind of load anway :/08:36
DocScrutinizer05yep08:36
DocScrutinizer05one bent, but worked. Then the PSU broke. Used the PSU from spare. Then the N810 suddenly didn't come up from one of its random reboots it did every 2 weeks to 3 months08:38
DocScrutinizer05looks like corrupted filesystem, or defect MMC08:38
DocScrutinizer05could try to reflash it, didn't get around to it08:39
DocScrutinizer05well, it worked like 7 years 24/7/35008:39
DocScrutinizer05N810 charger is 100% software controlled, so it suffers massively from flatbat deadlock08:43
DocScrutinizer05try charging battery in external charger08:44
DocScrutinizer05harger here is internal charging circuit, not the wallcharger08:45
*** ecc3g has quit IRC08:45
DocScrutinizer05the "walcharger" is a silly DC power supply08:45
delt<--- *nods*08:45
KotCzarnyi think n8x0 can be charged via usb too08:46
* DocScrutinizer05 soesn't even know the voltage08:46
DocScrutinizer05no08:46
KotCzarnyi should check when i get home08:46
KotCzarnybut i do remember using usb plug for charging08:47
DocScrutinizer05check ~flashing, old version for N8x0. It clearly says "plug in to USB. THEN plug in power and power it up"08:48
DocScrutinizer05N810 doesn't boot up and doesn't charge from USB connection08:49
KotCzarnyyou might be right08:50
deltnope.... zero sign of life on this thing. completely dead.08:50
KotCzarnywhich is a pity, because charges is 5V anyway08:51
KotCzarnyAC-4U - Output 5v 890 mA08:51
deltfuck :(08:53
deltanyway... thanks for your help guys08:53
*** delt has left #maemo08:53
*** kerio has quit IRC09:05
*** kerio has joined #maemo09:06
*** ecc3g has joined #maemo09:08
DocScrutinizer05technically it *might* charge from USB. at least it has all the wires needed: http://wstaw.org/m/2015/09/18/plasma-desktopoQ1947.png09:09
DocScrutinizer05see hidden docs09:15
DocScrutinizer05don't dare to post full URLs!09:15
DocScrutinizer05or they will be gone the same moment09:16
*** LauRoman has joined #maemo09:21
DocScrutinizer05however http://www.ti.com/product/tps65030 simply doesn't support chraging battery from VBUS09:41
*** geaaru has joined #maemo09:56
*** kerio has quit IRC10:13
*** Ex-Opesa has quit IRC10:17
*** vectis has joined #maemo10:22
*** florian has joined #maemo10:28
*** pentanol has quit IRC10:32
*** kerio has joined #maemo10:37
*** kerio has quit IRC10:41
*** kerio has joined #maemo10:51
*** kerio has quit IRC10:51
*** vectis has quit IRC10:52
*** kerio has joined #maemo10:54
*** filosofem_ has quit IRC10:56
*** FlameReaper-PC has quit IRC11:24
*** sparetire_ has joined #maemo11:45
*** filosofem has joined #maemo12:01
*** LauRoman has quit IRC12:21
*** zGrr has joined #maemo12:34
*** _rd has joined #maemo12:38
DocScrutinizer05http://www.bildschirmarbeiter.com/content/images/picdump-15-09-18/picdump-15-09-18-001.png12:48
*** _rd has quit IRC13:08
*** L29Ah has joined #maemo13:14
*** lxp has joined #maemo13:15
*** FlameReaper has joined #maemo13:19
Sicelonaughty Germans!13:34
*** _rd has joined #maemo14:11
*** _rd has quit IRC14:21
Vajbaction packed 9 hours.14:21
*** ecc3g has quit IRC14:36
*** ecc3g has joined #maemo14:43
merlin1991Sicelo: well one in there is from austria ;)14:48
KotCzarnyaren't austrians kind of germans?14:50
WizzupKotCzarny: don't let them hear you say that ;)14:50
KotCzarny:)14:50
MaxdamantusI thought they were osteriches.14:51
*** ssvb has quit IRC14:53
*** _rd has joined #maemo15:15
Sicelohaha Maxdamantus. you're asking for trouble :D15:31
*** xes has quit IRC15:42
*** darkschneider has quit IRC15:44
*** darkschneider has joined #maemo15:44
*** _rd has quit IRC15:48
*** beford has quit IRC16:02
*** ssvb has joined #maemo16:04
*** lobito has quit IRC16:07
*** lobito has joined #maemo16:07
*** xes has joined #maemo16:09
*** arossdotme has quit IRC16:21
*** shentey has joined #maemo16:28
*** arossdotme has joined #maemo16:32
*** shentey has quit IRC16:54
KotCzarny~lcd18:23
infobotmethinks lcd is liquid crystal display.  See http://www.earthlcd.com/ for inexpensive lcd hardware, and http://www.repairfaq.org/filipg/LINK/F_LCD_menu.html for good background information.18:23
KotCzarnyany howto on screen replace for n900?18:23
SiceloL1-2 manual?18:24
KotCzarnyhum18:25
L29Ahinfobot: hey can you google18:25
L29Ahinfobot: google shit18:25
L29Ahi think there must be a video on youtube18:25
*** Sicelo is now known as qhubekela18:27
*** qhubekela is now known as Sicelo18:28
KotCzarnydoh, some idiot screwed the screen with aluminum torx screw18:48
Vajbwhy did it matters?18:49
Vajbor u break the head?18:50
L29Ahb-but it's some milligrams lighter!18:51
KotCzarnyit matters because: im trying to replace bad screen with a good screen, and i dont have torx+ screwdriver atm18:52
KotCzarnyalso, aluminum screws tend to flatout easily18:52
*** florian has quit IRC18:54
Vajbthat is true18:55
Vajbhmm no way to use pliers to remove it?18:55
KotCzarnyum19:00
KotCzarnywill require breaking the plastics, luckily i managed to unscrew it19:00
KotCzarnyValkommen19:00
KotCzarnyanyway, device booting19:01
KotCzarnylets see how much the seller f*cked me up19:01
KotCzarny'good condition without any problems' turned out as: broken screen, empty battery and some sticky goo inside19:06
*** shentey has joined #maemo19:08
KotCzarnybut at least it booted, lets see if i can get any discriminate pictures of the f*cker19:10
buZzwhy dont you have torx screwdrivers :?19:18
KotCzarnybecause i'm at gf's place19:18
buZzseems they are used in a shitton of mobile hw19:18
KotCzarnyluckily in n900 they are only used for motherboard19:19
buZzmy last gf had more tools than me :D19:19
KotCzarny:)19:19
KotCzarnyumkay19:21
KotCzarnymodem chip seems ok19:21
KotCzarnylets see the other things19:22
buZzcan a n900 with broken baseband still work?19:22
buZzi desire a faster replacement for my n800, but refuse to have a GSM19:22
KotCzarnyyes, i have one (the lcd donor) that has modem chip problem19:22
KotCzarnybut it boots and wifi works19:22
buZzcool!19:22
buZzguess i should hunt one :)19:22
KotCzarnyalso, install tablet mode19:23
buZzmaybe drill through modemchip just to be sure19:23
KotCzarnyit turns off gsm chip i think19:23
buZzi analyzed my android with 'airplane mode' on, still does GSM comm19:23
buZzeven without a SIM inside19:23
KotCzarnycheck your n90019:23
buZzi have none19:23
KotCzarnyo.o19:23
buZzjust n800 since couple weeks19:23
buZzfound in someone's estate after they died19:24
KotCzarnybtw. do you listen to music?19:24
ecc3gARRGGGH DIE ANDROID DIE...19:24
buZzlol19:24
ecc3gsorry19:24
buZzKotCzarny: yes :D19:24
KotCzarnybuzz:19:24
KotCzarny~oscp19:24
infobotrumour has it, oscp is http://talk.maemo.org/showthread.php?t=9459019:24
buZzKotCzarny: ooo that was you :D19:24
buZzis it in extra repo?19:24
KotCzarnybuzz: dont remember, should be19:24
buZz*open app manager* *wait until cpu drops off 100%*19:25
buZz:(19:25
KotCzarnyhttp://repository.maemo.org/extras-devel/pool/diablo/non-free/o/oscp/19:25
KotCzarnyjust grab the deb19:25
KotCzarnyumkay, wifi works19:26
KotCzarnyhooray!19:26
buZz\o/19:26
KotCzarnyso that leaves me with 3 fully working n900s and 1 with broken screen/modem chip19:27
KotCzarnystill, not bad. will be good a source of spare parts :)19:27
buZzn900 is also 800x480, isnt it?19:27
KotCzarnyyes19:27
buZz0.9.7-27 ?19:27
buZzof oscp19:27
buZzthats in repo19:28
buZzah yep, latest19:28
KotCzarnydont remember the dependencies, but should be strict system libs19:28
buZzwe'll see :)19:29
buZzwas using the built-in mediaplayer but thats really a HORRIBLE interface19:29
buZzsuch bad19:29
KotCzarnyyes. you will love oscp then19:29
KotCzarnyit has both, ncurses and remote interface19:29
KotCzarnyand example pygtk interface as a clicky gui19:30
*** _rd has joined #maemo19:30
buZzremote interface has a hildon interface?19:30
KotCzarnyno, network interface so you can control oscp-core from pc for example19:30
buZzhmm weird, installing from app manager doesnt work19:30
KotCzarnyor from n900, or another n8x019:30
buZzi'll fix it later19:30
KotCzarnydpkg -i some.deb ?19:30
Siceloand vote when done testing, buZz :p19:32
*** vectis has joined #maemo19:32
buZzvote?19:32
KotCzarnyto move packages from extras-devel into extras19:33
KotCzarnyif package is good and worthy19:33
KotCzarny(and if passes QA, but that's history)19:33
*** _rd has quit IRC19:46
*** ced117 has joined #maemo19:48
*** ced117 has quit IRC19:49
KotCzarnyaudio works.19:49
*** zGrr has quit IRC19:54
*** xray256_ has joined #maemo19:55
*** Oksana has quit IRC19:57
*** xray256 has quit IRC19:57
*** Oksana has joined #maemo19:58
KotCzarnyhmm, packages for n900 should have additional field. battery-drain20:44
Sicelohaha. meaning?20:47
KotCzarnymeaning min/max/avg mA for app20:47
KotCzarnymeasured for 24h20:47
buZzlol20:49
buZzyou mean, for maemo20:49
Siceloi don't know how useful that'd be... some applications, by their function, are already guranteed to take a lot of juice20:50
Sicelothink map applications20:50
buZzor a mp4 video player :P20:51
buZzor quake320:51
KotCzarnysicelo, but minimal would be for idle, maximum for max20:51
KotCzarnythat would help weed out battery vampires20:51
*** FlameReaper has quit IRC20:51
*** florian has joined #maemo20:55
*** futpib has joined #maemo21:00
*** geaaru has quit IRC21:04
*** L29Ah has left #maemo21:09
*** infobot has quit IRC21:10
*** infobot has joined #maemo21:11
*** L29Ah has joined #maemo21:14
*** L29Ah has left #maemo21:24
*** shentey has quit IRC21:24
DocScrutinizer05Sicelo: most are not, and that's why such value is mostly useless. Any decent app's power consumption will usually depend *massively* on user interaction with it. An app that's drawing power while in background is most likely doing sth bad21:25
DocScrutinizer05for those apps that actually draw power even while not inter-*active* it might actually be useful to document *that* they do and how much power they draw21:26
ds3how do you propose to do that?21:27
KotCzarnyibstall app, run for 24h, observe data21:28
DocScrutinizer05however I don't see anybody equipped and willing to do such evaluation. after all you need to do an A/B test with exactly same conditions. IOW let same device rest idle for 24H two times, once with app running and once without. Do that 3 or 4 times, to rule out unrelated and statistical factors (bad weather, poor reception, device getting flooded by pings which you woun't even notice)21:29
ds3but how do you know it is that app and not some other component?21:29
ds3each time I had to look at something like this, the only 'reliable' way is to look at sleep stats for a process21:30
DocScrutinizer05and of course you must make sure that no other apps (IRC!!!) are running during this week of testing on the device21:30
KotCzarnyds3: same default test system21:30
KotCzarnyie. one device just for that21:30
ds3what would you conclude if an app sends out a dbus message then sleeps. the app strictly speaking doesn't draw much/an power but that dbus command can do some power guzzling thing21:31
ds3is that the app that is charged with the power guzzling or not?21:31
KotCzarnyds3, worst offenders are those drawing power in idle21:31
DocScrutinizer05then the question is: which apps would that be that are even _candidates_ for such tests? Obviously only logging apps and online apps qualify, since other apps shouldn't even stand the testing promotion due to eating resources for no obvious reason21:32
ds3KotCzarny: in my example, the app is not drawing power when idle yet from a system point of view, the app started something that is drawing power21:33
KotCzarnyds3: thing is, if you install an app, then you see radical power draw, then it is this app related21:33
KotCzarnyits not perfect, but could be a start21:34
ds3got it, I see which direction you are approaching it from21:34
ds3problem I see with that is it makes it harder to fix the problem (short of removing the app)21:35
KotCzarnybut at least you will know why there is unexpected battery drain21:36
ds3DocScrutinizer05: even off line games would be candidates21:36
ds3seen stuff that redraws too often21:36
DocScrutinizer05that's clearly a loser on testing21:36
DocScrutinizer05see criteria list for apps in maemo-testing21:37
ds3has the CSSU folks looked into sandboxing apps?21:38
DocScrutinizer05*any* app in background MUST NOT (2119) draw any power (or resources except RAM in general) unless it does some updating on other stuff than a timer21:38
DocScrutinizer05no, sandboxing apps is not a concept of maemo21:38
ds3sand boxing in a different way then Android21:39
ds3You can use containers to freeze apps or limit their swapping21:39
ds3that way apps that does draw power can be frozen21:39
KotCzarnyum, can linux do that?21:39
DocScrutinizer05I thought about a gneric system sanity monitor that checks unusual resoure consumption of any kind21:40
DocScrutinizer05and tags the possible causes21:40
ds3(and things like the Browser (microB?) can be put on ice or limited in swapping so it won't render the N900 useless when a bad page loads)21:40
ds3KotCzarny: Linux containers can do stuff like that21:40
KotCzarnyds3: containers as in virtual machines? or something else?21:41
DocScrutinizer05err, for such stuff unix has ulimits and kill21:41
ds32 things that kill me - Modest and MicroB21:41
ds3KotCzarny: not as heavy weight as a full VM21:41
DocScrutinizer05maemo even has OOM21:41
DocScrutinizer05aka OHM21:41
ds3those things kick in too late21:42
DocScrutinizer05then reconfigure them21:42
*** L29Ah has joined #maemo21:42
ds3sometimes I have 30seconds to pull up an old SMS.... if it is busy swapping, I have lost my 30seconds21:42
*** L29Ah has left #maemo21:42
DocScrutinizer05?21:43
*** L29Ah has joined #maemo21:43
DocScrutinizer05when you have problems "pulling up old SMS" you probably should delete your eventsdb21:43
ds3Modest/MicroB winds up using 95% of the memory so to do anything else you have to wait for them to page out21:43
ds3the problem is I cannot get to conversations to try to pull it out21:43
DocScrutinizer05yes, web browsers are a pest, or rather 'modern' webpages are (and those twits that code them). Anyway that seems to be fixable with a simple ulimit, no?21:45
ds3Modest seems to have a memory leak (AFAICT)... combine that with a web page being open and I am in deep crap21:45
ds3ulimit kills things21:45
ds3i want to be able to change the swap policy on just the browser (which is what you can do with containers)21:45
DocScrutinizer05how would that help?21:45
KotCzarnyor configure browser to use smaller mem cache?21:45
DocScrutinizer05we already have swap pressure 10021:46
ds3the browser can be forced to lagged more (more pre-emptive paging out)21:46
ds3the other stuff has a better chance of not having to wait for free mem before it can page in/start21:46
DocScrutinizer05and no, afaik a task doesn'T get killed when it runs into mem ulimit. It simply gets a 'out of memory' return code on malloc. At least that's what I'd expect to happen21:47
ds3put it another way- the browser can act as if can use no more then 70% of real memory before it pages. (currently, any process can use 100%)21:47
DocScrutinizer05((more pre-emptive paging out)) again, we already have swappiness=10021:47
ds3and most programs kill themselves when malloc returns NULL21:48
KotCzarnyso simply browser needs to know its limits21:48
ds3and ulimit doesn't effect swapping either21:48
KotCzarnyas i said, lower (or disable mem cache)21:48
*** _rd has joined #maemo21:48
ds3KotCzarny: doesn't seem to be useful. tried it.21:48
DocScrutinizer05again, we already have swappiness=10021:48
ds3DocScrutinizer05: that is for the whole system21:49
ds3consider things -21:49
DocScrutinizer05makimum paging-out pressure for all apps21:49
ShadowJKAny paging activity at all will cause enormous latency for the entire system anyway, even if it's just one process causing pageouts21:49
ds3you open a "bad" web page. browser expands to fill all free RAM21:49
ds3now you try to do something else - say start Conversations.21:49
ds3since there is no free RAM, it has to page out enough to load in Conversation == Lag.21:50
ds3what I am say is: put the brower in a container and restrict it to using 70% free RAM.21:50
ds3now if I start Conversations, it will have RAM to start.21:50
KotCzarnyor: write a browser/proxy that converts big images on the fly21:50
ds3what the container does is make the process act as if it had less ram so it swaps out earlier21:51
ds3I am willing to as far as to hook into the UI and put the browser process on ice when it looses focus21:51
ds3(this has bad side effects like background loading of pages stop working)21:52
KotCzarnybecause 'bad site' is usually something with big gallery21:54
KotCzarnybut, if 4000x3000 images got rescaled into 800x600 or something, and there are 8-40 images, it saves quite a big chunk of memory21:55
ds3there are more bad stuff then that21:56
KotCzarnyalso, would require bad sites that just do width=somebignumber21:56
DocScrutinizer05it has way more bad effects, like browser not _freeing_ any memory while frozen21:56
ds3ideally the browser should cooperate. the containers approach is a big hammer21:57
DocScrutinizer05exactly21:57
DocScrutinizer05and browser backend is FOSS, so rewrite it21:57
ds3i wonder if there is performance gains to swapping out to the uSD card instead21:57
ds3<--- not an app guy21:57
Wizzupds3: why not juse use a proper rbac + limits21:57
WizzupI'm allergic to the word "container"21:58
ds3Wizzup: rbac?21:58
Wizzuprole based access control21:58
ds3Wizzup: container in general or container as implemented in Linux?21:58
Wizzupcontainer as in the popular term for container21:58
ds3ah21:58
KotCzarnyanother thing, compressed swap21:58
Wizzupwhere many layers are virtualised, and people think they're safe that way21:58
Wizzupfor example grsec's rbac is awesome21:58
ds3the container stuff in Linux would give you a form of rbac21:59
WizzupI don't think that's an rbac21:59
Wizzupjust virtualisation21:59
ds3if I had the time, I woudl shove all of android in a container ;)21:59
Wizzupselinux, apparmor and grsec's rbac are rbacs21:59
DocScrutinizer05I guess the overhead would be higher than the gain21:59
Wizzupgenerally, rbacs do not have a large impact on speed21:59
ds3Wizzup: I have a looser definition of 'role'21:59
ds3selinux is too painful to configure in a useful way. lots of finegrain controls and lots of headaches22:00
Wizzupselinux is bloat, yes22:00
ds3it comes down to is - the real world and the CS theories being taught is not quite compatible22:00
WizzupI don't believe that shit22:01
ds3but since new CS grads are cheap, we have lots of crappy SW22:01
*** L29Ah has left #maemo22:01
ds3Wizzup: I mean writing a policy for selinux is very painful22:01
Wizzupgrsec's rbac - https://en.wikibooks.org/wiki/Grsecurity/The_RBAC_System /22:01
Wizzupds3: yes, I gave selinux as an example of rbac, not my suggested rbac22:01
DocScrutinizer05why not just LD_PRELOAD-patch malloc (and whatever does handle page faults) for processes you want to make more "swappy"22:01
Wizzupld preload is unsafe22:02
*** ced117 has joined #maemo22:02
DocScrutinizer05unsafe22:02
WizzupI mean, if you know what you're running, you can use ldp22:02
DocScrutinizer05oh well22:02
Wizzupfor all container purposes it is not22:02
Wizzups/container/containing/ I guess22:02
ds3ld preload fails under many conditions22:02
DocScrutinizer05whatever, afk22:03
Wizzupds3: I don't think that it makes sense to create virtual worlds where $app can do whatever it wants, and then say it's safe because likely the virtual world is isolated enough22:03
DocScrutinizer05busy bringing 1GB RAM to that OS22:03
WizzupDocScrutinizer05: yay!22:03
ds3Mr Bringing a Bigger Hammer ;)22:03
Wizzuphaha22:03
ds3more RAM == more power usage ;)22:04
WizzupDepends on the efficiency22:04
KotCzarnyi wonder if n900's ram chip could be resoldered with something bigger22:04
ds3unless someone wants to port the ram bank power management patches22:04
ds3KotCzarny: yes. but the trick is finding one and getting it initialized correctly22:04
KotCzarnyi remember old wrt54g had such feature if auto configuring bigger chip22:05
DocScrutinizer05anyway swapping takes ages. When you want brwoser to start earlier with swapping, I'd actually prefer it getting killed on malloc right away22:05
ds3the bootloader needs to shove in right timings or the memory controller won't be happy22:05
KotCzarnyor swap out its mem cache in big contiguous chunks22:06
DocScrutinizer05as soon as you bring it to background, it's supposed to swap out everything anyway22:06
DocScrutinizer05ds3: we did22:07
DocScrutinizer05and power consumption is not THAT bad22:07
ds3DocScrutinizer05: is that source renewable or a lifetime buy?22:08
DocScrutinizer05LPDDR is pretty humble in idle mode22:08
DocScrutinizer05well, who knows22:08
ds3I remember the guys doing that patch had numbers that indicated noticeable savings22:08
DocScrutinizer05right now I could get another 200022:08
ds3DocScrutinizer05: is that the end of it? (the other 2000)22:09
DocScrutinizer05dunno22:09
ds3if it is a bootloader compatible piece, I am tempted to rework an N90022:09
DocScrutinizer05I bet there are more22:09
ds3the hardest part should be removing the cans22:09
DocScrutinizer05no22:10
ds3?22:10
DocScrutinizer05cans are easy. PoP is hard22:10
ds3what's the harder problem besides re-POP'ing?22:10
ds3POP is easy. done it on the Beagle already22:10
ds3:D22:10
DocScrutinizer05we too22:11
ds3just can't do it too many times or PCB delaminates22:11
KotCzarnydo i have to take out sim for reflash or it doesnt matter?22:11
DocScrutinizer05I sent some 3 chips to a guy who planned to rework his N900. Never again heard of him22:11
KotCzarny~flashing22:12
infobotrumour has it, maemo-flashing is http://wiki.maemo.org/Updating_the_tablet_firmware, or - on linux PC - download&extract http://maemo.cloud-7.de/maemo5/patches_n_tools/maemo-my-private-workdir.tgz, cd into it, do sudo ./flash-it-all.sh22:12
ds3*shrug*22:12
DocScrutinizer05we have 2 BB-xM with 1GB RAM22:13
DocScrutinizer05and yes, bootloader was a mess to get right22:13
ds3is that 1GB RAM or 1GB RAM + NAND?22:13
DocScrutinizer05have fun doing that to NOLO22:13
DocScrutinizer051GB + 512MB22:14
ds3oops, thought you meant the chip is understood by NOLO already22:14
ds3blah22:14
ds3didn't the 3730 use the EMIF?22:14
DocScrutinizer05NOLO is completely opaque22:14
DocScrutinizer05EMIF?22:15
ds3(vs the 3430 using the SDRC)22:15
ds3the ram controller block22:15
DocScrutinizer05I think there's no difference22:15
ds3uboot handles both, IIRC22:15
DocScrutinizer05yes, uBoot handles it, after quite some patching22:16
ds3eh? it should be in one header file22:16
DocScrutinizer05NOLO though...22:16
DocScrutinizer05ask freemangordon22:17
DocScrutinizer05I didn't follow what was the problem. Think we had 2 or 3 of them22:17
DocScrutinizer05I sort of understood the problem back when I read the sourcecode. Now I can't recall anymore22:18
DocScrutinizer05cheers22:18
DocScrutinizer05o/22:18
ds3yep it is the same SDRC22:19
*** robink_ is now known as robink22:20
*** L29Ah has joined #maemo22:32
KotCzarnyactually, n900 with 512-1024M of ram would rock22:35
Wizzupalmost like the neo90022:36
Wizzupoh wait :)22:36
KotCzarnybut much cheaper ;)22:36
*** L29Ah has left #maemo22:37
*** L29Ah has joined #maemo22:39
KotCzarnyflashing, always full of suspense22:45
* Maxdamantus suspects the RAM issue on a browser can be solved simply enough by setting a ulimit on a multi-process browser.22:50
Maxdamantus(one that handles subprocesses crashing, that is)22:51
MaxdamantusChromium, Firefox with Electrolysis, ..22:52
*** LauRoman has joined #maemo22:56
*** L29Ah has left #maemo23:04
*** L29Ah has joined #maemo23:06
*** L29Ah has left #maemo23:15
*** L29Ah has joined #maemo23:16
*** L29Ah has left #maemo23:24
*** _rd has quit IRC23:43
*** _rd has joined #maemo23:45

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