freemangordon | Pali: going to edit that wiki page | 00:19 |
---|---|---|
Pali | ok | 00:19 |
freemangordon | Pali: done, I added a note to shutdown-reboot-patch.diff ,"only the part that fixes pm.c is applicable, as USB hostmode is disabled " | 00:28 |
Pali | ok | 00:28 |
sixwheeledbeast | powertop is in non-free due to only having a binary | 00:35 |
freemangordon | sixwheeledbeast: yep, but there are rumors that it is GPLed ;) | 00:36 |
sixwheeledbeast | http://ftp.debian.org/debian/pool/main/p/powertop/ | 00:45 |
freemangordon | sixwheeledbeast: that's Intel's powertop | 00:46 |
sixwheeledbeast | mmm | 00:48 |
*** Pali has quit IRC | 00:56 | |
*** Martix has quit IRC | 01:14 | |
*** kolp has quit IRC | 01:23 | |
sixwheeledbeast | so there are more than one version of powertop? | 01:24 |
*** xes has quit IRC | 01:28 | |
*** BCMM has quit IRC | 01:51 | |
*** okias has joined #maemo-ssu | 02:14 | |
*** jonwil has joined #maemo-ssu | 03:13 | |
*** dos1 has quit IRC | 03:14 | |
*** okias has quit IRC | 03:35 | |
*** M4rtinK has joined #maemo-ssu | 03:41 | |
*** nox- has quit IRC | 03:41 | |
*** M4rtinK has quit IRC | 03:57 | |
*** amiconn has quit IRC | 05:58 | |
*** amiconn_ has joined #maemo-ssu | 05:58 | |
*** amiconn_ is now known as amiconn | 05:58 | |
*** M13 has joined #maemo-ssu | 06:38 | |
*** M13 has quit IRC | 08:42 | |
freemangordon | sixwheeledbeast: yes. Intel's powertop doesn't help much on ARM, at least that was the case the last time I've checked it | 09:07 |
DocScrutinizer05 | well, since ARM is not an intel product, that's not really surprising | 09:09 |
freemangordon | sure | 09:09 |
DocScrutinizer05 | I also start frowning when I hear "Lennart's PA is better than Nokia's PA" | 09:20 |
DocScrutinizer05 | Nokia for sure didn't patch PA for NIH reasons | 09:20 |
freemangordon | afaik nokia's patches were meant to be upstreamed | 09:21 |
DocScrutinizer05 | there been quite a number of problems with PA (no surprise after all, eh?) and Nokia applied patches to fix those issues | 09:21 |
DocScrutinizer05 | At OM we discarded PA all together since it didn't work at all | 09:23 |
*** l4m3rx has quit IRC | 09:24 | |
DocScrutinizer05 | Nokia been already more brainwashed by the Lennart&RH propaganda and obviously thought PA is a mandatory component to provide functions that allegedly were not available in ALSA | 09:24 |
DocScrutinizer05 | I wish they were more brave and had refused to include PA at all | 09:25 |
DocScrutinizer05 | if they had invested same amount of bugfixing and coding extensions to ALSA that they did to PA, they had ended with a better audio system | 09:26 |
sixwheeledbeast | freemangordon: DocScrutinizer05: Yes, but there are armel builds in the link from debian and the full source. | 09:31 |
DocScrutinizer05 | so what? the design still is for intel processor | 09:35 |
DocScrutinizer05 | honestly, compare powertop output/interface of your PC's (intel) powertop with that of N900 | 09:37 |
DocScrutinizer05 | you won't find much they have in common | 09:37 |
DocScrutinizer05 | well, ok, a cerain similarity is there, but still the ARM CPU/SoC is pretty different to a PC ISA architecture | 09:39 |
DocScrutinizer05 | iirc FatPhil said he's about to rewrite a ARM powertop in a scripting language, like perl or whatever | 09:40 |
jonwil | Would using ALSA have allowed Nokia to use all their proprietary audio algorithms and still have been able to keep them closed source? | 09:41 |
freemangordon | DocScrutinizer05: BTW, the problem we have with powertop and KP seems to be because a bug in powertop - it tries to map CPU c-states to frequencies, which is plain wrong IMO | 09:43 |
*** l4m3rx has joined #maemo-ssu | 09:43 | |
sixwheeledbeast | they have a build for most architectures which seems stupid if they don't work. | 09:44 |
jonwil | you have to remember that a lot of what Nokia did in the audio system for Fremantle was connected to the need to use these algorithms and the desire to keep things closed | 09:44 |
freemangordon | DocScrutinizer05: I don;t see how's c-state could be related to cpu freq | 09:46 |
freemangordon | *hore | 09:46 |
freemangordon | *how | 09:46 |
freemangordon | :( | 09:46 |
DocScrutinizer05 | jonwil: same as with PA | 09:50 |
DocScrutinizer05 | freemangordon: what makes you think it maps freq to C state? | 09:51 |
DocScrutinizer05 | the fact that Cstate table and fre-table share same rows n printout doesn't mean they are related or linked in any direct way | 09:53 |
freemangordon | DocScrutinizer05: exactly | 09:53 |
DocScrutinizer05 | so what? | 09:54 |
freemangordon | DocScrutinizer05: i am looking at what powertop does | 09:54 |
DocScrutinizer05 | powertop doesn't try to map anytjhing there - you do | 09:54 |
freemangordon | DocScrutinizer05: run powertop and see the columns in the first table it prints | 09:54 |
DocScrutinizer05 | guess what I did 3 min ago | 09:55 |
freemangordon | see http://pastebin.com/5Zwj4Naw | 09:55 |
DocScrutinizer05 | the fact that Cstate table and fre-table share same rows n printout doesn't mean they are related or linked in any direct way | 09:55 |
freemangordon | DocScrutinizer05: sure, that is what I am sayng | 09:55 |
DocScrutinizer05 | no, that's exactly what you're denying | 09:56 |
DocScrutinizer05 | you're assuming the opposite | 09:56 |
freemangordon | DocScrutinizer05: could be my english, but that is what I tried to say :) | 09:56 |
DocScrutinizer05 | you're implying that powertop somehow maps them internally, since it displays them in same section of prntout | 09:56 |
DocScrutinizer05 | that's no bug in powertop, that's at best a cosmetic flaw | 09:57 |
DocScrutinizer05 | in printout formatting | 09:57 |
DocScrutinizer05 | sorry, have to pause - vision impairing issue | 09:57 |
freemangordon | DocScrutinizer05: it uses the same for() loop variable to print c-states and frequensies | 09:57 |
DocScrutinizer05 | can't read anymore | 09:57 |
* freemangordon is out too | 09:58 | |
DocScrutinizer05 | so what? for (n=1; n<10; n++) printf("linenumber %d | cstate %d | freq %d", n, cs[n], f[n]); nothing wrong with that | 10:01 |
DocScrutinizer05 | doesn't mean cn[] and f[] are linked/entangled in any way | 10:02 |
DocScrutinizer05 | tbh I dont see any other obvious and straight way to implement this | 10:12 |
DocScrutinizer05 | since the running var is "linenumber" and not anything relevant for the properties of Cstate or CPUfreq | 10:13 |
DocScrutinizer05 | the only "bug" I can see is: make 3rd "|" a "|||" | 10:14 |
DocScrutinizer05 | and probably the true "bug" in powertop with KP is that powertop isn't prepared to have an array with >4 items for CPU-freq[], ot maybe the parser for sysfs node content is not prepared to parse the output provided by KP | 10:18 |
DocScrutinizer05 | this is however *completely* unrelated to C-states I'd think | 10:20 |
*** LaoLang_cool has joined #maemo-ssu | 10:20 | |
DocScrutinizer05 | C-states are not related to CPUfreq, neither in real life nor in powertop, they just happen to get printed in neighbourhood of the CPU-freq table | 10:21 |
DocScrutinizer05 | and tbh I'm not all sure it's any bug in powertop (iirc powertop actually prints all the available freq but their value is "NAN" for the 'new' ones), it might as well be a bug in sysnode format of powerkernel which maybe prints the new freq not in a way that they are supposed to and expected by powertop | 10:24 |
DocScrutinizer05 | arbitrary made-up(!) example: when sysnode now has content like " freq:2:500:600 values:2:20:80" and powertop changes that to " freq:3:500:600:800 values:2:20:70:10" then it would clearly be KP to blame since the second format is incorrect, it doesn't set correct number of fields for "values" (2 instead of a correct 3) | 10:30 |
DocScrutinizer05 | s/powertop/KP/ | 10:30 |
infobot | DocScrutinizer05 meant: arbitrary made-up(!) example: when sysnode now has content like " freq:2:500:600 values:2:20:80" and KP changes that to " freq:3:500:600:800 values:2:20:70:10" then it would clearly be KP to blame since the second format is incorrect, it doesn't set corr... | 10:30 |
*** Pali has joined #maemo-ssu | 10:31 | |
FatPhil | Open source powertop replacement: http://fatphil.org/linux/maemo/index.html#zzztop | 10:53 |
FatPhil | Reverse engineered from scratch using "strace" and nothing else. | 10:53 |
FatPhil | Doesn't do everything the nokia one does, but it should be easy to extend | 10:54 |
FatPhil | I split the C-states and frequency tables, there was no need to combine them into one tale. | 10:56 |
FatPhil | Also more friendly for the output on 8-core systems | 10:56 |
*** LaoLang_cool has quit IRC | 11:00 | |
*** kolp has joined #maemo-ssu | 11:08 | |
Pali | freemangordon: kcssu wiki page updated | 11:29 |
*** Martix has joined #maemo-ssu | 11:31 | |
*** LauRoman has quit IRC | 12:03 | |
*** M13 has joined #maemo-ssu | 12:07 | |
DocScrutinizer05 | FatPhil: are there tabs in http://fatphil.org/linux/maemo/zzztop.pl.txt ? formating/indenting looks odd at least in my browser | 12:26 |
Sicelo | looks good in IE :p | 12:28 |
DocScrutinizer05 | look at | 12:29 |
DocScrutinizer05 | sub xtime { | 12:29 |
DocScrutinizer05 | open(S, "</proc/stat"); | 12:29 |
DocScrutinizer05 | negative indentation | 12:30 |
Sicelo | also looks fine | 12:30 |
DocScrutinizer05 | yeah, in FF it looks fine, in konqueror not - I assume that's due to my different tab width | 12:31 |
Sicelo | and, btw, just a work computer. i run linux on my personal one ;) | 12:31 |
DocScrutinizer05 | that's why I asked if there are tabs in there | 12:31 |
DocScrutinizer05 | I strongly suggest to not use tabs at all in sourcecode | 12:32 |
DocScrutinizer05 | http://privatepaste.com/f3559dd1ea | 12:37 |
Pali | DocScrutinizer05: why not use tabs? | 12:41 |
Pali | I suggest to use tabs | 12:41 |
Pali | because your editor and you can see TABS (which are use for indentation) and LOT OF SPACES (used where are spaces really needed) | 12:41 |
DocScrutinizer05 | because tabs are not defined | 12:41 |
Pali | defined? | 12:42 |
*** BCMM has joined #maemo-ssu | 12:42 | |
Pali | they are in ASCII table | 12:42 |
DocScrutinizer05 | actually tabstops are not defined globally | 12:42 |
Pali | they are difined | 12:42 |
Pali | what is tabstops? | 12:43 |
DocScrutinizer05 | yeah, see? | 12:43 |
DocScrutinizer05 | what is tab? | 12:43 |
DocScrutinizer05 | tell me what tab does | 12:43 |
kerio | '\t', duh | 12:43 |
Pali | tab is 9th char in ascii table | 12:44 |
DocScrutinizer05 | every smart editor can user a 3 or 4 or 6 or 8 spaces as representation of a tab in text | 12:44 |
DocScrutinizer05 | Pali: I didn't ask which cahr in ascii table is called "tab", I asked what you think it DOES | 12:45 |
Pali | but this representation is not bijektion | 12:45 |
jon_y | I think there is also vertical tab | 12:45 |
kerio | i think his idea is to use tab to indent and then space to align | 12:45 |
DocScrutinizer05 | sorry? | 12:45 |
kerio | but that never works in practice, really | 12:46 |
jon_y | ewww, mixed | 12:46 |
jon_y | I just use space, everywhere all the time :) | 12:46 |
DocScrutinizer05 | exactly | 12:46 |
DocScrutinizer05 | only sane way | 12:46 |
DocScrutinizer05 | actually your editor does that for you | 12:46 |
jon_y | I mean, you can't escape using spaces | 12:47 |
jon_y | so don't use tabs | 12:47 |
DocScrutinizer05 | by inserting 4 or 8 spaces for each time you press tab key | 12:47 |
jon_y | unless you are in python | 12:47 |
jon_y | DocScrutinizer05: assuming your editor isn't retarded :) | 12:47 |
DocScrutinizer05 | why would I use a retarded editor? | 12:47 |
Pali | if you get some file (source code) you do not know 1) how many spaces are used for one indentation and also 2) you do not know if this N spaces are indentation or not | 12:48 |
jon_y | more like vi settings that need to be fixed | 12:48 |
DocScrutinizer05 | Pali: sorry? | 12:48 |
kerio | jon_y: no, you *always* use spaces in python | 12:48 |
kerio | or guido will haunt you at night | 12:49 |
jon_y | I thought python uses tabs? | 12:49 |
kerio | ewww | 12:49 |
kerio | that would be horrible | 12:49 |
Pali | that mapping is some kind of homomorphism | 12:49 |
jon_y | I don't normally do python though | 12:49 |
kerio | it supports them for backwards compatibility | 12:49 |
jon_y | yes, tab is syntax in python | 12:49 |
DocScrutinizer05 | Pali: seems you are describing exactly what I'm facing with that zzztop source, where the tab stop definition (number of spaces equaling one tab) is not in line with what I use locally | 12:49 |
kerio | and it parses them *always* as 8 spaces | 12:49 |
DocScrutinizer05 | Pali: that's why you shouldn't use tabs ever | 12:49 |
kerio | tab is not syntax in python | 12:50 |
kerio | indentation is syntax | 12:50 |
kerio | and it's preferrable to indent with 4 spaces | 12:50 |
kerio | following PEP8 | 12:50 |
jon_y | ok, so you are screwed if your editor fixes it to 4 spaces? | 12:50 |
Pali | DocScrutinizer05: if you always use TABS you can configure editor to show TABs to number of spaces you want | 12:50 |
jon_y | or even 2 spaces | 12:50 |
kerio | if you only use tabs to indent, no | 12:50 |
kerio | but **use spaces** | 12:50 |
Pali | and if TABs are used only for indentation, it does not matter to number of spaces | 12:50 |
DocScrutinizer05 | Pali: see zzztop | 12:51 |
Pali | and TABs are used only for indenatation... | 12:51 |
DocScrutinizer05 | it using 4 spaces, one tab, one tab + 4 spaces, 2 tabs | 12:51 |
Pali | DocScrutinizer05: in zzztop is another problem: mixing TABS and SPACES | 12:51 |
Pali | and you cannot mix it, becuase it really cause problems... | 12:52 |
DocScrutinizer05 | my tab is set to 3 chars tabstop | 12:52 |
Pali | but if you always use *only* TABS for indentation, it does not matter how many chars have tabstop | 12:52 |
DocScrutinizer05 | since with the usual 8, most sources fall off right side of my screen | 12:53 |
*** M4rtinK has joined #maemo-ssu | 12:53 | |
DocScrutinizer05 | Pali: yes, that's correct | 12:53 |
Pali | :-) | 12:53 |
Pali | problem with spaces is that 1) somebody want to use other chars for tabstop and 2) you do not know if N spaces is indention or something other (where N spaces are really needed and it is not indentation) | 12:54 |
Pali | when using TABs you can set chars for tabstop as you want and nothing will break | 12:55 |
DocScrutinizer05 | hmm, citation needed. Couldn't think of such case | 12:55 |
Pali | of what? | 12:55 |
DocScrutinizer05 | spaces really needed | 12:55 |
Pali | aesthetic comments (4TABS for indentation + 5 spaces) | 12:56 |
Pali | or using HERE DOCUMENT in bash | 12:56 |
Pali | (also in perl __DATA__ section) | 12:57 |
DocScrutinizer05 | but basicaly we agree, FatPhil should set his tabstop/tabwidth to 4 and use only tabs instead of a mixed scheme that indents by 4 using spaces and 8-tab mixed | 12:57 |
Pali | or multiline string definitions in more programming languages where in string are lot of spaces | 12:57 |
Pali | and specially at begining of line | 12:57 |
Pali | in all these cases editor *must* fully know formal language grammer to know that 8 spaces of begining of line are really spaces (because this is multiline string) and not indentaion | 12:58 |
DocScrutinizer05 | ok, with const definitions of strings or whatever, you might run into trouble when your editor treats 4 spaces as if it were one tab | 12:59 |
DocScrutinizer05 | in very rare cases | 12:59 |
Pali | __DATA__ in perl is not rare | 12:59 |
Pali | and here document in bash too! | 12:59 |
DocScrutinizer05 | well, but editor messing with those in a way you don't like is highly unlikely | 13:00 |
DocScrutinizer05 | unless you need a real TAB there and your editor converts it into spaces | 13:00 |
Pali | every editor which converting tabs and spaces *always* messed all perl or bash code which I edited | 13:01 |
Pali | (code with here document) | 13:01 |
DocScrutinizer05 | well, when you're editing a source done by another editor and you tell your editor to *convert* it to a tab-only or space-only format, then sure you always run into trouble | 13:02 |
DocScrutinizer05 | but when I write a here-document and I use 8 space at start of line, then how's the editor going to interfere with that? | 13:03 |
Pali | DocScrutinizer05: look at here document bash syntax or perl __data__ section | 13:03 |
DocScrutinizer05 | why? | 13:03 |
DocScrutinizer05 | I know what's a here-document | 13:03 |
Pali | ok | 13:04 |
Pali | so problem is that editor internally think that 8 spaces are indentation | 13:04 |
DocScrutinizer05 | the editor doesn't think anything | 13:04 |
DocScrutinizer05 | the editor inserts 8 spaces when you hit tab key | 13:04 |
DocScrutinizer05 | that's it | 13:04 |
Pali | some even more evil editors doing that it convert TABs to 8 spaces when editing that part | 13:05 |
DocScrutinizer05 | and when you hit backspace on end of a sequence of 8 spaces, then it deletes 8 instead of 1 space | 13:05 |
Pali | so if you have code with here document where is TAB and you will start editing that line, some editors automatically convert all TABs on that line to spaces | 13:05 |
Pali | [12:05:42] <DocScrutinizer05> and when you hit backspace on end of a sequence of 8 spaces, then it deletes 8 instead of 1 space >>> this is another problem | 13:06 |
Pali | I want to remove only one space... | 13:06 |
DocScrutinizer05 | well, that is what I said above, when you're telling your editor to *convert* then yes, you will possibly run into trouble | 13:06 |
Pali | I saw more editors which have this default behaviour | 13:06 |
Pali | and I'm fed up that this is default on more systems editor (e.g. kde kate) | 13:07 |
DocScrutinizer05 | Pali: depending on your editor you then either use a special key macro to delete only one space instead of 8, or you delete 8 char pseudo-tab, then insert 7 space instead | 13:07 |
Pali | and kde kate has other stupid default behavious: when you press TAB it insert 4 spaces. But when there are 8 spaces it replace it by \t char | 13:08 |
DocScrutinizer05 | now THAT is buggy | 13:08 |
Pali | DocScrutinizer05: right, but I do not want to start configuring new editor (on not my machine) if I need to edit some code... | 13:08 |
DocScrutinizer05 | that is terribly buggy | 13:08 |
Pali | and learning for that sepcial key macro... | 13:08 |
DocScrutinizer05 | sure | 13:09 |
Pali | DocScrutinizer05: yes, all this is buggy.... | 13:09 |
Pali | so this is reason why I want working TAB and not some buggy editor... | 13:09 |
Pali | which doing some autoconversion, but do not understand full BASH formal grammer... | 13:09 |
DocScrutinizer05 | so, you convinced me best is to use \t *only*, for indentation. Second best is to use spaces *only* | 13:10 |
Pali | yes | 13:10 |
DocScrutinizer05 | using space and \t mixed is prone to mess up | 13:10 |
Pali | yes big mess and thanks to more editors it is default options.... | 13:11 |
DocScrutinizer05 | :-/ | 13:11 |
DocScrutinizer05 | use edlin! | 13:12 |
DocScrutinizer05 | ;-P | 13:12 |
Pali | I'm using vim :-) and here I can configure what I want | 13:12 |
Pali | and I belive that configuration for TABs in vim will not be moved to another name (or config dialog :-) where to configure it | 13:12 |
Pali | funny editors which changing design every version changing also all config options in config dialog | 13:13 |
Pali | and always it is hard to find where is TAB configuration... | 13:13 |
Pali | vim should not change this config :P | 13:13 |
DocScrutinizer05 | well, if vim had a less steep learning curve, it would be a really great editor | 13:17 |
*** BCMM has quit IRC | 13:26 | |
*** BCMM has joined #maemo-ssu | 13:29 | |
FatPhil | DocScrutinizer05: there are tabs. I use emacs, TAB indents the line to style (default perl style) using a mixture of tabs and spaces. I never manually do any indentation. | 13:30 |
DocScrutinizer05 | yeah, however it's quite probelmatic for any other editor or viewer | 13:33 |
DocScrutinizer05 | I'd suggest sed 's/\t/ /g;s/ /\t/g' zzztop.pl.txt | 13:36 |
DocScrutinizer05 | err | 13:36 |
DocScrutinizer05 | I'd suggest sed 's/^([[:space:]]*)\t/\1 /g;s/^([[:space:]]*) /\1\t/g' zzztop.pl.txt | 13:38 |
DocScrutinizer05 | actualy I think you need to split that into two sed runs, since sed doesn't work on own result buffer afaik | 13:40 |
DocScrutinizer05 | I'm quite stunned that emacs is shipping with such broken macros | 13:42 |
DocScrutinizer05 | FatPhil: on another related topic, prolly more serious: http://privatepaste.com/f3559dd1ea | 13:43 |
DocScrutinizer05 | FatPhil: I downloaded the file with wget | 13:44 |
FatPhil | shit | 13:46 |
FatPhil | THat file I grabbed from my old laptop before leaving. | 13:46 |
FatPhil | I did leave in a bit of a rush, but I don't remember any changes since the stable version I was testing everywhere. | 13:47 |
FatPhil | runs fine on my desktop | 13:47 |
FatPhil | and my server | 13:49 |
DocScrutinizer05 | well, in line 483 there's actually a " // ", and in line 506 there's a "/" | 13:50 |
DocScrutinizer05 | whatever that means | 13:50 |
DocScrutinizer05 | nfc abour perl here | 13:50 |
DocScrutinizer05 | about* | 13:50 |
DocScrutinizer05 | perl version? | 13:51 |
FatPhil | I'm 5.10, // is a bit like || | 13:51 |
DocScrutinizer05 | seems my perl thinks it's a "multi-line // string" | 13:52 |
DocScrutinizer05 | no idea what perl version takes effect on N900, I just noticed some perl5.8.3 | 13:54 |
DocScrutinizer05 | IroN900:~# ll `which perl5.8.3 ` | 13:54 |
DocScrutinizer05 | -rwxr-xr-x 2 root root 10708 2010-09-01 15:08 /usr/bin/perl5.8.3 | 13:54 |
DocScrutinizer05 | IroN900:~# ll `which perl` | 13:55 |
DocScrutinizer05 | -rwxr-xr-x 2 root root 10708 2010-09-01 15:08 /usr/bin/perl | 13:55 |
FatPhil | Just tweaked it to use || instead, thanks for but report, portability is my goal | 13:56 |
FatPhil | s/but/bug/ | 13:56 |
infobot | FatPhil meant: Just tweaked it to use || instead, thanks for bug report, portability is my goal | 13:56 |
DocScrutinizer05 | for the life of mine I can't figure what "" my $prevals = $pre->{$p} // [0,0]; "" means | 13:57 |
DocScrutinizer05 | :-) | 13:58 |
*** lizardo has joined #maemo-ssu | 13:58 | |
DocScrutinizer05 | I just know I'd like to own all the $$$ in all those perl sources ;-) | 13:58 |
DocScrutinizer05 | FatPhil: so you suggest to s@//@||@ ? | 14:00 |
DocScrutinizer05 | yeah, seems to work \o/ | 14:01 |
DocScrutinizer05 | wow, that's mad useful! | 14:03 |
DocScrutinizer05 | kudos FatPhil | 14:03 |
FatPhil | yup, that's the only change I made | 14:04 |
DocScrutinizer05 | great stuff | 14:04 |
DocScrutinizer05 | :-D | 14:04 |
FatPhil | I realise now, I probably only ever tested it on n950 and a galaxy. | 14:05 |
DocScrutinizer05 | I'd probably list all alternative values, even when 0 | 14:05 |
DocScrutinizer05 | seems I've seen a var (const?) regarding that? | 14:06 |
DocScrutinizer05 | -a ? | 14:06 |
DocScrutinizer05 | hihihihi | 14:07 |
DocScrutinizer05 | IroN900:~# ./powertop.pl -a -s=0 -t= 5 WARNING: Only low accuracy timing available .Detected 1 cpu sDetected 4 cpuidle states (3 )Sleeping for 0 seconds before collecting data for 5 second s Illegal division by zero at ./powertop.pl line 506. | 14:07 |
DocScrutinizer05 | ;-) | 14:08 |
DocScrutinizer05 | yeah, I like the -a parameter | 14:08 |
FatPhil | Aha - I never expected -s=0, as you always want the system to quiesce | 14:11 |
DocScrutinizer05 | I tried to figure how to make $calibrate=0; when $sleep==0; but I give up on perl syntax | 14:12 |
DocScrutinizer05 | (line 504) | 14:12 |
FatPhil | Seems like we can just ignore calibration when -s=0. fixed, just grab again. | 14:13 |
FatPhil | perl's pretty cranky. I've been using it nearly 20 years, and I forget how alien is sometimes is | 14:14 |
DocScrutinizer05 | indeed, scary stuff | 14:15 |
DocScrutinizer05 | \o/ | 14:17 |
DocScrutinizer05 | wget http://fatphil.org/linux/maemo/zzztop.pl.txt -O powertop.pl | 14:17 |
* DocScrutinizer05 frowns at .pl suffix | 14:17 | |
* DocScrutinizer05 suggests officially calling it fpowertop | 14:18 | |
DocScrutinizer05 | to distinguish from powertop | 14:18 |
FatPhil | well, zzztop distinguishes it even more! | 14:18 |
DocScrutinizer05 | if that's what you want it to get called | 14:19 |
DocScrutinizer05 | that's not in line with your "howto2 though | 14:19 |
DocScrutinizer05 | any mental hint on why it's called zzztop? | 14:20 |
DocScrutinizer05 | zzz like zzZZzz ? | 14:20 |
DocScrutinizer05 | I thought fp was a nice initials of fpowertop | 14:21 |
FatPhil | Zzz.. = sleeping | 14:21 |
DocScrutinizer05 | where fp could mean FatPhil, but f could also mean "fixed" | 14:22 |
DocScrutinizer05 | I'm fine with sleeping Zzz | 14:22 |
DocScrutinizer05 | :-) | 14:22 |
DocScrutinizer05 | so, for the sake of our "first level helpdesk hell" over at #maemo, could you fix the minit-howto, so users will have a binary zzztop on their devices? | 14:23 |
DocScrutinizer05 | ~zzztop is http://fatphil.org/linux/maemo/index.html#zzztop - the better and even FOSS powertop | 14:24 |
infobot | okay, DocScrutinizer05 | 14:24 |
DocScrutinizer05 | Just save the source as powertop.pl --> Just save the source as zzztop | 14:25 |
FatPhil | that comment I wrote about half an hour before I woke up this morning, after my g/f said "phil, wake up, powertop's being talked about..." | 14:27 |
DocScrutinizer05 | or "root; cd /usr/local/bin; wget wget http://fatphil.org/linux/maemo/zzztop.pl.txt -O zzztop; chmod +x zzztop" | 14:27 |
DocScrutinizer05 | hehehe | 14:27 |
FatPhil | I should really fix the webserver so that it will happily serve .pl files as plain text, then I wouldn't need the .txt extension! | 14:29 |
DocScrutinizer05 | I like to see the .pl extension vanish too ;-) | 14:31 |
DocScrutinizer05 | so no use in fixing webserver | 14:31 |
DocScrutinizer05 | anyway, tested on N900 and approved :-D | 14:33 |
DocScrutinizer05 | FatPhil: thanks a ton! | 14:33 |
FatPhil | np, been meaning to do that for a long time | 14:33 |
DocScrutinizer05 | now we just need somebody to test it on KP ;-P | 14:33 |
DocScrutinizer05 | Pali: freemangordon: ^^^ ? | 14:34 |
DocScrutinizer05 | infobot: zzztop is also ``` root; cd /usr/local/bin; wget wget http://fatphil.org/linux/maemo/zzztop.pl.txt -O zzztop; chmod +x zzztop ยดยดยด | 14:36 |
infobot | DocScrutinizer05: i'm not going to learn illegal characters | 14:36 |
DocScrutinizer05 | idiot | 14:36 |
DocScrutinizer05 | infobot: zzztop is also "" root; cd /usr/local/bin; wget wget http://fatphil.org/linux/maemo/zzztop.pl.txt -O zzztop; chmod +x zzztop "" | 14:36 |
infobot | DocScrutinizer05: okay | 14:36 |
DocScrutinizer05 | ~zzztop | 14:36 |
infobot | i heard zzztop is http://fatphil.org/linux/maemo/index.html#zzztop - the better and even FOSS powertop, or "" root; cd /usr/local/bin; wget wget http://fatphil.org/linux/maemo/zzztop.pl.txt -O zzztop; chmod +x zzztop "" | 14:36 |
DocScrutinizer05 | dang!!! | 14:36 |
DocScrutinizer05 | infobot: no, zzztop is http://fatphil.org/linux/maemo/index.html#zzztop - the better and even FOSS powertop, or "" root; cd /usr/local/bin; wget http://fatphil.org/linux/maemo/zzztop.pl.txt -O zzztop; chmod +x zzztop "" | 14:37 |
infobot | okay, DocScrutinizer05 | 14:37 |
*** mkaindl has quit IRC | 14:39 | |
DocScrutinizer05 | infobot: zzztop is also http://maemo.cloud-7.de/maemo5/usr/local/bin/zzztop | 14:41 |
infobot | DocScrutinizer05: okay | 14:41 |
*** MohammadAG_ has joined #maemo-ssu | 14:42 | |
*** MohammadAG has quit IRC | 14:43 | |
*** MohammadAG_ is now known as MohammadAG | 14:43 | |
*** M13 has quit IRC | 15:00 | |
DocScrutinizer05 | T8.3 out? | 15:04 |
DocScrutinizer05 | our repo ninja hits again ;-P | 15:04 |
DocScrutinizer05 | merlin1991: ping! | 15:10 |
*** dos1 has joined #maemo-ssu | 15:15 | |
l4m3rx | btw it will be nice, to sync the releases of cssu-thumb & cssu-testing. | 15:30 |
DocScrutinizer05 | they should be in sync | 15:37 |
DocScrutinizer05 | actually cssu-thumb is just a layer on top of testing which is a layer on top of stock maemo | 15:37 |
DocScrutinizer05 | pretty hard to communicate | 15:38 |
DocScrutinizer05 | users always seem to think of CSSU like an alternative distro | 15:38 |
*** jonwil has quit IRC | 15:38 | |
*** jonwil has joined #maemo-ssu | 15:39 | |
DocScrutinizer05 | and ask even for weird stuff like "please hanmster instead of maemo filemanager in CSSU" - this is not how it works and not what it's meant to do | 15:39 |
DocScrutinizer05 | l4m3rx: even when cssu-t rolls out a new version, you'll profit on cssu-thumb directly | 15:40 |
DocScrutinizer05 | all update'able stuff from cssu-t gets updated on your cssu-thumb system | 15:41 |
l4m3rx | well... in theory - yes... | 15:41 |
l4m3rx | in real life...i'll avoid updating 'till thumb is out... | 15:42 |
DocScrutinizer05 | which sometimes is a tad of a regression, if cssu-t rolls out a new version of a package that's also living in cssu-thumb in a thombified version | 15:42 |
DocScrutinizer05 | but only then | 15:42 |
DocScrutinizer05 | noting really bad will happen even then, just you lose the thumb-optimizations for a while until freemangordon updated thumb | 15:43 |
l4m3rx | Yes. I''ve been using lnx for 11-12 years now... i pretty much understand it.... the main reason for delaying this update will be, that I need my phone to work 24/7 and that the last time I had bad expirience. | 15:43 |
l4m3rx | For witch I don't blame any1, it just one for those things witch happend sometimes during updates :) | 15:43 |
DocScrutinizer05 | and only on that one package that got an ipdate on cssu-t, possibly for a really good reason, so you might prefer the new cssu-t version over the thombified old version | 15:44 |
l4m3rx | Yes, i agree... that's why I thing delaying cssu-testing 'till cssu-thumb is ready will be good | 15:44 |
DocScrutinizer05 | that's basically not related | 15:45 |
DocScrutinizer05 | I agree on delaying updates until some "quarantine time" expired and the early birds found the bugs | 15:45 |
DocScrutinizer05 | but that applies to thumb as well as it does to testing | 15:46 |
l4m3rx | why is there -devil then? | 15:46 |
l4m3rx | I though -devel was for that. | 15:46 |
l4m3rx | -devel>-testing/-thumb>-stable , isnt that the path of a package? | 15:47 |
DocScrutinizer05 | for developers to test integration of packages. devel packages are *supposed* to be buggy | 15:47 |
DocScrutinizer05 | no | 15:47 |
DocScrutinizer05 | not really | 15:47 |
DocScrutinizer05 | -devel is sandbox/playground | 15:47 |
dos1 | -devel is something like experimental in debian | 15:47 |
DocScrutinizer05 | testing ---> stable is somewhat established concept | 15:48 |
DocScrutinizer05 | everything else is not that clear, and -devel is basically unrelated | 15:48 |
DocScrutinizer05 | and even a package in testing isn'r necessarily ever moving to stable eventually. It might turn out it's not fit for stable by concept | 15:51 |
l4m3rx | That's understandable | 15:51 |
l4m3rx | btw there should be some repo for depressed/removed packages.... and some package clean up from time to time.... | 15:52 |
DocScrutinizer05 | and we actually eventually must start to think about that case, and how to keep testing and stable somehow in sync. Might be necessary to remove packages from testing | 15:52 |
DocScrutinizer05 | removed packages could move to -devel | 15:53 |
DocScrutinizer05 | it's undefined what's in devel, except that it usullay is buggy | 15:54 |
DocScrutinizer05 | no user ever should want to install sth from -devel | 15:54 |
DocScrutinizer05 | only devels install from devel, to debug | 15:55 |
* DocScrutinizer05 waves | 15:56 | |
*** oldtopman has joined #maemo-ssu | 16:01 | |
*** MrPingu has joined #maemo-ssu | 16:24 | |
jonwil | ~seen freemangordon | 16:38 |
infobot | freemangordon is currently on #maemo (22h 22m 6s) #maemo-ssu (22h 22m 6s). Has said a total of 36 messages. Is idling for 6h 40m 23s, last said: 'DocScrutinizer05: it uses the same for() loop variable to print c-states and frequensies'. | 16:38 |
jonwil | freemangordon: ping | 16:40 |
*** Martix has quit IRC | 16:47 | |
*** jonwil has quit IRC | 17:05 | |
*** FlameReaper has joined #maemo-ssu | 17:12 | |
*** oldtopman has quit IRC | 17:30 | |
*** FlameReaper has quit IRC | 17:32 | |
*** okias has joined #maemo-ssu | 17:42 | |
*** lizardo has quit IRC | 17:55 | |
*** NIN101 has joined #maemo-ssu | 18:01 | |
*** arcean has joined #maemo-ssu | 18:33 | |
*** arcean_ has joined #maemo-ssu | 18:38 | |
*** arcean has quit IRC | 18:39 | |
merlin1991 | DocScrutinizer05: pong | 19:05 |
merlin1991 | yeah 8.3 is out | 19:05 |
merlin1991 | changelog will be provided in a few minutes | 19:05 |
*** ChanServ sets mode: +o merlin1991 | 19:06 | |
*** merlin1991 changes topic to "Maemo Community Seamless Software Update "CSSU" channel, http://wiki.maemo.org/Community_SSU | Known bugs: http://j.mp/communityssu-bugs | Channel logs: http://mg.pov.lt/maemo-ssu-irclog/ | Sources: http://gitorious.org/community-ssu/ | Latest version: Testing(2013-10-27): 21.2011.38-1Tmaemo8.3; Stable(2013-01-10): 21.2011.38-1Smaemo6" | 19:07 | |
*** ChanServ sets mode: -o merlin1991 | 19:07 | |
*** FlameReaper has joined #maemo-ssu | 19:11 | |
*** peetah has quit IRC | 19:21 | |
* sixwheeledbeast wishes to note that CSSU-S is "Stable(18.06.2013): 21.2011.38-1Smaemo6.1" | 19:21 | |
*** peetah has joined #maemo-ssu | 19:22 | |
*** ChanServ sets mode: +o merlin1991 | 19:23 | |
*** merlin1991 changes topic to "Maemo Community Seamless Software Update "CSSU" channel, http://wiki.maemo.org/Community_SSU | Known bugs: http://j.mp/communityssu-bugs | Channel logs: http://mg.pov.lt/maemo-ssu-irclog/ | Sources: http://gitorious.org/community-ssu/ | Latest version: Testing(2013-10-27): 21.2011.38-1Tmaemo8.3; Stable(2013-06-18): 21.2011.38-1Smaemo6.1" | 19:23 | |
*** ChanServ sets mode: -o merlin1991 | 19:23 | |
DocScrutinizer05 | tztztztztz | 19:24 |
DocScrutinizer05 | err, nevermind | 19:24 |
*** hbib has joined #maemo-ssu | 19:48 | |
*** MrPingu has quit IRC | 19:54 | |
sixwheeledbeast | DocScrutinizer05: FatPhil: http://privatepaste.com/e6ad4e20cd | 20:13 |
*** MohammadAG_ has joined #maemo-ssu | 20:32 | |
*** LauRoman has joined #maemo-ssu | 20:33 | |
*** MohammadAG has quit IRC | 20:33 | |
*** MohammadAG_ is now known as MohammadAG | 20:33 | |
*** M4rtinK has quit IRC | 20:36 | |
*** Martix has joined #maemo-ssu | 20:39 | |
*** MrPingu has joined #maemo-ssu | 20:42 | |
*** freemangordon has quit IRC | 20:45 | |
*** amiconn_ has joined #maemo-ssu | 21:28 | |
*** amiconn has quit IRC | 21:28 | |
*** amiconn_ is now known as amiconn | 21:28 | |
*** M4rtinK has joined #maemo-ssu | 21:59 | |
*** M4rtinK has quit IRC | 22:26 | |
*** xes has joined #maemo-ssu | 22:42 | |
*** dhbiker has joined #maemo-ssu | 22:42 | |
*** FlameReaper has quit IRC | 22:47 | |
*** FlameReaper has joined #maemo-ssu | 22:47 | |
*** arcean__ has joined #maemo-ssu | 22:57 | |
*** arcean_ has quit IRC | 22:57 | |
*** FReaper has joined #maemo-ssu | 23:00 | |
*** FlameReaper has quit IRC | 23:04 | |
*** DrCode has quit IRC | 23:10 | |
*** arcean__ has quit IRC | 23:10 | |
*** hbib has quit IRC | 23:18 | |
*** M4rtinK has joined #maemo-ssu | 23:29 | |
*** NIN101 has quit IRC | 23:49 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!