**** BEGIN LOGGING AT Sun Oct 14 03:00:03 2012 Oct 14 03:08:58 wiki.maemo.org/How_To_Make_Your_Battery_Last_Longer#Powersave_bias Oct 14 07:27:19 anyone know if there is a telepathy backend for whatsapp ? Oct 14 07:40:32 hello!my n900 doesn't charge with my universal usb charger,need some advice,thank you Oct 14 07:41:14 the charger's max current is 1000mA Oct 14 07:43:26 it's probably iphone charger Oct 14 07:43:30 or n900 is overloading it Oct 14 07:43:47 does it say charging on nothing happens when you plug it in? Oct 14 07:43:52 i bought as universal usb charger Oct 14 07:44:27 does it say charging on nothing happens when you plug it in? Oct 14 07:44:47 mass storage mode or pc suite mode options pop up Oct 14 07:45:14 sounds like some weird charger Oct 14 07:45:23 then i click outside this window it says charging only,but nothing happens Oct 14 07:45:51 yellow led is not blinking Oct 14 07:47:08 it charges my girlfriend's mp4 and other usb devices,but not my n900 Oct 14 07:47:50 it sounds like iphone charger Oct 14 07:49:47 it is a switching mode adaptor Oct 14 07:50:00 read the manual Oct 14 07:50:40 I built a small solar panel charger once and to charge the n900 one pin (I forget which, D-something?) had to be soldered to ground. still for some reason it wouldn't charge my n900 but did charge my gf's n900 and other phones :) Oct 14 07:51:53 heard somewhere that need to be short something,but forgotten what to do Oct 14 07:51:57 not sure if it was about software, I'm running the power kernel etc Oct 14 07:52:05 mee too Oct 14 07:52:11 kp51r1 Oct 14 07:52:29 it charges from original wall charger Oct 14 07:53:48 so do you think is it a software issue? Oct 14 07:59:51 what happens if I short D+/D-? Oct 14 08:09:55 zsolt actually that was probably it...shorting the D-pins Oct 14 08:12:06 zsolt http://talk.maemo.org/showthread.php?t=38230 Oct 14 08:12:13 thank you Oct 14 08:24:49 willing to use it on usb host mode with peripherals by usb Y cable,isn't harmful for my devices to short d+ d-? Oct 14 08:28:08 I think if your devices are anything else than chargers or stuff that draws power from the port, you will be unhappy without the D-pins Oct 14 08:28:47 my set is like this Oct 14 08:29:56 one usb came from a usb hub with devices attached and another with power only.it goes then to my phone Oct 14 08:30:03 it is an y cable Oct 14 08:37:13 zsolt: to be fair you can probably force dedicated mode with bq24150x_charger Oct 14 08:56:52 yess!i did it,thank you Oct 14 09:17:50 ping freemangordon Oct 14 09:17:58 Pali: pong Oct 14 09:18:13 freemangordon, I sent uboot patches to uboot ML Oct 14 09:18:21 good :) Oct 14 09:18:31 I CCed you Oct 14 09:18:31 I am REing cal ;) Oct 14 09:18:45 thanks Oct 14 09:19:01 can you write answer about thumb errata questions? Oct 14 09:19:15 lemme see Oct 14 09:19:35 there are some and that code is yours Oct 14 09:19:43 ok Oct 14 09:21:48 "default: missing." hehe :P Oct 14 09:21:53 toldya Oct 14 09:29:58 Pali: I am not sure I undrestand the questions. what am I supposed to answer to "_WHAT_ ?!" Oct 14 09:30:15 and "Actually -- why Oct 14 09:30:15 do you even do call into ROM ? Oct 14 09:30:23 " Oct 14 09:30:59 write it Oct 14 09:31:06 not that I don;t know what code is supposed to do, but questioning style is not clear to me Oct 14 09:40:42 Pali: i want to try uboot, just 'cause Oct 14 09:40:52 Pali: how do i merge kp52 with uboot? Oct 14 09:41:12 kerio, install kernel-power-bootimg package Oct 14 09:41:14 does uboot-mkimage work? Oct 14 09:41:28 and then u-boot-utils Oct 14 09:41:34 and then flash u-boot Oct 14 09:41:43 and you get kp in bootmenu Oct 14 09:41:58 Pali: so i'm supposed to ignore the uboot-* packages in extras-devel? Oct 14 09:42:14 kerio, yes ignore all uboot packages in extras Oct 14 09:42:19 got it Oct 14 09:42:31 and first remove them Oct 14 09:42:38 i don't have any installed :) Oct 14 09:42:45 ok :-) Oct 14 09:42:58 how do i flash uboot? can i do that from the device? Oct 14 09:43:24 are you going to use that new build? Oct 14 09:43:31 i suppose so Oct 14 09:43:39 you can flash fiasco image on device by fiasco-image-update Oct 14 09:43:42 this is a 2104 Oct 14 09:54:47 Pali: hmm, why is the -bootimg installed in /boot? Oct 14 09:54:57 i thought there was no way to access the onenand from uboot Oct 14 09:55:01 yes Oct 14 09:55:21 u-boot-update-bootmenu generate uImage from zImage and store it onto MyDocs Oct 14 09:55:49 i see Oct 14 10:03:55 Pali: it appears to have booted Oct 14 10:03:56 neat Oct 14 10:04:01 hello again.my problem is that need to charge my phone during usb host mode Oct 14 10:04:28 zsolt: you've got a crappy charger, there's probably a software way around it but meh Oct 14 10:04:51 no,i just shortened the d+ an d- Oct 14 10:04:52 Pali: it werkd Oct 14 10:04:57 *shorted Oct 14 10:05:03 then it should wor Oct 14 10:05:04 k Oct 14 10:05:04 it works now Oct 14 10:05:52 but if I set to usb host mode with charging it refuses,"error,charger detected Oct 14 10:06:22 using kp51r1 Oct 14 10:07:36 Pali: uboot working on 2104 Oct 14 10:08:43 Pali: predictably, the attached kernel doesn't work Oct 14 10:11:07 Pali: hmm, selecting kp52 and then quickly closing the keyboard slider (to not get bootmenu afterwards) made it not work Oct 14 10:11:33 kerio, then you have problem with maemo rootfs /dev Oct 14 10:11:56 In bootmenu.sh I added some mknod which create needed devices in /dev Oct 14 10:12:06 like /dev/null /dev/zero ... Oct 14 10:12:16 \_o_/ Oct 14 10:13:40 Pali: how do i make a combined uboot image from kp52? Oct 14 10:13:48 do you have an uboot.bin? Oct 14 10:14:04 unpack fiasco image and you got uboot.bin Oct 14 10:14:21 flasher[-3.5] -F -u Oct 14 10:14:41 flasher is on n900, flasher-3.5 is on computer Oct 14 10:15:10 and then uboot-gen-combined with the zimage in /boot and that uboot.bin Oct 14 10:15:14 and then fiasco-update-image Oct 14 10:15:14 got it Oct 14 10:15:16 ty :) Oct 14 10:18:25 kerio, do you have fiasco-update-image-ask deb package installed? Oct 14 10:21:57 need advice please!now figured out how to attach usb Y cable set,to enpower peripherals and charge my phone at the same time,but usb host mode with charging refuses to operate,"error,charger detected"using kernel power 51r1 Oct 14 10:24:39 you need to disconnect charger before initializing host mdoe Oct 14 10:24:54 first establish usb host mode and then attach charger Oct 14 10:25:27 zsolt ^^^ Oct 14 10:25:47 thank you! Oct 14 10:26:41 Pali: can uboot be made to turn on the backlight explicitly if keyboard is out? Oct 14 10:27:20 it turns on sometimes, but only from cold start Oct 14 10:27:33 jon_y, somebody must write code for backlight first Oct 14 10:27:57 ok, I see that its not in yet Oct 14 10:28:13 now I added only code for turning led off Oct 14 10:28:19 i2c pins to get it to turn on? Oct 14 10:28:26 but backlight is not simple and I do not have time for it Oct 14 10:28:32 ok Oct 14 10:28:37 for backlight is used SPI Oct 14 10:28:43 not i2c Oct 14 10:29:15 special super secret proprietary spi command? Oct 14 10:30:03 is the byte sequence already known? Oct 14 10:31:34 Pali: i do Oct 14 10:32:02 jon_y, there is open source kernel driver Oct 14 10:32:16 so need to port kernel drive to uboot Oct 14 10:32:27 kernel driver is ack Oct 14 10:32:44 Pali: unpacking the fiasco only gave me a zImage Oct 14 10:33:00 kerio, and what is problem? Oct 14 10:33:07 the zImage is for uboot+omap Oct 14 10:40:21 Pali: do you have a non-combined uboot 2012.10-rc3? Oct 14 10:40:33 i mean, a build of that Oct 14 11:15:41 Pali: btw, how do i enable the framebuffer to get messages during boot? Oct 14 11:17:08 faced to another problem.looks like d+ and d- need to short in the phone's cable,but if i do that,can't use peripherals Oct 14 11:18:13 in the thread i read that d+ and d- need to be short in the charger Oct 14 11:19:27 kerio: you have to compile your own kernel with framebuffer support Oct 14 11:52:15 DocScrutinizer: infobot joined! Oct 14 11:56:10 foobot Oct 14 12:03:18 zsolt: D+- short missing Oct 14 12:04:50 zsolt: i expect kernel-power to already support everything Oct 14 12:17:27 Pali: srsly though, help me :c Oct 14 12:17:32 i can't reboot my n900 while unattended now Oct 14 12:18:32 needs a chaperone ? ;) Oct 14 12:23:27 jpinx: well, yes Oct 14 12:23:37 somebody to open the kbd slider and choose a couple of menu entries Oct 14 12:25:59 i wonder if uboot would even fit, with kernel-power Oct 14 12:36:11 hai Oct 14 12:36:19 heya! Oct 14 12:36:27 (i'm so funny) Oct 14 12:36:39 why ? Oct 14 12:36:51 because it's your nickname but also kind of a greeting Oct 14 12:37:16 yeah, i'm like Oct 14 12:39:32 i must go Oct 14 12:47:43 ...that was weird Oct 14 12:50:54 :D Oct 14 12:53:28 ah fuck, i screwed up something D: Oct 14 12:53:46 goddammit Oct 14 12:53:57 ~flashing Oct 14 12:53:58 i heard maemo-flashing is http://wiki.maemo.org/Updating_the_tablet_firmware Oct 14 12:54:29 ~pali Oct 14 12:54:30 i guess pali is http://atrey.karlin.mff.cuni.cz/~pali/ Oct 14 13:18:49 oh dear, i appear to have fucked something up Oct 14 13:19:02 where's the data in osso-product-info stored? Oct 14 13:21:35 phew no idea, but ie the mp-fremnalte-*-pr changes the data in postinst Oct 14 13:21:42 which dataset is broken? Oct 14 13:23:21 * merlin1991 just noticed hat on all 3 devices stock, cssu-stable and cssu-testing osso-product-info has 4 "unknown" entries Oct 14 13:24:14 merlin1991: release name, full name, version, ossoversion Oct 14 13:24:17 those are unknown Oct 14 13:25:01 yep, I've got the same, even on a completely clean maemo install Oct 14 13:25:49 what the hell Oct 14 13:26:11 that's not normal, is it Oct 14 13:26:25 i thought there was something wrong with my CAL, and so i tried to nandwrite my backup Oct 14 13:26:28 but apparently it doesn't fit Oct 14 13:26:36 and writing with oob causes a segfault Oct 14 13:27:12 it appears to be booting, at least Oct 14 13:27:24 * kerio shakes his fist at Pali Oct 14 13:27:43 err how is that possibly palis fault? :D Oct 14 13:27:57 i toyed around with uboot today Oct 14 13:28:08 so it must be his fault! Oct 14 13:28:29 DocScrutinizer05: do you mind pastebinning the output of osso-product-info on t900? Oct 14 13:29:03 hmm? Oct 14 13:29:33 i appear to not have that information anymore Oct 14 13:30:27 sigh, friggin pastebin sites changing their API all the time, so my scripts for direct pastebin from cmdline always break Oct 14 13:30:31 kerio, if you flash some kernel without version, softupd will remove osso-product-info from CAL Oct 14 13:30:43 Pali: i see Oct 14 13:30:50 but i just flashed kp52 Oct 14 13:30:54 with kernel-power-flasher Oct 14 13:30:54 kerio, here is fix: https://gitorious.org/community-ssu/mp-fremantle-community-pr/blobs/master/debian/postinst Oct 14 13:31:27 and then reboot phone Oct 14 13:31:43 here you are: http://pastebin.com/asLTHZwT Oct 14 13:32:10 Pali, DocScrutinizer05: ty Oct 14 13:32:19 Pali: btw, i removed uboot Oct 14 13:32:24 mostly because i don't need it Oct 14 13:32:36 kerio, you need only OSSO_VERSION Oct 14 13:32:48 but it did work fine, as long as i didn't touch the stuff in MyDocs/bootmenu.img.d >:) Oct 14 13:32:53 OSSO_PRODUCT_WLAN_CHANNEL='fcc/us' pissing me Oct 14 13:33:23 DocScrutinizer05: btw, nandwrite on CAL didn't work at all Oct 14 13:33:26 kerio, u-boot-update-bootmenu will regenerate MyDocs/bootmenu.img.d Oct 14 13:33:50 Pali: anyway, why MyDocs and not /home/boot* ? Oct 14 13:34:03 because first fat32 partition Oct 14 13:34:17 there's no ext support in uboot? :( Oct 14 13:34:17 and it is mounted by maem to MyDocs Oct 14 13:34:25 yes, there is ext2 Oct 14 13:34:32 and now finaly there is also ext4 Oct 14 13:34:52 but back in april there was no ext4 Oct 14 13:35:02 kerio: gathered as much, when I tried to create an image with nanddump that's identical to either dd or cat or mtd_debug Oct 14 13:36:13 DocScrutinizer05: nanddump -o -b could work, i think Oct 14 13:36:17 kerio: anyway nota bene you probably need to erase NAND prior to flashing new content Oct 14 13:36:25 DocScrutinizer05: nah, nandwrite does that Oct 14 13:37:56 kerio: (-o -b) exactly my thoughts, and you say it failed for you? Oct 14 13:38:07 DocScrutinizer05: with -o -b it worked fine Oct 14 13:38:24 [2012-10-14 15:33:23] DocScrutinizer05: btw, nandwrite on CAL didn't work at all Oct 14 13:38:34 with my old dump Oct 14 13:38:40 which is apparently useless Oct 14 13:39:02 because i can't write it, not even with the option to account for the oob data Oct 14 13:39:07 you'd like me to provide a -o-b image of my CAL? Oct 14 13:39:14 nah, i have one Oct 14 13:39:28 and besides, your n900 is german :s Oct 14 13:39:35 ;-P Oct 14 13:39:59 I got others as well Oct 14 13:40:15 do you have a british 2104 n900? Oct 14 13:40:27 OSSO_PRODUCT_REGION='Britain' Oct 14 13:40:34 IroN900 Oct 14 13:40:38 my daily phone Oct 14 13:40:41 o/ Oct 14 13:40:42 hw rev? Oct 14 13:41:09 Revision : 2101 Oct 14 13:41:14 aww :( Oct 14 13:41:57 I'd bet you could try to hexedit the hwrev string in raw nand inage Oct 14 13:42:08 that's not the point! they're different hw revs! Oct 14 13:42:23 how's that mattering for CAL? Oct 14 13:42:48 CAL *defines* the hwrev Oct 14 13:43:03 you know what else defines the hwrev? the hw's rev Oct 14 13:43:13 so WHAT? Oct 14 13:43:18 perhaps some critical calibration parameters differ from rev to rev Oct 14 13:43:53 i'd really like to know *what* is stored in CAL Oct 14 13:43:58 either you got a phy hw of 2101 then my CAL is OK, or you got hwrev XYZA then you edit CAL image to meet that fact Oct 14 13:44:09 no calib will differ Oct 14 13:44:31 at least not to my knowledge Oct 14 13:45:08 IF it doesn't work, you're free to flash back to what's in your CAL *now* ;-P Oct 14 13:45:33 but what if your CAL fucks up my n900 D: Oct 14 13:45:45 * kerio might be slightly trolling at this point Oct 14 13:45:59 one thing's for sure: with wrong hwrev standard flashing will cease to work, since hwrev mainly seems to specify NAND bank geometry Oct 14 13:46:22 yeah but that's the reason flasher-3.5 has a way to specify the hw rev, isn't it Oct 14 13:46:42 you might overcome that problem by explicitly overriding CAL hwrev via flasher-35 parameter Oct 14 13:46:51 yes :-) Oct 14 13:46:55 did sambo7 ever report back after flashing your cal? Oct 14 13:47:14 the nandtester? never heard of him again Oct 14 13:47:19 also, stuff like the IMEI isn't stored there, right? Oct 14 13:47:27 it's stored in rapuyama's internal CAL Oct 14 13:48:26 IMEI isn't in CAL afaict Oct 14 13:48:47 yep Oct 14 13:49:19 IroN900:~# strings /dev/mtd1|grep -i IMEI ->null Oct 14 13:55:30 kerio: so how about clearly satting what you did to reflash CAL, and what's been your results Oct 14 13:55:37 stating* Oct 14 13:58:03 I'd like to verify the procedure, and then start a project to host CAL images for those who nandtested Oct 14 14:05:20 DocScrutinizer05: nanddump -o -f calbackup /dev/mtd1ro Oct 14 14:05:29 to write, nandwrite /dev/mtd1ro calbackup Oct 14 14:05:56 to check, idk, maybe just nanddump without "-o" before and after Oct 14 14:06:00 but i don't think they're required to be equal Oct 14 14:06:22 the result of nanddump -o, nandwrite, nanddump -o is the same for both nanddumps Oct 14 14:06:50 or, at least, they generate a md5 hash collision >:D Oct 14 14:22:23 DocScrutinizer05: "-b" in nanddump skips bad blocks, but i don't know if it's a good or a bad thing Oct 14 14:25:21 DocScrutinizer05: to be fair we'd need something specialized for CAL, that stores the data in a more generic format Oct 14 14:25:43 flash memory sucks Oct 14 14:27:12 kerio, storing to FS (maybe ubifs on nand?) Oct 14 14:28:23 Pali: no, i mean, something to store the data in cal and to recreate it Oct 14 14:28:33 i assume libcal has a way to deal with bad blocks Oct 14 14:29:25 CAL is linked list Oct 14 14:29:42 freemangordon, now working on RE libcal Oct 14 14:30:09 linked lists also suck :c Oct 14 14:30:15 does it do garbage collection? Oct 14 14:35:48 kerio, I thini it doing some wear leveling Oct 14 14:41:42 I think it just uses up all available space, then may or may not compress stuff to recycle obsolete aka delet-marked entries Oct 14 14:42:38 I'm not even convinced it's a linke dlist, it *might* be a simple array with later entries overriding earlier ones Oct 14 14:43:50 given the usage pattern and purpose, it might never fill up during lifetime of a N900 Oct 14 14:46:56 kerio: anyway why do you think a nanddump image isn't appropriate for CAL? Oct 14 14:47:06 DocScrutinizer05: because of bad blocks Oct 14 14:47:35 nanddump won't store any bad blocks to a -b file Oct 14 14:47:49 aiui Oct 14 14:47:57 yeah but you're assuming you don't get any *new* bad blocks between the dump and the write Oct 14 14:48:10 eh? Oct 14 14:48:43 nanddump -b skips bad blocks in output data, nandwrite handles bad blocks on write Oct 14 14:50:17 if your NAND you try to write to has more bad blocks than the one you pulled your image from, the image won't fit completely into the 'new' NAND. I'd assume nandwrite noticing that at end of write and throws a warning Oct 14 14:53:37 I actually fail to see the usecase for a nanddump without -b, since you can't write back such an image to any NAND if it actually contains bad blocks Oct 14 14:53:37 DocScrutinizer05: yeah but does the read happen in the same way? Oct 14 14:55:05 sure, nanddump -o -b should create an image with any bad blocks skipped/omitted Oct 14 14:58:15 my guess would be: nanddump -o -b /dev/mtd1 | nandwrite -m Oct 14 15:00:00 to write, nandwrite /dev/mtd1ro calbackup Oct 14 15:00:13 seriously? /dev/mtd1ro ?? Oct 14 15:00:36 * DocScrutinizer05 always thought ro means ReadOnly Oct 14 15:02:34 it does Oct 14 15:03:14 kerio: to verify, you should do a mtd_debug erase between nanddump and nandwrite, to rule out your images don't differ just because your write failed completely Oct 14 15:04:11 (( the result of nanddump -o, nandwrite, nanddump -o is the same for both nanddumps)) no surprise when writing to mtd1ro Oct 14 15:06:50 what concerns me most is the difference between `cat mtd1ro` and `nanddump -b mtd1ro` Oct 14 15:07:19 or even `nanddump mtd1ro` Oct 14 15:08:17 (I got no bad blocks, according to nanddump, so -b shouldn't make any difference for me, but I tested both variants and neither is what I get from cat, or dd) Oct 14 15:10:20 DocScrutinizer05: er, wtf, i meant /dev/mtd1 Oct 14 15:10:23 I'm reluctant to try nandwrite (on CAL) unless I figured what's the deal with this difference. I might test on mtd4 though Oct 14 15:11:00 writing to mtd1ro causes errors :) Oct 14 15:11:09 thought as much Oct 14 15:12:41 DocScrutinizer05: nanddump /dev/mtd1ro and nanddump -b /dev/mtd1ro have the same output for me Oct 14 15:13:15 then I get it your nandump also says "0 bad blocks" Oct 14 15:13:21 yep Oct 14 15:13:43 ECC failed/corrected, bad blocks, bbt blocks all 0 Oct 14 15:14:17 so, when kicking out OOB and badblocks from nanddump image, WTF it differs from a dd image of same mtd? Oct 14 15:14:41 you mean when adding OOB and badblocks Oct 14 15:14:53 well, idk Oct 14 15:15:14 err yep Oct 14 15:15:20 but i think that the contents of /dev/mtd1 aren't supposed to be meaningful to a straight read Oct 14 15:15:32 who cares Oct 14 15:15:43 dd won't care if the content is meaningful Oct 14 15:16:09 cat as well isn't supposed to change data Oct 14 15:16:48 so evidently nanddump is changing the data Oct 14 15:16:57 :nod: Oct 14 15:17:16 and I wanna know how and why Oct 14 15:17:22 i don't know enough about mtd to know that :( Oct 14 15:17:27 before I dare to mess with my CAL content Oct 14 15:18:12 luckily we got a partiton reserved for R&D ;-) Oct 14 15:20:04 IroN900:~# cat /dev/mtd4|od Oct 14 15:20:05 0000000 177777 177777 177777 177777 177777 177777 177777 177777 Oct 14 15:20:07 * Oct 14 15:20:08 10000000 Oct 14 15:20:14 ;-D Oct 14 15:21:06 DocScrutinizer05: >:C Oct 14 15:21:09 od /dev/mtd4 Oct 14 15:21:14 stop abusing cats! Oct 14 15:21:39 nanddump /dev/mtd4|od 2>/dev/null WTF? Oct 14 15:22:17 0000000 177777 177777 177777 177777 177777 177777 177777 177777 Oct 14 15:22:18 * Oct 14 15:22:20 10200000 Oct 14 15:22:23 it's got a bit more, yes Oct 14 15:22:31 remove the oob, and you have mtd4 Oct 14 15:22:49 :nod: Oct 14 15:23:10 toldya, OOB is probably not read via cat mtd* Oct 14 15:23:39 like inodes aren't read for cat sdXN Oct 14 15:24:14 afaik it's OutOfBand info, which got that name for a reason Oct 14 15:24:41 1755dcebeeb04e075cbd6c6690ed490a - Oct 14 15:24:42 1755dcebeeb04e075cbd6c6690ed490a /dev/mtd1ro Oct 14 15:24:55 the first is the output of nanddump -o /dev/mtd1ro Oct 14 15:25:28 so there's that Oct 14 15:25:50 \o/ Oct 14 15:26:02 why doesn't that happen on your n900(s)? Oct 14 15:26:21 dunno, might be a tribute to late night work Oct 14 15:26:34 (did those tests yesterday) Oct 14 15:26:51 sudo nanddump -o /dev/mtd1ro | sudo md5sum - /dev/mtd1ro Oct 14 15:27:07 let's just hope libcal doesn't use OOB data :> Oct 14 15:27:37 kerio: you nifty animal, what a nice cmdline ;-) Oct 14 15:28:26 OOB data is used by mtd driver Oct 14 15:28:43 it's kinda like NANDs FAT Oct 14 15:29:05 or free blocks table Oct 14 15:29:10 whatever Oct 14 15:29:30 libcal for sure won't mess with it, for all I know Oct 14 15:30:05 kerio: now only make sure you never forget to add -b to nanddump, even while for now it seems to make no difference for you Oct 14 15:30:12 k Oct 14 15:31:24 kerio: now you could write your freshly created nanddump image to mtd4, then compare mtd1 and mtd4 ;-) Oct 14 15:31:35 does it fit? Oct 14 15:31:47 better make a image of mtd4 before Oct 14 15:31:56 mtd4 is empty Oct 14 15:32:05 I think there's plenty of room on mtd4 for CAL Oct 14 15:32:18 (empty) I know Oct 14 15:32:45 so worst case you could flash my empty-mtd4 image to yours if you don't find a better way to erase it Oct 14 15:33:00 DocScrutinizer05: hmm, it's obviously different Oct 14 15:33:51 ok, nanddump -l 393216 -ob /dev/mtd4ro gives me the same thing Oct 14 15:33:57 kerio: you did md5sum over full devices? Oct 14 15:34:12 they for sure differ, since iirc mtd4 is way larger Oct 14 15:34:22 DocScrutinizer05: yeah, limiting the length makes it the same Oct 14 15:34:23 yeah :-D Oct 14 15:34:36 \o/ Oct 14 15:35:01 and now mtd4 is all weird :( Oct 14 15:35:07 LOL Oct 14 15:35:20 ok, flash_eraseall did the job Oct 14 15:35:26 :-D Oct 14 15:35:33 apparently flash_erase requires start and end Oct 14 15:36:21 yeah Oct 14 15:36:31 according to their --help Oct 14 15:38:11 we should push robbiethe1st to finally add kernel and CAL backup and restore to BM ;-) Oct 14 15:38:56 since I don't feel too comfortable with formating CAL under the arse of libcal Oct 14 15:39:00 DocScrutinizer05: am i a bad enough dude to erase cal and flash it again? Oct 14 15:39:04 oh right Oct 14 15:39:16 ok, something different then Oct 14 15:39:30 am i a bad enough dude to dump the kernel partition, erase it, and write it again from the dumped data? Oct 14 15:40:21 kerio: I'd say you're as BAD as it gets. Michael Jackson was a sissi compared to you. So go ahead, nuke CAL and reflash it Oct 14 15:40:32 DocScrutinizer05: btw, where's x-loader stored? Oct 14 15:40:39 or rather, first try with kernel ;-) Oct 14 15:40:48 in kernel partition Oct 14 15:40:54 errr NOLO Oct 14 15:41:03 oh, "bootloader" contains both? Oct 14 15:41:07 yep Oct 14 15:41:18 by the way, /dev/mtd2 is empty too Oct 14 15:41:27 basdically NOLO is appended to xloader like kernel is to uBoot Oct 14 15:41:41 not here ;-D Oct 14 15:42:06 if yours is empty, then you're a lucky man Oct 14 15:42:27 i think i never had a proper kernel panic Oct 14 15:42:34 or you found another miracle of flasher-3.5 Oct 14 15:42:57 cat /dev/kmem Oct 14 15:43:04 DocScrutinizer05: fu Oct 14 15:43:04 the check again Oct 14 15:43:25 ;-P Oct 14 15:43:50 ok, kernel dumped, erased, written Oct 14 15:44:12 checked success of erasure? Oct 14 15:44:19 yep Oct 14 15:44:23 cool man Oct 14 15:44:50 btw, how's about council, dear Mr. kerio? Oct 14 15:45:16 ;-) Oct 14 15:45:20 i'm a busy man Oct 14 15:45:26 hehehe Oct 14 15:45:42 yeah, same here Oct 14 15:46:02 hm, i wonder if that's the reason we're both always here Oct 14 15:46:19 no, reason and cause switched ;-) Oct 14 15:46:51 ok, i'll rephrase Oct 14 15:46:54 we're always here, that's why we're so busy Oct 14 15:46:55 technically i should be a busy man Oct 14 15:47:23 boot? Oct 14 15:47:31 booted just fine Oct 14 15:47:36 :-D Oct 14 15:47:39 \o/ Oct 14 15:48:08 first instance of kernel flashed without any proprietary Nokia crap tools Oct 14 15:48:22 TAAADAAAAA dshhhh Oct 14 15:49:04 now, i wonder *what* i flashed Oct 14 15:49:14 even a heart surgery on the living body Oct 14 15:49:54 why, is your N900 10 times as fast now? ;-P Oct 14 15:50:20 no, i mean Oct 14 15:50:27 i wonder if it bears any resemblance to the bzImage Oct 14 15:50:39 err, good question Oct 14 15:50:51 prolly not to bzImage Oct 14 15:51:08 but you better ask that to Pali Oct 14 15:51:22 he seems to know that bz shit Oct 14 15:51:28 Pali: wtf did i flash Oct 14 15:51:32 headers and all Oct 14 15:51:36 what? Oct 14 15:52:02 Pali: what should the output of "nanddump -ob /dev/mtd3" be? Oct 14 15:52:12 a bzimage with some trailing crap? Oct 14 15:52:14 Pali: a `cat dev/mtd3 >xxx` Oct 14 15:52:29 special nolo header + zImage Oct 14 15:52:42 would that result in xxx having any similarity to a bzImage or any other kernel representation? Oct 14 15:52:42 aww :( Oct 14 15:53:11 DocScrutinizer05, some header (2kb maybe) and after that is zImage Oct 14 15:53:17 yeah Oct 14 15:53:23 thought as much Oct 14 15:53:23 or other image (u-boot, ...) Oct 14 15:53:45 DocScrutinizer05, old 0xFFFF has support for reverse flash = backup Oct 14 15:53:57 you (as uBoot maintainer) even should know the length of that header Oct 14 15:53:59 when I have time, I will add it back to new 0xFFFF Oct 14 15:54:43 Pali: we were after a more generic aproach, fit for arbitrary mtd partitions Oct 14 15:54:48 Pali: why do we need a specialized flasher again? Oct 14 15:54:56 why can't we just prepare the image and then nandwrite? Oct 14 15:55:04 kerio: because of friggin NOLO Oct 14 15:55:12 *prepare the image* Oct 14 15:55:42 how would you tell NOLO to nandwrite? Oct 14 15:55:52 kerio, problem is that for unknown reason size of header in qemu n900 is not same as size of header on real n900... Oct 14 15:56:26 DocScrutinizer05: i meant the on-device flashing Oct 14 15:56:35 with the silly softupd+flasher Oct 14 15:56:39 kerio, you can start patching 0xFFFF for nandump/nandflash support Oct 14 15:56:53 well, I for one am happy with a proper CAL and kernel backup on device in vicinity Oct 14 15:56:56 we need to RE that dtupid header Oct 14 15:56:59 *stupid Oct 14 15:57:08 Pali: 0xFFFF basically boils down to preparing a certain image and then writing it to the NAND, doesn't it Oct 14 15:57:30 no, NOLO writes Oct 14 15:57:36 :o Oct 14 15:57:44 NOLO or softupd write to nand Oct 14 15:57:57 NOLO using NOLO protocol and softupd using MkII protocol Oct 14 15:57:58 flasher-35 talks to NOLO with some weird (zmodem?) protocol Oct 14 15:57:58 oh, 0xFFFF is on a computer's side Oct 14 15:58:00 i see Oct 14 15:58:08 kerio, also on device side Oct 14 15:58:11 for backup Oct 14 15:58:18 Pali: what does it do on the device side? Oct 14 15:58:27 now nothing Oct 14 15:58:33 but old version had support for backup Oct 14 15:58:33 hm Oct 14 15:58:42 and call to nandflash Oct 14 15:58:58 oh well, i managed to successfully dump, erase and write the kernel partition Oct 14 15:59:02 maybe there was partial RE of that header for 770/N8x0 devices Oct 14 15:59:04 with only mtdtools Oct 14 15:59:31 not only kernel, even CAL! :-) Oct 14 15:59:32 problem was that 0xFFFF had old source code of mtd tools included Oct 14 15:59:40 so I removed old code Oct 14 16:00:02 and new implementation should use direcl nanddump/nandsomething external applications... Oct 14 16:00:11 cool Oct 14 16:00:15 the unix way Oct 14 16:00:23 kudos, Pali Oct 14 16:00:31 i still don't know if nanddump should skip bad blocks or not Oct 14 16:00:44 it should Oct 14 16:00:48 are they skipped when reading? Oct 14 16:00:56 somebody who want to implement it? Oct 14 16:01:02 into 0xFFFF? Oct 14 16:01:03 since nandwrite can't write bad blocks, neither skip them in input Oct 14 16:01:10 I really do not have time for 0xFFFF now.... Oct 14 16:01:23 now loading & booting kernel image working Oct 14 16:01:31 flashing was implemented but not tested Oct 14 16:01:41 and there is missing support for MkII protocol Oct 14 16:01:48 used for eMMC flashing Oct 14 16:01:53 and flashing N950 Oct 14 16:02:53 DocScrutinizer05, are you going to implement kernel & CAL backup to 0xFFFF? Oct 14 16:02:53 DocScrutinizer05: sheevaplug > n900 Oct 14 16:03:03 you can just nandwrite to the kernel mtd partition there Oct 14 16:03:08 Pali: hardly, though it might be fun Oct 14 16:03:18 probably not enough time Oct 14 16:04:33 I *might* pimp BM though Oct 14 16:05:02 o/ Oct 14 16:05:21 gotta get to see some few hours of RL on this weekend Oct 14 16:08:26 Pali: does your uboot also read some configuration file on the uSD? Oct 14 16:08:51 kerio, no Oct 14 16:09:11 but there is SD support Oct 14 16:09:26 so you can configure uboot from the terminal... Oct 14 16:09:26 so you can load & run script/kernel from SD card Oct 14 16:09:29 i see Oct 14 16:09:59 i suppose i *should* keep uboot installed, just so i can recover in an emergency Oct 14 16:10:17 cool, somebody edited Community_SSU wiki page, with an actually useful small addition Oct 14 16:10:17 kerio, you can boot resuceos from uboot Oct 14 16:10:21 an emergency that makes me lose the uUSB port Oct 14 16:11:54 you should edit uBoot-script on eMMC/MyDocs to offer the menu entry for jumping to uSD and boot the kernel and rootfs from there Oct 14 16:12:16 DocScrutinizer05: you can configure uboot from the device Oct 14 16:12:24 it's got a console Oct 14 16:12:29 seem my n900 reboots in loop. can anyone help? What i tried: boot Mer from sd (fails to boot kernel), reflash (fails to flash, only boots my pali bootloader)... Oct 14 16:12:36 you however shoud try to do that without messing with files in /etc/bootmenu.d/ Oct 14 16:13:05 gena2x: "reflash" what? Oct 14 16:13:14 kerio: I know genuine uBoot, I know it has a console. I also recall it sucks donkeyballs Oct 14 16:13:23 kerio, emmc and combined image Oct 14 16:13:30 no you didn't Oct 14 16:13:38 otherwise you would've also flashed the kernel Oct 14 16:14:15 maemo kernel seem boot, but then device restarts Oct 14 16:14:17 gena2x: FLASHING IS THE PATH. iF IT FAILS, YOU DIDN'T READ THE ~FLASHING INSTRUCTIONS CAREFULLY Oct 14 16:14:26 OOPS capslock Oct 14 16:14:42 DocScrutinizer05, hi my evil doc, i followed all instructions of course Oct 14 16:14:56 did you do the test for empty battery? Oct 14 16:15:16 i bought new one... Oct 14 16:15:24 but did you do the test? Oct 14 16:15:32 for new battery??? Oct 14 16:15:36 gena2x: if you're still getting uboot, then you botched the flash Oct 14 16:15:45 yep Oct 14 16:16:04 so, pretty please: 1. do battery test Oct 14 16:16:07 kerio, what i have is a: pali u-boot (work), it can boot kernel (reboots) Oct 14 16:16:13 hold 'u', plug in wallcharger Oct 14 16:16:51 kerio, pali boot also 'try' to boot mer (which worked a week ago!), it loads the kernel, but kernel can't start Oct 14 16:17:11 hmm, how could we help? Oct 14 16:17:47 DocScrutinizer05, sorry, i think battery test can't help in this situation... Oct 14 16:17:58 full reflash Oct 14 16:18:06 you got exactly two options: set no_wd-timer flag, or reflash straight away Oct 14 16:18:07 gena2x: correctly flashing VANILLA and COMBINED will give you a n900 at near-factory-conditions Oct 14 16:18:26 combined, emmc, combined Oct 14 16:18:30 gena2x: ok, if you're already knowing ehat can help, why do you ask here? Oct 14 16:18:44 anyone get reaver working on the n900? Oct 14 16:18:48 without uninstalling kismet Oct 14 16:18:48 right, combined, vanilla, combined Oct 14 16:18:51 DocScrutinizer05, welcome back to my ignore list Oct 14 16:18:59 :shrug: Oct 14 16:19:15 Snafu777: why would kismet cause problems to reaver? Oct 14 16:19:25 dunno Oct 14 16:19:28 want to see the output? Oct 14 16:19:31 (make sure you have the injection drivers with monitor mode enabled) Oct 14 16:19:33 welcome back to BOFH chan moderating. I won't tolerate asking questions and ignoring perfectly fine answers Oct 14 16:19:42 you btw is the only person in my ignore list for all time i am using irc Oct 14 16:19:49 LART! LART! LART! LART! Oct 14 16:19:54 and forums and internet Oct 14 16:19:57 The following packages have unmet dependencies: Oct 14 16:19:57 libpcap-dev: Depends: libpcap1 (= 1.0.0-1) but it is not going to be installed Oct 14 16:19:57 E: Broken packages Oct 14 16:20:11 Nokia-N900:~# apt-get install libpcap1 Oct 14 16:20:13 sorry people, just some old stuff Oct 14 16:20:19 The following packages will be REMOVED: Oct 14 16:20:19 iftop kismet libpcap0.8 Oct 14 16:20:19 The following NEW packages will be installed: Oct 14 16:20:19 libpcap1 Oct 14 16:20:20 why you have -dev package installed? Oct 14 16:20:21 =( Oct 14 16:20:25 cuz u need it Oct 14 16:20:33 no you don't Oct 14 16:20:34 Snafu777: stop that shit! Oct 14 16:20:42 eh Doc? Oct 14 16:20:42 do you compiling something on n900? Oct 14 16:20:50 trying to run configure for reaver Oct 14 16:21:06 and from what i understand i need libpcap to configure it Oct 14 16:21:08 Snafu777: do you even have a compiler on your n900? Oct 14 16:21:11 Pali: i can't flash anything Oct 14 16:21:17 * Snafu777 bangs his head... Oct 14 16:21:17 Snafu777: just grab the prebuilt reaver package Oct 14 16:21:25 is it in the repos? Oct 14 16:21:26 Snafu777, compile it in scratchbox Oct 14 16:21:29 Snafu777: also, don't paste more than a couple lines, use a pastebin Oct 14 16:21:29 not on n900 Oct 14 16:21:39 hah Oct 14 16:21:40 okay Oct 14 16:21:42 im an idiot Oct 14 16:21:45 apt-get install reaver Oct 14 16:21:48 * Snafu777 bangs his head hard Oct 14 16:21:49 Snafu777: it's in extras-devel Oct 14 16:21:55 yep Oct 14 16:21:56 it sure is Oct 14 16:22:17 i just always try source first => Oct 14 16:22:20 Pali, oh, i got it, combined-emmc-combined Oct 14 16:22:39 Pali, i followed instructions on nokia site told me to flash emmc first... Oct 14 16:22:56 Pali: could you tell gena2x this is written on ~flashing in all verbosity that makes you wheep Oct 14 16:22:57 Pali, combined first really work, thanks Oct 14 16:24:19 gena2x: it's explained multiple times in ~flashing, btw Oct 14 16:24:28 ~flashing Oct 14 16:24:28 hmm... maemo-flashing is http://wiki.maemo.org/Updating_the_tablet_firmware Oct 14 16:25:52 really sorry guys, just that man once told me that i stole his code... after 2 hour of talk it turned out that 'i am other person', and etc, etc, for some reason he just hates me, i don't know why, this is not my general attitude to people, but i just can't stand him anymore. Oct 14 16:25:58 sure, he followed every single detail on that page, and when I give reasonable advice he tells me he knows better what can help and what won't, and I make it on his ignore that way Oct 14 16:26:40 gena2x: nobody is interested in your lame personal problems Oct 14 16:27:22 at least not here in this chan Oct 14 16:27:32 take it to the chan where it happened Oct 14 16:28:18 you came here for help, you rejected perfectly sane help Oct 14 16:28:35 don't try to find lame excuses for that nasty behaviour Oct 14 16:29:21 yeah, thats only allowed for people who have gained enough social standing Oct 14 16:30:22 rejecting help on a "I know nuttin that's why I came here, but I know THIS won't help" basis. No sir, nobody is allowed such attitude Oct 14 16:31:22 i guess you just disqualified yourself by disallowing someone to have a certain attitude Oct 14 16:31:26 Good night! Oct 14 16:32:36 I guess you were a tad picky on my words. everybody can have attitude whatever he wants, attitudes are like assholes, everybody has one. But *exposing* such attitude in this chan isn't tolerated Oct 14 16:33:38 Wow Oct 14 16:33:40 You guys are angry Oct 14 16:33:48 since it is leaching time of otherwise way more productive people, to explain solutions to the guy who loves to plain reject them, based on arrogance Oct 14 16:33:48 No Oct 14 16:33:50 You all need to chill Oct 14 16:33:56 * kerio grabs some popcorn Oct 14 16:33:59 I just dont understand why apologies are so hard to accept :) Oct 14 16:33:59 Just find something and exploit it Oct 14 16:34:03 Write some code Oct 14 16:34:07 and force a change for good Oct 14 16:34:17 *munch munch* Oct 14 16:34:27 And why it's almost exclusively the same person over and over who is the source of a certain kind of vitriol Oct 14 16:34:38 But I guess I'm not the first wondering, nor the last Oct 14 16:35:06 But, I am stretching my luck here, good night! :) (no hard feelings whatsoever!) Oct 14 16:35:23 U know what is fun? Oct 14 16:35:33 Sitting in the subway drive through Oct 14 16:35:39 Running aircrack with my n900 Oct 14 16:35:42 breaking the wep Oct 14 16:35:51 and syn flooding the router, causing the credit card machine not to work Oct 14 16:35:56 that's lame. Oct 14 16:35:58 proving that the owner is in violation of pcidss rules Oct 14 16:35:59 you know what else is fun? Oct 14 16:36:08 admitting to felonies on the internet Oct 14 16:36:11 Snafu777: lol Oct 14 16:36:12 Yeah? Oct 14 16:36:15 Its a blast Oct 14 16:36:20 Considering its my words Oct 14 16:36:23 with no proof -=) Oct 14 16:36:28 But is it a crime? Oct 14 16:36:30 Really Oct 14 16:36:37 Or is it a forray into ethics Oct 14 16:36:43 Good discussion Oct 14 16:36:44 if u ask me Oct 14 16:37:28 Snafu777: if your lines would consist of more than avrg 2.3 words, it was way easier to read what you say Oct 14 16:38:18 Man, yer an angry dude Doc Oct 14 16:38:34 i'm not angry - I give advice with a smile Oct 14 16:38:48 I type how i think man, sry if that bothers ya Oct 14 16:39:05 it bothers all those with small screen Oct 14 16:39:29 get a bigger screen or use bigger font......? =-) Oct 14 16:39:41 since your text scrolls off on top before anybody made to read all those jumping lines Oct 14 16:39:59 I call it Physical Training for the Eyes Oct 14 16:40:08 not everybody has a IRC reader wirh softscroll Oct 14 16:40:23 we're not in here for physical eye training Oct 14 16:40:25 Im helping you to become stronger Oct 14 16:40:39 ok, not entirely good night yet! Oct 14 16:40:49 trolls here, trolls there. Oct 14 16:40:51 Anyone want a copy of HydraFy or Ferret for the N900? Oct 14 16:42:05 Instead of discuss important matters, we can all just watch someone jump from the edge of space Oct 14 16:42:15 if gootube doesnt break down Oct 14 16:42:21 whens he jumping? Oct 14 16:42:37 very soon Oct 14 16:42:45 http://www.redbullstratos.com/live/ Oct 14 16:42:49 nice Oct 14 16:42:51 watchin Oct 14 16:43:03 The stream is rather flaky Oct 14 16:43:03 is it a plane? is it a meteor? NOOOO it's Superma.... err what's the name of this guy? Oct 14 16:43:12 Felix Baumgartner i think Oct 14 16:43:16 yep Oct 14 16:43:25 mach 1.5 or sth Oct 14 16:43:30 i just wanna see him go through the sound barrier Oct 14 16:43:39 anyway, thanks much to all combined-emmc-combined way seems helped. It booted! Oct 14 16:43:41 if i can see that on live video today, ill be just fine Oct 14 16:43:47 gena2x: \o/ Oct 14 16:44:17 wow Oct 14 16:44:21 thanks for the reminder Oct 14 16:44:24 History here... Oct 14 16:44:48 I'm watching this for the same reason I watch other ridiculous 'sports' Oct 14 16:44:49 and i've found nothing like that on wiki, wiki only tell that you need to flash emmc then combined Oct 14 16:44:50 like Formula1 Oct 14 16:44:59 i just hope something goes horribly wrong Oct 14 16:45:25 gena2x: yes, the solution to problems caused by wrong flashing order are hard to find Oct 14 16:45:26 hahaha Oct 14 16:45:30 http://wiki.maemo.org/Updating_the_tablet_firmware#Flashing_the_eMMC_in_the_N900 >> Note however that eMMC flashing will fail when your rootfs is completely messed up, the recommended flash sequence then is rootfs, eMMC, rootfs *again*.<< (Author: guess-who) Oct 14 16:45:48 that didnt work for me iirc Oct 14 16:45:52 i had to first flash older PR Oct 14 16:45:57 and then newer PR, before it booted Oct 14 16:46:03 o.O Oct 14 16:46:04 gena2x: "Note however that eMMC flashing will fail when your rootfs is completely messed up, the recommended flash sequence then is rootfs, eMMC, rootfs *again*. " Oct 14 16:46:07 or just kernel from older PR, i dont recall correctly Oct 14 16:46:11 its been a while Oct 14 16:47:50 kerio, whoops, than my bad, i skipped 'rationale'... Oct 14 16:48:26 Full citation: "Rationale: on accidental booting in between the 2 flash processes, the sequence formerly suggested (rootfs first) will result in a broken system. The sequence "eMMC first, then rootfs" is checked back with Nokia affiliates and is proven to work as long as your rootfs still is somewhat functional. Note however that eMMC flashing will fail when your rootfs is completely messed up, the recommended flash sequence then is rootfs, eMMC, rootfs *again*. Oct 14 16:48:26 " Oct 14 16:48:40 didn't expect instructions in rationale... Oct 14 16:48:41 DocScrutinizer05: iirc, doing the rootsfs -> emmc --> rootfs again thing just kept hanging at a certain percentage while flashing Oct 14 16:48:47 Lava_Croft: rootfs flashing is used as synonum for "flash COMBINED FIASCO image with rootfs, kernel, all that sh*t" in all that page. I don't think I ever heard it will fail unless you flash a former version first Oct 14 16:48:48 (in my case) Oct 14 16:49:14 yes, thats what i mean with rootfs too Oct 14 16:49:27 i use it to name the .bin that not the emmc .bin :P Oct 14 16:49:42 then your experience is really a special case Oct 14 16:50:20 the thing is, im almost 100% certain it was the same problem for which i sent another n900 back to nokia care Oct 14 16:50:30 but meh, i will never know Oct 14 16:50:36 DocScrutinizer05: heh, i just realized that if my microsd breaks i'm hosed Oct 14 16:50:40 well, those hangs on halfway are a rather ininvestigated mystery with flashing Oct 14 16:50:57 well, i'd have to reflash Oct 14 16:51:08 DocScrutinizer05: i had to flash an old PR, or part of it, for the newer PR to get flashed properly Oct 14 16:51:18 that i know for certain, i really should have remembered the details Oct 14 16:51:33 now i feel sad about not knowing it exactly anymore Oct 14 16:51:44 Baumgartner better fail hard, so i can cheer up Oct 14 16:51:45 realy strange, there's hardly any good explanation why this happens Oct 14 16:52:04 im not an engineer, screw explanations:) Oct 14 16:52:23 Lava_Croft: don't worry, we'll find out about that bugger too, eventually Oct 14 16:53:50 once we got a proper full-featured replacement for friggin flasher-3.5, and maybe even some insight into NOLO, we might actually succeed in debugging such cases Oct 14 16:55:06 until then, we're happy you recovered on the second time it hit you, and we hope the experience will add to our toolbox Oct 14 16:55:32 it's a really rare case anyway Oct 14 16:55:36 who hit the PR button? Oct 14 16:55:45 Im fairly sure i didnt touch anything Oct 14 16:56:14 Unless you are Nokia, there's not reason to use such language Oct 14 16:56:18 no* Oct 14 16:56:26 well, sorry then Oct 14 16:56:35 cya Oct 14 16:56:51 This feels like the Twilight Zone right now Oct 14 16:56:56 I'm really not in the mood to argue for argument's sake Oct 14 16:56:58 I'll head out! Oct 14 16:57:04 o/ Oct 14 16:57:18 trolls trolling trolls Oct 14 16:59:20 kerio: yeah, and *me* is the angry man then, esp when I feel like it's maybe time to hit the eject button Oct 14 17:00:06 don't be upset Oct 14 17:00:09 have a puppy: http://i.imgur.com/YqlLn.jpg Oct 14 17:00:13 nah, just bored Oct 14 17:00:16 Maybe I need to add some "this is not intended very seriously" sign or something Oct 14 17:00:30 ahh, have to reinstall everything. Oct 14 17:00:34 I was merely amazed at how you suddenly started to talk like the guy who provided me with/produced my n900 Oct 14 17:00:46 I was not trying to sound angry :< Oct 14 17:01:07 Lava_Croft: well, #maemo *is* the current n900 helpdesk, pretty much Oct 14 17:01:15 this reminds me Oct 14 17:01:26 deepy: did you fix the kbd slider? Oct 14 17:04:43 lost his magnet? Oct 14 17:05:05 something like that, yes Oct 14 17:05:12 :nod: Oct 14 17:05:21 it's easily fixable, right? Oct 14 17:05:26 sure Oct 14 17:05:39 get a tiny magnet, and some good glue Oct 14 17:07:35 though, when device thinks slide is _open_ all the time, odds are original magnet sticks to hall-switch and you only need some glue to fix it in postion where it belongs Oct 14 17:07:40 * gena2x starts doing backups... Oct 14 17:26:51 what can I do?to charge need to short data+ and data - on usb cable,but if I do this can't use any peripheral Oct 14 17:30:27 zsolt: you need to short D+/D- on the charger's side Oct 14 17:30:30 but that's it Oct 14 17:30:38 aren't you using one of those Y cables? Oct 14 17:30:45 yes I do Oct 14 17:30:49 the "power" side doesn't even have D+/D- i think Oct 14 17:32:17 figured out,that if short d+ and d- on the power side n900 wont recognize it Oct 14 17:32:43 so i have to short it on the cable that goes to phone directly Oct 14 17:33:41 http://talk.maemo.org/showthread.php?t=85658&page=7 built my own set by this article's shematic Oct 14 17:36:15 DocScrutinizer05: by the way, when toying with uboot today, i eventually had to flash a real kernel from my computer Oct 14 17:36:23 and when i booted it, i got the datepicker screen Oct 14 17:37:12 why? Oct 14 17:37:17 i never removed the battery Oct 14 17:37:35 and besides, my bupbat still holds, i think Oct 14 17:40:10 zsolt: that Y-cable is for powering N900 during hostmode. It's definitely _not_ the right solution for general charging purposes, using bme (nevermind if you dunno what's bme) and fastcharger/carcharger Oct 14 17:40:39 kerio: NOLO might reset the RTC chip Oct 14 17:40:46 on flashing kernel Oct 14 17:40:49 who knows Oct 14 17:42:01 what i try to do is charging my phone at the sime time as use peripherals Oct 14 17:42:36 kerio: look, RTC just has a flag register telling system whether it's all ok, or flawed by bupbat/power_dropout, or other general borkage Oct 14 17:42:59 zsolt: so h-e-n with charging Oct 14 17:44:54 for h-e-n USB-hostmode with charging you need to use our charger script (sth like e.g. ShadowJK's charge21.sh) and that script shouldn't care about D+/- short, it even mustn't try to detect D+/- short since that breaks real USB data connection Oct 14 17:45:44 it does try do that Oct 14 17:45:57 but it's a cat you could comment out Oct 14 17:46:29 goddamn raspberry pi Oct 14 17:46:57 or rather, check if musb-hdrc is in hostmode, then skip the D+- check Oct 14 17:47:22 * DocScrutinizer05 smells charge22.sh Oct 14 17:48:51 The reason it does it is that when connected to real wallcharger it reduces power consumption by 80mA :-) Oct 14 17:49:28 I might feel like patching that scriptie into charge30.sh, taking cmdline parameters like cur-max, no-softstart, no-dlineshort-check Oct 14 17:50:13 yeah, the 80mA eaten by musb-hdrc not suspended Oct 14 17:50:22 and ULPI likewise Oct 14 17:50:29 charge3* is my secret experimental branch :) Oct 14 17:50:54 mhm, so I should name it charge42 then ;-D Oct 14 17:51:34 lol Oct 14 17:56:41 42 is clearly better than any other number Oct 14 18:00:01 thank you Oct 14 18:00:28 yw Oct 14 18:01:12 zsolt: if you like hot new things, install kp52 and use bq2415x_charger Oct 14 18:01:28 :-D Oct 14 18:02:33 instead of running scripts, you just "echo auto > /sys/class/something/mode" Oct 14 18:02:35 zsolt: if you like it convenient you might want to wait a bit longer before you dive into that adventure Oct 14 18:03:24 kerio: just that "not running scripts" for now also means "no proper feedback about what's going on" Oct 14 18:04:26 and the USB speed autodetect is far from being reliable yet Oct 14 18:04:30 btw, what's the procedure to connect something that won't work at all with only 200mA? Oct 14 18:06:01 start h-e-n, start boostmode, plug powersupply to Y-cable and 1 second later plug Y-cable to N900 Oct 14 18:06:14 enumerate Oct 14 18:06:30 stop boostmode and start charge21.sh Oct 14 18:06:46 oh, so boostmode still has to be on when enumerating Oct 14 18:06:49 s/mode/on/ Oct 14 18:06:50 DocScrutinizer05 meant: stop booston and start charge21.sh Oct 14 18:07:20 kerio: doesn't really matter Oct 14 18:07:37 kerio: what matters though is not delaying enum too much Oct 14 18:07:48 why's that? Oct 14 18:07:54 while stopping booston can be done any time Oct 14 18:08:47 that's because of some peripherals will "time out" on USB crank-up when ENUM is delayed too long after VBUS got applied Oct 14 18:09:06 bleh Oct 14 18:09:08 :s Oct 14 18:09:15 while other peripherals need like 30s before they even are ready to start enum Oct 14 18:11:56 so the sequence is: select speed, apply VBUS, [label:A] wait 3s, try ENUM, IF (ENUM_failed):A, wait 5s, mount. Oct 14 18:13:27 meh Oct 14 18:13:28 only then "waste time" on dealing with charging Oct 14 18:13:32 i need a tiny usb HUB Oct 14 18:13:34 *hub Oct 14 18:13:50 pretty good idea Oct 14 18:14:56 a cheap one that can be powered externally Oct 14 18:14:59 get a battery pack with not only a (one) USB-F outlet, but actually that outlet being upstream port with power of an embedded hub Oct 14 18:16:27 get a 3-pos switch on that package: off | fastcharger | hub Oct 14 18:16:55 but... i don't want a battery pack :( Oct 14 18:17:06 with fastcharger pos obviously not powering hub electronics but only "upstream" port, and also shorting D+- Oct 14 18:29:08 thank you Oct 14 18:38:21 kerio, 47 is better random number :D Oct 14 18:38:37 Pali: 42 is everything but random Oct 14 18:38:56 ~42 Oct 14 18:38:57 hmm... 42 is the answer to life the universe and everything, see also http://en.wikipedia.org/wiki/the_answer_to_life,_the_universe,_and_everything Oct 14 18:38:58 Pali: anyway, make uboot+kp52 plskthx Oct 14 18:39:29 kerio, I do not have time... Oct 14 18:39:36 :c Oct 14 18:39:42 it'll take like 20 seconds! Oct 14 18:40:01 unless your upload speed is *really* bad Oct 14 18:40:16 i don't have the latest uboot without an attached kernel Oct 14 18:41:41 kerio, I need to look at & test patches from dfries http://gitorious.org/~dfries/community-ssu/dfriess-kernel-cssu Oct 14 18:41:53 and also fiasco-image-update-ask must work Oct 14 18:42:08 fiasco-image-update-ask worksforme Oct 14 18:42:23 i tried kp52->kp52 (didn't ask), kp52->uboot (asked), uboot->kp52 (asked) Oct 14 18:42:45 ok, thanks for testing! Oct 14 18:43:07 kerio, and I have some problems here: https://www.spoj.pl/CHU12_Z1/problems/easy/ Oct 14 18:43:31 Pali: almost ready with cal, any idea how to test it? Oct 14 18:43:32 also some homeworks to school and ... Oct 14 18:44:04 freemangordon, for testing cal is good qemu Oct 14 18:44:13 n900 image in qemu Oct 14 18:44:18 hmm Oct 14 18:44:27 no such animal here Oct 14 18:44:30 part of madde Oct 14 18:44:32 Pali: hmm, SUMFOUR is weird Oct 14 18:45:03 Pali: 10 seconds is... not a lot Oct 14 18:45:08 SUMFOUR is solved :-) Oct 14 18:45:38 also BOTTOM and SUMITR Oct 14 18:45:41 Pali: is it doable in the naïve way? Oct 14 18:45:56 kerio, no :-) Oct 14 18:46:46 recursion? Oct 14 18:46:52 but O(N^2*log(N)) is ok Oct 14 18:47:14 Pali: hmm, sort the lists and do stuff with that, or something Oct 14 18:48:06 Pali: could you help me with testing? Oct 14 18:48:26 freemangordon: you can test it on the device, CAL is restorable! :D Oct 14 18:48:31 freemangordon, first you dump CAL to pc and test in under nandsim Oct 14 18:48:46 so far I should have cal_read_block ready Oct 14 18:48:46 remember to dump it with nanddump -ob Oct 14 18:49:04 $ sudo modprobe nandsim first_id_byte=0x20 second_id_byte=0xaa third_id_byte=0x00 fourth_id_byte=0x15 parts=1,3,2,16,16,2010 Oct 14 18:49:09 on pc ^^^ Oct 14 18:49:19 Pali: onlu /dev/mtd1? Oct 14 18:49:28 *only Oct 14 18:49:39 this will create nand device (with same n900 partitions) in RAM Oct 14 18:49:49 the problem is I don't know what to try to read :D Oct 14 18:50:02 256MB? Oct 14 18:50:12 yes Oct 14 18:50:18 cat /dev/mtd1 > dump Oct 14 18:50:18 comeon, my virtual machine has only 512 :D:D:D Oct 14 18:50:34 hmm, ok Oct 14 18:50:35 ok, look at modinfo nandsim Oct 14 18:50:44 there should be param for smaller nand Oct 14 18:51:13 Pali: that part is easy, more problematic is what am I supposed to read Oct 14 18:51:34 sudo cat /dev/mtd1 > dump Oct 14 18:51:38 ok Oct 14 18:51:40 copy dump to pc Oct 14 18:51:44 but what to read from CAL? Oct 14 18:52:06 cal_read_block needs some parameters, you know :P Oct 14 18:52:06 look at program calvaria Oct 14 18:52:13 it can parse CAL data Oct 14 18:52:22 so you will see what you can read Oct 14 18:52:33 it can show all sections in CAL Oct 14 18:53:14 are you sure it supports everything in CAL? as comparing opencal with my source, there is lots of stuff not supportd Oct 14 18:53:23 Pali: there are 4 sections :D Oct 14 18:53:41 section1/2, usersection and write-protect section Oct 14 18:54:00 at least that is what I understood from the code Oct 14 18:54:11 so I don;t need calravia to do that Oct 14 18:54:28 calvaria only parse data, it show everything Oct 14 18:54:35 write protect has other flag Oct 14 18:54:51 do you have binary? Oct 14 18:54:51 it also show old data Oct 14 18:55:27 only source code: svn://svn.openwrt.org/openwrt/packages/utils/calvaria/files/src Oct 14 18:55:40 this is not binary :D:D:D Oct 14 18:55:42 but ok Oct 14 18:58:12 why does openwrt care about CAL? Oct 14 18:58:19 i thought it was a nokia-specific thing Oct 14 18:58:28 obviously not Oct 14 18:58:48 or wrt invented it for their N900 port Oct 14 18:59:59 freemangordon: 256mb is perfect, you have 256mb of nand and 256mb of usable ram :D Oct 14 19:01:45 WTF? cal.h:4:26: error: mtd/mtd-user.h: No such file or directory Oct 14 19:08:49 hi! i am trying to figure out how to add a button to the Conversations HildonAppMenu. I have read UI docs and tutorials but still can't figure it out. I am using Pythno Oct 14 19:08:52 Python Oct 14 19:15:46 afaik conversations is using browserd to show some local "html-page" as UI Oct 14 19:16:06 do you by any chance now where i can find docs about this? Oct 14 19:16:14 hardly Oct 14 19:16:19 :) Oct 14 19:16:30 search tmo for any tweaks to conversation Oct 14 19:17:11 I seem to recall somebody changed some aspects of the GUI, like left vs right side to show icons, or sth like that Oct 14 19:18:01 google site:talk.maemo.org conversation Oct 14 19:18:51 maybe try to add some meaningful search keys like "CSS" or dunno what Oct 14 19:18:58 "html" Oct 14 19:19:02 "browserd" Oct 14 19:27:14 ping ZogG Oct 14 19:28:50 Pali: calvaria does nothing :( Oct 14 19:28:55 on /dev/mtd1 Oct 14 19:29:03 yes, it mapping file Oct 14 19:29:10 what? Oct 14 19:29:15 and you cannot map mtd device Oct 14 19:29:22 nice Oct 14 19:29:24 you need to dump mtd to file Oct 14 19:29:35 and then run calvaria on it Oct 14 19:29:44 calvaria is only cal parser Oct 14 19:29:46 well, and error message would be helpful , who wrote that? Oct 14 19:29:55 I do not know Oct 14 19:29:55 s/and/an/ Oct 14 19:29:56 freemangordon meant: well, an error message would be helpful , who wrote that? Oct 14 19:29:59 ok Oct 14 19:30:13 but mapping mtd device is possible in upstream kernel Oct 14 19:30:21 but not on 2.6.28 Oct 14 19:30:25 avtobiff: http://talk.maemo.org/showthread.php?t=70623 Oct 14 19:30:31 Pali: ok Oct 14 19:36:03 Pali: Unsupported ioctl: cmd=0x80204d01 Oct 14 19:36:03 CAL ERROR: MEMGETINFO: Function not implemented Oct 14 19:36:12 :( Oct 14 19:38:01 freemangordon, I'm doing some modular arithmetic - cannot think about something else now... Oct 14 19:38:12 hehe, ok Oct 14 19:38:14 my head is going to explode... Oct 14 19:41:19 DocScrutinizer05, found that also but the application menu does not seem to be in those html/css/js files Oct 14 19:45:04 ooh, the menu :-S you're quite probably outa luck with that Oct 14 19:45:22 :( Oct 14 19:46:10 at least I don't know (means I have no idea, yay or nay) if conversations app allows to add menu items Oct 14 19:46:33 I'm rather sure convo app is closed source though Oct 14 19:46:55 mediaplayer for instance actually allows adding menu items Oct 14 19:47:07 contacts as well iirc Oct 14 19:48:38 barisione did something for contact-specific ringtones and I think he added a menu item to contacts app for that. For mediaplayer there's this plugin that allows browsing of fs-tree for playback of real files. Sorry I never can recall the name Oct 14 19:49:44 do anyone tried modrana? i do not understand how to setup gps there. Oct 14 19:49:53 hth to find your way where to search Oct 14 19:54:01 Pali: take care! :-) Oct 14 19:54:55 Pali: I don't even dare to wonder what modular arithmetics might be at all Oct 14 19:58:32 ooh modulo Oct 14 19:58:52 circular closed value space Oct 14 19:59:11 DocScrutinizer05, see: https://en.wikipedia.org/wiki/Modular_arithmetic Oct 14 19:59:27 exactly what I just did :-) Oct 14 20:01:09 number theory is fun! Oct 14 20:01:28 only in so many ways. Oct 14 20:01:40 gena2x, maybe ask M4rtinK Oct 14 20:03:45 Pali, thanks Oct 14 20:16:45 gena2x: hi :) Oct 14 20:17:08 gena2x: what can I help you with ? Oct 14 20:19:47 M4rtinK, hi Oct 14 20:20:15 M4rtinK, i am trying to install modrana Oct 14 20:20:35 M4rtinK, and it seems can't turn on my gps Oct 14 20:21:02 M4rtinK, actually i am already figured out that it's python package installation problem Oct 14 20:21:46 python2.5-dbus seem can't be installed, but somehow installation of modrana went fine Oct 14 20:22:12 are you installing the package from Extras-devel ? Oct 14 20:22:18 yes Oct 14 20:22:30 well, that should just work :) Oct 14 20:22:40 i see in log: Oct 14 20:22:50 modRana: module: device_n900/device failed to load Oct 14 20:22:59 ImportError: No module named dbus.glib Oct 14 20:23:24 apt-get install python2.5-dbus Oct 14 20:23:33 The following packages have unmet dependencies: Oct 14 20:23:34 python2.5-dbus: Depends: python2.5-xml (>= 0.8.4-1osso8) Oct 14 20:23:55 hmm Oct 14 20:23:57 apt-get install python2.5-xml Oct 14 20:24:05 Package python2.5-xml is a virtual package provided by: Oct 14 20:24:05 python-xml 0.8.4-10.1maemo4 Oct 14 20:24:25 apt-get install python-xml Oct 14 20:24:33 python-xml is already the newest version Oct 14 20:24:37 %) Oct 14 20:24:55 try to install just python-dbus Oct 14 20:25:05 as it seems to be a different package Oct 14 20:26:27 hmm, looks like there is no dependency on python-dbus or python2.5-dbus listed for the modRana package at all :D Oct 14 20:26:27 shame on me! Oct 14 20:26:32 ? Oct 14 20:26:43 with python-dbus now it's fine =) Oct 14 20:26:43 well, shame on me if I forgot to add it :) Oct 14 20:27:03 are you one of authors of modrana? Oct 14 20:27:08 ok, I'll update the package dependencies :) Oct 14 20:27:14 yeah Oct 14 20:27:23 cool. nice app. going to try it. Oct 14 20:27:26 the sole active one :) Oct 14 20:27:32 oh Oct 14 20:27:37 thanks ! :) Oct 14 20:28:00 not that there are any non-active authors Oct 14 20:28:16 just that people send some patches or help with testing Oct 14 20:28:25 now it works Oct 14 20:28:33 but usually not participate on development regularly :) Oct 14 20:28:39 good to hear that :) Oct 14 20:29:18 thank you. going to try tomorrow in the car =) Oct 14 20:31:17 will you have connectivity for the whole trip ? Oct 14 20:31:35 yes Oct 14 20:31:58 wonder do you have any plans to collect traffic information? Oct 14 20:31:58 ok, so then everything should just work Oct 14 20:32:15 from users ? Oct 14 20:32:42 rather the other way around - use some API to display it in modRana Oct 14 20:32:58 doesn't matter from there. i am interested to see such information =) Oct 14 20:33:23 hh Oct 14 20:33:43 yes, it could be quite useful Oct 14 20:33:56 connecting to RDS woul.d be cool Oct 14 20:34:36 TMS actually Oct 14 20:34:41 IIRC how RDS works this might be actually doable Oct 14 20:35:12 but is the RDS/TMS code <-> location database available somewhere ? Oct 14 20:35:34 dunno Oct 14 20:35:43 as i think it just sends some codes for the event & area Oct 14 20:35:49 should be somehow defined somewhere Oct 14 20:36:43 well, I'm quite overloaded already :) but won't mind to merge it in if somebody does it :) Oct 14 20:37:08 modRana internals consultation included :) Oct 14 20:42:27 BTW, there are more interesting data sources that could be added: POI extracts, weather radar data, weather prediction, restaurant/hotel review search, Wikimapia, Nominatim, etc. :) Oct 14 20:45:03 M4rtinK, hm, going to add Oct 14 20:46:27 M4rtinK, where can i found more information on this? Oct 14 20:46:31 *find Oct 14 20:48:22 gena2x: do you mean modRana or the different data sources ? Oct 14 20:49:24 M4rtinK, sorry, misunderstood, you've said 'could' =) Oct 14 21:00:25 M4rtinK, how to remove POI from map? Oct 14 21:01:03 M4rtinK, i am pressing 'clear visible' but it says 'nothing to clear' Oct 14 21:03:59 gena2x: there are two types of markers - those shown for POI and those for search results Oct 14 21:05:53 gena2x: to clear the search result, click on one of them, select "tools" and then "clear results" Oct 14 21:07:38 gena2x: I should probably also add a "clear all visible" button to the main search menu Oct 14 21:07:39 M4rtinK, yeah Oct 14 21:07:57 M4rtinK, i mean this works Oct 14 23:15:58 w00t, ngrep ported to the n900 Oct 14 23:16:00 !! Oct 15 00:04:47 :-) **** ENDING LOGGING AT Mon Oct 15 03:00:01 2012