IRC log of #maemo for Sunday, 2017-06-18

*** jonwil has joined #maemo00:10
jonwilhi00:11
*** infobot has quit IRC00:35
*** infobot has joined #maemo00:36
*** xy2_ has quit IRC01:10
*** dafox has quit IRC01:17
*** dafox has joined #maemo01:30
*** Kabouik has joined #maemo01:43
*** Pali has quit IRC01:43
*** Kabouik has joined #maemo01:44
*** err0r3o3_ has joined #maemo01:54
*** err0r3o3 has quit IRC01:57
*** Kabouik has quit IRC02:34
*** ashneo76 has quit IRC02:34
*** LjL is now known as vrms02:43
*** dafox has quit IRC03:15
*** infobot has quit IRC03:21
*** vrms is now known as LjL03:23
*** infobot has joined #maemo03:24
*** xorly has quit IRC03:26
*** florian has quit IRC03:27
*** Kabouik has joined #maemo03:27
*** ubizzy has quit IRC03:33
*** Kabouik has quit IRC03:41
*** Kabouik has joined #maemo03:41
*** Kabouik has quit IRC04:03
*** LauRoman|Alt has joined #maemo04:20
*** LauRoman has quit IRC04:24
*** auenf has quit IRC06:02
*** pagurus has quit IRC06:06
*** pagurus has joined #maemo06:07
*** at1as has quit IRC06:42
*** DocScrutinizer05 has quit IRC07:20
*** DocScrutinizer05 has joined #maemo07:21
*** louisdk has joined #maemo07:53
*** auenf has joined #maemo08:06
*** wnd has quit IRC08:29
*** wnd has joined #maemo08:29
*** spiiroin has quit IRC08:34
*** spiiroin has joined #maemo08:48
*** Pali has joined #maemo08:53
*** FIQ has quit IRC09:06
*** louisdk has quit IRC09:09
*** eMHa has quit IRC10:14
*** eMHa has joined #maemo10:15
*** eMHa has quit IRC10:27
*** eMHa has joined #maemo10:33
*** jon_y has quit IRC10:47
*** jon_y has joined #maemo10:49
*** louisdk has joined #maemo10:55
*** xy2_ has joined #maemo11:05
*** xorly has joined #maemo11:15
*** shentey has joined #maemo11:32
*** florian__ has joined #maemo11:50
*** r00t-home has joined #maemo11:51
*** florian__ is now known as florian11:51
*** florian has joined #maemo11:51
*** r00t^home has quit IRC11:51
*** ubizzy has joined #maemo12:16
*** dafox has joined #maemo12:19
*** eMHa has quit IRC12:30
*** eMHa has joined #maemo12:32
*** eMHa has quit IRC12:38
*** eMHa has joined #maemo12:46
*** louisdk has quit IRC12:47
*** ced117 has quit IRC12:53
*** louisdk has joined #maemo12:53
*** ced117 has joined #maemo12:53
*** ced117 has quit IRC12:53
*** ced117 has joined #maemo12:53
*** spiiroin has quit IRC12:56
*** louisdk has quit IRC12:59
*** shentey has quit IRC13:06
*** louisdk has joined #maemo13:13
*** spiiroin has joined #maemo13:15
*** TheKit has quit IRC13:33
*** NotKit has joined #maemo13:33
*** wnd has quit IRC13:41
*** wnd has joined #maemo13:42
*** heroux has quit IRC13:49
*** heroux has joined #maemo13:49
*** Wikiwide has joined #maemo13:51
*** eMHa has quit IRC13:55
WikiwideBug report: with profile General (not Silent), with IM sound set to 0 volume, with music being played in Media Player, IMs beep annoyingly on arrival. If Music is paused, then IMs don't beep (which is the expected behaviour).13:55
*** jon_y has quit IRC13:56
*** jon_y has joined #maemo13:58
bencohWikiwide: I'd tend to think this a feature(tm), but ... :)13:59
bencoh+is13:59
sixwheeledbeastWikiwide: is this OMP?14:07
WikiwideNay, just Media Player. And, I think that it's bug inside something audio-profile-related, not Media Player itself.14:09
DocScrutinizer05this is *deep* into terra incognita riddled by evil alsaped etc stuff, the unspeakable language blob stuff that Pali once decompiled14:10
WikiwideAnd, when I am on a talkative IRC channel, and using music to lull myself to sleep, IM beeps are not a welcome feature.14:10
DocScrutinizer05if anything bug, then that's a bug in your IM14:11
WikiwideAnd I am trying to stop myself from using Silent profile, because it makes answering phone calls difficult (if I leave Silent profile for all day long)14:11
DocScrutinizer05but probably it's a fsckup audio policy14:11
WikiwideIn my IM? It's just rtcom-messaging-ui plus telepathy-idle14:12
WikiwideYes, audio policy. I recall reading it sometime long ago.14:12
DocScrutinizer05aka pidgin, no?14:12
Palithat seems to be problem in libplayback library14:12
Palisimilar problem is also with OMP + bluetooth headset14:12
Paliprobably also bluez related14:12
WikiwideNo pidgin. This violet strangeness...14:13
DocScrutinizer05aaa purple14:13
WikiwideNo bluetooth here. No OMP here.14:13
DocScrutinizer05AIUI basically friggin audio policies work by looking for *startup* of a binary with a certain command name, and then adjusts all mixer settings accordingly. This is prone to fail14:14
sixwheeledbeastcron to switch back to general in the morning?14:15
DocScrutinizer05~alsaped14:15
DocScrutinizer05thought as much14:15
WikiwideGranted, these beeps aren't heard if conversation window is the one brought to the front. Maybe, effect of "messages window here, hence new messages are already visible, no need to notify"14:16
DocScrutinizer05less /usr/share/policy/etc/rx51/alsaped.conf14:18
DocScrutinizer05don't expect any rationale in that, it's a flaw14:19
DocScrutinizer05when IM on top, the IM audio policy takes effect. When MP on top, music audio policy takes effect. Audio volume of music policy isn't muted, and there are no distinct audio channels in neither hardware nor pukeaudio for different policies and their properties. IOW only one policy at a time takes effect14:21
DocScrutinizer05it does NOT really have a per-app volume setting, not even a per-policy volume setting that works concurrently with other setting, I guess14:22
DocScrutinizer05less /usr/share/policy/etc/current/pulse/xpolicy.conf14:27
DocScrutinizer05check if IM and MP are in the right groups there14:28
DocScrutinizer05GOD!!!! this config file sucks dinosaur balls14:29
DocScrutinizer05the whole concept does14:29
WikiwideI think that if IM window of channel A is maximised and message arrives to channel B, then the message beeps regardless of IM policy being 0. If message arrives to channel A (maximised), it doesn't beep (I think).14:32
*** g3kk3r has quit IRC14:36
DocScrutinizer05#channel  ?14:38
DocScrutinizer05that's your IM then, would make a weird kind of sense14:39
*** g3kk3r has joined #maemo14:39
WikiwideYes14:39
WikiwideWouldn't it have been easier to use alsa-mixer directly without pulseaudio?14:39
DocScrutinizer05anyway, that might help, as a template:14:39
DocScrutinizer05[stream]14:39
DocScrutinizer05#exe     = hildon-home14:39
DocScrutinizer05property = event.id@equals:"message-new-email"14:39
DocScrutinizer05group    = event14:39
DocScrutinizer05from /usr/share/policy/etc/current/pulse/xpolicy.conf14:39
DocScrutinizer05exe is commeted out14:40
DocScrutinizer05no idea where that crap gets stuff like property=event.id from, and how a process would define/set any such property14:40
WikiwideQuite interesting :-)  I doubt it would be fixable, because surely nobody would deliberately decide "ooh, music is on, let's annoy the listener with IM beeps and ignore the policy"14:41
DocScrutinizer05anyway /usr/share/policy/etc/current/pulse/xpolicy.conf  and /usr/share/policy/etc/current/pulse/xpolicy.conf  are the most obscure and undocumented files around maemo audio or even maemo at large14:42
WikiwideNice... /usr/share/policy/etc/rx51/alsaped.conf right?14:44
DocScrutinizer05what pali said, maybe a problem in libplayback. The process needs to define some sort of property or stream or group or whatever, for audio. When it doesn't, then I guess the audio is "anonymous" aka phantom, aka not noticed at all by alsaped, and thus inherits whatever is currently active as audio policy14:45
DocScrutinizer05/usr/share/policy/etc/rx51/  and /usr/share/policy/etc/current/ are identical14:46
DocScrutinizer05symlink or whatever14:46
DocScrutinizer05current is a symlink to rx5114:47
WikiwideHmm, interesting. So whatever calls libplayback hasn't defined the property for IM arrival notification, and inherits random-currently-active policy?14:47
WikiwideMy current workaround is: stay on one channel, keep it maximised. Then, no IM beeps.14:48
DocScrutinizer05that's my guess, yep14:48
DocScrutinizer05that whole thing is totally opaque and mysterious/obfuscated/closed14:49
DocScrutinizer05ask Pali, he disassembled the Prolog shit, maybe he even understands it14:50
WikiwideCron-ing profiles could be good, but too finicky. As it is, I would like to be able to switch between cellular and SIP depending on whether WiFi is connected.14:51
WikiwideGreat :-)  I wish there was some description somewhere about "how to reverse-engineer". I would gladly document rtcom-messaging-ui innards, especially obscure changeThemeSomehow thing (it's totally not exposed in GUI, many humans don't even know that changing Conversations theme is possible)14:54
PaliIIRC it is up to application to follow profile settings14:54
Paliso if some application play sound even if it should not, then that application does not call needed libplayback functions14:54
*** dafox has quit IRC14:55
DocScrutinizer05http://paste.ubuntu.com/24889757/14:55
jonwilthat package is open, see https://github.com/community-ssu/pulseaudio-policy-enforcement14:55
PaliWikiwide: try OMP14:56
Paliif it has same problem14:56
WikiwidePali: I hope somebody will be able to confirm that this bug isn't experienced by only me. I can try OMP, yes... Not installed atm.14:56
Palias wrote I see same bug, but with bluetooth14:57
Palibut maybe it is not same...14:57
DocScrutinizer05that looks promising, though REALLY I wish it was formatted to be readable14:58
DocScrutinizer05https://github.com/community-ssu/pulseaudio-policy-enforcement/blob/master/doc/lyx/pulseaudio_policy_enforcement.lyx14:58
DocScrutinizer05jonwil: thanks!14:59
WikiwideFor now, I should contend myself with easier things, like making a bootup video, and a theme. Considering that ffmpeg on N900 doesn't write h.263 video, both of these undertakings require "a computer not a N900"14:59
*** Wikiwide has quit IRC14:59
*** Wikiwide has joined #maemo14:59
DocScrutinizer05there she went15:00
DocScrutinizer05Wikiwide: what happened?15:00
jonwilDocScrutinizer it looks like you should be able to get docs out of that repo, the repo certainly contains a makefile to turn that stuff into readable docs15:01
DocScrutinizer05btw (as I already suspected or even knew) OHM is also involved in that shit15:01
DocScrutinizer05jonwil: no idea how15:02
sixwheeledbeastAlso OMP has some settings that you can tweak RE "interruptions" notifications during playback, so check them out too if you try OMP15:02
WikiwideDocScrutinizer: randomly disconnected WiFi. sixwheeledbeast: will check, but is it possible to write them as "plugins" for stock media player?15:04
*** jonwil has quit IRC15:06
Palino, nothing is possible for stock media player15:06
WikiwideDownloading OMP, so far. Ubuntu Humanity theme in App Manager is amazing.15:06
Paliit is closed/undocumented15:06
Palireason why OMP was created15:06
*** vakko has joined #maemo15:08
DocScrutinizer05https://github.com/community-ssu/pulseaudio-policy-enforcement/blob/master/doc/lyx/pulseaudio_policy_enforcement.lyx#L145 to #L159 is pathetic. Some of the most important info parts simply empty stubs15:09
bencohWikiwide: don't we have dsp support for h.263? you could use gstreamer maybe15:21
DocScrutinizer05h.263 should, yes. h.264 not, or only partially15:34
DocScrutinizer05iirc15:34
*** Wikiwide has quit IRC15:35
*** Maxdamantus has quit IRC15:44
*** Maxdamantus has joined #maemo15:45
DocScrutinizer05err?!  "/home/christian/n900/cssu-testing/policy-settings-rx51/policy-settings-rx51/rx51/policy/media_groups.pl" in /usr/share/policy/rules/rx51/policy.plc15:45
DocScrutinizer05https://github.com/community-ssu/policy-settings-rx51/blob/master/rx51/policy/audio_volume.pl  hmm, Prolog gibberish15:52
DocScrutinizer05https://github.com/community-ssu/policy-settings-rx51/blob/master/rx51/policy/context.pl ACME Prolog gibberish15:55
bencohwe have h264 encoding support15:56
*** hurrian has quit IRC15:58
*** hurrian has joined #maemo15:58
DocScrutinizer05h.264 baseline afaik16:05
DocScrutinizer05could be wrong16:05
DocScrutinizer05that h.* stuff is confusing16:05
DocScrutinizer05https://wiki.maemo.org/Manual_video_encoding >>The N900 supports AAC and H.264 up to Baseline 3.0 profile<<16:08
DocScrutinizer05https://bugs.maemo.org/show_bug.cgi?id=663516:12
povbotBug 6635: OpenMax returns error when trying to play an mp4 file with h264 video16:12
APic\splatDarn16:42
APic\splatCharging when powered off failed again16:42
APic\splatSo i reflashed16:42
APic\splatCharging worked16:42
APic\splatThen installed BackupMenu16:42
APic\splatCharging when off stopped working again16:42
*** FIQ has joined #maemo16:43
APic\splatSo now i will have to reinstall my Backup with BackupMenu, then uninstall BackupMenu, and hope charging when off will work again then ☹16:43
KotCzarnymaybe you have something in your backup that breaks it?16:44
sixwheeledbeastalso which version of bm16:44
APic\splatCould be16:45
APic\splatBut i did not reinstall Backup just yet16:45
APic\splatI just installed BackupMenu, and before Restoring i tried out Charging16:45
APic\splatAnd it failed16:45
APic\splatWell, could be that the microUSB-Jack has evil tottering Contact so it works randomly ;(16:46
KotCzarnyuse a sticky tape for testing ;)16:47
APic\splatBackupMenu Version 1.2.016:47
APic\splatRestored Backup, removed BackupMenu and „bootmenu“, now it is charging again when off, but it seemed to boot into Charge-Mode like 3 Times17:03
APic\splatMaybe the Flash-Chip is generally having Issues…17:04
APic\splatAnd/or the microUSB-Jack17:04
APic\splatWhatever17:04
DocScrutinizer05I can't think of any possible way BM would break charging17:04
APic\splatYup, that is probably just Voodoo-Placebo-Magic here 😉17:05
bencohpoweredoff-charging*17:05
sicelodid you install u-boot?17:05
bencohaka "actdead" mode, right?17:05
DocScrutinizer05ooh bencoh, you got a point there17:05
bencohdoesnt backupmenu change something in init process?17:06
DocScrutinizer05yes17:06
DocScrutinizer05blocks init when booting with slider open17:06
APic\splatI had U-Boot for Kernel-Power on my last working Setup17:06
siceloi mean *now*17:06
DocScrutinizer05blocking init means no BME17:06
APic\splatBut now i did not install it again because i do not need Kernel-Power because i have my Nexus-5X for Tethering17:07
DocScrutinizer05no BME -> no charging17:07
APic\splatNow i have no U-Boot, no17:07
bencohAPic\splat: is slider opened or closed when trying to charge from poweroff?17:07
APic\splatClosed17:08
bencohs/from poweroff/in off state/17:08
infobotbencoh meant: APic\splat: is slider opened or closed when trying to charge in off state?17:08
DocScrutinizer05maybe magnet defect?17:08
bencohDocScrutinizer05: doubt it17:08
bencohI mean, he would notice it17:08
bencoh(I guess?)17:08
DocScrutinizer05well, easy to tell: when BM menu comes up with slider closed on boot, it's defect17:09
APic\splatYah, when BackupMenu was installed the Boot-Menu only appeared with Slider open17:09
APic\splatYup17:09
DocScrutinizer05ok17:09
DocScrutinizer05then I don't know17:09
bencohdoes it work if you try removing BM?17:10
siceloyou're positively sure you have not restored any backup (even with the nokia/stock backup)?17:10
DocScrutinizer05does it wake up when plugging in the charger?17:10
APic\splatbencoh: I removed BackupMenu and bootmenu, and now it is doing what i want17:10
DocScrutinizer05it needs to boot nevertheless, even when in act_dead charging17:10
bencohinteresting17:10
APic\splatsicelo: Yes, i _did_ restore my Backup17:11
DocScrutinizer05you *always* will notice at least the NOKIA screen from bootloader17:11
sicelofwiw, i reflahsed my n900 during the week, and installed BM. no problem whatsoever17:11
siceloah ..17:11
APic\splatDocScrutinizer05: Yes, i know that17:11
bencohwaitamin... bootmenu? isn't this thing deprecated?17:11
APic\splatSo now it is doing what i want, so i just hope it will keep to behave 😎17:11
siceloyou backup has issues most likely. sixwheeledbeast already mentioned17:11
DocScrutinizer05so you plugged in to a powered down device, it booted and then stopped (or didn't start) charging? How did you tell?17:12
APic\splatMan, it works now. Can we just stop this Discussion until something will break again?  😉17:12
sicelobootmenu is not deprecated. BM depends on in. you might be thinking of multiboot .. which is dep17:12
bencohAPic\splat: ^^17:12
bencohsicelo: maybe17:12
APic\splatDocScrutinizer05: When it was b0rk, it had now orange Light17:13
APic\splats/now/no/17:13
infobotAPic\splat meant: DocScrutinizer05: When it was b0rk, it had no orange Light17:13
APic\splat(Or green when done)17:13
DocScrutinizer05you're aware you can adjust that yellow light to your liking, from redblue flashing to no light at all?17:13
sicelo~xy17:13
infobotextra, extra, read all about it, xy is The XY problem: You want to do X, but don't know how. You think you can solve it using Y, but don't know how to do that, either. You ask about Y, which is a strange thing to want to do. Just ask about X. http://www.catb.org/~esr/faqs/smart-questions.html#goal17:13
APic\splatYes17:13
sicelo~xyz17:14
APic\splatBut i doubt the Flash-Chip had a Bit-Rot in exact that Location where the Light-Behaviour is configurend17:14
APic\splats/configurend/configured/17:14
*** capitanocrunch has joined #maemo17:15
DocScrutinizer05I doubt a bitrot could get restored to unrotten state by deinstalling any package17:16
DocScrutinizer05makes no sense17:16
DocScrutinizer05and I'm a big fan of BM, don't like it getting flamed for something it's most likely completely innocent17:17
DocScrutinizer05also bug reports that "fixed themsekves" without proper analysis what caused the error are highly annoying17:18
sicelonext time you reflash, don't restored any backups via BM or osso-backup. install BM. then test for some time17:18
sicelo-d17:19
DocScrutinizer05there's even a fiasco image with BM preinstalled :-)17:19
DocScrutinizer05http://maemo.cloud-7.de/maemo5/BM/flashable_rootfs_v0.56-1-20101109.img17:20
DocScrutinizer05never tested that though17:22
DocScrutinizer05robbiethe1st told me it works17:22
APic\splatsicelo: Yup, will do that, but i hope it will just work without Reflashing ☺17:23
DocScrutinizer05can't recall when I last time reflashed my device17:24
DocScrutinizer05I reflashed a bazillion other devices, but not my daily phone17:25
siceloi finally reflashed mine last week because i wsn't sure whether i had cruft corrupting my modem or not. turns out that the problem is not related. anyway, enjoying my "new" faster n90017:26
bencohfaster?17:27
DocScrutinizer05oh yeah, cleaning out stuff like el-v1.db can do wonders17:27
bencohah17:27
siceloyes in that sense.17:28
sicelomy el-v1.db was small because i don't keep conversations as a general rule, but who knows what else i had accumulated. i elected to not restore my backups wholesale. i'm only restoring single files as the need comes up17:30
*** e has joined #maemo17:30
* sicelo should restore keymapping17:30
*** Wikiwide has joined #maemo17:30
DocScrutinizer05nice approach17:33
DocScrutinizer05I'm regularly too lazy for such approach ;-)17:33
*** capitanocrunch has quit IRC17:33
DocScrutinizer05but we might eventually do a little fancy and write a cleanup script17:33
*** xorly has quit IRC17:38
DocScrutinizer05what I'm just doing this very moment though is not reflashing but recalibrating17:42
DocScrutinizer05that script is pretty inconvenient, needs a cd path/to/bq27200.sh  to work17:42
* DocScrutinizer05 blames DocScrutinizer0517:42
*** spiiroin has quit IRC17:54
*** at1as has joined #maemo18:03
*** spiiroin has joined #maemo18:07
*** xy2_ has quit IRC18:13
*** Vajb has quit IRC18:26
*** eMHa has joined #maemo18:27
*** Kilroo has quit IRC18:31
*** at1as has quit IRC18:34
*** at1as has joined #maemo18:36
*** xy2_ has joined #maemo18:50
*** at1as has quit IRC18:57
sixwheeledbeastonly a bad worker blames there tools18:59
*** Maxdamantus has quit IRC19:01
*** Maxdamantus has joined #maemo19:02
*** at1as has joined #maemo19:19
*** xorly has joined #maemo19:30
KotCzarnysometimes tools are really worn/bad quality ;)19:34
*** at1as has quit IRC19:36
DocScrutinizer05sometimes the toolmaker should have been more diligent19:52
DocScrutinizer05with a tiny bit of effort, I could have made a decent app out of it19:53
*** LauRoman|Alt has quit IRC20:03
*** LauRoman has joined #maemo20:04
sixwheeledbeastI always say that "there" is the most important part of that well known saying.20:19
sixwheeledbeastIf you have bad tools why are you still trying to do the job. Your first job is to get the right tools. An important point IMO20:21
KotCzarny:)20:21
KotCzarnyunless you live in some remote area where there is nothing. not even good rocks20:21
sixwheeledbeastThe more you think about it the more stuff you end up applying it to.20:21
sixwheeledbeastIn that case your tools are the best you can get hold of, so why are you blaming them ;)20:23
*** e has quit IRC20:39
*** hurrian has quit IRC21:05
*** Vajb has joined #maemo21:12
*** cyteen has quit IRC21:12
*** xorly has quit IRC21:15
*** xorly has joined #maemo21:20
*** xorly has joined #maemo21:21
*** xorly has quit IRC21:38
*** xorly has joined #maemo21:38
*** erstazi has quit IRC22:08
*** xy2_ has quit IRC22:49
*** xy2_ has joined #maemo23:05
*** xorly has quit IRC23:08
*** jabis has quit IRC23:15
*** cyteen has joined #maemo23:21
WikiwideStock Media Player isn't well documented, true. But there is mafw-grilo-source , for instance. Just, adding a media-source is likely a whole lot simpler than changing audio-policy-things.23:23
*** Wikiwide has left #maemo23:30
*** vakko has quit IRC23:45
*** xorly has joined #maemo23:46
sixwheeledbeastSome bits are open, there was a WONTFIX bug where community tried to get the closed bits opened.23:52
*** hurrian has joined #maemo23:58

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