*** florian has quit IRC | 00:10 | |
*** florian has joined #maemo | 00:30 | |
*** shamus has quit IRC | 00:33 | |
*** xorly has quit IRC | 00:33 | |
*** rd_ has quit IRC | 00:39 | |
*** erlehmann has left #maemo | 00:44 | |
*** FlameReaper-PC has joined #maemo | 01:05 | |
*** futpib has quit IRC | 01:06 | |
*** Pali has quit IRC | 01:08 | |
*** Haudegen has quit IRC | 01:08 | |
*** N-Mi has quit IRC | 01:08 | |
*** Haudegen has joined #maemo | 01:18 | |
*** M4rtinK has quit IRC | 01:22 | |
*** Luke-Jr has quit IRC | 01:28 | |
*** ZetaR has quit IRC | 01:42 | |
*** ZetaR has joined #maemo | 01:56 | |
*** andril has quit IRC | 02:08 | |
*** robink_ has joined #maemo | 02:10 | |
*** Natch has quit IRC | 02:22 | |
*** beford has joined #maemo | 02:28 | |
*** Natch has joined #maemo | 02:31 | |
*** robink_ has quit IRC | 02:35 | |
*** florian has quit IRC | 02:36 | |
*** robink_ has joined #maemo | 02:49 | |
*** ashneo76 has joined #maemo | 02:57 | |
*** norly has quit IRC | 03:06 | |
*** LauRoman has joined #maemo | 03:45 | |
*** LauRoman|Alt has quit IRC | 03:49 | |
*** Luke-Jr has joined #maemo | 03:52 | |
*** mavhc has quit IRC | 04:06 | |
*** mavhc has joined #maemo | 04:10 | |
*** mavhc has quit IRC | 04:15 | |
*** Humpelst1lzchen has quit IRC | 04:34 | |
*** Humpelstilzchen has joined #maemo | 04:35 | |
*** shamus has joined #maemo | 04:53 | |
*** LauRoman has quit IRC | 05:12 | |
*** tanty_off has quit IRC | 05:20 | |
*** FlameReaper-PC has quit IRC | 05:32 | |
*** lxp has joined #maemo | 06:02 | |
*** lxp1 has quit IRC | 06:04 | |
*** RzR has quit IRC | 06:18 | |
*** RzR has joined #maemo | 06:23 | |
*** obsed has quit IRC | 06:32 | |
*** tanty_off has joined #maemo | 06:34 | |
*** tanty_off is now known as tanty | 06:35 | |
*** pentanol has joined #maemo | 06:39 | |
*** tanty has quit IRC | 07:09 | |
*** tanty_off has joined #maemo | 07:11 | |
*** protem has joined #maemo | 07:15 | |
*** Oksana has quit IRC | 07:15 | |
*** Oksana_ has joined #maemo | 07:19 | |
*** Oksana_ is now known as Oksana | 07:24 | |
*** beford has quit IRC | 07:45 | |
*** delphi has quit IRC | 08:56 | |
*** trx has joined #maemo | 09:02 | |
*** mavhc has joined #maemo | 09:07 | |
Maxdamantus | Indeed. RTC reset but bq272 didn't. | 09:09 |
---|---|---|
*** Pali has joined #maemo | 09:13 | |
bencoh | :) | 09:23 |
*** Haudegen has quit IRC | 09:23 | |
KotCzarny | maybe it keeps battery serial or something | 09:25 |
Maxdamantus | Does the battery have a serial? | 09:25 |
KotCzarny | laptop ones do have | 09:25 |
Maxdamantus | I know PSP batteries do (and you can change them), but N900's one seems dumb. | 09:26 |
KotCzarny | well, it's 3pin one, so some kind of logic is there | 09:26 |
freemangordon | it is the BSI resistor (third pin) | 09:29 |
KotCzarny | what is it for? | 09:32 |
*** Haudegen has joined #maemo | 09:32 | |
*** Milhouse has quit IRC | 09:34 | |
kerio | nope, no battery identification | 09:37 |
kerio | the battery serial would be something written on the bq27200, in fact | 09:37 |
kerio | because it should be attached to the battery, not the board | 09:37 |
KotCzarny | but on n900 bq is integrated on the board? | 09:38 |
*** freemangordon has quit IRC | 09:41 | |
Maxdamantus | wtf, I can send messages between phones using the same number. | 09:41 |
* Maxdamantus wonders what happens if someone messages him. | 09:42 | |
*** Pali has quit IRC | 09:47 | |
*** freemangordon has joined #maemo | 09:51 | |
Oksana | Hehehe... Receive message on both phones? Or, more likely, randomly on one of them? | 09:53 |
L29Ah | it's a pity one can't upload the battery data to bq24150 | 10:03 |
*** Milhouse has joined #maemo | 10:04 | |
*** protem has quit IRC | 10:04 | |
*** futpib has joined #maemo | 10:04 | |
*** zGrr has joined #maemo | 10:07 | |
*** futpib has quit IRC | 10:22 | |
*** trx has quit IRC | 10:25 | |
*** florian has joined #maemo | 10:26 | |
*** trx has joined #maemo | 10:30 | |
*** pentanol has quit IRC | 10:34 | |
*** ad-n770 has joined #maemo | 11:01 | |
*** antranigv has joined #maemo | 11:18 | |
antranigv | my friend just got a N900 | 11:18 |
antranigv | it's reflashing time :P | 11:18 |
antranigv | ~flasher | 11:18 |
infobot | [flasher] at http://www.jedge.com/n810/flasher/maemo_flasher-3.5_2.5.2.2.tar.gz (also .exe!), or http://www.chakra-project.org/ccr/packages.php?ID=5027 or generally http://www.google.com/search?q=maemo_flasher-3.5_2.5.2.2.tar.gz. HARMattan(N9): https://aur.archlinux.org/packages/fl/flasher-harmattan/flasher-harmattan.tar.gz, or -- list of filenames/md5sums: http://pastebin.com/sYKdNJSH, or http://galif.eu/nokia/ | 11:18 |
KotCzarny | antranigv: did the oscp work on n9? | 11:18 |
antranigv | KotCzarny: nop, cz there is no gtk libs on meego :( | 11:19 |
KotCzarny | O.o | 11:19 |
KotCzarny | wut? | 11:19 |
antranigv | yea, it's pure Qt | 11:19 |
KotCzarny | but even for compatibility there should be | 11:19 |
KotCzarny | martink ported them | 11:20 |
KotCzarny | http://talk.maemo.org/showthread.php?t=79229 | 11:21 |
antranigv | KotCzarny: um, I'll take a look sure. | 11:25 |
antranigv | btw, there are 2 emmc files, one is named europe, and it's about 600MB, which one should I download? | 11:26 |
antranigv | or should "he" download. | 11:26 |
antranigv | anyway | 11:26 |
antranigv | http://galif.eu/nokia/N900/ | 11:26 |
KotCzarny | isnt firmware ~120-150M ? | 11:26 |
KotCzarny | most likely its sdk | 11:26 |
KotCzarny | or wtf it is | 11:26 |
antranigv | :D | 11:27 |
KotCzarny | ~flashing | 11:27 |
infobot | hmm... maemo-flashing is http://wiki.maemo.org/Updating_the_tablet_firmware, or - on linux PC - download&extract http://maemo.cloud-7.de/maemo5/patches_n_tools/maemo-my-private-workdir.tgz, cd into it, do sudo ./flash-it-all.sh | 11:27 |
bencoh | KotCzarny: 09:55 < bencoh> Maxdamantus: http://mg.pov.lt/maemo-irclog/%23maemo.2015-02-05.log.html#t2015-02-05T13:11:07 | 11:28 |
bencoh | (regarding battery) | 11:29 |
KotCzarny | hmm | 11:29 |
KotCzarny | so rbi is kind of secondary battery in battery? | 11:30 |
* Maxdamantus thinks he might recreate his main ext3 filesystem on his N900 and put all the files back to see if performance improves. | 11:31 | |
* Maxdamantus feels like his ext4 filesystems on his main computer slowed down with age. | 11:31 | |
* Maxdamantus has been using btrfs for a couple of years on his main computer though, and hasn't experienced that. | 11:32 | |
KotCzarny | 2.6.28 is old | 11:32 |
KotCzarny | unless you find a way to patch current btrfs in | 11:33 |
Maxdamantus | Indeed. If I could run something newer I'd use btrfs. | 11:33 |
KotCzarny | maybe their page has patches for older kernels? | 11:33 |
Maxdamantus | They're not really at the stage where they'd actively do that. | 11:33 |
Humpelstilzchen | Maxdamantus: tried to defrag? | 11:43 |
KotCzarny | you dont defrag ext* | 11:43 |
Humpelstilzchen | sure you do | 11:43 |
KotCzarny | unless you keep it >95% full | 11:43 |
KotCzarny | also, his 'recreate fs' is a defrag | 11:44 |
Humpelstilzchen | especially /var wants to get get recreated from time to time | 11:44 |
KotCzarny | my /var is in tmpfs | 11:44 |
Maxdamantus | I don't think ext has an online defrag, so I might as well recreate the filesystem. | 11:44 |
Humpelstilzchen | all needed is a cp.. | 11:45 |
KotCzarny | but that's assuming you have unfragmented space | 11:46 |
KotCzarny | ie. <80% fs taken | 11:47 |
Maxdamantus | Filesystem Size Used Available Use% Mounted on | 11:47 |
Maxdamantus | rootfs 27.4G 25.1G 943.3M 96% / | 11:47 |
kerio | i'm pretty sure that online extfs defraggers do exist | 11:47 |
* Maxdamantus can probably remove some stuff too. | 11:47 | |
Maxdamantus | They'd probably need to interact with the kernel. | 11:48 |
Maxdamantus | (with the ext code in the kernel, that is) | 11:48 |
kerio | oh, it's ext4 only | 11:48 |
Maxdamantus | btrfs has ioctls to do with defragmentation. | 11:48 |
Maxdamantus | I don't think ext does. | 11:49 |
KotCzarny | ext3/4 advertise internal defrag | 11:49 |
KotCzarny | ie. while you have free space it organises files during operations | 11:50 |
kerio | it's pretty useless on anything that's solid-state tho | 11:50 |
KotCzarny | ie. cp | 11:50 |
Maxdamantus | I don't think they advertise that. | 11:50 |
Maxdamantus | They say that it's less necessary than some other popular filesystems. | 11:50 |
KotCzarny | kerio, n900 doesnt have ssd, and sd cards are not optimized for 4k blocks | 11:50 |
Maxdamantus | due to how it allocates space, not due to random background activity. | 11:50 |
KotCzarny | maxd: that's what i meant | 11:51 |
kerio | pretty sure that "high speed" sd cards for cameras are optimized for huge blocks | 11:51 |
Maxdamantus | if N900's drives aren't solid state, what are they? | 11:51 |
KotCzarny | kerio: we are talking about internal sd memory (32G one) | 11:51 |
KotCzarny | maxd: just a plain sd card soldered on | 11:51 |
Maxdamantus | SD cards are solid-state. | 11:52 |
Maxdamantus | They don't have mechanically moving parts. | 11:52 |
kerio | yeah all of my sd cards have a motor that drives a spinning piece of magnetic tape | 11:52 |
kerio | duh | 11:52 |
KotCzarny | nvm, see the unoptimized for 4k random access part | 11:52 |
*** xorly has joined #maemo | 11:57 | |
*** N-Mi has joined #maemo | 12:13 | |
antranigv | what to do when I get broken packages ? (: | 12:22 |
antranigv | libtqm-11 :-/ | 12:23 |
KotCzarny | remove? | 12:23 |
KotCzarny | then try reinstalling properly | 12:23 |
antranigv | KotCzarny: flappybird needs libqtm-11, but there is no package named that... | 12:24 |
KotCzarny | read flappybird description? | 12:24 |
KotCzarny | it might explain where to find it | 12:24 |
*** Gadgetoid has quit IRC | 12:24 | |
antranigv | let me see. btw, I'm use FAM and not HAM | 12:25 |
antranigv | KotCzarny: haha "Warning: Promotion of experimental Qtm based applications (libqtm11 or libqtm-extras) is blocked due to conflicts with stable versions." | 12:29 |
*** Haudegen has quit IRC | 12:45 | |
*** sparetire_ has quit IRC | 12:46 | |
*** Haudegen has joined #maemo | 12:53 | |
antranigv | anyone uses the Maliit keyboard ? | 13:19 |
*** ZetaR has quit IRC | 13:24 | |
*** FlameReaper-PC has joined #maemo | 13:25 | |
*** obsed has joined #maemo | 13:29 | |
Maxdamantus | Is anyone awae of a shortcut that closes a terminal window. | 13:33 |
antranigv | ctrl + d | 13:34 |
antranigv | Maxdamantus: ^ | 13:34 |
Maxdamantus | It's not that. | 13:34 |
Maxdamantus | It seems to have to do with the terminal itself. | 13:34 |
antranigv | you mean even as kill if a program is running? | 13:35 |
KotCzarny | just click the 'x' ? | 13:35 |
Maxdamantus | I often seem to accidentally invoke something that closes the terminal window. | 13:35 |
KotCzarny | ctrl-w maybe | 13:36 |
Maxdamantus | always while I'm inside irssi in tmux in ssh. | 13:36 |
KotCzarny | also ~ then . closes ssh session | 13:36 |
Maxdamantus | ctrl-w doesn't seem to do it. | 13:36 |
Maxdamantus | it happens when I try doing esc-a, where `esc` for me is fn+return | 13:37 |
Maxdamantus | also using a Dvorak layout. | 13:37 |
Maxdamantus | It doesn't only close the ssh connection. It's as if I pressed the X in the top right. | 13:39 |
antranigv | deleting wrong version of webkit... why? anyway, let's see the results :P | 13:44 |
*** zGrr has quit IRC | 13:45 | |
*** disco_stu has quit IRC | 13:52 | |
*** disco_stu has joined #maemo | 13:52 | |
*** mavhc has quit IRC | 13:58 | |
*** mavhc has joined #maemo | 14:02 | |
*** Haudegen has quit IRC | 14:19 | |
*** dreamer has joined #maemo | 14:23 | |
*** mavhc has quit IRC | 14:27 | |
*** Haudegen has joined #maemo | 14:28 | |
*** mavhc has joined #maemo | 14:30 | |
*** antranigv has quit IRC | 14:43 | |
*** RiD has joined #maemo | 15:13 | |
*** Gadgetoid has joined #maemo | 15:25 | |
*** LauRoman|Alt has joined #maemo | 15:42 | |
*** r00t-home has joined #maemo | 15:49 | |
*** r00t^home has quit IRC | 15:52 | |
*** shentey has joined #maemo | 15:55 | |
*** shentey has joined #maemo | 15:57 | |
*** jrayhawk has quit IRC | 15:59 | |
*** cpt_nemo has quit IRC | 15:59 | |
*** dos1 has quit IRC | 15:59 | |
*** cpt_nemo has joined #maemo | 16:00 | |
*** Sicelo has quit IRC | 16:00 | |
*** ecloud has quit IRC | 16:00 | |
*** dos1 has joined #maemo | 16:00 | |
*** Sicelo has joined #maemo | 16:00 | |
*** jrayhawk has joined #maemo | 16:00 | |
*** ecloud has joined #maemo | 16:02 | |
*** Kabouik_ has joined #maemo | 16:04 | |
*** shentey has quit IRC | 16:07 | |
*** Vajb has quit IRC | 16:10 | |
*** ecloud has quit IRC | 16:24 | |
*** ecloud has joined #maemo | 16:25 | |
*** ZetaR has joined #maemo | 16:29 | |
*** MohammadAG has quit IRC | 16:47 | |
*** Vajb has joined #maemo | 17:17 | |
*** florian has quit IRC | 17:19 | |
*** erstazi has quit IRC | 17:26 | |
*** ArGGu^_^ has joined #maemo | 17:27 | |
*** ArGGu^^ has quit IRC | 17:29 | |
*** ArGGu^_^ is now known as ArGGu^^ | 17:29 | |
*** r00t^home has joined #maemo | 18:00 | |
*** r00t-home has quit IRC | 18:03 | |
*** KotCzarny_ has joined #maemo | 18:07 | |
*** KotCzarny has quit IRC | 18:08 | |
*** KotCzarny_ is now known as KotCzarny | 18:09 | |
*** hubutm20 has quit IRC | 18:31 | |
*** ZetaR has quit IRC | 18:31 | |
*** ZetaR has joined #maemo | 18:38 | |
*** Kabouik_ has quit IRC | 18:49 | |
*** Pali has joined #maemo | 19:01 | |
*** erstazi has joined #maemo | 19:04 | |
*** erstazi has quit IRC | 19:04 | |
*** erstazi has joined #maemo | 19:04 | |
*** xorly has quit IRC | 19:08 | |
*** ZetaR has quit IRC | 19:12 | |
*** ZetaR has joined #maemo | 19:13 | |
*** erlehmann has joined #maemo | 19:29 | |
*** RiD has quit IRC | 19:39 | |
*** ZetaR has quit IRC | 20:08 | |
*** ad-n770 has quit IRC | 20:09 | |
*** ZetaR has joined #maemo | 20:20 | |
*** ZetaR has quit IRC | 20:26 | |
*** FlameReaper-PC has quit IRC | 20:44 | |
*** sparetire_ has joined #maemo | 20:55 | |
*** Haudegen has quit IRC | 20:58 | |
*** lobito has quit IRC | 20:59 | |
*** mavhc has quit IRC | 21:01 | |
*** xray256 has quit IRC | 21:02 | |
*** xray256 has joined #maemo | 21:02 | |
*** norly has joined #maemo | 21:07 | |
*** mavhc has joined #maemo | 21:07 | |
*** Oksana has quit IRC | 21:08 | |
*** ZetaR has joined #maemo | 21:10 | |
*** erlehmann has quit IRC | 21:10 | |
*** Oksana has joined #maemo | 21:10 | |
*** lobito has joined #maemo | 21:13 | |
*** Pali has quit IRC | 21:16 | |
*** RzR has quit IRC | 21:17 | |
*** Haudegen has joined #maemo | 21:19 | |
*** RzR has joined #maemo | 21:19 | |
*** ZetaR has quit IRC | 21:25 | |
*** flo_lap has joined #maemo | 21:32 | |
*** flo_lap is now known as florian | 21:33 | |
Sicelo | i've just noticed something .. hope i don't have an impending hardware problem: | 21:44 |
Sicelo | N900 with slider open, then let it alone until screen blanks. keyboard is lit as well while screen is lit. when screen blanks, the keyboard starts flickering. i don't remember this happening before :( | 21:45 |
Sicelo | reason to worry? | 21:46 |
KotCzarny | reboot? | 21:50 |
DocScrutinizer05 | Sicelo: disable R&D mode :-D | 21:52 |
Sicelo | i'm not in R&D | 21:52 |
DocScrutinizer05 | or fix preinit(?) | 21:53 |
DocScrutinizer05 | is the flickering only left and right side, and not completely in sync? | 21:53 |
Sicelo | yes, | 21:54 |
DocScrutinizer05 | that's debug mode, aka r&d | 21:54 |
DocScrutinizer05 | no hw defect :-) | 21:54 |
Sicelo | but then .. what put it there, haha ... i haven't had USB for over a year now | 21:55 |
DocScrutinizer05 | wait a minute, lemme find the place in bootscripts that controls it | 21:55 |
*** Pali has joined #maemo | 22:01 | |
DocScrutinizer05 | Sicelo: less +'/echo active > /sys/devices/platform/gpio-switch/sleep_ind/state' /sbin/preinit | 22:02 |
DocScrutinizer05 | Sicelo: for now try " echo inactive > /sys/devices/platform/gpio-switch/sleep_ind/state " and watch it stopping | 22:05 |
DocScrutinizer05 | then check your /etc/pmconfig | 22:05 |
Sicelo | that pattern doesn't exist in my /sbin/preinit | 22:06 |
Sicelo | and yes, now it stopped after 'echo inactive' ... | 22:07 |
Sicelo | sleep_ind = 1 in pmconfig | 22:07 |
DocScrutinizer05 | then your preinit is fuxored | 22:08 |
*** odin_ has quit IRC | 22:08 | |
DocScrutinizer05 | http://privatepaste.com/ba3725ad2f excerpt of *my* preinit | 22:08 |
DocScrutinizer05 | which is the stock preinit, as of CSSU | 22:09 |
DocScrutinizer05 | (sleep_ind = 1) yes, here too | 22:09 |
DocScrutinizer05 | on the LEDs: right one is master system clock, left one is CPU-sleep (aka C4?) | 22:10 |
*** shamus has quit IRC | 22:11 | |
*** shamus has joined #maemo | 22:12 | |
Sicelo | http://privatepaste.com/download/9ebfdae66c | 22:12 |
DocScrutinizer05 | what the heck, doesn't open, unknown mime-type | 22:13 |
*** qwazix has quit IRC | 22:14 | |
*** qwazix has joined #maemo | 22:14 | |
DocScrutinizer05 | who messed up your preinit? | 22:14 |
*** ZetaR has joined #maemo | 22:15 | |
*** qt_junkie has quit IRC | 22:15 | |
Sicelo | still doesn't open? | 22:15 |
*** qt_junkie has joined #maemo | 22:15 | |
DocScrutinizer05 | http://privatepaste.com/ae501b6ece | 22:16 |
DocScrutinizer05 | i opened with editor | 22:16 |
DocScrutinizer05 | blame Pali | 22:17 |
KotCzarny | :> | 22:17 |
Sicelo | my link works fine for me here | 22:17 |
Sicelo | DocScrutinizer05: http://paste.debian.net/280333/ | 22:19 |
DocScrutinizer05 | isn't that the same? | 22:21 |
Sicelo | it's my preinit. thought you couldn't open/see it | 22:22 |
KotCzarny | use transfer.sh | 22:22 |
KotCzarny | http://transfer.sh | 22:22 |
DocScrutinizer05 | http://maemo.cloud-7.de/maemo5/sbin/preinit | 22:24 |
DocScrutinizer05 | I guess you coucgt a CSSU-testingitis | 22:24 |
DocScrutinizer05 | ;-) | 22:24 |
bencoh | playing with preinit on a broken usb device ... *cough* :] | 22:25 |
DocScrutinizer05 | ohmy | 22:26 |
bencoh | doesnt sound exactly .... "sane" :) | 22:26 |
Sicelo | getbootstate update, lolz .. how was i to know :P | 22:27 |
DocScrutinizer05 | pretty terrible regression | 22:27 |
DocScrutinizer05 | open a ticket ahainst CSSU-$whatever_it_was | 22:28 |
*** futpib has joined #maemo | 22:28 | |
Sicelo | in any case, if i had to have bricked N900, maybe that would give me the motivation to fix the USB once for all .. because it's nothing more that procrastination that has resulted in this whole year of no USB availability | 22:28 |
Sicelo | i've already poked Pali | 22:28 |
DocScrutinizer05 | where from came that getbootstate update? | 22:28 |
Pali | cssu devel | 22:29 |
DocScrutinizer05 | oooh develitis then | 22:29 |
Pali | it may eat your brain | 22:29 |
DocScrutinizer05 | it obviously does ;-D | 22:29 |
DocScrutinizer05 | Sicelo: replace by http://maemo.cloud-7.de/maemo5/sbin/preinit | 22:29 |
Pali | whats problem with preinit? | 22:29 |
Sicelo | Pali: 14:02 < DocScrutinizer05> Sicelo: less +'/echo active > /sys/devices/platform/gpio-switch/sleep_ind/state' /sbin/preinit | 22:30 |
DocScrutinizer05 | Pali: it lacks disabling of debug LEDs | 22:30 |
Sicelo | that line missing | 22:30 |
Pali | ok, i will look at it | 22:30 |
DocScrutinizer05 | not only that line, it seems there's more to it | 22:30 |
bencoh | brainz ? I thougt we all ate that a long time ago | 22:31 |
Sicelo | yeah | 22:31 |
Sicelo | live on the wild side of life | 22:31 |
*** xorly has joined #maemo | 22:34 | |
Pali | Sicelo: whats other is not working in new preinit? | 22:37 |
Sicelo | i don't know. i just noticed the weird keyboard backlight only | 22:38 |
* DocScrutinizer05 stares at the "weird kbd light" and thinks it's awesome :-) | 22:39 | |
DocScrutinizer05 | you can see the system working | 22:39 |
*** Haudegen has quit IRC | 22:41 | |
Pali | Sicelo: so what is needed to disable that keyboard light? | 22:43 |
Pali | active or inactive state? | 22:43 |
*** N-Mi has quit IRC | 22:43 | |
Pali | Sicelo: that code for sleep_ind was moved to read_cfg.awk | 22:46 |
kerio | worksforme, i think | 22:46 |
Pali | because all gpio switches are in read_cfg.awk | 22:46 |
kerio | nvm i haven't upgraded it | 22:46 |
Sicelo | let me reboot to see if it was just hiccup (unlikely?) or not | 22:47 |
*** Haudegen has joined #maemo | 22:50 | |
DocScrutinizer05 | Pali: there's a bug even in stock maemo it seems to me: "" awk '/sleep_ind/{ if ($2 == 1) { VALUE="active"; } else { VALUE="inactive"; } print VALUE > "/sys/devices/platform/gpio-switch/sleep_ind/state" }' < /etc/pmconfig "" doesn't do what it's supposed to, in my book, since in pmconfig I got ""sleep_ind 1"" and yet the sleep indicator aka debug LEDs are INactive on my N900 after boot | 22:54 |
DocScrutinizer05 | prolly awk in busybox borked? | 22:55 |
DocScrutinizer05 | anyway I still wonder how comes that | 22:56 |
DocScrutinizer05 | IroN900:~# cat /sys/devices/platform/gpio-switch/sleep_ind/state | 22:56 |
DocScrutinizer05 | inactive | 22:56 |
* DocScrutinizer05 suspects that $2 isn't what you'd think it might be | 22:59 | |
* DocScrutinizer05 also wonders who came up with the idea to set sleep_ind 1 in pmconfig anyway. Seems it's standard | 23:01 | |
DocScrutinizer05 | for sure not what it's meant to be | 23:01 |
DocScrutinizer05 | also the whole sequence in genuine preinit makes no sense | 23:03 |
DocScrutinizer05 | or does it...? | 23:04 |
Pali | DocScrutinizer05: that code which you copied to IRC is executed only if R&D mode is enablled | 23:04 |
DocScrutinizer05 | ooh wait, it's in "if [ "$rd_mode" = "enabled" ]; then" | 23:04 |
DocScrutinizer05 | yep | 23:05 |
Pali | https://github.com/community-ssu/getbootstate/blob/master/preinit | 23:05 |
Pali | https://github.com/community-ssu/getbootstate/blob/master/read_cfg.awk | 23:06 |
Pali | this is new version | 23:06 |
DocScrutinizer05 | and is read_cfg.awk also only executed in a conditional branch running when R&D mode set? | 23:06 |
DocScrutinizer05 | in new preinit version | 23:06 |
Pali | no, read_cfg.awk is executed always | 23:06 |
DocScrutinizer05 | that's the bug | 23:07 |
Pali | https://github.com/community-ssu/getbootstate/blob/master/pmconfig | 23:07 |
Pali | and here is new pmconfig ^ | 23:07 |
Pali | just sleep_ind is set to 0 | 23:07 |
DocScrutinizer05 | well | 23:07 |
Sicelo | after reboot lights flickering again | 23:07 |
DocScrutinizer05 | I wouldn't like an update to discard my pmconfig :-/ | 23:07 |
Pali | Sicelo: do you have updated /etc/pmconfig? | 23:07 |
Pali | DocScrutinizer05: it is conffile | 23:07 |
Sicelo | let me compare with github | 23:07 |
DocScrutinizer05 | exactly, and updates are not supposed to reset conffiles | 23:08 |
Pali | yes | 23:08 |
DocScrutinizer05 | so when you change the semantics, you rather should use a new key instead of inverting meaning of old one | 23:09 |
Pali | ok, so maybe add check in read_cfg.awk and ignore sleep_ind settings if R&D mode is disabled? | 23:09 |
Sicelo | Pali: they are diferent .. dunno why. | 23:10 |
Sicelo | gdiff -u /etc/pmconfig.dpkg-new /etc/pmconfig | 23:10 |
Sicelo | -sleep_ind 0 | 23:10 |
Sicelo | +sleep_ind 1 | 23:10 |
DocScrutinizer05 | IOW new read_cfg.awk should use sleep_ind_unconditional as key | 23:10 |
Pali | ok, so change was not applied :-( | 23:10 |
Pali | we probably cannot update conffiles in maemo? | 23:10 |
Pali | via HAM or apt? | 23:10 |
Sicelo | you notice there's an /etc/pmconfig.dpkg-new? | 23:11 |
DocScrutinizer05 | that's what any sane installer does when updating conffiles that might have altered | 23:11 |
bencoh | Pali: s/maemo/debian/ iirc | 23:12 |
bencoh | you sould be able to prompt the user to choose though | 23:12 |
bencoh | (like apt-get upgrade does) | 23:12 |
DocScrutinizer05 | not in HAM ;-P | 23:12 |
bencoh | ah | 23:12 |
Sicelo | i did it via apt | 23:12 |
bencoh | dont we have some prompt-user gui ? | 23:12 |
Sicelo | updating KP does show a warning whether through HAM or apt | 23:13 |
Pali | Sicelo: can you add this: if (system("cal-tool --get-rd-mode | grep -q -x 'enabled'") == 0) { | 23:13 |
Pali | into /sleep_ind/ block? | 23:13 |
Pali | in read_cfg.awk | 23:13 |
DocScrutinizer05 | shouldn't we use sleep_ind_unconditional as new key and do a postinnst like echo 'sleep_ind_unconditional 0' >>/etc/pmconfig ? | 23:13 |
bencoh | Sicelo: that's what I thought (KP and warning) | 23:13 |
Pali | DocScrutinizer05: there is problem with upgrading that file :-( | 23:14 |
Pali | see that Sicelo did not modify it and apt refused to update it | 23:14 |
*** N-Mi has joined #maemo | 23:14 | |
*** N-Mi has joined #maemo | 23:14 | |
DocScrutinizer05 | that's why I suggested using postinst script | 23:14 |
Pali | so I would rather not touch pmconfig file | 23:14 |
Pali | and let original semantic of that file | 23:14 |
DocScrutinizer05 | the original semantic is already broken | 23:15 |
DocScrutinizer05 | you need to fix it | 23:15 |
Pali | yes, but I do not know what to do with broken HAM and apt | 23:15 |
DocScrutinizer05 | by keeping sleep_ind 1 (or whatever and *appending* sleep_ind_unconditional 0 | 23:15 |
DocScrutinizer05 | by keeping sleep_ind 1 (or whatever) and *appending* sleep_ind_unconditional 0 | 23:16 |
Pali | but you cannot touch that file :-( | 23:16 |
Pali | editing it cause that apt will create /etc/pmconfig.dpkg-new | 23:16 |
DocScrutinizer05 | why? | 23:16 |
DocScrutinizer05 | no | 23:16 |
Pali | see Sicelo's log ^^^ | 23:16 |
DocScrutinizer05 | echo 'sleep_ind_unconditional 0' >>/etc/pmconfig | 23:16 |
DocScrutinizer05 | in postinst | 23:17 |
Pali | and what happen on next update? | 23:17 |
Pali | same problem | 23:17 |
*** RedW has quit IRC | 23:17 | |
Pali | conffile will differ | 23:17 |
DocScrutinizer05 | ? | 23:17 |
Pali | and again problem with /etc/pmconfig.dpkg-new | 23:17 |
DocScrutinizer05 | you don't deploy a conf file, you create/alter it in postinst | 23:17 |
Pali | you always deploy conffile if there is some in DEB package | 23:18 |
DocScrutinizer05 | that'S exactly the point, it must not be in DEB file | 23:18 |
Pali | but already conffile *is* in DEB file | 23:19 |
DocScrutinizer05 | huh? | 23:19 |
DocScrutinizer05 | I thought files are created by develipers, not *being* since beginning of time til end of universe | 23:20 |
*** RedW has joined #maemo | 23:20 | |
Pali | yes, but pmconfig already exists as conffile in getbootstate package | 23:21 |
Pali | it is installed on every n900 | 23:21 |
DocScrutinizer05 | the fix getbootstate pkg | 23:21 |
Pali | so basically it exist since begining of n900 time | 23:21 |
Pali | due broken HAM it is not possible | 23:21 |
Pali | do you remember problem with hildon-desktop conffile? | 23:21 |
DocScrutinizer05 | how does that conflict with _not_ having it in update? | 23:21 |
Pali | merlin1991 created some special hook for it in cssu-installer script which is called before cssu packages are installed | 23:22 |
Pali | before preinst/postint! | 23:22 |
Pali | I think this was only way how to solve that problem... | 23:22 |
DocScrutinizer05 | I don't see the problem, to begin with | 23:22 |
Pali | it is same problem | 23:23 |
DocScrutinizer05 | I still don't see it | 23:23 |
Pali | HAM is broken | 23:23 |
DocScrutinizer05 | so? | 23:23 |
Pali | cannot normally update conffliles | 23:23 |
DocScrutinizer05 | we DO NOT UPDATE that conffile | 23:23 |
Pali | nor delete | 23:24 |
DocScrutinizer05 | we don't delete it either | 23:24 |
Pali | update = change content of that file | 23:24 |
Pali | and you want something to append? | 23:24 |
Pali | in postinst | 23:24 |
DocScrutinizer05 | so what? | 23:24 |
*** Vajb has quit IRC | 23:24 | |
DocScrutinizer05 | don't tell me HAM doesn't allow echo foo >>bar | 23:24 |
Pali | it is broken as next update of getboostate will again cause problems | 23:24 |
DocScrutinizer05 | which problems? | 23:25 |
Pali | next update HAM will see that file is changed against original version | 23:25 |
Pali | which cause another update problem | 23:25 |
DocScrutinizer05 | which problems? | 23:25 |
Pali | creating dpkg.new files | 23:25 |
DocScrutinizer05 | a conffile is *supposed* to be changed from what it originally was | 23:25 |
*** Vajb has joined #maemo | 23:26 | |
Pali | if you use dpkg manually or aptitude which support that properly you will get broken/inconsisant system | 23:26 |
DocScrutinizer05 | dang, HAM can only create a dpkg.new file when you ship any such file with the new version | 23:26 |
DocScrutinizer05 | same for dpkg or apt | 23:26 |
DocScrutinizer05 | when the new pkg version _has_ _no_ pmconfig file included, then apt/dpkg/ham will not even care about it, no? | 23:27 |
Pali | so you want to remove pmconfig from DEB package? | 23:28 |
DocScrutinizer05 | yes | 23:28 |
Pali | aha | 23:28 |
Pali | will think about it... | 23:29 |
DocScrutinizer05 | echo 'sleep_ind_unconditional 0' >>/etc/pmconfig in postinst will create it at install time when it's missing | 23:29 |
DocScrutinizer05 | and "update" it when it already exists | 23:29 |
Sicelo | in the meantime, which is better? add the code you suggested to read_cfg, or just change pmconfig? i've done the pmconfig change and no more flickering keyboard | 23:30 |
DocScrutinizer05 | of course you can do sth smarter, like a complete sed script to create multiple lines when the keys don't exaist already | 23:30 |
DocScrutinizer05 | in postinst | 23:30 |
Pali | I do not like solution when files are generated at postinst time... | 23:30 |
DocScrutinizer05 | well, that's exactly what all packages do with config files | 23:31 |
Pali | this means that unpacking file (via dpkg -x) you will not see content of full package | 23:31 |
Pali | because some files are created when installing them | 23:31 |
DocScrutinizer05 | see e.g. KDE | 23:31 |
Pali | conffiles are in DEB package | 23:31 |
Pali | dpkg -x will unpack them | 23:31 |
* DocScrutinizer05 is afk | 23:32 | |
bencoh | (is KDE really a good example regarding package management ?) | 23:33 |
Sicelo | i'll stick with adjusted pmconfig for now then :) will see what comes of read_cfg in an update | 23:34 |
Vajb | humm is my sim dying or is my sim slot dying. I lost all service and missing sim icon appeared for few seconds and then everything went back to normal. | 23:38 |
DocScrutinizer05 | clean contacts | 23:39 |
DocScrutinizer05 | when problem stays, it's most likely your modem chip dying | 23:39 |
*** Haudegen has quit IRC | 23:39 | |
Vajb | oh my. Then i probably vote for dying modem since i lose network from time to time. | 23:40 |
Sicelo | vote? you'd like that? :p | 23:41 |
Vajb | i suppose it's not user changeable? | 23:41 |
Vajb | Sicelo: sure. I always agree with my n900 :) | 23:41 |
DocScrutinizer05 | I seen SIM issues on may phones, after SIM contacts collecting dust and dirt for years | 23:42 |
Sicelo | losing network shouldn't be sign of dying modem. if your modem is dying, you lose sim card. i could be wrong though | 23:42 |
DocScrutinizer05 | however N900 no-SIM issue is notorious | 23:42 |
Vajb | ok. Will try cleaning contacts from port and sim | 23:45 |
KotCzarny | vajb: check the card, are there grooves on the contacts? | 23:47 |
Vajb | last time checked they were all shiny and straight. Not even scratched, but that's like 3 years ago... | 23:48 |
*** Haudegen has joined #maemo | 23:48 | |
KotCzarny | also, i think modem chip can get loose from the board | 23:49 |
KotCzarny | and there was a fix by inserting something under metal shield to press it a bit | 23:50 |
DocScrutinizer05 | KotCzarny: there's the famous spring-fix but it doesn't really work that great | 23:50 |
KotCzarny | luckily i only read about it, my n900 is still working nicely (even after multiple hard drops) | 23:51 |
Vajb | reminds me of "baking of friends xbox360"... | 23:51 |
DocScrutinizer05 | I also never had an issue with USB or modem on any of my N900 | 23:51 |
KotCzarny | same | 23:51 |
KotCzarny | i had some funky charging/not charging issues (not usb related, but charging chip going hairy) | 23:52 |
DocScrutinizer05 | o.O | 23:52 |
KotCzarny | they were fixed by a reboot, so i dont know what it was | 23:53 |
DocScrutinizer05 | that sounds like system busy issues | 23:53 |
KotCzarny | but that state persisted until reboot, i've tried multiple connect/disconnect and different chargers | 23:53 |
DocScrutinizer05 | and there's also a race condition between detection of VBUS 5V and D+/- short charger ID detect. occasionally it thinks it's connected to a USB host | 23:54 |
KotCzarny | and i think orange light was stuck ON | 23:54 |
DocScrutinizer05 | duh! | 23:54 |
KotCzarny | even after disconnecting charget | 23:54 |
KotCzarny | *charger | 23:55 |
DocScrutinizer05 | now _that_ sounds like broken or dying charger chip indeed | 23:55 |
KotCzarny | but i had such issue 2-3 times in the past, it works ok mostly | 23:56 |
DocScrutinizer05 | or... it might be totally messed up BME | 23:56 |
KotCzarny | reboot was a fix, so i bet on confused bme | 23:56 |
DocScrutinizer05 | or I2C at large, like it could happen on old powerkernel (pre 49?) | 23:57 |
*** shentey has joined #maemo | 23:59 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!