**** BEGIN LOGGING AT Fri May 09 03:00:01 2014 May 09 05:39:03 is there any way to send files via skype from n900? May 09 08:08:00 anybody know how to use sfdisk, its complicated compared to fdisk May 09 08:21:07 start= 56631360, size= 4194304 hmmm i can convert gb into blocks, but how can i work out the start position?! May 09 08:23:07 ok worked it out **** BEGIN LOGGING AT Fri May 09 08:32:12 2014 May 09 11:03:06 sfdisk is complicated. May 09 11:03:08 arghghghghghgh May 09 11:21:31 IroN900:~# apt-cache policy cfdisk May 09 11:21:32 cfdisk: May 09 11:21:34 Installed: 2.12r-19 May 09 11:21:35 Candidate: 2.12r-19 May 09 11:21:37 Version table: May 09 11:21:38 *** 2.12r-19 0 May 09 11:21:40 500 http://extras-devel.merlin1991.at fremantle/free Packages May 09 11:26:38 DocScrutinizer05: excellent, i hope cfdisk is easier May 09 11:37:44 * Maxdamantus likes parted. May 09 11:38:03 parted from Debian seems to have problems on the N900 though. May 09 11:38:51 root@orcus:/# parted May 09 11:38:51 *** glibc detected *** parted: munmap_chunk(): invalid pointer: 0x4019f548 *** May 09 11:39:20 iirc, it runs under valgrind, but random characters are inserted to the command line. May 09 11:39:56 (parted) (i-search)`': ¸(parted) ú¸[1@| ! þÿJþÿÿ þÿÿª May 09 11:41:15 have to kill it from another shell. May 09 11:41:51 Randomly generates commands and tries to evaluate them, but they're (hopefully) always invalid, so it prints the help text. May 09 11:48:58 cfdisk doesnt recognize : cfdisk /dev/mmcblk1 May 09 11:49:06 FATAL ERROR: Bad primary partition 0: Partition ends in the final partial cylinder May 09 12:02:12 http://wstaw.org/m/2014/05/09/plasma-desktopx31889.png May 09 12:03:31 -z: Start with a zero partition table, instead of reading the pt from disk; May 09 12:04:09 ok done it with -z option! May 09 12:04:10 beware to not mix up mmcblk1 with mmcblk0 May 09 12:04:35 DocScrutinizer05: swap is on /dev/mmcblk1p1 May 09 12:04:43 and extra vfat space is on /dev/mmcblk1p2 May 09 12:05:16 maybe swap should be on /dev/mmcblk1p2 May 09 12:05:27 system swaps names of mmcblk1 and mmcblk0 during boot May 09 12:05:31 sometimes May 09 12:07:19 but yeah, usually mmcblk0 is internal eMMC which you MUST NOT touch May 09 12:07:21 ~2119 May 09 12:07:22 The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC 2119. May 09 12:07:30 this time for real May 09 12:07:41 well May 09 12:07:51 but yeah, usually mmcblk0 is internal eMMC which you SHOULD NOT touch May 09 12:08:30 here we go May 09 12:08:31 swapon.debian -p 0 /dev/mmcblk1p2 May 09 12:10:03 DocScrutinizer05: do i need to turn off the existing swap May 09 12:10:10 before i swapon the partition May 09 12:10:24 im not touching eMMC May 09 12:12:39 no, you shouldn't turn of swap before turning on alternative swap. You are supposed to turn off "old" swap *after* new swap got enabled May 09 12:15:40 ok May 09 12:15:41 /dev/mmcblk1p2 partition 1953112 0 -1 May 09 12:15:47 its worked May 09 12:15:51 i wonder if this will take a reboot May 09 12:16:33 or should they both be active with different priorities May 09 12:18:50 hmm May 09 12:18:58 after reboot it rememebers built in swap May 09 12:18:59 /dev/mmcblk0p3 partition 786424 0 -1 May 09 12:19:35 http://wiki.maemo.org/Startup_script ? May 09 12:21:57 i will put this in startup script May 09 12:22:00 swapoff /dev/mmcblk0p3 && swapon /dev/mmcblk1p2 May 09 12:27:15 WRONG May 09 12:27:19 see above May 09 12:29:00 what is your system supposed to do after swapoff? I tell you what it's going to do: it suspends all preloaded apps to free up RAM so system can still kinda work after swapoff May 09 12:29:26 this is a very pathological state for your system May 09 12:30:20 and will take quite a while (up to a few minutes) to complete, and only after it completed swapoff will return so swapon will add available virtual memory to system again May 09 12:31:11 kudos to hildon desktop for handling all this, other systems quite possibly would simply blow chunks May 09 12:32:08 swapon /dev/mmcblk1p2 && swapoff /dev/mmcblk0p3 May 09 12:32:14 THIS makes perfect sense May 09 12:32:21 eek my phone wont boot now :/ May 09 12:32:35 I'm not surprised May 09 12:32:40 shit :( May 09 12:34:35 got it to boot phew May 09 12:35:23 ok turn on the other swap BEFORE i turn off the other May 09 12:36:15 DocScrutinizer05: i have created this startup-script inside /etc/event.d/ May 09 12:36:16 http://dpaste.com/123RR90/ May 09 12:36:22 does that look ok? May 09 12:39:48 i added this to the script: echo 30 > /proc/sys/vm/swappiness May 09 12:42:31 wizbit: this script looks nonsensical since it's not linked to any other event during bootup May 09 12:44:55 /etc/event.d/rcS-late May 09 12:45:08 I got no clue how upstart *really* works in detail, but if I had to geuss, i'd say such script gets started before or in parallel with any other non-conditional script, *very* early during boot, when neither mounting of original swap nor renaming of mmcblk1 vs 0 has already happened (possibly) May 09 12:45:13 i changed the swap -a line to swapon /etc/event.d/rcS-late May 09 12:45:23 swapon /dev/mmcblk1p2 May 09 12:45:24 i mean! May 09 12:45:37 that sounds *much* beter May 09 12:45:54 it worked!!! May 09 12:45:55 /dev/mmcblk1p2 partition 1953112 0 -1 May 09 12:47:00 as long as i reboot the phone every now and again i dont have to worry about swap fragmentation May 09 12:51:37 meh. A "swapon /dev/mmcblk0p3 && swapoff /dev/mmcblk1p2 && swapon /dev/mmcblk1p2 && swapoff /dev/mmcblk0p3" every now and then will do as well May 09 12:52:27 aye ok! May 09 12:52:44 or simply use any of the several reswap tools May 09 12:52:47 could create a mini, swap-refresh.sh script May 09 12:53:09 that's what ereswap etc does May 09 12:53:24 aye ok May 09 12:53:35 i found another cool feature May 09 12:53:51 my alarm clock went off on the n900 this morningm then it said what would you like to turn the phone on May 09 12:53:54 how cool May 09 12:53:59 it must of been in sleep mode May 09 12:54:20 am i right in thinking that the alarm clock still works even in sleep mode? May 09 12:54:32 it even works in off mode May 09 12:54:36 jeeeeze May 09 12:54:43 it's a true cmos clock alarm May 09 12:54:43 but how? its off May 09 12:54:51 cooool May 09 12:56:11 you could create a tool that powers up N900 once per month, does something, and goes back to powered down state after 5 minutes. This could run for a year or longer, depending on self discharge of battery May 09 12:57:19 alas a broken bupbat will cause cmos clock to forget any alarm that been set up, when you swap battery May 09 12:57:33 ~bupbat May 09 12:57:33 well, bupbat is use the capacitive type, LiIon are breaking during 12 months, or http://www.digikey.de/product-detail/de/PAS414HR-VG1/587-2157-1-ND/1959153, or https://hbe-shop.de/Art-2112777-TAIYO-YUDEN-PAS414HR-VA5R-KONDENSATOR006F-33V-STAKED-COIN, or http://talk.maemo.org/showthread.php?t=90864 May 09 12:58:14 cya May 09 12:58:17 o/ May 09 15:37:16 wizbit: why didn't you simply change the fstab? May 09 15:46:33 nevermind, I thought this nonsense got fixed meanwhile in CSSU May 09 15:59:35 I honestly never got the rationale behind doing this messy fstab "auto-config" on every boot, instead of doing it once in postinstall script of a better cleaned-up bootscripts package, and then only doing it MANUALLY whenever somebody changed partition MANUALLY May 09 16:00:22 and I really thought I conviced Pali and the rest of CSSU team, a maybe one year back May 09 16:13:19 DocScrutinizer05: you can disable fstab autogeneration May 09 16:13:39 it's enabled by default because of reasons May 09 16:13:57 I'm not interested in raisins May 09 16:14:00 ;-P May 09 16:14:08 but they're hysterical! May 09 16:14:19 me too! May 09 16:14:45 which reason? May 09 16:18:11 * DocScrutinizer05 glares at /usr/lib/genfstab.awk May 09 16:18:58 braindead May 09 16:20:04 and /etc/event.d/rcS-late isn't any better tbh May 09 16:20:44 yeah, rcS-late is a fucking mess May 09 16:21:18 and it lacks any proper signaling via indicator LED to user, before "fsck.ext3 -y $HOME_DEV >> /var/lib/fsck_ext3_home.log 2>&1" - which by itself is also quite braindead, at least for logging to /var/lib if nothing else May 09 16:22:49 i think you said that already May 09 16:24:01 I wonder how hard it can be to add a few "echo $pattern >/sys/class/i2c-adapter/i2c-2/2-0032/engine1_mode" etc May 09 16:28:09 * DocScrutinizer05 wonders if /dev/console would write to screen unconditionally, even during boot. Particularly s§>> /var/lib/fsck_ext3_home.log§tee -a /var/lib/fsck_ext3_home.log >/dev/console§ May 09 16:30:02 does your /var/lib/fsck_ext3_home.log hold *any* reasonable info? May 09 16:32:41 and who the heck ever deletes that file when it grows infinitely until rootfs explodes? May 09 16:34:13 nota bene >>, not > May 09 16:34:51 into /var/lib/ - ARRRRGHHH! May 09 16:43:38 LOL! epic! http://privatepaste.com/e9462d7b32 May 09 16:48:09 sorry WUT? CSSU_VERSION="CSSU_VERSION=$(dpkg-query -W -f \${Version} mp-fremantle-community-pr 2>/dev/null || echo '')" May 09 16:48:48 recursion: see May 09 16:52:16 anyway obviously doesn't work, neither for similarly obscure KERNEL_VERSION="KERNEL_VERSION=$(uname -a 2>/dev/null || echo '')" May 09 16:54:38 uuhhh May 09 16:55:04 from where is the shell script excert? May 09 16:55:24 oooh May 09 16:55:26 s/excert/excerpt/ May 09 16:55:27 silviof meant: from where is the shell script excerpt? May 09 16:55:43 echo $OSSO_VERSION; echo $CSSU_VERSION; echo $KERNEL_VERSION ) > /sys/kernel/debug/panic_info_buff May 09 16:56:24 silviof: /etc/event.d/rcS-late May 09 16:56:30 CSSU May 09 16:58:17 gals and guys, I can tell you PR1.2 /etc/event.d/rcS-late looked QUITE different May 09 16:58:32 :-) May 09 16:59:52 well, actually RX-51_2009SE_3.2010.02-8_PR_MR0 May 09 17:11:31 damn! vibrator output is bitbang-PWMed May 09 17:12:18 which is kinda nice and funny to listen and feel CPU clock frequency, but otherwise gives you pretty weird user experience May 09 17:13:01 real fun: echo 100 >/sys/class/leds/twl4030\:vibrator/brightness May 09 17:13:21 do that via wlan ssh on a locked&idle device May 09 17:14:26 NB that any vibra-kicj from MCE for touch event or keypress resets vibra to what would be a "echo 0 >/sys/class/leds/twl4030\:vibrator/brightness" May 09 17:14:35 kick* May 09 17:16:00 so all the weirdness you hear and feel when doing the above via ssh from remote is actually just system itself aka CPU going to clock down to zero and leaving output stale at either full power or zero May 09 17:16:31 while as long as CPU runs it does proper PWM and vibra runs at 40% May 09 17:17:17 thus you see vibra doing a pseudo-random pattern between idle, 40% and 100% operation May 09 17:19:07 I bet TI chip engineers didn't think about system wide zero-clock when designing the TWL4030 vibra output May 09 17:20:24 I've experienced random prolonged haptic vibrate during extreme system load :) May 09 17:21:27 yeah, when MCE gets delayed then that's expected May 09 17:22:01 however PWM(!) stalling is sth I find a bit ... puzzling May 09 17:22:23 I even think PWM is done by a dedicated timer inside TWL4030, no? May 09 17:23:29 for this timer to go stale, I think the system wide clock-request signal shutting down the main oscillator for CPU (et al) clock is the only explanation May 09 17:23:47 (if there's actually such timer) May 09 17:25:45 "vibrator/brightness" uuuh :] May 09 17:25:50 hehe May 09 17:26:02 yeah, for the kernel dudes all output is a LED May 09 17:26:07 :) May 09 17:26:13 LEDs everywhere May 09 17:26:28 they obviously have poor imaginative skills May 09 17:26:52 s./skills/power/ May 09 17:28:00 the problem is: they use one driver for IO, and that driver been written and named with a LED in mind. Pathetic May 09 17:30:56 when you design a generic driver meant to get used as template for everything, you rather use a range of 0 .. 100.00% instead of 0 .. 255, and you write that to a sysnode named "power" rather than "brightness" May 09 17:31:12 0 .. 255 is fine with me :] May 09 17:31:36 but "brightness" really is fun May 09 17:31:40 maybe with you, but not with me when the PWM hardware can do 16bit and not only 8bit May 09 17:32:10 generic range is 0% .. 100% May 09 17:32:27 not some fux0red 0..255 May 09 17:32:46 of course you leave out the "%" in sysnode value May 09 17:34:05 hmm true pwm can be in 16 May 09 17:34:57 only valid alternatives where 0.0000 .. 1.00000000 and the other few commonly used metrics 0/00 and PPM May 09 17:39:09 bencoh: PWM also can be in 6, 10, 12, 15,... May 09 17:40:06 and for software-bitbanged PWM it can be any arbitrary resolution up to the theoretical limits of system timing precision May 09 18:08:31 cam somebody help me out with the name of the sysnode to control the kbd debug LEDs? May 09 18:32:22 DocScrutinizer05; I wonder if there's lots of interrupt disable in mmc code, and I wonder if cpu can go sleep in middle of ongoing vibra event May 09 18:32:39 echo active > /sys/devices/platform/gpio-switch/sleep_ind/state May 09 18:33:04 will answer the 2nd question at least May 09 18:34:53 btw why mmc code? May 09 18:39:30 do: open kbd slider; (either via ssh from PC, or after a leading "sleep 10;) enter "echo active > /sys/devices/platform/gpio-switch/sleep_ind/state; echo 100 >/sys/class/leds/twl4030\:vibrator/brightness"; (if on device, hit ) lock device with lock slider switch; (on ssh, hit ) May 09 18:39:42 Hey guys, my (elder !) father just purchased a Samsung Rex 60. I don't know that phone, but it seems like a terrible choice at first look. Do you confirm? Is an Asha the best choice in that price range (50€) for someone who will not use internet or any smartphone feature? (Asked the same question on #Harmattan) May 09 18:40:16 no idea. Are you sure this is the right channel? May 09 18:41:26 Well it's kind of off-topic, but I think it's relevant to ask to people using the same phones as me, and generally acknowledging the pros good old phones with nice UIs May 09 18:41:37 of* May 09 18:42:23 hmm, maybe only few of us actually use anything else besides those good old phones May 09 18:42:59 I for one neither know Asha nor Rex60 May 09 18:44:02 Ok, I just thought I'd ask because some among us TMO-users are really good at trying many phones. I don't know many IRC communities about phones so I just tried here May 09 18:45:44 fair enough May 09 20:47:31 about debug LEDs: left side is sy_sclkreq, right is nsleep May 09 20:59:18 * DocScrutinizer05 wonders what exactly nSLEEP means May 09 21:00:06 sys_clkreq means something in the system needs proper high frequency clock May 09 21:00:48 the puzzling bit: nSLEEP is longer "active" than SYS_CLKREQ May 09 21:02:01 seems it's time to open the monster TRM again, eh? May 09 21:02:42 * DocScrutinizer05 glares at the free memory on his machine and decides that it's not wise to try and open a ~4000p pdf May 09 21:17:50 ooh, nSLEEP[12] of twl4030 controls the regulators between max power and "economy mode" May 09 21:22:32 Someone (a noob) in #electronics has been building an smps the last 6 months, then discovered the twl4030 randomly, and concluded it makes every other smps obsolete May 09 21:34:52 haha May 09 21:35:36 I just read spruf98f 4.11.4.1.2 Device Off-Mode Transition Using Only the SYS_OFF_MODE Signal May 09 21:35:53 which is about nSLEEP1 May 09 21:36:33 and I really don't get it why it seems like sysclock gets shut down while nSLEEP is still active May 09 21:36:54 this seems to be a nonsensical pathological system state May 09 21:37:30 or the schematics are incorrect and sys_clkreq is right side of kbd and nSLEEP is left side May 09 21:38:07 but hof the F* I'd check that without scope and other overkill in instrumentation May 09 21:38:12 how* May 09 22:06:48 * DocScrutinizer05 also wonders of device off mode is actually the zeroclock used to reduce power consumption in N900 May 09 22:08:05 >>The CORE power domain can be switched from ON to OFF or retention state.<< retention state sounds more like it **** ENDING LOGGING AT Sat May 10 02:59:59 2014