IRC log of #maemo for Wednesday, 2015-07-08

*** florian has quit IRC00:10
*** florian has joined #maemo00:30
*** shamus has quit IRC00:33
*** xorly has quit IRC00:33
*** rd_ has quit IRC00:39
*** erlehmann has left #maemo00:44
*** FlameReaper-PC has joined #maemo01:05
*** futpib has quit IRC01:06
*** Pali has quit IRC01:08
*** Haudegen has quit IRC01:08
*** N-Mi has quit IRC01:08
*** Haudegen has joined #maemo01:18
*** M4rtinK has quit IRC01:22
*** Luke-Jr has quit IRC01:28
*** ZetaR has quit IRC01:42
*** ZetaR has joined #maemo01:56
*** andril has quit IRC02:08
*** robink_ has joined #maemo02:10
*** Natch has quit IRC02:22
*** beford has joined #maemo02:28
*** Natch has joined #maemo02:31
*** robink_ has quit IRC02:35
*** florian has quit IRC02:36
*** robink_ has joined #maemo02:49
*** ashneo76 has joined #maemo02:57
*** norly has quit IRC03:06
*** LauRoman has joined #maemo03:45
*** LauRoman|Alt has quit IRC03:49
*** Luke-Jr has joined #maemo03:52
*** mavhc has quit IRC04:06
*** mavhc has joined #maemo04:10
*** mavhc has quit IRC04:15
*** Humpelst1lzchen has quit IRC04:34
*** Humpelstilzchen has joined #maemo04:35
*** shamus has joined #maemo04:53
*** LauRoman has quit IRC05:12
*** tanty_off has quit IRC05:20
*** FlameReaper-PC has quit IRC05:32
*** lxp has joined #maemo06:02
*** lxp1 has quit IRC06:04
*** RzR has quit IRC06:18
*** RzR has joined #maemo06:23
*** obsed has quit IRC06:32
*** tanty_off has joined #maemo06:34
*** tanty_off is now known as tanty06:35
*** pentanol has joined #maemo06:39
*** tanty has quit IRC07:09
*** tanty_off has joined #maemo07:11
*** protem has joined #maemo07:15
*** Oksana has quit IRC07:15
*** Oksana_ has joined #maemo07:19
*** Oksana_ is now known as Oksana07:24
*** beford has quit IRC07:45
*** delphi has quit IRC08:56
*** trx has joined #maemo09:02
*** mavhc has joined #maemo09:07
MaxdamantusIndeed. RTC reset but bq272 didn't.09:09
*** Pali has joined #maemo09:13
bencoh:)09:23
*** Haudegen has quit IRC09:23
KotCzarnymaybe it keeps battery serial or something09:25
MaxdamantusDoes the battery have a serial?09:25
KotCzarnylaptop ones do have09:25
MaxdamantusI know PSP batteries do (and you can change them), but N900's one seems dumb.09:26
KotCzarnywell, it's 3pin one, so some kind of logic is there09:26
freemangordonit is the BSI resistor (third pin)09:29
KotCzarnywhat is it for?09:32
*** Haudegen has joined #maemo09:32
*** Milhouse has quit IRC09:34
kerionope, no battery identification09:37
keriothe battery serial would be something written on the bq27200, in fact09:37
keriobecause it should be attached to the battery, not the board09:37
KotCzarnybut on n900 bq is integrated on the board?09:38
*** freemangordon has quit IRC09:41
Maxdamantuswtf, 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 IRC09:47
*** freemangordon has joined #maemo09:51
OksanaHehehe... Receive message on both phones? Or, more likely, randomly on one of them?09:53
L29Ahit's a pity one can't upload the battery data to bq2415010:03
*** Milhouse has joined #maemo10:04
*** protem has quit IRC10:04
*** futpib has joined #maemo10:04
*** zGrr has joined #maemo10:07
*** futpib has quit IRC10:22
*** trx has quit IRC10:25
*** florian has joined #maemo10:26
*** trx has joined #maemo10:30
*** pentanol has quit IRC10:34
*** ad-n770 has joined #maemo11:01
*** antranigv has joined #maemo11:18
antranigvmy friend just got a N90011:18
antranigvit's reflashing time :P11:18
antranigv~flasher11: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
KotCzarnyantranigv: did the oscp work on n9?11:18
antranigvKotCzarny: nop, cz there is no gtk libs on meego :(11:19
KotCzarnyO.o11:19
KotCzarnywut?11:19
antranigvyea, it's pure Qt11:19
KotCzarnybut even for compatibility there should be11:19
KotCzarnymartink ported them11:20
KotCzarnyhttp://talk.maemo.org/showthread.php?t=7922911:21
antranigvKotCzarny: um, I'll take a look sure.11:25
antranigvbtw, there are 2 emmc files, one is named europe, and it's about 600MB, which one should I download?11:26
antranigvor should "he" download.11:26
antranigvanyway11:26
antranigvhttp://galif.eu/nokia/N900/11:26
KotCzarnyisnt firmware ~120-150M ?11:26
KotCzarnymost likely its sdk11:26
KotCzarnyor wtf it is11:26
antranigv:D11:27
KotCzarny~flashing11:27
infobothmm... 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.sh11:27
bencohKotCzarny: 09:55 < bencoh> Maxdamantus: http://mg.pov.lt/maemo-irclog/%23maemo.2015-02-05.log.html#t2015-02-05T13:11:0711:28
bencoh(regarding battery)11:29
KotCzarnyhmm11:29
KotCzarnyso 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
KotCzarny2.6.28 is old11:32
KotCzarnyunless you find a way to patch current btrfs in11:33
MaxdamantusIndeed. If I could run something newer I'd use btrfs.11:33
KotCzarnymaybe their page has patches for older kernels?11:33
MaxdamantusThey're not really at the stage where they'd actively do that.11:33
HumpelstilzchenMaxdamantus: tried to defrag?11:43
KotCzarnyyou dont defrag ext*11:43
Humpelstilzchensure you do11:43
KotCzarnyunless you keep it >95% full11:43
KotCzarnyalso, his 'recreate fs' is a defrag11:44
Humpelstilzchenespecially /var wants to get get recreated from time to time11:44
KotCzarnymy /var is in tmpfs11:44
MaxdamantusI don't think ext has an online defrag, so I might as well recreate the filesystem.11:44
Humpelstilzchenall needed is a cp..11:45
KotCzarnybut that's assuming you have unfragmented space11:46
KotCzarnyie. <80% fs taken11:47
MaxdamantusFilesystem                Size      Used Available Use% Mounted on11:47
Maxdamantusrootfs                   27.4G     25.1G    943.3M  96% /11:47
kerioi'm pretty sure that online extfs defraggers do exist11:47
* Maxdamantus can probably remove some stuff too.11:47
MaxdamantusThey'd probably need to interact with the kernel.11:48
Maxdamantus(with the ext code in the kernel, that is)11:48
keriooh, it's ext4 only11:48
Maxdamantusbtrfs has ioctls to do with defragmentation.11:48
MaxdamantusI don't think ext does.11:49
KotCzarnyext3/4 advertise internal defrag11:49
KotCzarnyie. while you have free space it organises files during operations11:50
kerioit's pretty useless on anything that's solid-state tho11:50
KotCzarnyie. cp11:50
MaxdamantusI don't think they advertise that.11:50
MaxdamantusThey say that it's less necessary than some other popular filesystems.11:50
KotCzarnykerio, n900 doesnt have ssd, and sd cards are not optimized for 4k blocks11:50
Maxdamantusdue to how it allocates space, not due to random background activity.11:50
KotCzarnymaxd: that's what i meant11:51
keriopretty sure that "high speed" sd cards for cameras are optimized for huge blocks11:51
Maxdamantusif N900's drives aren't solid state, what are they?11:51
KotCzarnykerio: we are talking about internal sd memory (32G one)11:51
KotCzarnymaxd: just a plain sd card soldered on11:51
MaxdamantusSD cards are solid-state.11:52
MaxdamantusThey don't have mechanically moving parts.11:52
kerioyeah all of my sd cards have a motor that drives a spinning piece of magnetic tape11:52
kerioduh11:52
KotCzarnynvm, see the unoptimized for 4k random access part11:52
*** xorly has joined #maemo11:57
*** N-Mi has joined #maemo12:13
antranigvwhat to do when I get broken packages ? (:12:22
antranigvlibtqm-11 :-/12:23
KotCzarnyremove?12:23
KotCzarnythen try reinstalling properly12:23
antranigvKotCzarny: flappybird needs libqtm-11, but there is no package named that...12:24
KotCzarnyread flappybird description?12:24
KotCzarnyit might explain where to find it12:24
*** Gadgetoid has quit IRC12:24
antranigvlet me see. btw, I'm use FAM and not HAM12:25
antranigvKotCzarny: 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 IRC12:45
*** sparetire_ has quit IRC12:46
*** Haudegen has joined #maemo12:53
antranigvanyone uses the Maliit keyboard ?13:19
*** ZetaR has quit IRC13:24
*** FlameReaper-PC has joined #maemo13:25
*** obsed has joined #maemo13:29
MaxdamantusIs anyone awae of a shortcut that closes a terminal window.13:33
antranigvctrl + d13:34
antranigvMaxdamantus: ^13:34
MaxdamantusIt's not that.13:34
MaxdamantusIt seems to have to do with the terminal itself.13:34
antranigvyou mean even as kill if a program is running?13:35
KotCzarnyjust click the 'x' ?13:35
MaxdamantusI often seem to accidentally invoke something that closes the terminal window.13:35
KotCzarnyctrl-w maybe13:36
Maxdamantusalways while I'm inside irssi in tmux in ssh.13:36
KotCzarnyalso ~ then . closes ssh session13:36
Maxdamantusctrl-w doesn't seem to do it.13:36
Maxdamantusit happens when I try doing esc-a, where `esc` for me is fn+return13:37
Maxdamantusalso using a Dvorak layout.13:37
MaxdamantusIt doesn't only close the ssh connection. It's as if I pressed the X in the top right.13:39
antranigvdeleting wrong version of webkit... why? anyway, let's see the results :P13:44
*** zGrr has quit IRC13:45
*** disco_stu has quit IRC13:52
*** disco_stu has joined #maemo13:52
*** mavhc has quit IRC13:58
*** mavhc has joined #maemo14:02
*** Haudegen has quit IRC14:19
*** dreamer has joined #maemo14:23
*** mavhc has quit IRC14:27
*** Haudegen has joined #maemo14:28
*** mavhc has joined #maemo14:30
*** antranigv has quit IRC14:43
*** RiD has joined #maemo15:13
*** Gadgetoid has joined #maemo15:25
*** LauRoman|Alt has joined #maemo15:42
*** r00t-home has joined #maemo15:49
*** r00t^home has quit IRC15:52
*** shentey has joined #maemo15:55
*** shentey has joined #maemo15:57
*** jrayhawk has quit IRC15:59
*** cpt_nemo has quit IRC15:59
*** dos1 has quit IRC15:59
*** cpt_nemo has joined #maemo16:00
*** Sicelo has quit IRC16:00
*** ecloud has quit IRC16:00
*** dos1 has joined #maemo16:00
*** Sicelo has joined #maemo16:00
*** jrayhawk has joined #maemo16:00
*** ecloud has joined #maemo16:02
*** Kabouik_ has joined #maemo16:04
*** shentey has quit IRC16:07
*** Vajb has quit IRC16:10
*** ecloud has quit IRC16:24
*** ecloud has joined #maemo16:25
*** ZetaR has joined #maemo16:29
*** MohammadAG has quit IRC16:47
*** Vajb has joined #maemo17:17
*** florian has quit IRC17:19
*** erstazi has quit IRC17:26
*** ArGGu^_^ has joined #maemo17:27
*** ArGGu^^ has quit IRC17:29
*** ArGGu^_^ is now known as ArGGu^^17:29
*** r00t^home has joined #maemo18:00
*** r00t-home has quit IRC18:03
*** KotCzarny_ has joined #maemo18:07
*** KotCzarny has quit IRC18:08
*** KotCzarny_ is now known as KotCzarny18:09
*** hubutm20 has quit IRC18:31
*** ZetaR has quit IRC18:31
*** ZetaR has joined #maemo18:38
*** Kabouik_ has quit IRC18:49
*** Pali has joined #maemo19:01
*** erstazi has joined #maemo19:04
*** erstazi has quit IRC19:04
*** erstazi has joined #maemo19:04
*** xorly has quit IRC19:08
*** ZetaR has quit IRC19:12
*** ZetaR has joined #maemo19:13
*** erlehmann has joined #maemo19:29
*** RiD has quit IRC19:39
*** ZetaR has quit IRC20:08
*** ad-n770 has quit IRC20:09
*** ZetaR has joined #maemo20:20
*** ZetaR has quit IRC20:26
*** FlameReaper-PC has quit IRC20:44
*** sparetire_ has joined #maemo20:55
*** Haudegen has quit IRC20:58
*** lobito has quit IRC20:59
*** mavhc has quit IRC21:01
*** xray256 has quit IRC21:02
*** xray256 has joined #maemo21:02
*** norly has joined #maemo21:07
*** mavhc has joined #maemo21:07
*** Oksana has quit IRC21:08
*** ZetaR has joined #maemo21:10
*** erlehmann has quit IRC21:10
*** Oksana has joined #maemo21:10
*** lobito has joined #maemo21:13
*** Pali has quit IRC21:16
*** RzR has quit IRC21:17
*** Haudegen has joined #maemo21:19
*** RzR has joined #maemo21:19
*** ZetaR has quit IRC21:25
*** flo_lap has joined #maemo21:32
*** flo_lap is now known as florian21:33
Siceloi've just noticed something .. hope i don't have an impending hardware problem:21:44
SiceloN900 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
Siceloreason to worry?21:46
KotCzarnyreboot?21:50
DocScrutinizer05Sicelo: disable R&D mode :-D21:52
Siceloi'm not in R&D21:52
DocScrutinizer05or fix preinit(?)21:53
DocScrutinizer05is the flickering only left and right side, and not completely in sync?21:53
Siceloyes,21:54
DocScrutinizer05that's debug mode, aka r&d21:54
DocScrutinizer05no hw defect :-)21:54
Sicelobut then .. what put it there, haha ... i haven't had USB for over a year now21:55
DocScrutinizer05wait a minute, lemme find the place in bootscripts that controls it21:55
*** Pali has joined #maemo22:01
DocScrutinizer05Sicelo:  less +'/echo active > /sys/devices/platform/gpio-switch/sleep_ind/state' /sbin/preinit22:02
DocScrutinizer05Sicelo: for now try " echo inactive > /sys/devices/platform/gpio-switch/sleep_ind/state "  and watch it stopping22:05
DocScrutinizer05then check your /etc/pmconfig22:05
Sicelothat pattern doesn't exist in my /sbin/preinit22:06
Siceloand yes, now it stopped after 'echo inactive' ...22:07
Sicelosleep_ind = 1 in pmconfig22:07
DocScrutinizer05then your preinit is fuxored22:08
*** odin_ has quit IRC22:08
DocScrutinizer05http://privatepaste.com/ba3725ad2f  excerpt of *my* preinit22:08
DocScrutinizer05which is the stock preinit, as of CSSU22:09
DocScrutinizer05(sleep_ind = 1) yes, here too22:09
DocScrutinizer05on the LEDs: right one is master system clock, left one is CPU-sleep (aka C4?)22:10
*** shamus has quit IRC22:11
*** shamus has joined #maemo22:12
Sicelohttp://privatepaste.com/download/9ebfdae66c22:12
DocScrutinizer05what the heck, doesn't open, unknown mime-type22:13
*** qwazix has quit IRC22:14
*** qwazix has joined #maemo22:14
DocScrutinizer05who messed up your preinit?22:14
*** ZetaR has joined #maemo22:15
*** qt_junkie has quit IRC22:15
Sicelostill doesn't open?22:15
*** qt_junkie has joined #maemo22:15
DocScrutinizer05http://privatepaste.com/ae501b6ece22:16
DocScrutinizer05i opened with editor22:16
DocScrutinizer05blame Pali22:17
KotCzarny:>22:17
Sicelomy link works fine for me here22:17
SiceloDocScrutinizer05: http://paste.debian.net/280333/22:19
DocScrutinizer05isn't that the same?22:21
Siceloit's my preinit. thought you couldn't open/see it22:22
KotCzarnyuse transfer.sh22:22
KotCzarnyhttp://transfer.sh22:22
DocScrutinizer05http://maemo.cloud-7.de/maemo5/sbin/preinit22:24
DocScrutinizer05I guess you coucgt a CSSU-testingitis22:24
DocScrutinizer05;-)22:24
bencohplaying with preinit on a broken usb device ... *cough* :]22:25
DocScrutinizer05ohmy22:26
bencohdoesnt sound exactly .... "sane" :)22:26
Sicelogetbootstate update, lolz .. how was i to know :P22:27
DocScrutinizer05pretty terrible regression22:27
DocScrutinizer05open a ticket ahainst CSSU-$whatever_it_was22:28
*** futpib has joined #maemo22:28
Siceloin 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 availability22:28
Siceloi've already poked Pali22:28
DocScrutinizer05where from came that getbootstate update?22:28
Palicssu devel22:29
DocScrutinizer05oooh develitis then22:29
Paliit may eat your brain22:29
DocScrutinizer05it obviously does ;-D22:29
DocScrutinizer05Sicelo: replace by http://maemo.cloud-7.de/maemo5/sbin/preinit22:29
Paliwhats problem with preinit?22:29
SiceloPali: 14:02 < DocScrutinizer05> Sicelo:  less +'/echo active > /sys/devices/platform/gpio-switch/sleep_ind/state' /sbin/preinit22:30
DocScrutinizer05Pali: it lacks disabling of debug LEDs22:30
Sicelothat line missing22:30
Paliok, i will look at it22:30
DocScrutinizer05not only that line, it seems there's more to it22:30
bencohbrainz ? I thougt we all ate that a long time ago22:31
Siceloyeah22:31
Sicelolive on the wild side of life22:31
*** xorly has joined #maemo22:34
PaliSicelo: whats other is not working in new preinit?22:37
Siceloi don't know. i just noticed the weird keyboard backlight only22:38
* DocScrutinizer05 stares at the "weird kbd light" and thinks it's awesome :-)22:39
DocScrutinizer05you can see the system working22:39
*** Haudegen has quit IRC22:41
PaliSicelo: so what is needed to disable that keyboard light?22:43
Paliactive or inactive state?22:43
*** N-Mi has quit IRC22:43
PaliSicelo: that code for sleep_ind was moved to read_cfg.awk22:46
kerioworksforme, i think22:46
Palibecause all gpio switches are in read_cfg.awk22:46
kerionvm i haven't upgraded it22:46
Sicelolet me reboot to see if it was just hiccup (unlikely?) or not22:47
*** Haudegen has joined #maemo22:50
DocScrutinizer05Pali: 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 boot22:54
DocScrutinizer05prolly awk in busybox borked?22:55
DocScrutinizer05anyway I still wonder how comes that22:56
DocScrutinizer05IroN900:~# cat /sys/devices/platform/gpio-switch/sleep_ind/state22:56
DocScrutinizer05inactive22:56
* DocScrutinizer05 suspects that $2 isn't what you'd think it might be22:59
* DocScrutinizer05 also wonders who came up with the idea to set sleep_ind 1 in pmconfig anyway. Seems it's standard23:01
DocScrutinizer05for sure not what it's meant to be23:01
DocScrutinizer05also the whole sequence in genuine preinit makes no sense23:03
DocScrutinizer05or does it...?23:04
PaliDocScrutinizer05: that code which you copied to IRC is executed only if R&D mode is enablled23:04
DocScrutinizer05ooh wait, it's in "if [ "$rd_mode" = "enabled" ]; then"23:04
DocScrutinizer05yep23:05
Palihttps://github.com/community-ssu/getbootstate/blob/master/preinit23:05
Palihttps://github.com/community-ssu/getbootstate/blob/master/read_cfg.awk23:06
Palithis is new version23:06
DocScrutinizer05and is read_cfg.awk also only executed in a conditional branch running when R&D mode set?23:06
DocScrutinizer05in new preinit version23:06
Palino, read_cfg.awk is executed always23:06
DocScrutinizer05that's the bug23:07
Palihttps://github.com/community-ssu/getbootstate/blob/master/pmconfig23:07
Paliand here is new pmconfig ^23:07
Palijust sleep_ind is set to 023:07
DocScrutinizer05well23:07
Siceloafter reboot lights flickering again23:07
DocScrutinizer05I wouldn't like an update to discard my pmconfig :-/23:07
PaliSicelo: do you have updated /etc/pmconfig?23:07
PaliDocScrutinizer05: it is conffile23:07
Sicelolet me compare with github23:07
DocScrutinizer05exactly, and updates are not supposed to reset conffiles23:08
Paliyes23:08
DocScrutinizer05so when you change the semantics, you rather should use a new key instead of inverting meaning of old one23:09
Paliok, so maybe add check in read_cfg.awk and ignore sleep_ind settings if R&D mode is disabled?23:09
SiceloPali: they are diferent .. dunno why.23:10
Sicelogdiff -u /etc/pmconfig.dpkg-new /etc/pmconfig23:10
Sicelo-sleep_ind 023:10
Sicelo+sleep_ind 123:10
DocScrutinizer05IOW new read_cfg.awk should use sleep_ind_unconditional as key23:10
Paliok, so change was not applied :-(23:10
Paliwe probably cannot update conffiles in maemo?23:10
Palivia HAM or apt?23:10
Siceloyou notice there's an /etc/pmconfig.dpkg-new?23:11
DocScrutinizer05that's what any sane installer does when updating conffiles that might have altered23:11
bencohPali: s/maemo/debian/ iirc23:12
bencohyou sould be able to prompt the user to choose though23:12
bencoh(like apt-get upgrade does)23:12
DocScrutinizer05not in HAM ;-P23:12
bencohah23:12
Siceloi did it via apt23:12
bencohdont we have some prompt-user gui ?23:12
Siceloupdating KP does show a warning whether through HAM or apt23:13
PaliSicelo: can you add this: if (system("cal-tool --get-rd-mode | grep -q -x 'enabled'") == 0) {23:13
Paliinto /sleep_ind/ block?23:13
Paliin read_cfg.awk23:13
DocScrutinizer05shouldn't we use sleep_ind_unconditional as new key and do a postinnst like echo 'sleep_ind_unconditional 0' >>/etc/pmconfig ?23:13
bencohSicelo: that's what I thought (KP and warning)23:13
PaliDocScrutinizer05: there is problem with upgrading that file :-(23:14
Palisee that Sicelo did not modify it and apt refused to update it23:14
*** N-Mi has joined #maemo23:14
*** N-Mi has joined #maemo23:14
DocScrutinizer05that's why I suggested using postinst script23:14
Paliso I would rather not touch pmconfig file23:14
Paliand let original semantic of that file23:14
DocScrutinizer05the original semantic is already broken23:15
DocScrutinizer05you need to fix it23:15
Paliyes, but I do not know what to do with broken HAM and apt23:15
DocScrutinizer05by keeping sleep_ind 1 (or whatever and *appending* sleep_ind_unconditional 023:15
DocScrutinizer05by keeping sleep_ind 1 (or whatever) and *appending* sleep_ind_unconditional 023:16
Palibut you cannot touch that file :-(23:16
Paliediting it cause that apt will create /etc/pmconfig.dpkg-new23:16
DocScrutinizer05why?23:16
DocScrutinizer05no23:16
Palisee Sicelo's log ^^^23:16
DocScrutinizer05echo 'sleep_ind_unconditional 0' >>/etc/pmconfig23:16
DocScrutinizer05in postinst23:17
Paliand what happen on next update?23:17
Palisame problem23:17
*** RedW has quit IRC23:17
Paliconffile will differ23:17
DocScrutinizer05?23:17
Paliand again problem with /etc/pmconfig.dpkg-new23:17
DocScrutinizer05you don't deploy a conf file, you create/alter it in postinst23:17
Paliyou always deploy conffile if there is some in DEB package23:18
DocScrutinizer05that'S exactly the point, it must not be in DEB file23:18
Palibut already conffile *is* in DEB file23:19
DocScrutinizer05huh?23:19
DocScrutinizer05I thought files are created by develipers, not *being* since beginning of time til end of universe23:20
*** RedW has joined #maemo23:20
Paliyes, but pmconfig already exists as conffile in getbootstate package23:21
Paliit is installed on every n90023:21
DocScrutinizer05the fix getbootstate pkg23:21
Paliso basically it exist since begining of n900 time23:21
Palidue broken HAM it is not possible23:21
Palido you remember problem with hildon-desktop conffile?23:21
DocScrutinizer05how does that conflict with _not_ having it in update?23:21
Palimerlin1991 created some special hook for it in cssu-installer script which is called before cssu packages are installed23:22
Palibefore preinst/postint!23:22
PaliI think this was only way how to solve that problem...23:22
DocScrutinizer05I don't see the problem, to begin with23:22
Paliit is same problem23:23
DocScrutinizer05I still don't see it23:23
PaliHAM is broken23:23
DocScrutinizer05so?23:23
Palicannot normally update conffliles23:23
DocScrutinizer05we DO NOT UPDATE that conffile23:23
Palinor delete23:24
DocScrutinizer05we don't delete it either23:24
Paliupdate = change content of that file23:24
Paliand you want something to append?23:24
Paliin postinst23:24
DocScrutinizer05so what?23:24
*** Vajb has quit IRC23:24
DocScrutinizer05don't tell me HAM doesn't allow echo foo >>bar23:24
Paliit is broken as next update of getboostate will again cause problems23:24
DocScrutinizer05which problems?23:25
Palinext update HAM will see that file is changed against original version23:25
Paliwhich cause another update problem23:25
DocScrutinizer05which problems?23:25
Palicreating dpkg.new files23:25
DocScrutinizer05a conffile is *supposed* to be changed from what it originally was23:25
*** Vajb has joined #maemo23:26
Paliif you use dpkg manually or aptitude which support that properly you will get broken/inconsisant system23:26
DocScrutinizer05dang, HAM can only create a dpkg.new file when you ship any such file with the new version23:26
DocScrutinizer05same for dpkg or apt23:26
DocScrutinizer05when the new pkg version _has_ _no_ pmconfig file included, then apt/dpkg/ham will not even care about it, no?23:27
Paliso you want to remove pmconfig from DEB package?23:28
DocScrutinizer05yes23:28
Paliaha23:28
Paliwill think about it...23:29
DocScrutinizer05echo 'sleep_ind_unconditional 0' >>/etc/pmconfig  in postinst will create it at install time when it's missing23:29
DocScrutinizer05and "update" it when it already exists23:29
Siceloin 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 keyboard23:30
DocScrutinizer05of course you can do sth smarter, like a complete sed script to create multiple lines when the keys don't exaist already23:30
DocScrutinizer05in postinst23:30
PaliI do not like solution when files are generated at postinst time...23:30
DocScrutinizer05well, that's exactly what all packages do with config files23:31
Palithis means that unpacking file (via dpkg -x) you will not see content of full package23:31
Palibecause some files are created when installing them23:31
DocScrutinizer05see e.g. KDE23:31
Paliconffiles are in DEB package23:31
Palidpkg -x will unpack them23:31
* DocScrutinizer05 is afk23:32
bencoh(is KDE really a good example regarding package management ?)23:33
Siceloi'll stick with adjusted pmconfig for now then :) will see what comes of read_cfg in an update23:34
Vajbhumm 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
DocScrutinizer05clean contacts23:39
DocScrutinizer05when problem stays, it's most likely your modem chip dying23:39
*** Haudegen has quit IRC23:39
Vajboh my. Then i probably vote for dying modem since i lose network from time to time.23:40
Sicelovote? you'd like that? :p23:41
Vajbi suppose it's not user changeable?23:41
VajbSicelo: sure. I always agree with my n900 :)23:41
DocScrutinizer05I seen SIM issues on may phones, after SIM contacts collecting dust and dirt for years23:42
Sicelolosing network shouldn't be sign of dying modem. if your modem is dying, you lose sim card. i could be wrong though23:42
DocScrutinizer05however N900 no-SIM issue is notorious23:42
Vajbok. Will try cleaning contacts from port and sim23:45
KotCzarnyvajb: check the card, are there grooves on the contacts?23:47
Vajblast time checked they were all shiny and straight. Not even scratched, but that's like 3 years ago...23:48
*** Haudegen has joined #maemo23:48
KotCzarnyalso, i think modem chip can get loose from the board23:49
KotCzarnyand there was a fix by inserting something under metal shield to press it a bit23:50
DocScrutinizer05KotCzarny: there's the famous spring-fix but it doesn't really work that great23:50
KotCzarnyluckily i only read about it, my n900 is still working nicely (even after multiple hard drops)23:51
Vajbreminds me of "baking of friends xbox360"...23:51
DocScrutinizer05I also never had an issue with USB or modem on any of my N90023:51
KotCzarnysame23:51
KotCzarnyi had some funky charging/not charging issues (not usb related, but charging chip going hairy)23:52
DocScrutinizer05o.O23:52
KotCzarnythey were fixed by a reboot, so i dont know what it was23:53
DocScrutinizer05that sounds like system busy issues23:53
KotCzarnybut that state persisted until reboot, i've tried multiple connect/disconnect and different chargers23:53
DocScrutinizer05and 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 host23:54
KotCzarnyand i think orange light was stuck ON23:54
DocScrutinizer05duh!23:54
KotCzarnyeven after disconnecting charget23:54
KotCzarny*charger23:55
DocScrutinizer05now _that_ sounds like broken or dying charger chip indeed23:55
KotCzarnybut i had such issue 2-3 times in the past, it works ok mostly23:56
DocScrutinizer05or... it might be totally messed up BME23:56
KotCzarnyreboot was a fix, so i bet on confused bme23:56
DocScrutinizer05or I2C at large, like it could happen on old powerkernel (pre 49?)23:57
*** shentey has joined #maemo23:59

Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!