libera/#maemo-leste/ Friday, 2022-02-04

Wizzupuvos: the d3 image boots, but it's unstable in the sense that it resets, but this is an unfortunate known problem17:06
Wizzupheh: https://www.ebay.com/itm/26551050907617:12
Wizzuphm, I don't see any apps in the launcher on the d3 though17:18
Wizzupprobably some fs corruption: hd_launcher_tree_populate: Failed to load tree: Error on line 1 char 1: Document must begin with an element (e.g. <book>)17:18
huckgThe control panel on my bionic says 'Battery calibration needed'. How is that done?17:21
Wizzuptypically by letting the battery drain almost entirely and then charge it17:24
huckgthanks.17:27
Wizzuphow is it working on you, the bionic, in general?17:28
* Wizzup is wondering what the biggest pain points are17:29
huckgI am using it for playing podcasts, I installed gpodder but the gui doesn't work: I can touch a menu and it opens, but I cannot activate any of the menu items. Then it will typically freeze up the device.17:31
Wizzupthese might be maemo patches here: maemo.org/packages/view/gpodder/17:34
huckgA new issue I noticed today with the Calendar app: If I try to add a new event, the virtual keyboard does not come up when I click in the text box.17:34
Wizzuphuckg: yeah, the virtual keyboard not auto showing in qt is a known problem, you can raise it with the button to raise the vkb, but we need to fix that17:34
huckgOh yeah, I forgot about the button.17:35
WizzupI suspect the gpodder on maemo.org is very old, but the ui patches probably made it quite usable17:37
Wizzuphttp://maemo.org/downloads/search/application.html?org_openpsa_products_search%5B1%5D%5Bproperty%5D=title&org_openpsa_products_search%5B1%5D%5Bconstraint%5D=LIKE&org_openpsa_products_search%5B1%5D%5Bvalue%5D=gpodder&org_openpsa_products_search%5B2%5D%5Bproperty%5D=os&org_openpsa_products_search%5B2%5D%5Bconstraint%5D=LIKE&org_openpsa_products_search%5B2%5D%5Bvalue%5D=Maemo5&fetch=Search17:37
huckgI will try that gpodder out sometime today, and report back..17:48
huckgWhat is the thinking behind not using the volume buttons to control volume?17:58
humpelstilzchen[they could not decide which button increases and decreases volume :D18:01
sicelohuckg: what does the volume button do?18:21
Wizzuphuckg: I was hoping the gpodder there would be a set of patches on top of gpodder, but it doesn't seem to be18:46
Wizzuphuckg: so it might be harder to take the maemo patches18:46
Wizzuphuckg: try apt install maemo-statusmenu-volume18:46
Wizzuphuckg: and then pkill status18:46
Wizzup(wrt volume)18:46
Wizzupbut a few more things are necessary, like the pa line uvos mentioned18:47
Wizzuphumpelstilzchen[: it's funny, but not quite true, other things lack18:47
Wizzuphumpelstilzchen[: ;)18:47
humpelstilzchen[scnr18:54
Wizzup:P19:00
huckgsicelo: The volume button will change the size of the font in the terminal.19:02
huckgvolume up -> bigger text, volume down->smaller text19:11
Wizzupuvos: btw, debugfs is not mounted in the images it looks like19:13
huckgWizzup: I installed maemo-statusmenu-volume but moving the slider has no effect on the volume. alsamixer (no arguments) works, and I also made a tiny shell script that uses pactl set-sink-volume19:23
Wizzuphuckg: yeah you might be missing the line in system.pa19:34
Wizzupbrb dinner first19:34
huckgbon appetit!19:35
freemangordonthere is no arguing on what volume buttons should do:19:46
freemangordonif the device is rotated such that buttons are on the side, uper volume button shall increase and lower shall decrease (volume, size, page, etc)19:47
freemangordonif the device is rotated so the buttons are on top, left button decreases, right increases19:48
freemangordon'rotated' means the orientation of top application or desktop19:48
Wizzupsounds like we need to wake up, read from accelerometer upon button press and then decide what to do ;)20:03
Wizzuphuckg: so I think you need this: 00:31 < uvos> we should load-module module-switch-on-port-available for pulse20:03
freemangordonWizzup: we don;t really need accel, why is that?20:05
Wizzuphow will the device know it's orientation? pretty sure we suspend reading from accel on device lock20:05
freemangordontklock knows what orientation it was activated in20:05
Wizzupwhy would volume press activate the lock screen20:06
freemangordonit should not20:06
freemangordonbut, it shall increase the volume20:06
Wizzupif I lock the phone and put it in my pocket, and then take it out, I just want to increase or decrease the volume, not remember how it was last locked before I put it in my pocket20:06
WizzupI don't care what tklock thinks its last orientation was, I want to know, purely based on phone orientation or just hardcoded, which increases and which decreases20:07
Wizzupif that makes sense20:07
freemangordonWizzup: have you ever had issues with that on fremantle?20:08
Wizzupyes, I think so20:08
freemangordonI never had20:08
Wizzupbut also I don't find the phone orientation always as reliable as possible (hw wise, not sw wise), which is a problem also on modern phones, where people want their stuff to rotate and it doesn't, so it's hard to make volume buttons work well in that scenario20:08
freemangordonbut then again, this should not be device specific20:08
Wizzupagain, I don't have a strong opinion either way20:08
WizzupI just know that the fremantle behaviour wasn't always great for me (iirc if you lock with osso-xterm selected, it also doesn't do volume)20:09
Wizzupwhich I consider to be a bug20:09
freemangordonI would not, as top application gets the control. to me this makes sense20:09
freemangordonbut yeah, this is arguable20:10
WizzupI mean if the device is locked20:10
freemangordonsure20:10
WizzupI don't think it matters what activated app is when the device is locked20:10
Wizzupbut yeah20:10
freemangordonit grabs, why should tklock or anyone override the grab?20:10
Wizzupiirc there is special hack for that grab in fremantle20:11
Wizzupprobably why they couldn't make it work otherwise, but I don't remember20:11
Wizzupthey're edge cases to me anyway20:11
freemangordonyeah, those are edge cases we can think of best solution to20:11
freemangordonbut in general I insist on having the behaviour I described ^^^ (when not locked)20:12
freemangordonwe shall discuss what is the best when locked20:12
freemangordonlike, make a list of use-cases and decide20:12
Wizzupsure, when not locked I agree it makes sense20:12
freemangordonI can think of 2 only (phone and media player)20:12
Wizzupto be entirely honest I'm not super psyched to make a use case list here and now, but I think we could make an issue on GH and put some proper arguments and use cases there20:13
Wizzup(mostly comes back to the fact that I don't care so much :p)20:13
freemangordonand I can assure you, it is very hard to forget which orientation you locked the device for those 2. It is a muscle memory basically, no need to think either20:13
freemangordonmaybe having orientation independent control when locked makes sense20:15
freemangordonbut I still think we shall take various use-cases before making a decision20:15
freemangordonlike - what if we are locked with keyboard open?20:16
freemangordonthat means we are in landscape, no?20:16
Wizzupyes20:17
freemangordonand I can assure you with media player running and playing a song, fremantle uses the orientation it was locked in to decide which button is what20:19
freemangordonjust tested20:19
freemangordonand that makes all the sense to me20:19
Wizzupto me it sounds like an oversight20:20
Wizzupbecause what often happened for me is I would play music in landscape, get on my bicycle, put n900 in my pocket20:20
Wizzupthen during biking I would take out the phone with one hand and try to change volume, which is easier with portrait grab20:20
freemangordonyeah, I understand your point20:21
humpelstilzchen[When I'm on the bike I change the volume while the device is in my pocket20:21
humpelstilzchen[this requires me to know which button is up and which is down20:21
freemangordoncould be, the current behaviour is the natural and intuitive, but again, we may change that20:21
freemangordonto me is natural I mean20:22
Wizzupor just let people configure it with gconf setting :)20:23
freemangordonbut, we may assume portrait orientation when locked and no keyboard is opened20:23
Wizzuphumpelstilzchen[: btw, does the modem work on the pp for you?20:23
freemangordonWizzup: I think we shall start writing configuration application20:24
humpelstilzchen[Wizzup: no sim here20:24
freemangordon"Maemo Tweaks" in cpl20:24
Wizzuphumpelstilzchen[: ok, but it is detected?20:24
Wizzupfreemangordon: right, there is a maemo tweaks app in cssu :P20:24
WizzupI loved using that on my n900 when cssu came out20:25
humpelstilzchen[Wizzup: how do I check?20:25
Wizzupchange the transitions and stuff20:25
Wizzuphumpelstilzchen[: hmm download https://packages.debian.org/stretch/arm64/mdbus2/download and then run mdbus2 -s org.ofono20:25
freemangordonWizzup: I had bad experience with it, iirc20:26
freemangordonI think we shall write something from scratch20:26
humpelstilzchen[stretch? lol20:27
* freemangordon is afk20:27
Wizzuphumpelstilzchen[: mdbus2 is not in the newer distros I think20:30
Wizzuphumpelstilzchen[: it's just a debug tool20:30
humpelstilzchen[yes, I remember it from n900 days20:30
humpelstilzchen[and removed: https://packages.qa.debian.org/m/mdbus.html20:31
humpelstilzchen[mdbus2 -s org.ofono has only bluetooth stuff20:32
Wizzupok, so I don't think it sees the modem then20:32
Wizzupso I have the same problem20:32
huckgWizzup: I added that line to /etc/pulse/system.pa and when I play an mp3 with the slider all the way down it starts playing at what sounds like full volume, then the device shuts itself down after a few seconds. Maybe that line needs to be at a certain place in the system.pa file? I just placed it at the end.20:45
Wizzuphuckg: ah, you might not have the latest fixes!20:53
Wizzupwhat version do you have?20:53
Wizzupii  maemo-statusmenu-volume:armhf 0.56+2m7.1   armhf        Volume status menu plugin20:53
Wizzup(dpkg -l maemo-statusmenu-volume)20:54
huckgI do have that version.20:55
Wizzuphmm20:56
Wizzupah, no, I definitely do not have that bug20:56
Wizzupuvos: maybe some weird behaviour on bionic?20:57
huckgI will comment out that line in system.pa for now....21:36
Wizzupcheck21:49

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!