IRC log of #maemo for Thursday, 2020-07-23

*** eMHa has quit IRC00:33
*** eMHa has joined #maemo00:33
*** drathir_tor has quit IRC00:45
*** drathir_tor has joined #maemo00:46
*** florian has quit IRC00:49
*** Pali has joined #maemo01:17
*** bionicpup64_2990 has joined #maemo01:22
*** bionicpup64_2990 is now known as untakenstupidnic01:22
untakenstupidnicis there a way i could use new software on freemantle?01:25
sicelowhat do you mean by 'new software'?01:27
siceloa lot of libraries in Fremantle are quite old now, so a lot of new software is most likely not going to run very easily. there are possibly ways to get around that in some cases, e.g. ld_preloading, chroots, but again, it all depends on what software you're actually hoping to run01:28
untakenstupidnictor, mocp, ncurses, command line tools, misc libs01:31
*** Pali has quit IRC01:43
untakenstupidnicsicelo?03:04
*** Kilroo has joined #maemo03:07
*** tm has quit IRC04:43
*** tm has joined #maemo04:47
*** chainsawbike has quit IRC05:45
*** chainsawbike has joined #maemo06:38
drathir_toruntakenstupidnic: personally used alarm staff in past but if stil works such "trick" no idea...06:47
*** DocScrutinizer05 has quit IRC07:15
*** DocScrutinizer05 has joined #maemo07:15
*** Kilroo has quit IRC07:45
*** Pali has joined #maemo09:46
*** Pali has quit IRC10:19
*** florian_kc is now known as florian10:24
*** eMHa has quit IRC10:29
*** jskarvad has joined #maemo10:59
bencohuntakenstupidnic: if you really want to stick with fremantle then your best bet is probably a chroot11:11
bencohand/or building everything yourself to an alternate path and playing with LD_LIBRARY_PATH/LD_PRELOAD/-Wl,-rpath11:11
bencohyou could even build a full toolchain to be installed in /alt (or whatever), have your own ld.so there that will only look in /alt, and build all your stuff against it11:13
untakenstupidnicthe reason i want to stick with freemantle is that leste seems to drain battery faster than freemantle+power kernel, and it doesn't seem to be very good in battery management.11:46
untakenstupidnicbencoh: does chrooting to the leste SD cart work? i couldn't figure out how to mount it yesterday11:47
bencohI suppose it would work11:47
bencohI don't see any reason for it not to work11:47
bencohWell, you might have a hard time with some graphic stuff, but it should work overall11:47
bencoh(I don't know what will happen with egl stuff, but it might work as well)11:48
bencohSame with dbus-dependant stuff, you might need to work a bit11:48
Wizzupuntakenstupidnic: leste only draws more power because we haven't put more effort into that11:49
Wizzuphttps://twitter.com/maemoleste/status/122626599798164684911:49
WizzupIt'll improve, but currently it's not great, but we know we can make it better.11:50
bencohWizzup: I wouldn't call 20mA "not great", to be honest11:53
bencohadmittedly it draws only half of it in idle when running maemo5, but still11:54
bencohit's quite a nice feat :)11:54
untakenstupidnicWizzup: nice11:56
Wizzupbencoh: point is mostly that what is shown on the photo there is not what leste currently draws when you flash an iamge11:56
Wizzups/iamge/image/11:56
infobotWizzup meant: bencoh: point is mostly that what is shown on the photo there is not what leste currently draws when you flash an image11:56
bencohah11:56
bencohI see :)11:57
Wizzupwhat needs to happen to build latest mainline, see that it still works with minimal modules loaded and off mode enabled, and then start loading modules and see what pm blockers are11:58
Wizzupand *then* look at powervr and see how that behaves with off mode11:58
Maxdamantus20:47:29 < bencoh> I don't see any reason for it not to work11:59
MaxdamantusWhat about glibc/kernel compatibility?11:59
bencohoh, right11:59
bencohyou'd need to patch the libc11:59
bencohmybad11:59
bencohI forgot about that one11:59
MaxdamantusThat's the main annoyance for me.11:59
MaxdamantusShould probably get around to trying to patch libc sometime.12:00
* Maxdamantus still just uses a wheezy chroot.12:00
bencohthere was a really simple patch around12:00
bencohat least back when they dropped support12:01
untakenstupidnicWizzup: if i were you, i would focus primarily on maemo hardware along with some simple devices such as RPI, because there are several "mobile linux"es but not so many "maemo revival"s12:01
bencohmain targets are n900 and droid4 (because it's like a more powerful n900 replacement) anyway12:03
bencoh(you could add the pinephone as of late, but...)12:03
untakenstupidnicfor myself, when i chose n900 over finding an android phone that could run lineageOS, i was thinking that maemo is still there and update; so i could do all the linux stuff on a device that fully supported12:03
Wizzupuntakenstupidnic: right, the omap devices (n900, droid4) have the 'prime' support12:04
Wizzupbut the n900 powervr kernel port we maintain ourselves (or opposed to others also working on it)12:04
Wizzupand it's a pain to move it over, and we haven't for a few releases in the hopes that we could jump on the newer driver12:05
untakenstupidnicbencoh: a droid4 port seems to be not worth much more than a proof-of-concept12:05
Wizzupbut that makes this pm debugging harder, since I don't want to test it only on 5.1 only to find that some regressions were fixed on 5.7x12:05
Wizzupuntakenstupidnic: uh what :D12:05
Wizzupwhat makes you say that12:05
bencohuntakenstupidnic: hmm, I'd say it's more than a PoC these days12:05
bencohadmittedly you still can't use it as a phone12:05
bencohbut err, leste is missing a phone UI anyway12:06
bencohso that goes for n900 as well12:06
untakenstupidnicwell, somebody in #maemo-leste said they are no widespread12:06
bencohwidespread, as in ?12:06
untakenstupidnicfindable, sold much.12:06
bencohyou can buy droid4 from ebay12:06
bencohit might be a bit more expensive than a few years ago, but still12:07
sicelo(uvos) :-)12:07
untakenstupidnicno ebay here, not feasible in many places.12:07
untakenstupidnicsicelo: :)12:07
siceloanyway, droid 4 sort of has better support now tbh - i have calls (and very silly ui for that)12:08
bencohsicelo: unicsy?12:09
sicelon900 calls are hard (the voice part), and bt isn't working (in fact i must write the maintainers about it)12:09
bencoh(or whatever the spelling for pavel's UI is)12:09
untakenstupidnici mean the support that goes to non-'prime' platforms, still costs time and doesn't bring much advantage to the community12:10
sicelobencoh: i made my own python thing, (ab)using hildon dialog. but yes, unicsy should do as well12:10
untakenstupidnicyou could have the maemo hildon on other distros i think12:10
bencoh?12:11
untakenstupidnicinstead, trying to for example bringing new possibilities to the Nseries tablet does. the 'linux for phones' people don't particularly care about maemo, so maemo people should care for it and leave the general task of 'making good linux for phones' to other projects having more community.12:15
untakenstupidnicand they in turn would benefit from the improved support for n900 you have provided12:16
sicelobencoh: https://pasteboard.co/JiXvfkA.jpg12:16
bencohsicelo: looks good enough :D12:16
untakenstupidnicbut now much time in various projects is spent on achieving one same thing and goes to waste12:17
bencohsicelo: does "ignore" closes the window and let you work? :]12:17
bencoh-s12:17
sicelountakenstupidnic: i think you're mistaken12:17
sicelobencoh: yes :-)12:18
sicelocall is not answered nor rejected12:18
bencohand you don't have to wait for the caller to give up  ... awesome :>12:19
Wizzupsicelo: cool, how is the audio? does it work with speakerphone only?12:22
Wizzupand does it vibrate the device?12:22
untakenstupidnicbencoh: how could i patch glibc?12:22
siceloYes @ speakerphone. i haven't had success with normal speaker or earphones ... then again, i haven't done a lot of testing either .. life gets in the way :-)12:23
bencohAssuming you want a debian/devuan chroot, you'd need to download the source package and build it for arm using dpkg-buildpackage12:24
sicelovibration - no. i don't typically use vibration ever, even on other phones12:24
bencoh(after patching it accordlingly, but I don't have a patch available right off the bat)12:24
Wizzupsicelo: ok, I'm in interesting in trying to use this. Adding vibration I think would be sweet. It's only two dbus calls away12:24
Wizzup(start and stop pattern)12:25
WizzupI basically only use vibration12:25
siceloyes should be easy. even this is dbus+python2 (for hildon module)12:25
bencohsame (vibration)12:25
bencohand yeah, it's simple and well documented on wiki12:25
Wizzupand works now on leste ;)12:27
Wizzupsicelo: there is also https://github.com/DigitalHERMES/rhizo-dialer12:34
Wizzupremind me, do you use telepathy or ofono12:34
sicelomine's ofono. i wanted to look at telepathy, but then time became an issue.12:36
siceloit's still on my to do however12:37
WizzupI've been deciphering all the rtcom stuff and how calls and smses get logged in fremantle, so that we can just open the same fremantle db / format and log in the same way, and that also includes the telepathy setup, but it's complicated12:39
WizzupI hope to learn more during my holiday12:39
bencohWizzup: didn't you tell me at some point that part of it was standard / usable by empathy12:43
bencohor did I miss something?12:43
Wizzupyes, it is, but some of the maemo specific stuff is not12:43
Wizzupand in general TP is kind of simple, but there aren't a lot of 'examples'12:44
*** phlixi has quit IRC13:43
*** phlixi has joined #maemo13:52
*** inky has quit IRC13:54
*** untakenstupidnic has quit IRC14:11
*** phlixi has joined #maemo14:42
*** phlixi has left #maemo14:43
*** mariotomo has joined #maemo15:52
*** Vajb has quit IRC16:14
*** Vajb has joined #maemo16:16
*** Vajb has quit IRC16:23
*** Vajb has joined #maemo16:24
*** Vajb has quit IRC16:29
*** Vajb has joined #maemo16:30
*** Vajb has quit IRC16:50
*** Vajb has joined #maemo16:53
*** bionicpup64_2990 has joined #maemo16:58
bionicpup64_2990how could i disable the TV output and have normal sound played from the headphone in freemantle?16:59
*** bionicpup64_2990 is now known as untakenstupidnic16:59
sixwheeledbeastIt is controlled automatically16:59
untakenstupidnicwell it plays a weird buzz that changes whenever something on display changes17:00
sixwheeledbeastlikely some OMTP vs AHJ compatibility issue17:01
KotCzarnyim 100% sure we already talked about this17:01
KotCzarny;)17:01
sixwheeledbeasthmm17:01
untakenstupidnichow could i solve that? there was unicys_demo on leste17:01
sixwheeledbeasta crossover adaptor or normal headphones without a mic17:02
untakenstupidnicKotCzarny: yes, but i thought there needs to be some special headphone for it to work back then, but now i know it could work by software alone17:03
KotCzarnyit can be home made from cheap parts available everywhere17:03
KotCzarnyreally17:03
bencoherrr, wait, what are you connecting to your phone?17:04
bencoha ttrs jack?17:04
KotCzarnyheadphones17:04
KotCzarnysamsung headphones17:04
KotCzarny:)17:04
bencohthen omtp vs whatever as six.wheeledbeast said, yeah17:05
bencohand you can buy an adaptor17:05
bencoh(no need to craft it)17:05
untakenstupidnicnot samsung but the things you find everywhere17:05
bencohyeah, I had the same issue with sennheiser17:07
bencoh(I didn't bother finding a solution though, I had it replaced for another product)17:07
untakenstupidnicThe problem is walking and searching long enough to find a store that is closed due to recession and covid-19 AND has an idea what is either OMTP or AHJ or has nokia headphones17:07
KotCzarnybuy online?17:07
untakenstupidnicis not closed*17:07
KotCzarnyor just cannibalize some old electronics to get parts17:08
bencohyou should buy the adapter online, yeah17:08
bencohit will just be painful otherwise17:08
untakenstupidnicKotCzarny: what online? i searched 'OMTP to AHJ adapter' in my language and nothing comes17:10
KotCzarnywhat language is that?17:10
untakenstupidnicpersian17:11
KotCzarnyho hum17:12
untakenstupidnicisn't there unicys_demo for freemantle?17:12
KotCzarnydo you have ANY electronics parts stores?17:13
untakenstupidnicYes, but it potentially means walking kilometers for nothing.17:14
KotCzarnythen in my opinion you can make the adapter yourself17:15
KotCzarnyits just a simple swap17:15
untakenstupidnicyes, but an alsa config file is much easier17:16
KotCzarnyis it alsa configurable?17:16
untakenstupidnici say it totally worked in leste.17:17
sixwheeledbeast It's a hardware limitation if its an issue with the TRRS type, software isn't going to help.17:19
bencohsixwheeledbeast: if he just want to use the headphones, then it might somehow work by disabling the tv-out thing17:21
sixwheeledbeastit's possible leste didn't detect it as a "headset" for whatever reason.17:21
bencohor that, yeah17:21
untakenstupidnicnow we get to the first question:17:22
untakenstupidnichow could i disable the TV output and have normal sound played from the headphone in freemantle?17:22
sixwheeledbeastwell there is some sys/ file that sets the av mode type with numbers from 1-4 you could try forcing it and making it read only 444.17:23
bencohI suspect one of the male contacts is physically connected to two internal contacts17:23
bencoh(maybe17:24
sixwheeledbeastIf the TRRS is not to spec then it could be confused.17:24
sixwheeledbeastit will not be in AV mode without detecting a 75ohm input on the video line AFAIK. it normally defaults to headphones17:25
*** mva_ is now known as mva17:25
bencohI had a similar experience with a sennheiser (mic+headphones) set, I suppose the TRRS was following the spec17:26
bencohI don't remember how it was detected though17:26
bencoh(there was some odd noise coming out if the headphones)17:27
*** RST38h has quit IRC17:32
*** RST38h has joined #maemo17:32
sicelountakenstupidnic: software won't 'fix' the headphone issue.  unicsy_demo is totally unnecessary on Fremantle17:37
untakenstupidnici don't what you mean by fixing. i could hear music from it in leste, and i want to do that this side.17:38
sicelomaybe show us a picture of your headphone's jack17:39
*** mariotomo has quit IRC17:44
untakenstupidnica normal jack that would play sound in leste... but ok17:47
untakenstupidnicsicelo: like this https://external-content.duckduckgo.com/iu/?u=https%3A%2F%2Ftse1.mm.bing.net%2Fth%3Fid%3DOIP.Cbnj1sU-_rEnE5QfDfVQkgHaF7%26pid%3DApi&f=117:49
untakenstupidnicbut whatever the problem is it, or whether you call it a fix or not, i want to have the thing that happened in leste using alsactl happen. idk why you insist that is a hardware problem when some software has done that.17:51
KotCzarnyit can probably be treated by both ways17:57
untakenstupidnicnow i would be thankful if anyone has ideas on my first question.17:58
bencohWell if anything, I'd start by checking out what is actually missing in leste regarding the jack connector17:58
bencohit's probably something that is autodetected on fremantle and still missing on leste17:59
bencoh(be it jack detection, tv-out, automatic headphone/mic switch, whatever)17:59
untakenstupidnicwell i take that for granted. i asked how to disable tv-output.17:59
KotCzarnywhat was the wiki page on cmdline tricks for n900?18:00
KotCzarnysomething something command control18:00
KotCzarny~power18:02
infobotrumour has it, power is http://wiki.maemo.org/N900_Hardware_Power_Consumption18:02
KotCzarnyhmm.18:02
KotCzarny~cmdline18:02
KotCzarny~hacks18:02
sicelophone control :)18:02
KotCzarny~phoencontrol18:02
KotCzarny~phonecontrol18:02
infobotfrom memory, phonecontrol is http://wiki.maemo.org/Phone_control18:02
sixwheeledbeast/sys/devices/platform/nokia-av/autodetect18:05
KotCzarnyswb: maybe you can add it to the above page? assuming its controllable, not just status18:05
KotCzarnybugs.maemo.org uses an invalid security certificate18:06
KotCzarnyThe certificate expired on July 12, 2020, 12:18 PM. The current time is July 23, 2020, 5:06 PM.18:06
KotCzarnywho is cert master of maemo?18:06
sixwheeledbeastI have not idea if it's controllable it's a hacky suggestion I have a similar read only hack for other files like the camera button etc18:06
sixwheeledbeast~beasttweaks18:06
infobotfrom memory, beasttweaks is http://wiki.maemo.org/User:Sixwheeledbeast/Scripts18:06
KotCzarnyhttps://bugs.maemo.org/show_bug.cgi?id=636018:07
*** auenf has quit IRC18:08
sixwheeledbeastbmo has cert issues?18:09
sicelofwiw, tv out works in Leste. maybe, just maybe, the op may have to force fremantle to mute the mic (at least as far as i understand the ahj vs. omtp thing ... only difference is location of mic vs. ground)18:09
sixwheeledbeastexpired on the 12th18:09
*** auenf has joined #maemo18:13
*** eMHa has joined #maemo18:13
KotCzarnyhttps://mg.pov.lt/maemo-irclog/%23maemo.2016-12-23.log.html18:15
siceloalso, in Fremantle, my incompatible Samsung earphones are working, and I can listen to music, but there's something odd about it :)18:16
KotCzarnyhttps://github.com/pali/linux-n900/blob/v2.6.28-nokia/drivers/misc/nokia-av.c#L28018:16
KotCzarnythere is a source18:16
KotCzarnyso i guess it can be hacked around18:17
siceloi still don't believe it can :)18:17
siceloECI is just handling the buttons18:17
sicelountakenstupidnic: do you need to use the mic? or you just have it because the earphones have it? if you don't need to use it (i am not convinced it'll work with either Leste or Fremantle anyway), just tape it down in 'depressed' position18:18
untakenstupidnicno. i doubt if it has any mics on it at all.18:19
sicelomusic is proper quality on my samsung earphone if i depress the mic (answer/hangup) button (which makes sense, of course since it's shorting the mic, and giving us proper ground)18:21
siceloif there's no mic, then why have 4 contacts?18:21
untakenstupidnicplus, there is only one pushbutton on the whole thing with nothing indicating what is it for.18:23
untakenstupidnicsicelo: crappy hardware. perhaps they didn't have more descriptive jacks18:24
sicelothat's the button for answer/hangup == mic. press it while playing music on your N900 with Fremantle - it should play with better quality for you as well, if i'm understanding this right18:25
untakenstupidnicsicelo:thanks, it works.18:39
KotCzarny:)18:50
bencoh:)18:51
bencoh~admins18:51
bencoh~techhadmin18:51
bencoherr, what was it again18:51
sicelo~techstaff18:51
infobotmethinks techstaff is techstaff(AT)maemo.org - the folks that keep your maemo infra running. Devotion to Duty http://xkcd.com/705/18:51
bencohah, thanks18:51
bencohKotCzarny: I guess it should go to techstaff@ then18:52
*** ahjolinna has quit IRC19:06
*** ahjolinna has joined #maemo19:08
*** Pali has joined #maemo19:18
*** eMHa has quit IRC19:20
*** florian has quit IRC19:33
*** troulouliou_div2 has joined #maemo19:45
*** Kabouik has quit IRC19:51
*** eMHa has joined #maemo21:13
*** mariotomo has joined #maemo21:14
*** tm has quit IRC21:43
drathir_torsicelo: if god remember there are switch plugs trrs ts/trs ?21:46
siceloyes, there are. the OP can't find those things however21:50
drathir_torsicelo: oh got it... still the most crazy is them dont clearly state type in spec of device...21:59
sicelowho's "them"?21:59
sixwheeledbeastEverything has switched to AHJ now thanks to apple... :sigh:22:00
drathir_torsicelo: manufacters/producers who create datasheet for devices...22:01
sicelolol22:01
sicelodrathir_tor: when N900 was released, nearly everyone used the same standard, so there was no need to specify it22:01
sixwheeledbeastHaving the hot of the microphone on the braid of the cable sure makes sense from an audio quality POV :rolleyes:22:01
sicelolater, everyone used Apple's standard as swb mentions  .. so again no need to specify since everything is that standard :)22:02
drathir_torsicelo: yea in past no problem biggest worry mic/non moc which in most cases work just fine... now is pure madness and guess with type used...22:03
drathir_tormoc/mic*22:03
*** florian has joined #maemo22:07
sixwheeledbeasteven things like modmics use the AHJ now.22:07
sixwheeledbeastPS4 controller22:07
sixwheeledbeastYou'd never have known there was a logical open standard22:08
*** norayr has joined #maemo22:13
drathir_torand You end with that better headphones and 50/50 chance causing metalic sound...22:17
drathir_torsixwheeledbeast: yea common thing would be the best...22:18
*** Kabouik has joined #maemo22:32
*** Vajb has quit IRC23:02
*** Vajb has joined #maemo23:03
*** Vajb has quit IRC23:13
*** Vajb has joined #maemo23:14
*** jskarvad has quit IRC23:42

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