**** BEGIN LOGGING AT Sat Oct 27 03:00:02 2012 Oct 27 03:00:59 robbiethe1st: Oct 27 03:01:03 ? Oct 27 03:01:08 next time you update backupmenu Oct 27 03:01:18 Yes? Oct 27 03:01:21 please make untar ignore timestamp issues Oct 27 03:01:27 It does. Oct 27 03:01:41 But it shows up as errors anyway, doesn't do any harm. Oct 27 03:01:44 then why did it spew out thousends of errors on me and break my rootfs? Oct 27 03:01:54 *broke Oct 27 03:02:24 It will spew out errors - that's just a listing of stderr. But it's set to ignore most all errors - go check the source for the exact tar options used Oct 27 03:02:40 Why do you think it broke your rootfs? Oct 27 03:02:55 Did you stop it before it was complete? Oct 27 03:03:04 because it made a fine bootable device unbootable Oct 27 03:03:07 not at all Oct 27 03:03:16 OK, and what kernel were you using? Oct 27 03:03:17 it said that it was complete in big nice green text Oct 27 03:03:24 powerkernel Oct 27 03:04:06 Did the backup you were restoring have the same kernel as currently flashed to the device? Oct 27 03:04:14 hmmmmmm Oct 27 03:04:18 let me think Oct 27 03:04:33 If you've got a different kernel running - flashed to the kernel partition - the backup won't have kernel modules for it Oct 27 03:04:33 no Oct 27 03:04:36 therefor, no booting Oct 27 03:04:54 One way to check, use flasher to flash /only the stock kernel/ Oct 27 03:04:57 ok that's understandable Oct 27 03:05:01 If it boots, great. Oct 27 03:05:13 i can't flash, (barely) broken microUSB Oct 27 03:05:22 i'll go to a repair shop and solve that problem Oct 27 03:05:29 then I'll be able to do stuff with it Oct 27 03:05:34 Yeah. Oct 27 03:05:59 But if it's not the kernel, that's weird - I /generally/ have no issues, and rarely see complaints Oct 27 03:06:02 however the problem came up as very erratic Oct 27 03:06:20 like half of the things still work, most doesn't Oct 27 03:06:33 Did you flash the optfs as well? Oct 27 03:06:45 hm Oct 27 03:06:48 Because all of your app's files are stored on there Oct 27 03:06:54 I don't *think* so, but I'm not sure Oct 27 03:07:17 rootfs has main OS, and some binaries, plus symlinks to most apps Oct 27 03:07:24 which are on the opt/home fs Oct 27 03:07:28 yeah I know what they're used for pretty much Oct 27 03:07:49 but I can't see what difference flashing optfs would make in my case Oct 27 03:08:05 bootmenu crashes after 5s of idle (probably watchdog issue), maemo doesn't boot at all, backupmenu crashes unless I press keys during startup (then it gives a "watchdog not found" error), and menu options mostly doesn't work (though they respond fine) Oct 27 03:08:12 It'd only be a real issue if your current apps are different from the old apps Oct 27 03:08:31 Well, that's interesting Oct 27 03:08:38 I wonder if that's a kernel issue... Oct 27 03:08:55 I tried to re-restore the thing, but I cannot mount eMMC properly now Oct 27 03:09:19 it told me to run fsck (pretty sure it wouldn't change things, but it didn't work anyway - "fsck.ext2: No such file or directory") Oct 27 03:09:41 So you've got no fsck on the rootfs Oct 27 03:09:55 wow, could the backup have gotten corrupted/been incomplete? Oct 27 03:09:58 root shell just gave me a black screen, though it *always* did (even when things were working fine) Oct 27 03:10:25 i'm pretty sure that's not the case, unless "Completed successfully!" (or whatever the text is) isn't certain Oct 27 03:10:39 also wouldn't that also make restore impossible? Oct 27 03:10:56 Well, what that knows is that tar completed successfully Oct 27 03:11:12 whether the backup is complete or is what you actually want... no real way to tell Oct 27 03:11:21 DocScrutinizer05 thought it was because of a bug in which backupmenu didn't tar without ignoring timestamp, which means that everything that didn't have a time of 0 failed Oct 27 03:11:21 all it's doing is running simple shell commands, basically Oct 27 03:11:42 s/time/last changed time/ Oct 27 03:11:42 FIQ meant: DocScrutinizer05 thought it was because of a bug in which backupmenu didn't tar without ignoring last changed timestamp, which means that everything that didn't have a time of 0 failed Oct 27 03:11:47 It shouldn't. Oct 27 03:11:54 Check the source actually Oct 27 03:12:15 the file you're looking for is /usr/share/BackupMenu/BackupMenu.item - shell script Oct 27 03:12:20 look for 'gtar' lines. Oct 27 03:12:51 Hm, can you mount anything via USB? Oct 27 03:13:36 Dinnertime. Be back soon. Oct 27 03:14:27 sorry, but when I check the source, I see no trace of a "ignore timestamp", though my knowledge of gtar might just be limited Oct 27 03:14:53 gtar p"$backupRootCompress"cf $backupRootLocation ./ --ignore-failed-read --numeric-owner --exclude=./tmp/* 2> /tmp/tarstatus & pid=$! <-- is the line Oct 27 03:16:23 no... Oct 27 03:16:35 I checked manpage quickly, the options given seems to be unrelated to that Oct 27 03:18:32 possible that --ignore-failed-read ignores mtime though, so you might be correct Oct 27 03:19:52 oh well, I can't really diagnose anything at the moment due to microUSB problems, as said Oct 27 03:20:30 Ok, I can see that a modified kernel would make Maemo unbootable. Oct 27 03:20:41 er, different kernel between restore and pre-restore Oct 27 03:21:17 I can *not* however see why that would broke backupmenu as horrible as it did (or bootmenu for that matter, which doesn't even use the kernel pre-boot) Oct 27 03:25:33 Also, I though that the kernel *were* in the rootfs, i.e. didn't think about it much when I flashed a new kernel in first place Oct 27 04:04:03 FIQ, I can't give you too much help with regards to the screwed-up restore; only thing I can suggest is doing a diff of your backup image(if you have a copy elsewhere) against a previous backup or another person's. Oct 27 04:04:53 i'll see what I can do once i can reflash and boot the device (as it's all on eMMC etc) Oct 27 04:06:04 Yeah Oct 27 04:06:20 Um, check the thread. There's an old 'bootstrap' rootfs image you can try Oct 27 04:06:23 flashable Oct 27 11:31:07 While this was running, /sys/class/power_supply/bq24150-0/status said "Charging". I'd guess that this is not quite true. The N900 was receiving power but not enough to run the N900 and the battery was emptying. /sys/class/power_supply/bq24150-0/charge_current says "1750". What does that mean? I doubt that it means that the N900 is receiving 1750 mA. Oct 27 11:31:10 haha wat Oct 27 11:31:19 DocScrutinizer05: http://talk.maemo.org/showpost.php?p=1286272&postcount=115 - explain Oct 27 11:40:52 from memory, there is no way to measure charging current Oct 27 11:41:06 only battery current Oct 27 11:41:45 'charging' means have vbus, from the charger perspective Oct 27 11:53:42 wtf, where's the download link for apkenv? :s Oct 27 11:56:39 thp must've taken it down. Oct 27 11:56:44 http://talk.maemo.org/showpost.php?p=1284909&postcount=326 Oct 27 11:56:49 meh Oct 27 11:56:49 Found here: http://wiki.maemo.org/Apkenv Oct 27 11:56:59 (.zip containing a .deb) Oct 27 11:58:49 thankfully the wayback machine exists Oct 27 11:59:03 aww, it's not archived :( Oct 27 12:00:31 Uh Oct 27 12:00:33 I just linked it. Oct 27 12:00:36 I'll try again. Oct 27 12:00:40 http://talk.maemo.org/showpost.php?p=1284909&postcount=326 Oct 27 12:00:59 >harmattan Oct 27 12:02:13 Ah Oct 27 12:07:38 kerio: no /sys/class/power_supply/bq24150-0/status without pali's bq24150.ko, so I have NFC what does "charging" mean Oct 27 12:10:47 kerio: http://talk.maemo.org/showpost.php?p=1241530&postcount=1 so please ask the OP of thread, not me Oct 27 12:11:29 who's got a Nexus 7? Native ubuntu on it since yesterday, with hildon on it could be almost maemo. Oct 27 12:29:59 How to set maemo's clock from cli? Oct 27 12:30:22 gui is so slow Oct 27 12:30:38 I want to set time format and time zone from cli Oct 27 12:30:40 date & hwclock? Oct 27 12:30:49 ooh Oct 27 12:30:59 DocScrutinizer05, hwclock? Oct 27 12:31:08 silly UI wants you to swipe/scroll all the way Oct 27 12:33:43 LaoLang_cool: nevermind, for setting TZ and format you need other tools, no idea what's the maemo way to edit them Oct 27 12:34:22 tzset? Oct 27 12:34:32 LaoLang_cool: setting clock is date(1) and hwclock(8) Oct 27 12:34:59 hello Oct 27 12:35:04 hello Oct 27 12:39:08 I tried to use gconftool-2 -s /apps/clock/time-format --type=boolean ture, but it doesn't work, after I launch clock, the time format will be changed to default 12hr again Oct 27 12:39:28 I got confused Oct 27 12:42:45 * pressed Oct 27 12:43:15 xray7225: eh? Oct 27 12:44:34 LaoLang_cool: I assume the 'ture' is a typo you introduced here? Oct 27 12:45:30 LaoLang_cool: check by >> gconftool-2 -g /apps/clock/time-format<< Oct 27 12:46:27 DocScrutinizer05, it's typo ;p Oct 27 12:46:39 sure, but where? Oct 27 12:46:54 as long as it's a typo here, it doesn't affect cli Oct 27 12:47:03 I have set it to true, but after launch clock, the value will be restored to 'false' Oct 27 12:47:17 I don't know why Oct 27 12:47:26 in cli however it won't throw an error (I just checked) but I doubt it will result in what you intended Oct 27 12:49:42 LaoLang_cool: check out tzconfig, tzset, and locale Oct 27 12:50:06 s/set/select/ Oct 27 12:50:07 DocScrutinizer05 meant: LaoLang_cool: check out tzconfig, tzselect, and locale Oct 27 12:50:39 After running gconftool-2, time showing on status bar will be changed to 24hr format, but after running clock, it will be restored back to 12hr Oct 27 12:50:56 H iave no tzset cmd here in maemo ... Oct 27 12:51:41 tzseelct Oct 27 12:51:50 tzselect grrrr Oct 27 12:52:06 -sh: tzselect: not found Oct 27 12:52:19 IroN900:/home/user# ll /usr/bin/tzselect Oct 27 12:52:21 -rwxr-xr-x 1 root root 6894 2010-06-08 14:19 /usr/bin/tzselect Oct 27 12:52:35 but tz can give tzselect as a completion candidate, weired... Oct 27 12:52:41 nfc which pkg brought it Oct 27 12:52:45 I'm running as root now Oct 27 13:08:11 oh, tzselect use /bin/bash as shell, I haven't it, so it says not found Oct 27 13:09:08 DocScrutinizer05: libc6, apparently Oct 27 13:10:42 kerio: ?? tzselect? Oct 27 13:11:16 yep Oct 27 13:11:19 kerio: dafq a lib comes with cmdline binaries? Oct 27 13:11:21 dpkg -S `which tzselect` Oct 27 13:11:51 wow Oct 27 13:12:05 kerio: thanks Oct 27 13:12:32 kerio: you think you can stop trolling now that your stand-in is here again? :-D Oct 27 13:12:39 nope Oct 27 13:12:47 way too useful... ;-P Oct 27 13:13:01 i feel that the mixture of trolling and helping is what really upsets people Oct 27 13:13:08 hehehehe Oct 27 13:13:14 might be about right Oct 27 13:14:20 and in the meantime, i help people :D Oct 27 13:15:22 I'm however afraid that - if this tz* stuff comes with libc6 - it might be of no effect on maemo Oct 27 13:16:38 prolly a strace of the time&language picker in maemo settings might reveal what's primary location to tweak for such TZ and format stuff Oct 27 13:16:46 in maemo Oct 27 13:17:27 or just dbus-monitor Oct 27 13:17:57 alternatively do a ls -lR / >before-ls; gconftool -R / >before-gc Oct 27 13:18:16 the change settings-tz, then compare before* to after* Oct 27 13:18:50 then* change... Oct 27 13:20:44 (dbus) I'm not sure this class of settings is done via dbus Oct 27 13:38:40 trolling? you dont say... Oct 27 13:39:23 i do say Oct 27 13:43:58 precisely Oct 27 16:38:51 Pali: what's the state of uboot as a full NOLO replacement? Oct 27 16:39:14 uboot has no support for n900 onenand Oct 27 16:39:17 Pali: ROMBL tries to read xloader from the uSD apparently, so it would be neat if we had a way to run an emergency emergency system from there Oct 27 16:39:27 kerio, but in qemu it show me hello world to serial console :-) Oct 27 16:39:42 so I think uboot spl is working for n900 Oct 27 16:40:01 Pali: what about the hw initialization? Oct 27 16:40:17 kerio, I do not know if omap n900 can boot xloader from sd card... Oct 27 16:40:33 Pali: it can Oct 27 16:40:46 kerio, at least xloader+uboot spl doing all what is needed for qemu Oct 27 16:40:59 look at the end of the TRM for details Oct 27 16:41:23 freemangordon, it needs to configure to change boot sequence Oct 27 16:41:37 and I do not know if it is possible on n900 without serial console... Oct 27 16:42:00 at least there *is* command for "cold-flashing" for it Oct 27 16:42:09 to boot from mmc Oct 27 16:42:40 Pali: the boot order depends on some DWORD in RAM iirc Oct 27 16:42:57 but I do not know exact format of xloader on non gp devices Oct 27 16:43:08 in trm is only MLO file for gp device Oct 27 16:43:13 I see Oct 27 16:43:38 I already looked at it when I implemented cold flashing... Oct 27 17:20:12 i'm eager to test MLO on uSD, what's been the exact requirements? VFAT partition, MLO.*? on \ ? Oct 27 17:20:54 I mean, dd if=dev/NOLO of=MyDocs/MLO.bin would be a start Oct 27 17:21:06 I'd expect boot to fail and freeze on that Oct 27 17:21:23 Pali: freemangordon: ^^^ Oct 27 17:24:26 DocScrutinizer05, see http://omappedia.org/wiki/Bootloader_Project Oct 27 17:25:34 see also: http://linux.fjfi.cvut.cz/~zub/omap34xx-boot-order/ Oct 27 17:25:44 but I have no idea if this working on HS devices Oct 27 17:29:00 DocScrutinizer05: i'd guess MBR and the first partition formatted as vfat Oct 27 17:29:20 kerio: nope, a file called MLO Oct 27 17:29:29 DocScrutinizer05: no, i mean Oct 27 17:29:37 MLO.bin in the first vfat partition of the MBR Oct 27 17:30:16 sure I guess it will look for MBR to get partiton table to learn what's first partition Oct 27 17:30:34 and the file is "MLO" in root, not "MLO.bin" Oct 27 17:31:16 i see Oct 27 17:34:59 Oh LOL Oct 27 17:35:02 IroN900:~# ./omap34xx-boot-order Oct 27 17:35:04 sys_boot[5:0]: 0x10 Oct 27 17:35:05 Boot order: OneNAND USB UART3 MMC1 -- Oct 27 17:35:47 Pali: mio. thanks Oct 27 17:39:10 so if that's true and I'm not mistaken, you *can't* coldflash a working xloader+NOLO - or could you? Oct 27 17:39:49 USB is coldflash? Oct 27 17:39:56 well, xloader still might check USB before chainloading existing NOLO Oct 27 17:40:05 DocScrutinizer05: remember the nandtester Oct 27 17:40:08 he had no xloader Oct 27 17:40:53 kerio: yep, that's pretty easily the reason why he could coldflash Oct 27 17:41:36 ROMBL didn't find a valid xloader in NAND, so listened to ZSB for coldflashing Oct 27 17:41:41 USB* Oct 27 17:41:47 hm Oct 27 17:42:02 DocScrutinizer05: so we *are* set, if we find a way to boot from uSD Oct 27 17:42:15 hmm? Oct 27 17:42:27 oh no wait, there's still a problem Oct 27 17:42:32 Boot order: OneNAND USB UART3 MMC1 -- Oct 27 17:42:52 it only goes to mmc1 if it can't load the nand xloader Oct 27 17:43:02 yep, exactly Oct 27 17:43:49 and what xloader does, this is a completely different story then Oct 27 17:44:36 http://omappedia.org/wiki/Bootloader_Project#Second_Stage_Boot Oct 27 17:48:08 cp $whatever /media/mmc1/u-boot.bin Oct 27 17:48:18 might be worth a try Oct 27 17:48:49 >>In the case of loading the u-boot via the SD card, the SD card x-loader looks for a FAT32 partition on the first MMC controller and scans the top level directory for a file named "u-boot.bin". It then transfers the file into main memory and transfers control to it.<< Oct 27 17:49:07 ...huh, i have an u-boot.bin on my MyDocs Oct 27 17:49:34 so I guess 'our' xloader doesn't do that Oct 27 17:50:54 it might look at USB for somebody trying to coldflash NOLO, and load 2nd NOLO from there into RAM, but it probably won't look at MMC1 for u-boot.bin Oct 27 17:51:13 :( Oct 27 17:51:48 DocScrutinizer05, colflashing is done via USB peripherla booting Oct 27 17:51:58 and usb peripheral booting is done *before* omap booting Oct 27 17:52:09 sorry? Oct 27 17:52:19 so you can cold flash Oct 27 17:52:26 what's omap booting? Oct 27 17:52:38 I mean booting from above your list Oct 27 17:52:43 what's usb peripheral booting Oct 27 17:53:16 the above list tells where ROMBL looks for xloader/MLO Oct 27 17:53:36 what's MLO? Oct 27 17:53:53 once xloader got loaded, it again has some list (of possibly only one source) where to look for NOLO Oct 27 17:54:06 kerio: another name for xloader Oct 27 17:54:16 DocScrutinizer05, bootrom first check if there is omap asic message sent from usb Oct 27 17:54:29 if yes then it wait for another message via usb Oct 27 17:54:38 if no then bootrom booting from list Oct 27 17:54:45 oooh Oct 27 17:55:03 and one message is "wait for boot image via usb" and boot it Oct 27 17:55:07 wtf is this specified now? Oct 27 17:55:36 USB in that boot order is booting from usb device Oct 27 17:55:41 via host mode Oct 27 17:55:48 WUT? Oct 27 17:55:55 (but this is not working on n900) Oct 27 17:55:59 that's not what I think ROMBL can do Oct 27 17:56:13 yes, omap boot rom can do it Oct 27 17:56:28 boot xloader from assrage device??? Oct 27 17:56:57 omap bootrom can boot xloader from nand, onenand, mmc, usb flash, ... Oct 27 17:57:01 look into trm Oct 27 17:57:10 usb FLASH? Oct 27 17:57:12 duh Oct 27 17:57:26 usb flash disk Oct 27 17:58:13 DocScrutinizer05, see: https://github.com/radare/0xFFFF/blob/master/src/cold-flash.c#L82 Oct 27 17:58:34 all possible boot messages Oct 27 18:04:35 Pali: does ROMBL try multiple times to load the xloader? Oct 27 18:05:08 kerio, I do not know what omap rom doing Oct 27 18:05:13 try look at trm Oct 27 18:05:26 TRM "26.4 Device Initialization by ROM Code" doesn't mention mass storage mode for USB, only "download" from host Oct 27 18:07:54 hm, there was booting file from FAT partition on usb device (via usb host mode) Oct 27 18:09:55 don't see it anywhere in this region of TRM Oct 27 18:10:07 have to check "Figure 26-8. Overall Booting Sequence" for a while Oct 27 18:10:33 (p.3455 of my TRM) Oct 27 18:22:55 Pali: I only see "/* Omap HS USB boot message */" in this 0xffff source you linked me to, and that's what I see as well in e.g. "26.4.5 Peripheral Booting" in TRM. AIUI it's waiting for image to get sent via USB "plaintext", not mounting a USB mass storage device and load some file from there Oct 27 18:23:50 that's pretty much what we expect to see for coldflashing Oct 27 18:26:27 Pali: "Figure 26-9. Device List Setup" says "power-on reset? YES: take all devices from sys_boot [pins]" Oct 27 18:28:29 Pali: so in the end I don't see why we could make ROMBL load xloader from USB - with "Boot order: OneNAND USB UART3 MMC1 -- " - when xloader in NAND is succeeding for "try to load" Oct 27 18:30:04 DocScrutinizer05, ok Oct 27 18:31:32 I'd be happy to learn I missed something, or that maybe output of ./omap34xx-boot-order was incorrect Oct 27 18:32:36 for now it seems to me there's no way to override a working xloader in OneNAND - which otoh makes quite some sense Oct 27 18:33:38 you can't nuke xloader without booting device, and you can't boot device in a way not meant to be valid by xloader Oct 27 18:34:11 so in that regard the device is tamper-proof Oct 27 18:47:35 DocScrutinizer05: tamper-proof as long as you don't have a computer and a usb cable handy Oct 27 18:47:57 kerio: exactly NOT Oct 27 18:48:54 since you can't stop ROMBL from loading and executing OneNAND xloader by any means, other than destructing the OneNAND based xloader, on a power-on-reset boot Oct 27 18:49:25 i thought coldflashing happened before the onenand xloader was loaded Oct 27 18:49:37 only if xloader fails Oct 27 18:49:52 oic Oct 27 18:50:40 see: "Boot order: OneNAND USB UART3 MMC1 -- " Oct 27 18:51:03 ~nexus6 Oct 27 18:51:07 ~nexus Oct 27 18:51:15 btw time window for polling USB is 300ms, if anybody is interested Oct 27 18:51:48 DocScrutinizer05: so what happens if xloader is fine but NOLO is borked? Oct 27 18:51:59 that depends on xloader Oct 27 18:52:05 the current xloader Oct 27 18:52:08 the one signed by nokia Oct 27 18:52:13 yep Oct 27 18:52:34 no, i mean, what does it do if NOLO is borked? Oct 27 18:52:46 that depends on xloader Oct 27 18:53:29 DocScrutinizer05: so you don't know? Oct 27 18:53:33 since "it" == xloader in your question Oct 27 18:54:13 no, I don't know since I haven't disassembled xloader yet Oct 27 18:54:24 i thought somebody had tried it by now Oct 27 18:54:30 ...but ofc if there's no way to recover... Oct 27 18:55:18 you probably could tell from your PCs syslog, watching for xloader ENUM after ROMBL ENUM Oct 27 18:56:03 I still have to investigate and sync the data from syslog with my above reasoning Oct 27 18:57:49 actually for poor _lena this aren't exactly good news Oct 27 18:58:06 who was that again? Oct 27 18:58:28 the girl which had a failing flashing-procedure Oct 27 18:58:35 oh right Oct 27 18:58:40 and even failing NOLO bat test Oct 27 18:58:54 i thought it was just a low battery Oct 27 18:59:13 unlikely on Vbat=4066mV or sth Oct 27 19:00:45 I'm just flabbergasted she said she swapped bupbat Oct 27 19:01:47 I think he actually did mean something else Oct 27 19:01:49 she Oct 27 19:02:04 not used to she @ irc :D Oct 27 19:04:53 DocScrutinizer05, do you know AT commands? or do you have some doc for it? Oct 27 19:05:14 I need to know what should "AT+CSRSF=0,0,0,0,0,7" do Oct 27 19:05:22 I know a few, but my good times are long gone ;-D Oct 27 19:05:58 when I connet my bluetooth headset into hfs mode, then blutooth daemon show this into syslog Oct 27 19:06:00 bluetoothd[1425]: Badly formated or unrecognized command: AT+CSRSF=0,0,0,0,0,7 Oct 27 19:06:11 also on desktop and on n900 Oct 27 19:06:30 DocScrutinizer05, so I think bluetooth daemon does not have implemented that code Oct 27 19:06:43 and I'd like to know what my bluetooth headset sending Oct 27 19:06:55 but I was not able to find anything about that AT command Oct 27 19:06:56 nfc Oct 27 19:07:06 never heard of it Oct 27 19:08:00 is there any documentation for AT? Oct 27 19:08:01 Pali: it is a CIA backdoor. Oct 27 19:08:04 and obviously pnatd doesn't know it either Oct 27 19:08:15 vi__, what? Oct 27 19:08:25 how? :D Oct 27 19:08:36 Pali: there's a lot of AT docs, but obviously nothing mentioning AT+CSRSF Oct 27 19:09:02 at least according to aunt google Oct 27 19:10:56 Pali: http://thebirdfree-personal.googlecode.com/svn-history/r13/trunk/Ontech/twitter/lib/aghfp/aghfp_parse.parse Oct 27 19:11:53 # CSR Extended Features Oct 27 19:11:54 # a CSR Supported Features Request Oct 27 19:11:56 { AT + CSRSF = %d:callerName , %d:rawText , %d:smsInd , %d:battLevel , %d:pwrSource , %d:codecs , %*:ignore \r } : aghfpHandleReponseCSRSupportedFeatures Oct 27 19:11:59 hm... Oct 27 19:12:46 codecs=7 Oct 27 19:20:10 Pali: http://forums.gentoo.org/viewtopic-t-910204-start-0.html Oct 27 19:21:36 there is no info about CSR... Oct 27 19:21:46 >>Feb 1 23:12:31 localhost bluetoothd[3065]: Badly formated or unrecognized command: AT+CSRSF=1,1,1,1,1,7 << Oct 27 19:21:51 what about CCR? Oct 27 19:21:56 but nobody explained what it is Oct 27 19:22:01 sure Oct 27 19:22:12 I found many logs on google with that AT Oct 27 19:22:14 there's really few in aunt google about it Oct 27 19:22:46 now I'm trying to understand that aghfp code from googlecode Oct 27 19:22:58 Pali: headset asking for codec support for a2dp? Oct 27 19:23:16 kerio, that AT command is for hfp Oct 27 19:23:22 oh Oct 27 19:23:27 Pali: headset asking for codec support for hfp? Oct 27 19:23:31 >:D Oct 27 19:23:37 but my headset has support for apt-x Oct 27 19:23:49 i thought apt-x was strictly for a2dp Oct 27 19:24:03 I thought too Oct 27 19:24:11 I need to know more about it Oct 27 19:24:12 for some very strange reason google doesn't yield any hits for "AT+CSRSF" Oct 27 19:25:45 If I had to guess, I'd suspect something along extended functions on headset, like number display, voice-dialing, whatnot Oct 27 19:26:09 well, probably that's what HFP means ;-P Oct 27 19:27:30 DocScrutinizer05, I have 4 buttons on headset and they working without problem (both n900 and notebook) Oct 27 19:28:53 Pali: so what did you say, who is spamming that AT+CSRSF string ? Oct 27 19:29:08 my bluetooth headset Oct 27 19:29:22 o.O Oct 27 19:29:29 I'd ignore that then Oct 27 19:29:33 everytime when I connect it Oct 27 19:29:54 yes I'm ignoring it, but I'd like to know what is my bluetootj headset trying to tell me... Oct 27 19:29:59 probably it's just checking some special function of e.g. cryPhone or whatever Oct 27 19:30:47 since the command returns error on PNATD it will fall back to more generic methods to achieve wahtever it needs to do Oct 27 19:32:34 maybe the headset would offer several codecs that the modem can digest natively, and thus avoid transcoding from e.g mp3 to pcm in SoC/APE Oct 27 19:33:09 Apple/whoever might have implemented such function to save some energy Oct 27 19:34:04 from "AT + CSRSF = %d:callerName , %d:rawText , %d:smsInd , %d:battLevel , %d:pwrSource , %d:codecs" I understand that my "AT+CSRSF=0,0,0,0,0,7" is name, text, sms, batt, pwr are unsupported (0) and codecs=7 Oct 27 19:34:26 :nod: Oct 27 19:34:47 so 7 supported codecs? Oct 27 19:34:53 :shrug: Oct 27 19:35:09 codec #7 ? Oct 27 19:35:31 nah, actually number of codecs Oct 27 19:35:46 or class of codecs, or whatever Oct 27 19:35:54 see header of that file: This file contains all AT commands as specified in the Headset and Hands Free specs. Oct 27 19:36:07 Copyright (C) Cambridge Silicon Radio Ltd. 2005-2009 Part of Audio-Adaptor-SDK 2009.R1 Oct 27 19:36:18 I noticed that, yeah Oct 27 19:36:44 whoever that might be Oct 27 19:37:01 Cambridge Silicon Radio Ltd Oct 27 19:37:37 CSR? Oct 27 19:37:44 seems it's rather a specific or proprietary cmd of them Oct 27 19:38:01 sure, CSR = Cambridge Silicon Radio Ltd Oct 27 19:38:43 other silicon bakers might have adopted the syntax Oct 27 19:39:05 like AT at large once been Hayes Oct 27 19:39:59 bottom line: a highly intriguing though negligible problem Oct 27 19:40:58 ergo exactly the stuff hackers spend 95% of their time when implementing a project, while the main heavy lifting is done in the remaining 5% of time, during several nightshifts Oct 27 19:41:08 ;-) Oct 27 19:44:59 http://www-personal.edfac.usyd.edu.au/staff/souters/Humour/Real.Programmer.Stories.html Oct 27 19:46:29 >> If there is not enough schedule pressure on the Real Programmer, he tends to make things more challenging by working on some small but interesting part of the problem for the first nine weeks, then finishing the rest in the last week, in two or three 50-hour marathons. << Oct 27 19:47:51 >>This not only inpresses the hell out of his manager, who was despairing of ever getting the project done on time, but creates a convenient excuse for not doing the documentation.<< Oct 27 19:49:54 Im sure that will result in good code! Oct 27 19:53:01 indeed, *real* code that nobody ever will be able to understand. that's how the "real programmer" likes his code Oct 27 19:53:22 50 hour marathons. ive been there... Oct 27 19:54:07 * DocScrutinizer05 too Oct 27 19:54:16 when I was younf and beautiful Oct 27 19:54:44 and I needed the money ;-P Oct 27 19:55:08 you're still beautiful docky! Oct 27 19:55:17 ;-P Oct 27 19:55:25 my sunglasses are, not me Oct 27 19:56:24 actually the only comment regarding my avatar so far been: "NOO!? For real???? I thought 'what a badass'!" Oct 27 19:58:00 DocScrutinizer05: thankgod the days where "real" programmers ruled the world are over Oct 27 19:58:21 Lava_Croft: yeah Oct 27 19:58:42 alas nowadays web programmers took over Oct 27 19:58:53 is that even programming Oct 27 19:58:56 i wonder Oct 27 19:58:58 no Oct 27 19:59:26 though, depends whom you ask Oct 27 19:59:28 ;-D Oct 27 19:59:55 ;) Oct 27 20:00:05 ok, i have to get this off my chest Oct 27 20:00:17 the Qml zealots for sure will claim that's the best programming the world ever seen Oct 27 20:00:27 there's too many websites sporting articles that are roughly titled "Installing Windows 8 in 7 steps" Oct 27 20:00:33 Thats just a brainfuck Oct 27 20:00:59 im not programmer orso, but qml is scripting to me Oct 27 20:01:05 i installed linux mint on a laptop i've never seen before, yesterday Oct 27 20:01:23 i still don't know its specs, i just followed the installer Oct 27 20:01:30 everything worked perfectly :s Oct 27 20:02:51 :shrug: Oct 27 20:03:01 I think I never done anything different Oct 27 20:03:05 "customers who had visited the store so far didn't seem that interested in Microsoft's new OS and were unable to upgrade to it from Windows 7 because many of them were still running XP." Oct 27 20:03:18 DocScrutinizer05: yeah but there's usually *something* that goes wrong Oct 27 20:03:25 not here Oct 27 20:03:27 which makes things fun Oct 27 20:03:38 maybe with mint Oct 27 20:04:02 nah, it was the first time i ever used it Oct 27 20:04:07 but it's basically ubuntu anyway Oct 27 20:04:07 I'm using a commercial grade quality distro ;-D Oct 27 20:04:17 DocScrutinizer05: and you should feel ashamed of it! Oct 27 20:04:22 PFFF Oct 27 20:04:46 kerio: why not use Mint Debian? Oct 27 20:04:56 Lava_Croft: not my laptop Oct 27 20:05:09 And? Oct 27 20:05:13 you could state I should be ashamed for not using win3.1 and enjoying the pleasures of tweaking it to some usefulness Oct 27 20:05:20 As if installing ubuntu on someone's computer is an act of friendliness Oct 27 20:05:36 mint is a good suggestion, i install linux mint lxde flavor for other peoples pc's Oct 27 20:05:58 ccssnet: MATE is a surprisingly competent "traditional" desktop Oct 27 20:06:11 eh Oct 27 20:06:39 i prefer to test stuff more before i just give it to people Oct 27 20:06:42 lol Oct 27 20:06:55 it's gnome 2, pretty much :3 Oct 27 20:07:18 eeeeeeek! some work sztarting with 2g" Oct 27 20:07:24 dang Oct 27 20:07:36 eeeeeeek! some word starting with "g" Oct 27 20:07:58 kerio: i still havent used it so ill get around to it Oct 27 20:08:29 ~buntkuh Oct 27 20:08:30 methinks buntkuh is http://xkcd.com/424/ ... Redmond, or http://de.wikipedia.org/wiki/Holstein-Rind Oct 27 20:09:00 and gnome being the perfect match for that Oct 27 20:09:50 >>ubuntu: it turns out the distro is just a win-xp with some custom themes" Oct 27 20:10:05 << Oct 27 20:10:23 it says Vista specifically Oct 27 20:10:29 ooh vista Oct 27 20:10:43 xp is too lightweight to be ubuntu Oct 27 20:10:49 indeed Oct 27 20:11:10 my bad Oct 27 20:11:51 probably related to the fact that my experience with vista is ~40min so far Oct 27 20:12:38 and those 40min been helping neighbour to install that crap Oct 27 20:12:38 it's funny, vista still doesn't run ok with today's hw. Oct 27 20:12:46 my experience is wondering why 32bit vista was installed on my wife's 64bit laptop Oct 27 20:13:08 which flowed into the experience which is kind of like "Why is this computer moving like as if stuck in a mixture of hubba bubba and marmite" Oct 27 20:13:15 then i installed win7 64bit and all was solved Oct 27 20:13:49 never touched win7 Oct 27 20:13:58 literally Oct 27 20:14:07 win7 is easily, hand down, the best windows version ever made Oct 27 20:14:09 they usually didnt install 64 bit on machines with less ram, and also it was unclear whether adobe flash would work on 64bit. Oct 27 20:14:21 doesn't mean much to me Oct 27 20:14:28 Nah I like XP, not as heavy :-) Oct 27 20:14:34 but XP is very insecure Oct 27 20:14:37 and old Oct 27 20:14:46 I hate all redmond crap, no matter which version or name Oct 27 20:14:54 i dont hate software, thats silly to me Oct 27 20:15:08 i use windows because i like games and games like windows Oct 27 20:15:18 ooh, then you've never been forced to use crappy software Oct 27 20:15:27 otherwise you'd have learnt to hate it Oct 27 20:15:36 Well it's not like I'd browse the interwebs with xp Oct 27 20:15:37 crappy software in general is not MS's fault Oct 27 20:16:03 I mean MS's software, actually Oct 27 20:16:05 and i've been using windows since 5.25inch 2.0 floppies :< Oct 27 20:16:20 win7 is a dream compared to the days of 95/98 Oct 27 20:16:45 the problem with most linux folks and windows is that most linux folks go around windows, looking for linux stuff they can relate to Oct 27 20:16:46 linux is a dream _since_ the days I abandoned win95 Oct 27 20:16:55 once they find out its mostly not there, they conclude it must suck Oct 27 20:17:00 prior to that time it been too heavy for my machines Oct 27 20:17:05 since it lacks linux feature X or Y, or whatever program they always use Oct 27 20:17:22 i use whats best for the job, and for games thats windows Oct 27 20:17:30 for most other stuff thats lunix Oct 27 20:18:00 I'm no gamer Oct 27 20:18:20 then you probably dont need windows, unless forced to by your employer:) Oct 27 20:18:30 exactly, the latter Oct 27 20:18:32 :-/ Oct 27 20:18:41 *and for games windows sucks but it's the only OS they make games for Oct 27 20:18:44 but in 2012, windows isnt as bad as it was in the 90s Oct 27 20:18:45 not even have admin rights Oct 27 20:18:48 or in the days of vista Oct 27 20:19:03 my employer thinks XP is it Oct 27 20:19:05 kerio: thats just speculation Oct 27 20:20:13 real fun to plug in a MX Revolution mouse and admin tells me "sorry dude, we're not going to install that driver for you, so you could use horizontal scroll" Oct 27 20:20:54 thats the fault of your sysop Oct 27 20:20:58 :) Oct 27 20:21:01 tell me how to not hate windows and all that's related Oct 27 20:21:10 you can do the same silly shit on linux Oct 27 20:21:15 but nobody would claim linux sucks then Oct 27 20:21:17 sure you could Oct 27 20:21:19 go to your happy place. Oct 27 20:21:21 instead they would say WFM Oct 27 20:21:38 and come up with whatever excuse that does apply to linux, but magically will not apply to wintoons Oct 27 20:21:41 or osx Oct 27 20:22:02 been around poor linux lover for too long now to not feel sorry for the linux lovers :< Oct 27 20:22:07 I say windows sucks since it has no resizable windows way too often, cramming some readme or whatever ito a 120*180 pixel "notifier" Oct 27 20:22:25 lol Oct 27 20:22:31 if a readme is crammed in a tiny notifier, thats not windows' fault Oct 27 20:22:35 but the fault of whoever made the notifier Oct 27 20:22:46 it IS windows' fault Oct 27 20:22:55 you would never use this example in relation to linux, since for linux you would blame the person who mde the notifier Oct 27 20:23:01 120x180 buffer window for a EULA or related is a scam artist move... Oct 27 20:23:21 but like i said, been around linux folks for a while now Oct 27 20:23:28 loving linux is like loving jesus Oct 27 20:23:41 so for normal people like me, its useless to discuss;) Oct 27 20:23:44 a) it's made by microsoft for half of the annoying notifiers, and b) windows does allow such non-resizable windows, while on X I always could tweak windows properties to force resizing Oct 27 20:25:21 s/eak windows/eak the window's / Oct 27 20:25:22 DocScrutinizer05 meant: a) it's made by microsoft for half of the annoying notifiers, and b) windows does allow such non-resizable windows, while on X I always could tweak the window's properties to force resizing Oct 27 20:27:30 and c) the documentation: on linux it's free and readily available (though sometimes really abyssmal), on MS Windows you could either join MSDN premium menbership, or by books for $$$ Oct 27 20:27:34 buy* Oct 27 20:28:29 I haven't yet mentioned the OSS property of linux, that allows me to find my way around and even fix things, even without any documantation at all Oct 27 20:30:00 fun game for normal people Oct 27 20:30:07 while Windows is like... an an "OS" based on a closed source wayland as central building block of whole system, rather than a kernel Oct 27 20:30:08 replace the word linux with either jesus or god Oct 27 20:30:16 and have a blast as a random linux lover starts his monologue Oct 27 20:31:13 :shrug: Oct 27 20:31:16 in other words: its wasted on me, so unless anyone else is really interested in why windows sucks, i would save myself some time! :) Oct 27 20:31:26 no offense Oct 27 20:31:33 * DocScrutinizer05 feels like trapped by trolls Oct 27 20:31:51 yes, thats usually the next reaction Oct 27 20:32:09 if someone does not agree and doesnt jump on the bandwagon of windows bashing Oct 27 20:32:16 its either a troll or someone who knows jackshit about computers Oct 27 20:32:20 mostly a combination of the two Oct 27 20:32:31 time to leave you to your work, good night Oct 27 20:32:44 well, you called me silly and irrational for hating software - if I couldn't convince you that my hate is quite justified and rational, I can't help Oct 27 20:33:04 hate for a piece of software can never be rational Oct 27 20:33:08 since its a piece of software Oct 27 20:33:21 now THAT is what *I* call silly Oct 27 20:33:30 far too powerful of an emotion to be wasted on a piece of software Oct 27 20:34:08 since I don't think somebody else has to judge about my emotional economy Oct 27 20:34:42 i think the moment you express your emotions is the moment you give other people the right to judge them Oct 27 20:34:50 particularly calling me silly is not exactly sane either Oct 27 20:34:54 but this is going astray Oct 27 20:35:12 i was using the word silly in an attempt to get across a friendly version of retarded Oct 27 20:35:19 since i dont want to sound hateful or whatever Oct 27 20:35:24 what about my hate for mint tea? Oct 27 20:35:25 DocScrutinizer05: hey, that USB hub you said the N900 was discharging on… it seems to keep it charged O.o Oct 27 20:35:33 how can you hate mint tea? Oct 27 20:35:41 i mean, one can dislike it or whatever Oct 27 20:35:42 but hate? Oct 27 20:35:57 maybe your dictionary is different from mine Oct 27 20:36:43 which wouldn't surprise, since it's about emotions Oct 27 20:37:05 well, you are known for having a thing with drama Oct 27 20:37:19 which is about as precisely defined as terms of taste Oct 27 20:37:21 so maybe you dont really hate, but use the word hate in an attempt to strengthen the message Oct 27 20:37:35 hate = will evil toward Oct 27 20:37:42 you are known to troll every now and then, so maybe that's what you do now Oct 27 20:37:54 Luke-Jr: yes Oct 27 20:38:29 DocScrutinizer05: no, but the hating of software just made me interested Oct 27 20:39:05 ooh you're interested in all things you might classify as "silly2 then? Well, if your time is worth so little Oct 27 20:39:16 its 2239h Oct 27 20:39:18 I'm out Oct 27 20:39:30 bb! Oct 27 20:39:49 since this is definitely trolling now Oct 27 20:40:08 i guess its just me that think hating a piece of software is a bit childish Oct 27 20:40:17 its like a kid saying I HATE BROCCOLI Oct 27 20:40:31 while in fact the kid means he doesnt like the taste and/or structure of the broccoli Oct 27 20:40:34 mint tea software, not tea? Oct 27 20:43:06 just a suspicion: your're a teacher? or maybe just a part time teacher on your own kids? Oct 27 20:44:05 seems like you're assuming the definition instance of the symbol dictionary of any communication is on your side Oct 27 20:44:29 read about communication theory a bit Oct 27 20:44:33 might help Oct 27 20:45:49 * DocScrutinizer05 starts explaining to the world that there's no such thing like "cool", except for stuff from fridge Oct 27 20:45:54 and weather Oct 27 20:46:03 ¡ Oct 27 20:47:19 and to drive you comletely nuts: I *LOVE* broccoli Oct 27 20:48:53 even worse than a kid's teacher, DocScrutinizer05 Oct 27 20:48:57 I clean rich folks houses Oct 27 20:49:02 while - amazingly enough - I *hate* cabbage Oct 27 20:49:06 so bad suspicion on your part :D Oct 27 20:49:11 i dont hate stuff Oct 27 20:49:19 i dont think there's anything i really hate Oct 27 20:49:20 or anyone Oct 27 20:49:27 i do dislike a whole lot of shit tho Oct 27 20:49:59 but, we are keeping each other busy while we both stated we were about to do something else! Oct 27 20:50:02 im sorry, o/ Oct 27 21:02:19 * DocScrutinizer05 suspects some minor lost-in-translation problem. I never get the catch of US-residents answering "Wonderful, marvelous!" when asking them how they are or what they think of this new stuff. Same way you seem to have another definition of hate than me, probably what you call hateworthy I'd call "I'd like to kill..." Oct 27 21:06:03 on such quantitative scales from disgust to adore, from love to hate, from brilliant to silly, you always ahve to apply a multiplier factor as well as an offset to match any two person's personal nomenclature Oct 27 21:08:20 e.g. in china there's only "yes", they never answer "no" to any question for some favour or if they think something is OK. You have to apply quite some offset to the common range from no over maybe to yes, to match that scale to chinese yes1 to yes30 Oct 27 21:10:20 discussing if somebody can or can't hate a software seems rather futile in a multicultural multinational IRC channel Oct 27 21:11:40 what's not futile though is to ponder whether you better try to adopt your peer's dictionary or make hin adopt yours Oct 27 21:12:01 Ms. always (=daily) tells me I'm the coldest bastard she ever knew, then again, I personally think I'm usually unusually over-emotional sissy. Been trying to explain I'm nothing like she is, discussion does not go anywhere. Women. Oct 27 21:12:13 point of views, gotta love em Oct 27 21:12:17 :| Oct 27 21:12:37 yeah Oct 27 21:18:06 I've long since stopped minding what people say or so, most of "them" miss the big picture completely so I can't possibly relate to anything they have to offer. Oct 27 21:18:11 or something like that Oct 27 21:22:37 Skry: well, this one here been a usual boring linux vs windows flamewar, happening not entirely on accident, but suddenly turning into something philosophical (or almost at least) Oct 27 21:24:54 Mm-m, just the kind of pointless jargon I try to keep away from :) Oct 27 21:25:54 ofc it's good to some argumentation from time to time, if it does not get out of hand so to speak Oct 27 21:26:02 DocScrutinizer05: very much likely :) Oct 27 21:26:13 I think Luke-Jr said it earlier Oct 27 21:31:09 anyone know how to measure USB hub power (amps?) with a multimeter? Oct 27 21:36:29 inline; black cable of multi meter to the power source, red wire to the device to be powered. i think... Oct 27 21:36:40 you own a multimeter, so you must know what it is, and you know what power amps are so you should know already? Oct 27 21:37:35 Skry: I barely know what it is :O Oct 27 21:37:51 ccssnet: I don't want to power a device right now, just find out how much is available Oct 27 21:38:06 theres no sticker? Oct 27 21:38:14 or manual Oct 27 21:38:15 ccssnet: lol Oct 27 21:38:27 no, USB hubs provide NO info -.- Oct 27 21:38:31 Luke-Jr: 'you can't' Oct 27 21:38:32 ouch Oct 27 21:38:34 Luke-Jr: when did I say some USB hub keeps discharging N900? Oct 27 21:38:56 Luke-Jr: it's complex, and can't be measured simok Oct 27 21:39:13 Luke-Jr: you mean a powered hub? Oct 27 21:40:09 Luke-Jr: there's no sane and simple way to find out how much power is available Oct 27 21:40:14 DocScrutinizer05: a while ago Oct 27 21:40:22 SpeedEvil: yes Oct 27 21:40:27 Luke-Jr: ...since you only could tell from device ceasing to provide power Oct 27 21:40:33 :/ Oct 27 21:40:37 what if I short it? Oct 27 21:40:55 that will generally not tll you much Oct 27 21:40:59 short what? your power supply? Oct 27 21:41:13 general rule... never cross the 5v+ and 12v+ Oct 27 21:41:14 would a 60 W lightbulb tell me anything? :/ Oct 27 21:41:15 read the label on the hub power supply Oct 27 21:41:18 no Oct 27 21:41:26 SpeedEvil: there is no label Oct 27 21:41:29 oh that Oct 27 21:41:30 or any other +rail such as 3.3v Oct 27 21:41:34 Luke-Jr: hardly I could've stated about some hub's properties, since I don't own more than 2 USB hubs, so couldn't tell anything about the 109732983210876 other models out there Oct 27 21:41:35 that's combined, not per port Oct 27 21:41:47 DocScrutinizer05: from the N900 script Oct 27 21:42:12 Luke-Jr; i think the only useful method would be to have a a vriable load, a current meter, and a volt meter. You slowly increase the load while observing current and volt meter. Oct 27 21:42:17 Luke-Jr: the 'right' way is to ... Oct 27 21:42:24 I imagine one of two things will happen Oct 27 21:42:31 Luke-Jr: bq27200 values are absolute and correct Oct 27 21:42:33 and measure the point at which it hits 4.5v Oct 27 21:43:08 DocScrutinizer05: despite always telling me time-to-empty, it seems to charge Oct 27 21:43:22 that's impossible Oct 27 21:43:33 Option a) at some point, the current meter drops to almost 0 all of the sudden. Option b) at some point voltage starts declining. in both cases onset of the event is your limit. Oct 27 21:44:04 ShadowJK: c) fire Oct 27 21:44:16 Yah I forgot fire Oct 27 21:46:10 SpeedEvil: multimeters can do that or no? :/ Oct 27 21:46:49 Luke-Jr: look at http://wiki.maemo.org/User:Joerg_rw/jrbme/bme_discharge_learn_log to get an idea what the values look like Oct 27 21:46:57 Luke-Jr: no Oct 27 21:47:37 Luke-Jr: you are trying to measure how much load a matchbox can take. Oct 27 21:47:53 bah, looks like I don't have a working multimeter anyway Oct 27 21:47:54 stamping it flat does not tell you much Oct 27 21:47:59 Luke-Jr: obviously negative 'mA' values mean 'discharge', as does TTE != 65535 Oct 27 21:48:06 you need to slowly apply load Oct 27 21:49:32 DocScrutinizer05: I don't have a log like that tho Oct 27 21:49:48 that's not my fault Oct 27 21:50:26 is it one of the mA shown by bq27k-detail2 ? Oct 27 21:50:46 Luke-Jr: also note that these values are current to battery, not current from USB Oct 27 21:51:15 there is no way to measure current from USB Oct 27 21:51:17 yes, the first one Oct 27 21:51:22 it can only be guessed Oct 27 21:51:28 yep Oct 27 21:51:35 or derived Oct 27 21:51:36 0x0D - 0x0C: 6823 NAC Nominal Available Capacity High - Low Byte 3.57 µVh (1) R Oct 27 21:51:37 *3.57 / 20 = 1221 mAh Oct 27 21:52:19 from a pair of values of current to battery from bq27200, while switching off charging in between the readouts and keeping system load as constant as possible Oct 27 21:52:37 true Oct 27 21:53:11 Luke-Jr: that's not exactly what you want Oct 27 21:53:22 it also is not 'mA' but 'mAh' Oct 27 21:53:38 0x15 - 0x14: 885 AI Average Current High - Low Byte 3.57 µV (1) R Oct 27 21:53:40 *3.57 / 20 = 158 mA Oct 27 21:54:05 yeah, probably that one Oct 27 21:54:27 but 0x17 - 0x16: 463 TTE Time-to-Empty High - Low Byte Minutes R Oct 27 21:55:18 sometimes there might be inconsistencies due to sequential readout or whatever Oct 27 21:55:34 I told you to use bq27200.sh 5 Oct 27 21:56:16 after all a oneshot readout doesn't tell you much anyway Oct 27 21:56:30 since those values may change rapidly, some of them Oct 27 21:56:45 you need to do some averaging on your own Oct 27 21:57:26 see e.g first 2 log lines in http://wiki.maemo.org/User:Joerg_rw/jrbme/bme_discharge_learn_log Oct 27 21:58:29 the device been meant to charge at that point in time Oct 27 21:58:39 hmm Oct 27 22:00:01 DocScrutinizer05: I don't notice any change in bq27200.sh 5 output when I unplug it :/ Oct 27 22:00:16 actually sign of current is generic, from some of the flags in a status register Oct 27 22:01:09 Luke-Jr: (no change on unplug) which would strongly suggest that it didn't charge when it been plugged in Oct 27 22:01:30 DocScrutinizer05: but I've been charging it this way for a week now… Oct 27 22:01:46 and the battery's full……….. oh Oct 27 22:01:57 I bet BME isn't charging it because it's full -.- Oct 27 22:02:04 Luke-Jr: the charger chip stops charging when battery full, and resumes when battery depleted to ~80% Oct 27 22:02:27 guess I have to leave it unplugged for a few hours Oct 27 22:02:36 * Luke-Jr epic fail Oct 27 22:02:45 this isn't bme doing this, this is bq24150 native behaviour Oct 27 22:03:33 bme turns this into one of either constant floating at 4180mV, or 30s recharge cycles every 240s Oct 27 22:03:48 hm Oct 27 22:04:13 any way to easily lock the screen on so it discharges faster? <.< Oct 27 22:04:33 settings, display Oct 27 22:04:37 err, I'm doing this by easy brightness applet Oct 27 22:04:44 oh, yeah Oct 27 22:05:05 or was it 'simple'? Oct 27 22:05:20 bah, I have to pick it up to do that :P Oct 27 22:06:03 Settings->Display only lets me go up to 2 mins Oct 27 22:06:40 xchat has an option as well Oct 27 22:06:50 or play a movie in a loop Oct 27 22:07:03 better idea Oct 27 22:07:34 hmm Oct 27 22:07:49 my gentoo partition needs manual fsck :< Oct 27 22:07:54 I don't think it's ever survived that before Oct 27 22:07:56 Luke-Jr: what's your problem? Oct 27 22:08:07 ? Oct 27 22:08:17 re battery and charging Oct 27 22:08:31 DocScrutinizer05: I don't trust USB hubs/chargers to work as advertised Oct 27 22:08:46 there's usually a faster and more direct way to find out about stuff Oct 27 22:08:48 plus, most don't even advertise useful info Oct 27 22:09:17 DocScrutinizer05: I'd like to know my N900 is charging as fast as possible, and that it won't make my RPi unstable Oct 27 22:09:27 you got sysfs nodes for VBUS and D+- short Oct 27 22:09:52 in general, measure voltage on USB Oct 27 22:10:06 isn't it amps that matters? Oct 27 22:10:09 if it's dropping under 4.5, you're overloading Oct 27 22:10:15 yep Oct 27 22:10:19 :/ Oct 27 22:10:26 yes, but you can't measure that Oct 27 22:10:47 for all I know, N900 could be using 100mA to avoid overloading Oct 27 22:11:00 * DocScrutinizer05 figures the guy probing Amperes of mains outlet with a multimeter Oct 27 22:11:26 he was very upset why the multimeter exploded and tripped the fuse Oct 27 22:12:28 Luke-Jr: lsusb -v will tell you the configured current - on the PC side Oct 27 22:12:38 Luke-Jr: well, those 100mA are what bme is supposed to do, on deaf hosts or fastchargers without D+- short Oct 27 22:12:44 wait, you have this plugged into a raspberry pi? Oct 27 22:12:54 SpeedEvil: that's the plan Oct 27 22:13:03 through a powered hub? Oct 27 22:13:21 well, RPi says no PC connectivity allowed, so plan there was just hte wall charger :p Oct 27 22:14:09 I was meaning plugging a n900 into a r-pi USB port Oct 27 22:14:19 oh, no Oct 27 22:14:22 two separate concerns Oct 27 22:14:37 I want to charge both N900 and run RPi off a wall charger Oct 27 22:15:01 then the wallcharger should provide 2A or more Oct 27 22:15:03 the one I have is supposedly 2A total across 4 ports Oct 27 22:15:14 but I want to be sure I'm getting the full 1A at each port, if I use two Oct 27 22:15:33 I'd simply assume that Oct 27 22:16:03 don't a lot of wall chargers limit to 500mA per port? Oct 27 22:16:16 they won't put cruft birdseed on the wallcharger PCB just to mess things up Oct 27 22:16:28 ? Oct 27 22:16:31 nope, that's why those are wallchargers Oct 27 22:16:44 they can do more than 500 Oct 27 22:16:50 2A total / 4 ports = 500 mA per port if all ports used Oct 27 22:16:57 nod Oct 27 22:17:06 so it was clearly designed to only do 500 mA per port under normal use Oct 27 22:17:14 but the wallcharger won't implement some circuitry to enforce that Oct 27 22:18:06 if you don't trust in my intuition, open it up and check for yourself Oct 27 22:18:06 but no way to verify I get 1A before I fry the RPi? :/ Oct 27 22:18:24 fry RPi?? Oct 27 22:18:36 how? Oct 27 22:18:37 DocScrutinizer05: won't it break if I give it too little power? Oct 27 22:18:45 nah Oct 27 22:18:54 oh Oct 27 22:19:04 ok, the "assume and find out" approach sounds much nicer then Oct 27 22:19:06 lol Oct 27 22:19:31 I need to open it up to so the D-+ short anyway Oct 27 22:19:32 indeed Oct 27 22:20:04 unless I can do it in the external connector part Oct 27 22:20:18 you'll see all 4 ports sharing a common VBUS and GND rail Oct 27 22:21:07 maybe with a fuse each, but that fuse is like 1..2A then Oct 27 22:21:14 Ok, I did the most stupid thing ever: I accidentally locked my n900 with some lock code I set years ago. Is there a way to read the flash via usb (and not only write), or install some boot loader that boots from the sd card such that I can change or brute force the lock code from within the device? Oct 27 22:21:46 peterx: alas not, unless you still can connect via WLAN and ssh Oct 27 22:22:08 you can boot a rescueOS though Oct 27 22:22:31 and then "brute-force" the lockcode with john the ripper Oct 27 22:22:48 ~rescueos Oct 27 22:22:49 i guess rescue-os is http://206.253.166.96/N900/rescueOS/ Oct 27 22:22:51 DocScrutinizer05: yeah' that's what I thought Oct 27 22:23:38 peterx: another way would be to flash u-boot and boot ie nemo Oct 27 22:23:43 ah, that's the purpose of the "load" function of the flasher Oct 27 22:23:52 it can read the appropriate flash parts aswell Oct 27 22:24:12 and you could just flash nemo onto a sd and load the nemo kernel with flasher Oct 27 22:24:19 thus leaving no trace of your recovery Oct 27 22:24:47 http://talk.maemo.org/showthread.php?t=75369 Oct 27 22:25:25 Phone asks me for lock code, says code accepted, but then cycled endlessly on bouncy dots without ever finishing booting. Any hints? Oct 27 22:25:54 DocScrutinizer05: wow, that's great, thanks a lot! Oct 27 22:25:56 tchell_: it *might* just do a fsck.ext3 Oct 27 22:26:06 and merlin, too Oct 27 22:26:45 btw I actually did the use nemo sd + load nemo kernel to recover my sisters n900 lockcode :P Oct 27 22:27:19 peterx: http://talk.maemo.org/showthread.php?p=524522#post524522 Oct 27 22:27:30 DocScrutinizer05: for 40 minutes? Oct 27 22:27:44 fsck can take forever Oct 27 22:27:58 fsck can make things worse ;) Oct 27 22:28:02 but it's entirely unclear how to check if it's really fsck or not Oct 27 22:28:17 because maemo bootscripts are fsckd ;) Oct 27 22:28:28 hmm. Oct 27 22:28:34 yep, I ranted about that some days ago Oct 27 22:28:47 we'll get a fix for it eventually in CSSU Oct 27 22:28:58 DocScrutinizer05: gotta be like 2 weeks by now Oct 27 22:29:09 quite possible Oct 27 22:29:12 by the way, can I use flasher-3.12 instead of flasher-3.5? Oct 27 22:29:21 peterx: nope Oct 27 22:29:41 peterx: only works for harmattan Oct 27 22:30:21 ok Oct 27 22:30:27 I wish I could ssh into it and see whether it was doing anything. Oct 27 22:30:42 can we boot rescue OS through U-boot so we don't need the flasher? Oct 27 22:30:47 thanks Oct 27 22:30:53 MrPingu: yep Oct 27 22:31:15 merlin1991: Thanks, just came to my mind Oct 27 22:31:46 MrPingu: there is a post on tmo from Pali for a proper bootmenu entry Oct 27 22:31:53 Sounds like an awesome method for rescue next to BM Oct 27 22:32:52 * DocScrutinizer05 wonders if we could boot rescueOS even without proper menu entry in uboot-menu, just by entering the right magic spells to tell uboot where to boot Oct 27 22:33:01 s/where/what/. Oct 27 22:33:12 DocScrutinizer05: yep you can just enter what is part of the entry in the u-boot console Oct 27 22:33:17 yields the same result Oct 27 22:33:22 thought as much Oct 27 22:34:18 modulo the keyboard doesn't allow numbers and special chars like / ? Oct 27 22:34:40 or was that the useless mer shell? Oct 27 22:34:50 afaik the keyboard is the en layout, you should be able to guess everything Oct 27 22:35:11 or meego shell Oct 27 22:35:38 meego shell had maliit with the | symbol hidden 3 clicks away Oct 27 22:35:44 pfehw Oct 27 22:36:25 DocScrutinizer05, I added code to uboot for n900 english layout Oct 27 22:37:12 + additional keys fn+up, fn+down, fn+left and fn+right Oct 27 22:38:00 hm, rescueos comes up, but the /dev-devices seem to be missing. will try again in half an hour Oct 27 22:39:39 merlin1991: thanks, found it Oct 27 22:44:13 peterx: dev devices might need some module loading Oct 27 22:44:28 I dunno how rescueOS is configured Oct 27 22:45:08 but I'd assume usually it should grant access to maemo root and MyDocs OOTB, even mounted Oct 27 22:45:15 ask NIN101 Oct 27 22:45:50 /dev/ should be there including the device nodes Oct 27 22:45:57 :-D Oct 27 22:46:02 hi NIN101 Oct 27 22:46:06 hi Oct 27 22:46:14 great you're always here when we need you Oct 27 22:46:59 I am also here when you don't need me :P Oct 27 22:47:04 hihihi Oct 27 22:47:25 no worries, anyway great you're always here :-) Oct 27 22:48:35 while pali already vanished before I could thank him for special keys in uboot ;-) Oct 27 22:49:31 I'm going for a sleep Oct 27 22:49:33 peterx: what are the dev nodes you're missing? Oct 27 22:49:48 g'night peepz Oct 27 22:49:55 night MrPingu Oct 27 22:51:43 tchell_: anyway, a fsck is known to take several hours, if you want to give it this long. Oct 27 22:52:01 tchell_: otherwise reflash is your option, probably Oct 27 22:53:50 * DocScrutinizer05 just hopes the weirdos have considered to already crank up bme before starting fsck, in initscripts Oct 27 22:54:20 what's bme? Oct 27 22:54:33 tchell_: and yeah, you probably should give bme a chance to power the device and hook it up to fastchargger Oct 27 22:55:08 since shutdown due to depleted battery during fsck is the least thing you'd want to see Oct 27 22:55:33 well, I did plug it in Oct 27 22:55:38 good Oct 27 22:56:22 so it's up to you now to either sit it out, or eventually lose patience and resort to more powerful and invasive measures like reflash or rescueOS Oct 27 22:57:10 ok. Oct 27 22:57:38 s/sit it out/walk it off/ Oct 27 22:57:40 DocScrutinizer05 meant: so it's up to you now to either walk it off, or eventually lose patience and resort to more powerful and invasive measures like reflash or rescueOS Oct 27 22:58:09 :) Oct 27 22:58:22 I witnessed one guy running a fsck on a similar embedded device for 3 days Oct 27 22:58:37 it actually finished eventually Oct 27 22:58:55 alas it wasn't able to fix all errors in the fs ;-P Oct 27 22:59:02 :) Oct 27 23:00:51 NIN101: mmcblk* is missing Oct 27 23:01:17 well, dunno. Oct 27 23:01:33 means "should be there"? Oct 27 23:01:42 means should be there and was never reported to be mising Oct 27 23:02:01 could be missing on eMMC completely fsckd up Oct 27 23:02:21 maybe Oct 27 23:02:35 otoh, doesn't rescueOS boot from uSD? Oct 27 23:02:55 it's an initrd. Oct 27 23:03:00 aaah Oct 27 23:03:10 is there a native pipe symbol in the us keyboard layout? (i have german printed) Oct 27 23:03:16 I guess it has dmesg? Oct 27 23:03:22 sure Oct 27 23:04:03 peterx: alas not Oct 27 23:04:53 peterx: though I dunno which kbd map NIN101 used in rescueOS Oct 27 23:05:16 or if the vkbd for symbols is supported Oct 27 23:05:34 you can use the blue arrow Oct 27 23:05:54 ok, mount root worked Oct 27 23:06:05 o.O Oct 27 23:06:18 how's that, without /dev/mmcblk* ? Oct 27 23:06:24 it's NAND Oct 27 23:06:29 err mtd yeah Oct 27 23:06:59 yeah, there is some ubi magic going on Oct 27 23:07:28 yeah, mounting ubi is rather black magic Oct 27 23:07:32 peterx, ubiattach ;) Oct 27 23:07:42 NIN101: no scripted support for that in rescueOS? Oct 27 23:08:13 there is a script that does that Oct 27 23:08:20 thought as much Oct 27 23:08:22 ah, found the pipe symbol, it's where the immensely useful euro-symbol is on the german layout... Oct 27 23:08:32 hey :-) Oct 27 23:08:57 so NIN101 used a better than standard keymap Oct 27 23:09:25 yeah the keyboard layout situation is quite uncool in rescueos but often you just want to telnet in via usb networking or so. Oct 27 23:09:44 since US layout has &GBP there Oct 27 23:10:10 (I wouldn't even know where to find that on my german kbd) Oct 27 23:10:24 DocScrutinizer05: my N900 has GBP, USD, and EUR symbols :( Oct 27 23:10:48 afaik the german kbd doesn't have the pipei symbl Oct 27 23:11:05 I have the GBP and EUR mapped to curly braces. Oct 27 23:11:17 dmesg shows "mtdoops: mtd device (mtddev=name/number) must be supplied" Oct 27 23:11:37 peterx, ignore that, that's just for the mtdoops (log on mtd2) driver Oct 27 23:12:02 mtdoops is sth you won't want to use on rescueOS Oct 27 23:12:06 furthermore: "Creating 6 MTD partitions on "omap2-onenand"' Oct 27 23:12:06 ' Oct 27 23:12:21 sounds correct Oct 27 23:12:28 but that also seems to be something different, isn't it? Oct 27 23:12:42 mhm, it's just listing the available MTD partitions into the map Oct 27 23:12:45 different than what? Oct 27 23:12:55 different than the partition I need Oct 27 23:13:06 the one that stores the lock key Oct 27 23:13:12 partition 4 is rootfs iirc Oct 27 23:13:25 aah, that's partition 1 Oct 27 23:13:31 DocScrutinizer05, it's partition 6, MTD5 that stores rootfs Oct 27 23:13:54 Hurrian: right Oct 27 23:14:08 anyway CAL it partition 1 Oct 27 23:14:11 partition 4 is kernel (MTD3), and MTD4 is the ~2MB initfs space that's unused Oct 27 23:14:40 ok, wait a moment Oct 27 23:14:54 I just successfully mounted MTD5 via ubi Oct 27 23:15:06 well mtd1: 00060000 00020000 "config" Oct 27 23:15:12 does that mean that I can similarly access the partition that stores the lock code? Oct 27 23:16:21 http://talk.maemo.org/showthread.php?p=524522#post524522 >> echo root:$(grep -A 13 lock_code /dev/mtd1|tail -1): << Oct 27 23:16:43 /dev/mtd1 is what you need, you don't even mount it Oct 27 23:17:07 argh Oct 27 23:17:08 sorry Oct 27 23:17:23 no worries Oct 27 23:17:39 I thought I needed /dev/mmcblk* because that is what mass-storage-enable.sh tried to access Oct 27 23:17:51 ok, so let's try to retrieve the lock code Oct 27 23:18:08 first you retrieve the hash Oct 27 23:18:16 or encrypted key Oct 27 23:18:26 then you rip that with john Oct 27 23:18:32 on your PC Oct 27 23:19:01 yeah Oct 27 23:19:41 unless your "encrypted" key was "12345" which stands for "12345" ;-P Oct 27 23:20:10 but I guess you already made sure that's not your lockcode Oct 27 23:24:26 yeah, I tried 12345 not only once ;-) Oct 27 23:24:33 btw if any of you has installed proper tools, you should use >> echo root:$(busybox grep -A 13 lock_code /dev/mtd1|tail -1): << instead Oct 27 23:24:49 as gnugrep does barf up on the binary file Oct 27 23:24:50 YEAH! Oct 27 23:25:07 it worked :-) Oct 27 23:25:17 already ripped? Oct 27 23:25:22 john did it in less than a second Oct 27 23:25:29 yeah, quite usual Oct 27 23:25:33 :-D Oct 27 23:26:03 thank you all! Oct 27 23:26:09 pleased to help Oct 27 23:26:20 now I'll install BackupMenu Oct 27 23:26:30 good plan Oct 27 23:27:14 though, for the devicelock it wouldn't have helped much Oct 27 23:27:34 unless you get a working shell in BM Oct 27 23:28:03 * DocScrutinizer05 suspects you need KP for that to work Oct 27 23:28:43 ok, but nevertheless, I do not really trust the built-in backup solution Oct 27 23:28:59 I would rather read the device files and pipe them into bup Oct 27 23:29:01 and fully justified so Oct 27 23:30:09 BM does real backups, not like the freaky builtin backup app that actually only stores some config files and a list of installed apps Oct 27 23:31:45 but I recently learnt BM needs proper date and time set on N900, for restore to not fail epically Oct 27 23:31:58 just for a sidenote Oct 27 23:36:54 DocScrutinizer05: ah, good to know Oct 27 23:37:35 actually, the issue doc speaks of was not because of tar complaining about timestamps Oct 27 23:38:08 Skry: so please elaborate Oct 27 23:38:29 I thought it was Oct 27 23:38:38 didnt follow the discussion but apparently he had different kernel in backup than what was installed Oct 27 23:38:50 ooh Oct 27 23:39:15 so the tar was only warnings Oct 27 23:39:17 ? Oct 27 23:39:18 so issue was missing modules i presume Oct 27 23:39:28 yes they were only warnings nothing more Oct 27 23:39:40 thanks a lot Oct 27 23:40:33 np. imo that information should probably be in some wiki or something as a note if it already isn't. Oct 27 23:40:54 :nod: Oct 27 23:41:27 ~bm Oct 27 23:41:28 well, backupmenu is http://talk.maemo.org/showthread.php?t=63975 Oct 27 23:41:30 so a backup is useless if you dont also backup the exact same kernel package? Oct 27 23:42:05 err, if you restore kernel modules that don't match the kernel you got installed, you're obviously doomed Oct 27 23:42:27 ah it backs up modules but not the kernel itself? Oct 27 23:42:37 since BM doesn't backup kernels (yet?) Oct 27 23:42:41 yes Oct 27 23:42:45 hm Oct 27 23:43:06 that sounds like an useful missing feature then... Oct 27 23:43:24 ... you're supposed to flash a fresh maemo rootfs plus the kernel matching your modules in the backup on top Oct 27 23:43:42 right so you have to backup that kernel too Oct 27 23:44:22 nox-: we already 'inveted' how to backup and flash back the kernel and other mtd partitons as a complete image, only missing to implement that into BM Oct 27 23:44:31 but the problem is Backupmenu doesn't have "flasher" installed Oct 27 23:44:32 i c Oct 27 23:44:53 Hurrian: mtdutils Oct 27 23:45:02 ah Oct 27 23:45:32 could one tell restore to skip modules too? Oct 27 23:45:41 yep, probably Oct 27 23:45:45 *could* Oct 27 23:45:56 dunno if you actually can Oct 27 23:45:59 might also make sense... Oct 27 23:46:05 yep, sure Oct 27 23:47:28 hm are the backups just tarballs that you could remove the modules from on a pc? Oct 27 23:47:35 yep Oct 27 23:47:51 ok good to know... Oct 27 23:49:09 you should keep them on the uSD for that reason Oct 27 23:49:20 ;-) Oct 27 23:50:01 *nod* Oct 27 23:57:12 is there a lock and wipe application for maemo? Oct 27 23:57:48 lock and wipe? Oct 27 23:58:20 lock and wipe on x failed attempts to unlock Oct 27 23:58:24 remote? Oct 27 23:58:31 nope Oct 27 23:59:05 not afaik Oct 27 23:59:54 but you could set up some fake thing for that easily Oct 28 00:00:52 ok, different (and hopefully last) question: is it enough (disregarding kernel update) to backup the two partitions exported by backupmenu? it looks like the root partition is missing Oct 28 00:01:37 ummm, I never thought something's missing Oct 28 00:02:48 but I currently don't have the exact menu in front of me Oct 28 00:04:56 but two partitions sounds about right: / and /home Oct 28 00:05:19 instead of /home BM might backup /opt? Oct 28 00:05:38 thus missing out /home/user ? Oct 28 00:05:56 it exports a device with three partitions: Oct 28 00:06:20 the MyDocs partition, a swap partition and what seems to be /home Oct 28 00:06:21 err, the export is something completely different from what a backup does Oct 28 00:06:30 at least there are directories called user and opt Oct 28 00:06:38 a SWAP partition?? Oct 28 00:06:40 sure? Oct 28 00:06:58 at least fdisk says so Oct 28 00:07:31 I got NFC what BM exports Oct 28 00:07:37 never used that function Oct 28 00:07:56 ok, it exports the eMMC Oct 28 00:08:02 so the root partition is missing Oct 28 00:08:54 there is also a second device which could be the nand, but I cannot access it "no medium found" Oct 28 00:09:06 looks like USB hub B is 500 mA Oct 28 00:19:34 ah, it can be accessed via ssh and usb networking Oct 28 00:27:25 well, three exported partitions sounds like /, /home, ~user/MyDocs Oct 28 00:28:16 no, they are not, root is in nand Oct 28 00:28:35 and it is not exported Oct 28 00:58:19 so how is it relevant for backup then? Oct 28 00:59:10 60 sec to time lapse Oct 28 00:59:17 45 Oct 28 00:59:32 30 Oct 28 01:00:00 2a:59:59 Oct 28 01:00:14 2:00:10 Oct 28 01:01:51 the only two friggin clocks ignoring this completely are my oldfashioned analog alarm clock and my radio controlled clock(!!) Oct 28 01:03:14 I am using bup ( https://github.com/apenwarr/bup - deduplicating git based utility) to do the backup Oct 28 01:03:33 and I would like to simply store all of the partitions as they are Oct 28 01:09:43 well, you're out of luck for that, since obviously nothing is exporting the / partition Oct 28 01:11:20 sure, but you can gain access to it via backupmenu, usb networking and ssh Oct 28 01:11:24 of course you could do a BM backup of root partition, then scp or otherwise transfer that tarball to your backup machine, untar and archive Oct 28 01:12:09 I just need to for i in 0 1 2 3 4 5; do ssh 192.168.2.15 "cat /dev/mtd${i}ro" | bup split -n n900-mtd${i}; done Oct 28 01:13:48 err wut? Oct 28 01:14:53 nfc what you plan to do with that, but a image of mtd done by cat is basically useless Oct 28 01:15:44 unless bup had some ultra-special magic Oct 28 01:16:20 and probably such magic is even impossible, since it lacks the support in the way cat and /dev/mtd work Oct 28 01:17:21 well, maybe not. But anyway you couldn't restore those images anyway Oct 28 01:17:29 hm? why? Oct 28 01:17:33 can't I just cat them back? Oct 28 01:17:40 since that's NAND Oct 28 01:18:04 and UBIfs or other nifty stuff to handle badblocks and OOB etc Oct 28 01:18:50 ok, I thought I could just use it as an ordinary block device... Oct 28 01:18:58 nope, that's what BM-v1 thought could be done, until we tought robbiethe1st about problems with bad blocks in NAND and kicked it out of the maemo repos Oct 28 01:19:43 since then we got BM-v2 which is doing a file-by-file disk image to tarballs Oct 28 01:20:22 hm, and what about the other things like the kernel and the boot loader? Oct 28 01:21:21 I recently looked ito mtdutils which allow to actually write to NAND in a compatible way, with mtdwrite taking care about bad blocks and OOB Oct 28 01:21:58 alas it's not yet(?) implemented into BM Oct 28 01:35:29 I had to re-install the scratchbox-based SDK for Maemo 5. The crosscompiling stuff all works, and the proprietary Nokia stuff works, but dh)make is missing, so I can't build a .deb . Does anyone khow where I can get that from, and why it would not be present in the normal SDK installation? Oct 28 01:37:31 can't one read mtd like a block device when using mtdblock? Oct 28 01:38:20 or does it also produce useless image Oct 28 02:07:22 Skry: reading seems to work Oct 28 02:45:16 reading might work (not completely checked the facts), but definitely writing doesn't Oct 28 02:46:30 even for reading I'm unsure if it will skip bad blocks or deliver garbage Oct 28 02:48:21 but honestly, why you don't use mtdtools for all that? **** ENDING LOGGING AT Sun Oct 28 03:00:02 2012