*** L29Ah has left #maemo | 00:05 | |
*** L29Ah has joined #maemo | 00:05 | |
*** trumee has quit IRC | 00:13 | |
*** Cor-Ai has quit IRC | 00:24 | |
*** Cor-Ai has joined #maemo | 00:25 | |
freemangordon | Pali: well, I was able to finally start dsme in devuan chroot, but it doesn't seem to use iphbd | 00:41 |
---|---|---|
freemangordon | Pali: BTW, dsme in CSSU has a nasty bug in https://github.com/community-ssu/dsme/blob/master/logging.c#L291 | 00:42 |
Pali | freemangordon: probably you need whole running system to see iphbd in action... | 00:51 |
Pali | which bug? | 00:51 |
freemangordon | va_list is used in 2 vXXX function, leading to a SEGFAULT | 00:52 |
freemangordon | I am preparing a commit to fix it | 00:52 |
freemangordon | Pali: https://github.com/community-ssu/dsme/commit/be8b90327aa12eeb9706bfb5d1305e3c2897e35b | 00:55 |
Pali | shit | 00:55 |
freemangordon | yep | 00:55 |
freemangordon | Pali: is this dsme supposed to be the same as in Fremantle? | 00:55 |
*** luke-jr has quit IRC | 00:56 | |
Pali | dsme in cssu? | 00:56 |
Pali | yes | 00:56 |
freemangordon | cool | 00:56 |
*** luke-jr has joined #maemo | 00:56 | |
Pali | 100% same | 00:56 |
freemangordon | it is weird it does not crash on n0-- | 00:56 |
freemangordon | *n900 | 00:56 |
Pali | optimizations? thumb2? | 00:56 |
freemangordon | should not matter, maybe only logging level matters | 00:57 |
freemangordon | see https://github.com/community-ssu/dsme/blob/be8b90327aa12eeb9706bfb5d1305e3c2897e35b/logging.c#L297 | 00:57 |
freemangordon | but it looks to me that any critical or higher level message should result in crash | 00:58 |
KotCzarny | maybe its not used at all? | 00:59 |
freemangordon | sure it is | 00:59 |
KotCzarny | caught up and ignored? | 00:59 |
Pali | patch looks ok | 00:59 |
freemangordon | Pali: and fixes the segfault, at least on devuan | 01:00 |
Pali | my guess are optimizations | 01:00 |
freemangordon | or vXXX somehow does not alter va_list qp | 01:01 |
freemangordon | *ap | 01:01 |
freemangordon | anyway | 01:01 |
*** flo_lap has joined #maemo | 01:01 | |
Pali | that could be because of optimizations too... | 01:02 |
freemangordon | I doubt, you can't use va_list twice according to man page | 01:02 |
Pali | are you using armhf devuan? | 01:02 |
freemangordon | no, x86_64 | 01:03 |
freemangordon | :D | 01:03 |
freemangordon | toldya, chroot on my pc | 01:03 |
Pali | ah, that is reason | 01:04 |
Pali | x86_64 has different behaviour of va_list as arm | 01:04 |
*** M4rtinK has joined #maemo | 01:04 | |
freemangordon | maybe arm uses regs | 01:04 |
freemangordon | not the stack | 01:04 |
Pali | if va_list is implemented as struct, then subsequent calls copy it | 01:04 |
freemangordon | iirc the first 3 or 4 arguments are always in the regs | 01:05 |
Pali | but if as pointer, then it modify it directly... | 01:05 |
freemangordon | yeah | 01:05 |
Pali | iphbd uses special kernel module | 01:06 |
Pali | iphb.ko | 01:06 |
freemangordon | I know, but it works without it as well | 01:06 |
Pali | or how it is called | 01:06 |
Pali | there was meego libiphb git repository... does not it contains sources also of iphbd? | 01:08 |
freemangordon | it is implemented in a different way | 01:10 |
freemangordon | Pali: http://pastebin.com/3wJFL8Xj :) | 01:12 |
Pali | working :-) | 01:12 |
freemangordon | yeah, but doing nothing | 01:12 |
*** tiss has quit IRC | 01:29 | |
*** phlixi has quit IRC | 01:38 | |
*** phlixi has joined #maemo | 01:38 | |
*** flo_lap has quit IRC | 01:53 | |
*** trumee has joined #maemo | 01:55 | |
*** cpt_nemo has quit IRC | 02:10 | |
*** trumee has quit IRC | 03:19 | |
*** atk has quit IRC | 03:23 | |
*** krnlyng has quit IRC | 03:24 | |
*** atk has joined #maemo | 03:25 | |
*** M4rtinK has quit IRC | 03:34 | |
*** trumee has joined #maemo | 03:35 | |
*** krnlyng has joined #maemo | 03:39 | |
*** trumee has quit IRC | 03:44 | |
*** trumee has joined #maemo | 03:44 | |
*** trumee has quit IRC | 03:53 | |
*** trumee has joined #maemo | 04:04 | |
*** trumee has quit IRC | 04:14 | |
*** trumee has joined #maemo | 04:16 | |
*** Pali has quit IRC | 05:07 | |
*** heroux has quit IRC | 05:27 | |
*** jon_y has quit IRC | 05:35 | |
*** jon_y has joined #maemo | 05:35 | |
*** ceene has quit IRC | 05:38 | |
*** ceene has joined #maemo | 05:42 | |
*** heroux has joined #maemo | 05:42 | |
*** lxp has joined #maemo | 06:02 | |
*** lxp1 has quit IRC | 06:04 | |
*** cpt_nemo has joined #maemo | 07:01 | |
*** DocScrutinizer05 has quit IRC | 07:16 | |
*** DocScrutinizer05 has joined #maemo | 07:16 | |
*** sunshavi has quit IRC | 07:52 | |
brolin_empey | I was using Microsoft Edge on Windows 10 to listen to Internet radio (di.fm) but I discovered that Edge stops playing audio when Windows turns off the computer’s displays due to an inactivity timeout. When the displays are back on, Edge continues playing audio. Is this behaviour caused by a change in Edge? Or by something else, such as Flash Player or Windows? Now I am using Internet Explorer 11 to see if it behaves the same as Edge. | 09:13 |
brolin_empey | No, I do not use Edge nor IE as my primary Web browser. | 09:17 |
joga | oh, this wasn't ##windows... | 09:18 |
joga | maybe ask there? | 09:18 |
brolin_empey | ##windows moves very quickly. Anyway, I will soon have an answer from my own experimentation. | 09:21 |
joga | hdmi audio? | 09:22 |
brolin_empey | joga: No, analog line-level output from the audio controller integrated on the motherboard. | 09:23 |
auenf | brolin_empey, surface? | 09:24 |
brolin_empey | auenf: No, Asus P5E-VM DO LGA775 (Core 2 era) desktop motherboard. | 09:26 |
auenf | had an issue with a surface dropping sound from a hangouts in chrome when the screen saver came on | 09:26 |
joga | win10 does all sorts of wacky things | 09:26 |
auenf | ie, in a hangouts, screen saver was at 1min, when screen saver came on, hangouts became silent | 09:27 |
auenf | wake screen, and hangouts resumed | 09:27 |
brolin_empey | auenf: My screen saver is automatic power management of the displays. | 09:28 |
auenf | this surface didnt have a real screensaver, think it was just blank screen or something like what you're saying | 09:30 |
KotCzarny | maybe its aggressive power saving mode that simply suspends the whole os | 09:32 |
auenf | it'd be win10 killing audio when monitors sleep or when screen saver starts | 09:33 |
auenf | sounds like whats happening to edge, i assume ie will be the same, and i think chrome would be the same also | 09:33 |
brolin_empey | KotCzarny: No, my computers are always running but the OS automatically turns off the displays after an inactivity timeout. | 09:34 |
*** flo_lap has joined #maemo | 09:42 | |
*** pigeon has quit IRC | 09:54 | |
*** chfoo has quit IRC | 10:19 | |
*** chfoo has joined #maemo | 10:22 | |
brolin_empey | I wonder why the format of the message identifiers generated by Mozilla Thunderbird was changed a few months ago. | 11:07 |
*** flo_lap has quit IRC | 11:13 | |
*** flo_lap has joined #maemo | 11:16 | |
*** oniongarlic has quit IRC | 11:20 | |
*** flo_lap has quit IRC | 11:36 | |
*** flo_lap has joined #maemo | 11:37 | |
*** flo_lap has quit IRC | 11:46 | |
*** flo_lap has joined #maemo | 11:50 | |
*** flo_lap has quit IRC | 12:46 | |
*** tiss has joined #maemo | 12:57 | |
*** tiss has quit IRC | 13:34 | |
*** Pali_ has joined #maemo | 13:39 | |
*** tiss has joined #maemo | 13:44 | |
*** enyc has joined #maemo | 14:10 | |
*** louisdk has joined #maemo | 14:15 | |
*** xorly has joined #maemo | 14:24 | |
*** flo_lap has joined #maemo | 14:37 | |
*** Pali_ is now known as Pali | 14:52 | |
*** Pali is now known as Pali_ | 14:52 | |
*** Pali_ is now known as Pali | 14:52 | |
*** joga has quit IRC | 15:05 | |
*** tiss has quit IRC | 15:06 | |
*** joga has joined #maemo | 15:07 | |
*** joga has joined #maemo | 15:07 | |
*** M4rtinK has joined #maemo | 15:24 | |
*** louisdk has quit IRC | 15:33 | |
*** trumee has quit IRC | 15:51 | |
*** trumee has joined #maemo | 15:53 | |
*** trumee has quit IRC | 15:57 | |
*** trumee has joined #maemo | 16:02 | |
*** trumee_ has joined #maemo | 16:06 | |
*** trumee has quit IRC | 16:08 | |
*** trumee_ is now known as trumee | 16:25 | |
*** tiss has joined #maemo | 16:40 | |
*** tiss has quit IRC | 16:49 | |
*** tiss has joined #maemo | 17:12 | |
*** trumee has quit IRC | 17:23 | |
*** trumee has joined #maemo | 17:32 | |
freemangordon | Pali: https://github.com/community-ssu/iphbd/commit/cddcdd817f82056dd51b82d148dd1ad7ea6cebce | 17:41 |
Pali | ok | 17:44 |
*** trumee has quit IRC | 17:45 | |
*** trumee has joined #maemo | 17:46 | |
*** Hezzron has quit IRC | 17:51 | |
*** Hezzron has joined #maemo | 17:51 | |
*** trumee has quit IRC | 17:54 | |
*** arossdotme-planb has quit IRC | 17:56 | |
*** Hezzron has quit IRC | 17:57 | |
*** xorly has quit IRC | 17:57 | |
*** xorly has joined #maemo | 17:58 | |
*** trumee has joined #maemo | 18:23 | |
*** arossdotme has joined #maemo | 18:52 | |
*** tiss has quit IRC | 18:54 | |
*** cyphase has quit IRC | 19:04 | |
*** Hezzron has joined #maemo | 19:04 | |
*** tiss has joined #maemo | 19:05 | |
*** cyphase has joined #maemo | 19:08 | |
DocScrutinizer05 | HDMI and similar shit sucks big time, when you can't hotplug stuff since it's not getting re-initialized | 19:09 |
*** xorly has quit IRC | 19:09 | |
*** freemangordon has quit IRC | 19:09 | |
DocScrutinizer05 | Pali: do you know about usage of N900 IHF_EN signal (from GAIA to speaker amplifier)? I'm poarticularly interested who's operating that GPIO and when and how | 19:11 |
bencoh | huhu | 19:11 |
*** Hezzron has quit IRC | 19:12 | |
*** xorly has joined #maemo | 19:12 | |
DocScrutinizer05 | GAIA/TWL4030 pin N14 "GPIO7/PWM1" | 19:12 |
bencoh | DocScrutinizer05: at least it's not a mic? :p | 19:12 |
*** Hezzron has joined #maemo | 19:12 | |
DocScrutinizer05 | bencoh: nope, it enables the amp | 19:12 |
bencoh | DocScrutinizer05: yeah I know :p | 19:13 |
Pali | grepping kernel source code... | 19:13 |
Pali | what is number of that gpio? | 19:14 |
DocScrutinizer05 | it's one of the nasty legacy signals we might need to keep compatible to N900 in new devices, if we want audio (closed blobs) to work | 19:14 |
DocScrutinizer05 | Pali: GPIO7 | 19:14 |
bencoh | gpio7 on gaia, not on omap3 | 19:14 |
DocScrutinizer05 | yes | 19:14 |
Pali | speaker-amplifier-gpios = <&twl_gpio 7 GPIO_ACTIVE_HIGH>; | 19:15 |
DocScrutinizer05 | exactly | 19:15 |
Pali | could be this? | 19:15 |
DocScrutinizer05 | :-) | 19:15 |
DocScrutinizer05 | where does it show up? | 19:15 |
bencoh | dts | 19:15 |
DocScrutinizer05 | where is it uised | 19:15 |
Pali | sound: n900-audio { compatible = "nokia,n900-audio"; ... speaker-amplifier-gpios = <&twl_gpio 7 GPIO_ACTIVE_HIGH>; }; | 19:15 |
Pali | this is in DT | 19:15 |
Pali | going to look at that speaker-amplifier-gpios property | 19:16 |
DocScrutinizer05 | in DT? well, that's great for new kernel, but questionable if it works with old audio blobs | 19:16 |
DocScrutinizer05 | I assume they (Nokia) has some very special crap in there, to realtime enable amp for e.g. keybd and touchscreen audio click feedback | 19:17 |
bencoh | ? | 19:17 |
DocScrutinizer05 | dunno if it's handled via generic ALSA or inside some dang closed blob | 19:18 |
Pali | https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/sound/soc/omap/rx51.c#n465 | 19:18 |
bencoh | honestly I wouldnt care much anyway.... | 19:18 |
Pali | here is read that gpio number from DT ^^^ | 19:18 |
DocScrutinizer05 | yes, that looks pretty good | 19:19 |
DocScrutinizer05 | so everything in 'higher tiers' should use that symbolic resource rather than direct access to GPIO7, right? | 19:20 |
Pali | yes | 19:20 |
DocScrutinizer05 | even in maemo kernel and OS? | 19:20 |
Pali | going to check maemo kernel | 19:20 |
DocScrutinizer05 | thanks a megaton! :-) | 19:21 |
DocScrutinizer05 | realtime audio output is tricky, _very_ tricky | 19:21 |
brolin_empey | Heh: It is nice that http://info.cern.ch/ , the first (public) Web site, is back online but it would be nicer if it was actually accessible with a Web browser from 1995 or earlier, such as the Win32 version of Netscape Navigator 1.22, the earliest Win32 (as opposed to Win16 or Win32s) version of Netscape/Mozilla I have found, I have running on Windows 10 for x86-64. | 19:22 |
Pali | maemo kernel has hardcoded it into that sound/soc/omap/rx51.c file :-( | 19:22 |
Pali | #define RX51_SPEAKER_AMP_TWL_GPIO(192 + 7) | 19:22 |
DocScrutinizer05 | you want amp normaly shut down, but you also want minimal overhead/delay when output of a feedback click or whatever | 19:22 |
*** trumee has quit IRC | 19:22 | |
Pali | \/* REVISIT: TWL4030 GPIO base in RX51. Now statically defined to 192 */ | 19:22 |
DocScrutinizer05 | ((maemo kernel has hardcoded it)) thought as much | 19:23 |
Pali | but looks like gpio number is not exported to userspace | 19:23 |
DocScrutinizer05 | so access is up to any arbitrary 'userland' app, or are they all supposed to use a kernel function which we could patch to change the GPIO assignment? | 19:24 |
Pali | and even not outside of that file | 19:24 |
Pali | so only kernel and onlt that sound/soc/omap/rx51.c can access it | 19:24 |
brolin_empey | Yes, I know that I can use https://www.jwz.org/hacks/http10proxy.pl . | 19:24 |
DocScrutinizer05 | GOOD! | 19:24 |
Pali | userland nad other kernel modules needs to use abstract kernel functions | 19:24 |
DocScrutinizer05 | :-)) | 19:24 |
DocScrutinizer05 | excellent | 19:25 |
DocScrutinizer05 | many many thanks! | 19:25 |
*** trumee has joined #maemo | 19:27 | |
*** xorly has quit IRC | 19:27 | |
*** xorly has joined #maemo | 19:31 | |
*** freemangordon has joined #maemo | 19:41 | |
*** tiss has quit IRC | 19:42 | |
*** xorly has quit IRC | 19:55 | |
*** cyphase has quit IRC | 20:48 | |
freemangordon | Pali: how hard will be to make iphbd out-of tree dkms module? | 20:49 |
freemangordon | I've never played with dkms | 20:50 |
Pali | freemangordon: if you have working kernel module (e.g. can be compiled), dkms packaging is easy | 20:50 |
Pali | I can prepare dkms packaging, this is not a problem | 20:50 |
Pali | I already have tens of dkms packages on my laptop | 20:50 |
freemangordon | Pali: iphb.ko is open-sourced, right? | 20:51 |
Pali | yes | 20:51 |
Pali | in maemo kernel are sources | 20:51 |
freemangordon | so it shouldn't be a problem | 20:51 |
freemangordon | ok, I'll look into it | 20:51 |
Pali | we just needs to decide which sources to get... from maemo? from harmattan? | 20:52 |
Pali | or are any other new versions for new kernels? | 20:52 |
Pali | I can prepare dkms package | 20:52 |
freemangordon | i guess they are identical | 20:52 |
Pali | ok, I will look at it | 20:52 |
freemangordon | will check if there are any differences between maemo and harmattan | 20:52 |
freemangordon | ok | 20:52 |
Pali | and prepare dkms package | 20:53 |
*** cyphase has joined #maemo | 20:53 | |
*** trumee_ has joined #maemo | 20:55 | |
*** trumee has quit IRC | 20:55 | |
*** trumee_ is now known as trumee | 20:55 | |
*** xorly has joined #maemo | 20:58 | |
*** tiss has joined #maemo | 20:59 | |
*** trumee has quit IRC | 21:00 | |
*** flo_lap is now known as florian | 21:03 | |
*** Hezzron has quit IRC | 21:22 | |
*** trumee has joined #maemo | 21:36 | |
*** Hezzron has joined #maemo | 21:38 | |
Pali | DocScrutinizer05: do you know if there is some way on Maemo to get country name from mcc code? | 21:40 |
Pali | I just found file /etc/operator_settings which contains some information for particular mcc (haha, there is mms settings), but not country name | 21:41 |
Pali | next another mapping file /usr/share/operator-wizard/mcc_mapping but country name is again some unreadable format | 21:41 |
Pali | I would like to have country name in iso3166 (= two characters) | 21:42 |
*** trumee has quit IRC | 21:52 | |
*** trumee has joined #maemo | 21:54 | |
*** Smily has quit IRC | 21:55 | |
*** trumee has quit IRC | 21:55 | |
*** trumee has joined #maemo | 21:58 | |
freemangordon | Pali: define "unreadable format" | 21:58 |
freemangordon | is it 3-digit code? | 21:58 |
Pali | freemangordon: format in /usr/share/operator-wizard/mcc_mapping or /etc/operator_settings files | 21:59 |
Pali | freemangordon: I want to get 2-char country name (e.g US) from 3-digit mcc code | 21:59 |
freemangordon | ok, will look at it later | 22:00 |
Pali | on wikipedia is list: https://en.wikipedia.org/wiki/Mobile_country_code | 22:02 |
Pali | and something similar should provide maemo api or some file... | 22:02 |
*** Hezzron has quit IRC | 22:12 | |
*** xorly has quit IRC | 22:15 | |
*** louisdk has joined #maemo | 22:19 | |
freemangordon | omg, yet another standard :( | 22:31 |
freemangordon | I was hoping on 3-digit country codes (like 100 for Bulgaria), but no... | 22:32 |
*** xorly has joined #maemo | 22:33 | |
Maxdamantus | /usr/share/clock/wdb | 22:37 |
Maxdamantus | looks like you can cross-reference against that. | 22:38 |
Maxdamantus | dunno if it has all mcc entries. | 22:38 |
freemangordon | it is relatively new (in cssu at least) so it should be ok | 22:39 |
Maxdamantus | cat /usr/share/operator-wizard/mcc_mapping | sed 's/^[^\t]\+\t//' | while read x; do grep -q '\<'"$x"'\>' /usr/share/clock/wdb || echo "$x"; done | 22:43 |
Maxdamantus | qtn_clk_country_hong_kong | 22:43 |
Maxdamantus | qtn_clk_country_n_mariana_i | 22:43 |
freemangordon | Pali: https://pypi.python.org/pypi/mobile-codes | 22:45 |
Pali | freemangordon: list is on wikipedia, in worst case I can grab it | 22:45 |
Pali | I was thinking about maemo-only method | 22:45 |
Pali | e.g. using only sources available on maemo/n900 | 22:46 |
Pali | Maxdamantus: I need function which get on its input 3 digit mcc code and on output I need 2char ISO / IEC 3166 alpha2 country code | 22:47 |
freemangordon | cat /usr/share/operator-wizard/mcc_mapping | 22:47 |
freemangordon | oops | 22:47 |
Pali | I'm going to investigate more... | 22:47 |
Maxdamantus | Pali: yeah, so you look up that qt thing in mcc_mapping, then look for an entry mentioning it in clock/wdb | 22:48 |
Maxdamantus | seems hacky though. | 22:49 |
freemangordon | why? | 22:49 |
Maxdamantus | (and apparently is missing two things) | 22:49 |
freemangordon | seems ok | 22:49 |
Pali | ah right, I miss information that clock/wdb contains also country code | 22:49 |
Maxdamantus | Because clock/wdb doesn't seem to intentionally list countries. | 22:49 |
Pali | it is 3rd column | 22:50 |
freemangordon | yes | 22:50 |
Maxdamantus | it lists cities (presumably associated with sets of timezones), which happens to include most countries. | 22:50 |
freemangordon | also, there are coordinates you can use to call libcityinfo | 22:50 |
Pali | this is for implementing wl1251-cal, regdomain from mcc to pass into kernel | 22:51 |
freemangordon | Pali: where are you going to get mcc from? | 22:51 |
Pali | dbus/csd | 22:51 |
freemangordon | ok | 22:52 |
* freemangordon is afk | 22:52 | |
Pali | if we want to use wl1251-cal also on non-maemo platform (e.g. debian/devuan) we can implement ofono | 22:52 |
Pali | ofono provides also mcc via dbus, but different call | 22:52 |
*** Smily has joined #maemo | 22:53 | |
KotCzarny | its something that almost definitely there should be a lib for that.. | 22:56 |
Pali | KotCzarny: do you know such lib/function in maemo? | 22:57 |
KotCzarny | https://github.com/musalbas/mcc-mnc-table/blob/master/mcc-mnc-table.csv | 22:58 |
KotCzarny | http://mcc-mnc.com/ | 22:59 |
KotCzarny | i guess it would be trivial to make a package out of this and even make it auto update | 23:00 |
*** Hezzron has joined #maemo | 23:02 | |
*** Hezzron has quit IRC | 23:08 | |
*** Hezzron has joined #maemo | 23:16 | |
KotCzarny | (no-js version is unpaginated) | 23:17 |
Maxdamantus | I don't think there's anything else that maps from these mccs. | 23:17 |
Maxdamantus | $ echo -n 'find . -type f'; cat usr/share/operator-wizard/mcc_mapping | sed 's/\t.*$//' | while read x; do echo -n ' | xargs -d\\n fgrep -l '"$x"; done; echo | 23:17 |
Maxdamantus | running the command produced by that doesn't seem to find anything useful. | 23:17 |
Maxdamantus | I guess there could theoretically be something compressed or something. | 23:18 |
KotCzarny | page with html is ~23kB | 23:18 |
KotCzarny | so i guess whole table of strings would be ~1/3..1/2 of that | 23:19 |
Maxdamantus | There could of course also be something that encodes the numbers in binary. | 23:19 |
KotCzarny | you can even use bitfields :P | 23:20 |
Maxdamantus | I'm talking about looking for information already in Maemo. | 23:20 |
KotCzarny | information in maemo vs updated information? | 23:20 |
KotCzarny | in debian there is package named 'mobile-broadband-provider-info ' | 23:25 |
KotCzarny | could it be it? | 23:25 |
KotCzarny | first appeared in 2010-02-27 | 23:27 |
KotCzarny | um. 2009-07-09 | 23:27 |
KotCzarny | yup. has country codes (two letters) and mmc/mnc (among other things) | 23:29 |
KotCzarny | https://tracker.debian.org/pkg/mobile-broadband-provider-info | 23:31 |
*** jonwil has joined #maemo | 23:32 | |
*** clopez has quit IRC | 23:55 | |
*** clopez has joined #maemo | 23:58 | |
*** xorly has quit IRC | 23:58 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!