libera/#maemo-leste/ Thursday, 2021-06-17

uvoshmm00:29
uvosi cant seam to flash the n90000:29
uvosso ./0xFFFF -m u-boot-2013.04-2-with-freemantle-kern.bin -f00:29
uvosthe device is off and i connected it to usb00:29
uvos"Found USB device: RX-51/RM-680/RM-696 (0x421:0x106) in Cold flashing mode"00:29
uvosand the device starts00:30
uvos"Switching to NOLO mode..."00:30
uvos"Waiting for USB device..."00:30
uvos"Error: Device detection failed"00:30
uvosand then 0xFFFF goes back to waiting for device00:31
uvosad infinitum00:31
uvosdevice just ends up sitting at uboot prompt00:32
Wizzupuvos: did you compile your own 0xFFFF00:37
uvosWizzup: no i used the one linked in the wiki00:38
Wizzupuvos: ok, so it's not libusb 0.1 compat related then00:39
Wizzuptried a different cable?00:39
Wizzupor maybe running as root?00:39
uvosits as root00:39
uvosdifferent cable sure00:39
uvossec00:39
uvosah i got it work00:41
uvoswas low voltage i gues00:41
uvos(it worked with external power supply)00:42
Wizzupok00:42
Wizzupbtw, with the new libicd-network-wpasupplicant I do not get scan failures anymore00:43
WizzupI was seeing them with the previous -devel version00:43
Wizzupnot sure if it was just me or not, but if anyone can confirm that's nice00:43
uvosfremantle hildon-desktop absolutly has the same bug with the app launcher00:43
Wizzupheh00:44
* Wizzup zz00:50
Daanct12Wizzup, regarding the volume key04:36
Daanct12I noticed that vol up and down are registered as F7 and F804:36
Daanct12Maybe that's the reason why the volume bar doesn't work?04:37
parazydfreemangordon: Managed to move connui stuff to stable last night08:22
parazydMoved everything that made sense btw, and will review and update metapackages today.08:22
parazyduvos: So we're fine with enabling charge-mode, and fbkeyboard?08:22
freemangordonparazyd: thanks!08:24
parazyd:)08:25
uvosparazyd: yes, fbkeyboard should be activated allready on devel (on bionic only as intended)09:37
uvosDaanct12: no every thing is missing software side the f7 f8 thing is a n900 odity we should probubly change09:38
uvosparazyd: did you read my complaints about irc-this-week btw09:38
freemangordonuvos: why it should change? f7/f8 are not volume keys as one may think, those are multipurpose, context specific keys09:39
uvosfreemangordon: they are volume keys, there use elsewhere nonwithstanding. every single other device calls them volume, android vendor kernels call them volume. if we change n900 to fit everything else we save us a lot of headache09:41
freemangordonand then we will have the headache to fix all the code that uses f7/f8, just because android! calls them volume. Good reasoning...09:42
uvosno it goes mucht deper than android09:42
uvosthe mainline kernel calls these volume, they are volume on x8609:43
uvosetc09:43
uvosif you run leste on some random x86 device you want volume to change with the volume buttons on keyboard etc09:43
freemangordonpc 105 keyboard doesn't have volume buttons lst time I chacked09:44
freemangordon*last09:44
uvosyeah the standart ibm layout might not have them but manny manny manny pc keybaords have volume keys09:45
uvosthats what XF86Volume* was added for09:45
uvos f7/f8 is silly nokia Stupidity09:46
buZzXF86AudioRaiseVolume XF86AudioLowerVolume09:46
freemangordonsure, but again, what you call "volume keys" is used for multiple purposes on maemo09:46
buZzthose i guess?09:46
uvosfreemangordon: so? there primary purpose is volume, they make the moste sense as volume, the camer app zooming or osso-xterm changing font dosent change that09:46
freemangordonno, there is no primary purpose, please get out of your android-ish way of thinking09:47
parazyduvos: Regarding irc-this-week, you want me to escape that ^A I guess?09:47
freemangordonthey are used in xterm(to change the font size) book readiers use them to turn pages, etc,etc09:47
uvosparazyd: yeah i guess, just whatever is nessecary so that file and firefox etc detect the file as plain text09:48
parazyduvos: okay09:48
parazydWill do that sometime today09:48
uvosthanks ;)09:48
parazydI'll clean the file now09:48
parazydFix code after I eat something :D09:48
uvosfreemangordon: so? the thing is that if you want to enforce your these 2 keys are f7/f8 you will have to change the dts on every device ever just to fit the n900 mold. and users will complain volume odosent change with pc volume keys09:49
uvosthat is silly09:50
buZzcant xterm just use XF86AudioRaiseVolume etc?09:50
uvosof course09:50
uvosthats what i am proposing09:50
uvosWizzup: parazyd ^^^ please comment on this dissagreement....09:50
buZzand eh, couldnt we just have them -also- be f7/f8 ?09:51
uvosif you dont want to change n900 dts sure09:51
parazydAren't Droid4/Bionic and Pinephone doing these as XF86Audio*Volume already?09:51
freemangordonXF86 keys are *already* supported in the relevant parts09:51
uvosbut its just a a 4 byre change09:51
uvosparazyd: yes ofc09:51
buZzi think freeman is mostly thinking about all the maemo apps that exist already?09:51
freemangordonyes09:51
uvosparazyd: every pmos  device and every android device etc09:51
parazydSo the existing maemo apps work only on N90009:52
uvosyes09:52
freemangordonvendor kernels is not something we ever wanted to support09:52
parazydThat's funny09:52
uvosfreemangordon: its not vendor kernels09:52
freemangordonbut what?09:52
uvosfreemangordon: its all the mainline kernels for devices09:52
parazydfreemangordon: Mainline09:52
uvosits just what everyone decided these buttons are09:52
uvosand it makes sense users call these "volume buttons" too09:53
uvosWE call them volume buttons in discussions even09:53
freemangordonI understand that argument, but the question is - how you're going to make difference between volume buttons on your hands free and the ones on the device, to not turn page of the book reader you're currently using?09:54
freemangordonI don't want my hands free device to change font size in xterm either09:54
freemangordonthe same goes for those fancy multi-media kbds with audio buttons on them09:55
freemangordonNokia did it that way not because they were stupid, but because they were smart09:56
uvosso for muti-media keyboards i think zooming makes sense. as for hands free, interesting question i wonder how android dose this.09:57
buZzi dont understand the controversy really, doesnt your external keyboard have f7/f8 too?09:57
uvosbuZz: sure but other devices dont09:57
uvosand f7/8 is bad ux if volup voldown dosent also work09:57
buZzother devices than keyboards?09:57
uvosyeah like phones09:57
freemangordonbuZz: keys on your phone are kbd as well09:58
buZzright09:58
freemangordonthe conversation is about hwt keycode shall volume keys generate09:58
buZzso you are saying you want to keep em as f7f8 because you hookup a keyboard to your phone often?09:58
freemangordon*what09:58
uvosno09:58
uvosso n900 dose f7/f809:58
freemangordonno, because I hook handsfree often09:58
uvosbut every other device dose volup vol down09:58
uvosso you need to reconcile this somehow09:59
freemangordon"every device" is not really an argument, n900 is the best amongst all of them, both HW and SW wise.09:59
freemangordonand please dont bring the number of cores to the table10:00
uvoserm... ok10:00
uvosi hate the keyboard10:00
uvosits too small and close to the display :P10:00
freemangordonthen leste is not for you10:00
buZzi find it too small and too thick10:00
freemangordonah. on n90010:00
freemangordonwell, it was good enough for me 10 years ago...10:01
freemangordonnow... I need good light :)10:01
uvos1000 years ago a slave carrying a letter was good enough10:01
uvosthats hardly a argument10:01
freemangordonthe fact that something is newer doesn;t make it any better either10:01
uvosno but thats beside the point10:01
uvosthe point is we want leste to just work10:02
uvoson a wide veriaty of devices10:02
freemangordonneither the fact that "everybody does it, but you"10:02
buZzon as many devices as possible, right?10:02
uvosand the f7/f8 thing is an impedement10:02
uvos"everybody does it, but you" is an argument in foss10:02
uvosbecaue it fosters interoperability10:02
freemangordonuvos: sure, but that should not be on the price of bad UX10:03
freemangordonand BT controlling bookreader is a bad UX in every book I have around10:03
freemangordonBT HF that is10:03
uvosidk if it is really10:03
uvosso the vol keys inline on a wired headset10:04
freemangordonsure it is, this is real multitaskyng OS10:04
parazyduvos: Fixed, but I had to reset irc-this-week.txt so it starts from now. The main irc.txt is ok of course.10:04
uvosi think are great if they would do this10:04
uvosparazyd: thanks10:04
parazydyw10:04
freemangordonso you may have xterm  or bookreader or whatever opened while you have a phone conversation10:05
freemangordonyou want BT HF volume keys to change the audio volume, not to turn pages10:05
uvosfreemangordon: in this case the vol keys on device not chaning the call volume is bad ux.....10:05
uvosin all cases10:05
uvosso you would need some kind of global lock10:06
freemangordonuvos: they do while you;re in a call, IIUC10:06
uvoswhich is easy to accive via xgrabkey..10:06
uvosfreemangordon: right10:06
freemangordonlets not reinvent the wheel, ok?10:06
uvosfreemangordon: im sure thats how it works currently10:06
uvosfreemangordon: it needs to block f7/f8 this way10:06
parazydfreemangordon: Keep in mind no device except the N900 does this f7/f8 thing10:06
buZzmaybe n810 etc aswell?10:07
parazydbuZz: We don't have an n810 image nor support10:07
freemangordonhttps://github.com/maemo-leste/maemo-statusmenu-volume/blob/master/src/item.c#L12410:07
uvosbut he is likely right10:07
buZzright, ok10:07
freemangordonparazyd: yes, but that just means we shall remap those somehow as part of HW packages10:08
parazydfreemangordon: Why couldn't we also add XF86AudioRaiseVolume to that grab_keys function?10:08
freemangordonor rather - have this remapping by default, except on N90010:08
buZzoh, grab 4 keys instead of 2?10:08
uvosor even just change the n900 mapping in kernel....10:08
freemangordonparazyd: because this grab is in volume applet only10:08
freemangordonuvos: right10:09
freemangordonand then map back to f7/f8, somehow10:09
freemangordonon all devices that is10:09
freemangordonbut, this should happen for internal kbd only10:09
freemangordonuvos: can this be done smart enough to remap only internal kbd?10:10
uvosum yeah udev can do that10:10
uvosbut i think its a bad idea10:10
uvosalso hmm no10:10
uvosi dont think it will work10:10
uvosthat only works where the driver exposes hw scancodes10:11
uvosgipo keys (what the volume buttons often are) you cant remap at all10:11
freemangordonwell, then we'll have to fix all the other devices, if we want sane UX on them as well10:12
uvosfreemangordon: btw talking ux10:17
uvosfreemangordon: any idea why scrolling in the app launcher grid is broken10:18
uvosfreemangordon: in fremantle even10:18
freemangordonnot sure what you mean 'broken'10:24
freemangordoncould you explain10:24
freemangordonyou mean kinetic scrolling is not smooth?10:25
uvosfreemangordon: you scroll, and you let go of it at speed, it should continue scrolling at the speed you left it at10:25
uvosbut in reality it just stops10:25
uvosmost of the time10:25
freemangordonyeah, right10:25
uvosother times it coniunues scroling very slowly10:25
freemangordonyep, just reproduced10:25
uvosthis hapens in freemantle too10:25
uvos*happens10:25
freemangordon:nod:10:25
freemangordona bug, most-probably10:26
freemangordonwill have a look at it, someday10:26
uvosok10:26
freemangordonshoudl be somehwere in the tidy code10:26
WizzupDaanct12: that is another reason it might not work, but not the main one11:00
* uvos testing https://maedevu.maemo.org/irc-this-week.txt11:07
uvosworks11:08
parazyduvos: Will you have some time in the afternoon to give me a second pair of eyes on metapackages and perhaps leste-config?11:08
uvosparazyd: sure11:08
parazydCool11:08
* sicelo keeps wondering if he shouldn't quit Leste because it's based on silly s/w11:39
Wizzupfreemangordon: the f7/f8 handling is not too hard I think11:41
parazyd?11:41
Wizzupfreemangordon: also many oher devices uses other keys than f7/f8 already11:42
bencohsicelo: wait, what?11:42
uvosits a dig at me11:42
uvosdont mind it11:42
Wizzupparazyd: I do have a n810 btw, but no support11:44
WizzupI do think the F7/F8 is quite random11:45
Wizzupbut don't necessarily have a good solution11:46
Wizzupthere are F keys until F2011:49
Wizzupeven more actually it seems11:49
uvossome of those dont work11:49
Wizzuplinux/keyboard.h has until K_F24511:49
uvosany keycode >240 something is impossible to use with x11:49
Wizzupright11:52
freemangordonWizzup: could you elaborate on the "fix", I am not quite sure I understand12:02
Wizzupfreemangordon: I wrote that while reading backlog, the way I see it F7 and F8 are a bit arbitrary, and whatever we do, we need to at least sync the keys with other devices that we support - droid4 has the same buttons: power and volume -/+, and we need to figure out how to handle them properly12:04
WizzupF7/F8 feel arbitrary to me (why not F9/F10? etc), and xf86 volume keys might also not be ok12:04
WizzupI suppose they are keys that serve different functions in different contexts12:06
WizzupI am trying to think of equivalent stuff on PC keyboard layouts but don't quite know12:07
parazydWell there's the Fn key in hardware, but I think that's not a valid thing on phones12:08
parazydAt the very least it's two keypresses and saving state12:09
WizzupI don't mean it in that way per se12:09
WizzupThat's just about how a key is sent to the os, but I mean I am not sure what key would make (more) sense12:10
Wizzupbrb12:10
parazydok12:10
parazydI need to finish up the metapackages for stable now12:10
parazydCould discuss more later12:10
parazydWizzup, uvos: We also have some libsdl1.2 in -devel. Should I promote it?12:11
parazydnote-to-self: Check why alpha/beta themes try to pull in devel theme12:12
parazyduvos: Last 10 commits here (including changelog updates) https://github.com/maemo-leste/hildon-meta/commits/master12:18
parazyduvos: Last commit here: https://github.com/maemo-leste/leste-config/commits/master12:18
parazydThis would go from devel to stable12:19
parazyduvos: And then we need to introduce charge-mode, also via hildon-meta?12:20
Wizzuphow many people have tested charge-mode?12:26
WizzupI haven't yet12:26
parazydI don't know12:27
parazydIt works here, on droid4/bionic you need to make boot.cfg init into softlevel=charge-mode12:28
parazydAnd then if you boot with charger plugged you'll get the animation12:28
parazydWe should also have this on PP and N90012:28
parazydIdeally if the mainline u-boot on N900 supports boot.scr, then we're great12:28
parazydBecause then we can update cmdline this way12:29
parazydCurrently N900 cmdline is hardcoded in kernel12:29
Wizzupwhat do you mena, support boot.scr?12:29
WizzupI am pretty sure we can have as many bootentries as we want in u-boot12:29
Wizzupit reads them from internal config and then from (e)mmc12:29
parazydI mean passing cmdline from some file/variable12:29
parazydAnything we can control is fine, doesn't have to be boot.scr12:30
parazydJust giving an example12:30
parazydhttps://github.com/maemo-leste/pine64-uboot/blob/master/boot.txt#L112:30
parazydLike here12:30
WizzupI am pretty sure we can do all of that, someone just needs to do it *and* make sure we can flash a certain u-boot version safely without messing wiht existing setups12:31
parazydYeah ok12:31
sicelofremantle u-boit DOES support cmdline12:31
parazydI already talked to Pali about this12:31
Wizzupsicelo: having both leste and fremantle generate u-boot menu using their own scripts is recipe for disaster though12:32
parazydsicelo: Right, but thing is our n9xx-linux has hardcoded cmdline12:32
parazydI'm not sure if it can be overriden12:32
parazydhttps://github.com/maemo-leste/n9xx-linux/blob/maemo/beowulf/arch/arm/configs/n900_defconfig#L5512:32
Paliu-boot loads bootmenu.scr from eMMC and it may boot menu entry may contain info to run e.g. boot.scr script from uSD12:33
Palisee: https://talk.maemo.org/showthread.php?t=8161312:34
parazydYeah that's my point. We can then easily maintain Leste-specific boot.scr12:34
Wizzupyup12:35
Paliyes!12:35
Pali"run sdboot" tries to run boot.scr script from uSD12:36
parazydFantastic12:36
Paliand "run sdboot" is called by "External SD card" menu entry12:36
Wizzupparazyd: that is not the default btw12:37
Palithis menu entry is by default present if you do not have your own bootmenu.scr in eMMC12:37
Wizzupand it is only run upon user action12:37
Wizzupparazyd: does it also read from sd card?12:37
Wizzuperr12:37
WizzupPali: ^12:37
Wizzupwhen preparing the menu12:37
PaliuSD is not default boot option12:37
Palidefault is attached kernel without cmdline12:38
Palibut bootmenu.scr in eMMC can specify custom default entry12:38
parazydThis still needs user interaction12:38
parazydTo change12:38
WizzupPali: the way I see it: (1) OS on eMMC and OS on uSD should both ideally be able to provide entries for the menu, and maybe even determine what should be default with some priority12:38
Wizzupand leste, I think, currently typically is on uSD and fremantle on emmc for most12:38
Wizzupso this way leste would have to override emmc on fremantle to get its values in, right?12:39
parazydWizzup: We would also use mainline u-boot and keep it up to date with apt12:39
parazydWizzup: This way we can also control the emmc script12:39
Paliwell, you can overwrite u-boot source file include/configs/nokia_rx51.h to loads bootmenu.scr from uSD instead of eMMC12:39
parazydPali: Also, yes.12:39
parazydWe need our package anyway.12:40
PaliI think could go also into upstream u-boot12:40
parazydCould it be a config option?12:40
lelparazyd labeled an issue: https://github.com/maemo-leste/bugtracker/issues/525 (Create n900-uboot package)12:41
uvosparazyd: parazyd: so charge mode should work everywhere, i tested it on d4, bionic and on the n900 by switching to the runlevel after boot12:41
parazydI tested on d4/bionic only12:41
parazydUpdating my N900 now and will try too12:41
uvosok someone should test it on pp12:41
uvosbut thats what devel is for no? :P12:41
parazyd:)12:41
uvosparazyd: the only blemish being that currently /sys/class/power_supply/battery/status on mapphones just reflects current_now12:42
Paliis there any issue if u-boot always tries to load bootmenu.scr from uSD and if it fails then tries to load it from eMMC and if it fails then fallback to defalt?12:42
uvosso sometimes the device will fail to enter charge-mode becuase the device is using to mutch current at that moment12:42
uvosbut thats just a mapphone kernel problem12:42
parazyduvos: fail in what sense?12:42
uvosfail in the sense that it boots to hildon instead12:42
parazydPali: I suppose that's perfectly fine.12:42
parazyduvos: ok12:42
Paliok, so I can prepare patch for this12:43
parazyd12:18 <parazyd> uvos: Last 10 commits here (including changelog updates) https://github.com/maemo-leste/hildon-meta/commits/master12:43
parazyd12:18 <parazyd> uvos: Last commit here: https://github.com/maemo-leste/leste-config/commits/master12:43
siceloPali: +112:43
parazydHave a look when you can please12:43
uvosparazyd: looks good.12:44
uvos(hildon-meta_12:44
uvos)12:44
parazydok, thanks12:44
parazydThis is still without charge-mode btw.12:44
uvosi would add chargeing-mode to the common metapackage btw (in devel only ofc)12:45
parazydThat goes into mapphone-kexecboot-config12:45
uvosyeah12:45
parazyd(runlevel)12:45
uvosright12:45
parazydAnd yeah, dep into hildon-meta12:45
parazydok12:45
uvosfor leste config its just this? https://github.com/maemo-leste/leste-config/commit/4f75983b5f475627fc201ad640c85bc692cf5a61?12:45
parazydYes, and seems there's no pending pulls12:46
parazydSo I guess that's it12:46
uvosok yeah thats fine12:46
parazydUnless there was something else you wanna add12:46
parazydAlright12:46
uvosno12:46
parazydWill build this in a little bit12:46
uvosfor hildon meta it might make sense to only have fbkeybord in bionic12:47
uvossince you cant reach it elsewhere atm12:47
uvosbut it dosent hurt to have it installed either12:47
parazydah but you asked me to add it to all of the non-keyboard devices :p12:47
siceloPali: I tried to boot Fremantle with upstream u-boot once (with kp image), but it didn't boot. Is this expected, or I made a mistake somewhere?12:47
parazydimho it's fine if installed12:47
uvosright and you said we can figure out how to enter the runlevel later12:47
uvosim just saying its dead weight atm12:48
uvosbut its fine12:48
Palisicelo: it should work12:48
siceloI'll try again and report back12:48
Paliif it does not work then something is broken and needs debugging...12:48
freemangordonWizzup: kinda agree, but those new key should be really way more sane than F7/F8 to worth the effort of porting all the code to them.12:49
siceloOkay. I'll test. The idea is to flash upstream u-boot (which Leste would prefer afaict), but still be able to boot Fremantle (what I prefer)12:49
parazyddreamer, freemangordon, buZz, uvos, Wizzup, sicelo, etc.: Do you think it's a good idea to have another channel, say ##lestians (or propose another name), for non-dev Leste discussions?12:50
uvosparazyd: we did this before12:50
uvosparazyd: it dident work out mutch12:50
parazydmhm12:51
siceloI don't think it's good idea12:51
parazydAsking because someone on Twitter asked.12:51
Wizzupfreemangordon: yeah, I suppose so, I don't know how many handle the key, I guess web browser and some other apps. Something else to keep in mind is that some applications automatically handle zoom keys already, I think (I have to test), like pdf or image viewer, or browser, from debian, so keeping that kind of compat in mind when picking one might make sense (this likely won't be volume key ;-))12:51
parazydhttps://twitter.com/LiohMoeller/status/140505738230937600012:51
freemangordonparazyd: I agree here it is a bit noisy at times, but better keep it like it is12:51
Wizzupfreemangordon: there is this:12:52
Wizzup#define XF86XK_ZoomIn0x1008FF8B   /* zoom in view, map, etc.   */12:52
Wizzup#define XF86XK_ZoomOut0x1008FF8C   /* zoom out view, map, etc.  */12:52
uvosi guess the comunication channel is the maemo forum12:52
uvosits almost dead but still12:52
buZzthere's #maemo ?12:52
buZzdoes anyone really mind if lioh sits here to talk user things?12:53
buZzinstead of dev12:53
siceloyou can simply respond that this channel is alright, and he can feel free to ask here12:53
uvosno12:53
uvos@buZz12:53
freemangordonWizzup: sure there are slightly more sane keycodes, but does it worth?12:53
WizzupbuZz: nobody minds, but it might be hard to chat if there is much cross talk I imagine12:53
parazydTrue there is #maemo12:53
parazydI often forget12:53
Wizzupfreemangordon: I think it probably is, if it means it will work out of the box with many other applicataions12:53
siceloIf people don't have time for him here, they most likely won't have time to look for him in another room12:53
parazydsicelo: ++12:53
Wizzupsicelo: uvos: iiuc it's mostly about cross talk12:53
uvosalso https://talk.maemo.org/forumdisplay.php?f=6612:53
Wizzupand maybe just a place in general to chat12:54
siceloAnd lioh was asking about Leste issues (not fremantle issues)12:54
uvosi gues thats the real place for users12:54
freemangordonit still won't, as upstream kernel generates volume keys12:54
uvos^^^ this is the real problem as changeing this involved changing everyones kernel12:54
uvosand you cant rely  on udev remapping working12:55
freemangordonbut the other option is to have broken UX12:55
WizzupWhy can't we rely on udev to remap a key for us? I think we already do that currently12:55
bencohre. #lestians/whatever, I think #maemo should be the place for users at some point :)12:55
* freemangordon is afk for a while12:55
uvosWizzup: that works for keybaords and other devices that generate scancodes12:55
uvosWizzup: gipo keys and sutch do not generate scancodes12:55
uvosthey genreate keycodes directly12:55
uvosyou cant remap them12:55
Wizzupoh, MSC_SCAN ?12:55
uvosthe kernel simply cant12:55
uvosyeah12:56
uvosvolume keys are XF86Audio* its a fait accompli12:56
uvosleste has to deal with it12:56
WizzupI am not at that point yet with my thought12:56
WizzupWe could simply change the dts in our kernels, for example, if it is beneficial12:57
Wizzupbut before ew do that it would be nice to know if applications actually handle the xf86 zoom keys sensibly at all12:57
uvosWizzup: sure but thats rather insane, do you want to change the kernel source for drivers that dont use dts?12:58
uvoslike x86?12:58
uvosalso then we cant fully share source with pmos etc12:58
uvoslike on a x86 tablet you would have to change the ibm keyboard mapping with your hack to change the keycode...12:59
uvosor on vm etc12:59
Wizzupuvos: hm, you mean for the volume applet to work?12:59
uvosfor the volume buttons to work12:59
uvosgenreally12:59
Wizzupbecause they are not accessible physically?13:00
uvoshmm>13:00
uvoshmm?13:00
siceloIs volume applet working/available yet?13:00
uvosno13:00
Wizzupsicelo: it requires PA setup13:00
Wizzupspecific PA setup13:00
* sicelo hasn't run Leste on N900 in many months now13:00
uvosWizzup: what do you mean accessible physically?13:00
Wizzupuvos: why would you need to remap?13:00
uvosok so on any x86 device (lets say a tablet) the volume keys are the xf86 vol up  and vol down13:01
uvosthis is defined in kernel source13:01
uvosnot dts13:01
uvosnow what13:01
uvoshow shal they work?13:01
Wizzupwe could remap wit xkb I think, but yeah13:02
Wizzupwe already specify specific keyboard layouts for our devices13:02
uvosno you cant13:02
Wizzupreally? why not?13:02
Wizzupoh, it's a separate input device I guess..13:02
uvosright13:02
Wizzupthis is so silly13:02
Wizzuplol13:03
uvosreally there is no way this can ever work right except accepting the fait accompli13:03
uvosand also accepting that all volume keys then behave the same13:03
Wizzupbut firefox and such won't handle these keys13:04
Wizzupso we'd have to then fork firefox and other apps to make it handle them13:04
uvosthat wont work with f7/f8 either13:04
uvosi mean there is no way to have everything magicly know what you mean if want vol to have mulitple meanings13:05
uvosif you want to have vol up down be the xf86 zoom keys13:05
uvosthat you can do by mapping the xf86AudioVolume* to those in xcb13:05
uvosbut the kernel keycode needs to stay xf86AudioVolume13:05
uvosor just change the config files of ff.13:06
Wizzupwell, the xcb remap is what I was referring to earlier as well13:06
Wizzupdid anyone look at the mobile config for firefox that some people mentioned btw?13:07
uvosright if you accept that xf86AudioVolume* are the vol keys in kernel and all vol keys will behave the same you can change the mapping xcb ofc.13:07
Wizzuphttps://gitlab.com/postmarketOS/mobile-config-firefox13:08
uvosi did, i think mine is better13:08
Wizzupwhich one is that?13:09
uvosjust the private one on my device13:09
uvosid have to clean it a bit to release it13:09
Wizzupk13:09
dreamerparazyd: or a #leste-dev? :P13:14
dreamer(but I agree, this channel is good enoughâ„¢ for now)13:14
freemangordonon fremantle the browser is not using volume keys for zoom13:14
Paliparazyd: uvos: here is patch https://pastebin.com/TZCtkeSA could you test it if it is fine for you?13:14
freemangordonPali: do you want me to do anything else for u-boot?13:15
PaliI do not know if tom wants that your patch to be sent in git-format-patch13:16
freemangordonI bet he does13:16
freemangordonbut as you know, I prefer to leave the paperwork to you :p13:17
Paliso for now just need to wait for tom answer13:21
Wizzupprobably no reason to wait, can just send a rfc patch, right?13:22
parazydPali: mmc patch LGTM13:27
parazydPali: setenv mmctype ext413:27
parazydDoes this imply the partition has to be ext4?13:27
Paliext4 means to read ext2/3/4 fs13:28
parazydok, and fat is fat13:28
parazydok13:28
parazydGood13:28
freemangordonPali: Wizzup: yes, no reason to wait, the answer we are waiting for is -mthumb related, not DM_USB13:28
Paliolder u-boot version had separate ext2/3 and ext4 implementations, new u-boot has one unviersal ext2/3/4 implementation with just ext4load command, hence ext4 mmctype13:29
Wizzupah, like mainline13:29
Wizzupparazyd: well keep in mind we'll have to be able to install u-boot first via leste, and we need to figure out ow to do it without breaking all the differnet setups13:30
Wizzuplike, someone can have no u-boot on their device, and have fremantle kernel there, and boot leste via 0xFFFF13:30
parazydWizzup: Yeah as I said, already discussed this with Pali. There are helpful scripts.13:30
Wizzupin that case we do *not* want to flash u-boot13:30
Wizzupwe'd break fremantle13:30
Paliyou can extract current kernel from nand, append it into prepared u-boot binary and then flash this u-boot binary13:31
Pali(with appended kernel)13:31
Wizzupyeah, but can we decide to do that on our own?13:31
parazydWizzup: In any case, I'd prefer if we use mainline u-boot for Leste.13:31
freemangordonwhy not?13:31
Wizzupfreemangordon: if you booted a livedistro, would you expect it to modify your grub config without asking you?13:32
Paliby default U-Boot boots attached (=fremantle) kernel13:32
freemangordonif there is a big fat warning13:32
Wizzupfreemangordon: yes, that is what I am saying13:32
freemangordonah, ok :)13:32
Paliand if you provide bootmenu.scr to eMMC you can overwrite default boot menu entry13:32
WizzupI think the package should be avail in repos, but not in any meta, and we can juts have it be present on images we make, or something13:32
Wizzupwell, no, that won't work still13:32
Paliand after above patch you can put bootmenu.scr also into uSD13:32
parazydAll promoted to stable13:47
parazydLet me know if you experience issues upgrading13:47
uvosparazyd: btw with the charging-mode change you might want to conisder moving  droid4-battery-calibration to sysint13:54
parazydah indeed13:55
uvosso there is a chance charging-mode ends up with a callibrated battery13:55
parazydMade a note13:55
parazydDoing N900 upgrade now13:55
parazydWizzup:  * Caching service dependencies ...                                                                                                                                                                                                     [ ok ]14:06
parazyd * Stopping ke-recv                                                                                                                                                                                                                     [ !! ]14:07
parazyd * Starting ke-recv presetup ...14:07
parazyd * Starting ke-recv ...14:07
parazydThis triggers a reboot14:07
parazydhttps://parazyd.org/pub/dev/random/upgrade.txt14:07
Wizzupparazyd: shit, we pushed an update to users that causes another reboot like this?14:08
uvosabort abort :D14:08
Wizzupso can you reproduce it with just stopping ke-recv and starting it?14:08
parazydWell, good incentive to solve it14:08
parazydWizzup: I can't14:08
parazydThis was apt14:08
parazydAs soon as I saw  Stopping ke-recv Starting ke-recv presetup ...14:09
parazydScreen went off, and LED went white like for shutdown14:09
parazydApt continued for a bit more14:09
Wizzupdoes /var/log/messages say anything?14:09
Wizzupit might just be part of something else14:09
parazydBooting now14:09
WizzupIIRC I debugged/narrowed it down already14:09
Wizzupbut I don't remember.14:09
parazydmessages: http://sprunge.us/Fs1Mg414:10
parazydsyslog: http://sprunge.us/LrWEpG14:10
parazydJun 17 14:06:28 localhost DSME: new state: DSME_STATE_REBOOT14:11
parazydJun 17 14:06:28 localhost systemui-powerkeymenu[2932]: systemui: shutdown_ind from DSME, quitting14:11
parazydJun 17 14:06:27 localhost DSME: Process '/usr/sbin/ke-recv' with pid 2130 exited with return value 014:12
parazydJun 17 14:06:28 localhost DSME: Process '/usr/sbin/ke-recv' with pid 15501 exited with return value 1; spawning too fast -> reset14:12
parazydWizzup: See from Jun 17 14:06:28 in http://sprunge.us/LrWEpG14:12
Wizzupok, I will dive into momentarily14:13
parazydThanks14:15
parazydIt's as if ke-recv doesn't restart properly and then dsme figures it should reboot14:17
WizzupI think it looks like ke-recv doesn't start happily and it's set up in a way with dsme that failure to start it a few times makes it reset14:18
parazydRest of the upgrade went fine, fwiw14:18
Wizzupwhich makes sense, so we need to see why th restart fails14:18
parazydYes14:18
parazydBut I can't repro with /etc/init.d/ke-recv stop14:18
Wizzuptry 'restart'14:18
WizzupI will also try momentarily14:18
Wizzupbusyatm14:18
parazydWizzup: Also works fine, no reboot14:19
parazydpgrep -a ke-recv14:19
parazydoops14:19
parazydSo pretty sure it's this in the ke-recv initscript14:24
parazyd /usr/sbin/dsmetool -U root -n -1 -t "/usr/sbin/ke-recv"14:24
parazyd-t --start-restart=<cmd>        Start a process14:24
parazyd(on process exit, restart max N times then do SW reset)14:24
parazydAs to why it is unable to restart, I'm stumped14:25
parazydI wonder if we're just trying too fast and we should let it settle some14:25
WizzupI don't think it should fail 10 times in a row though14:26
Wizzup(still busy)14:26
parazydRight14:26
parazydnp14:26
meldrianGuess the easiest way is asking here, is there a client for fediverse services on maemo leste?16:55
meldrianLike gnuscoial, mastodon, friendica, etc.16:56
parazydIf there's something on Debian - yes. :)16:58
parazydWe don't have a native app.16:58
Wizzup(yet)17:02
meldrianWait so, for example, tootle might work? (https://packages.debian.org/de/sid/tootle)17:02
Wizzuptry 'apt get install tootle' :)17:02
Wizzupwell, is it only in sid?17:02
freemangordonapt-get install will show :)17:03
freemangordon"E: Unable to locate package tootle"17:04
freemangordonWizzup: it is in bullseye too17:04
meldrianOnce the new battery is delivered i'll try to ressurect the n900 for home use with meamo leste. Just want to check if fediverse is one of its borders. Iam reliefed its not.17:05
freemangordonactually this particular client is not available in leste17:06
freemangordonbecause it is based on current debian stable17:06
freemangordonbut maybe it will just compile, who knows17:07
meldrianIt doesn't need to be tootle. Every client with basic functionality will do it.17:08
bencohconsidering the deps, it might compile easily17:08
Wizzupit might even just dpkg -i17:08
freemangordonmeldrian: whatever is available in debian stable, is available in leste as well17:08
bencohWizzup: doesn't sound great ABI-wise, but dpkg-buildpackage should be fine17:09
freemangordon:nod:17:09
meldrian... and that's a lot. Can't wait to begin testing.17:09
freemangordonPali: yay, seems WDT patch has been merged into -next :)21:04
freemangordonhttps://github.com/u-boot/u-boot/commit/e61a4ff13f36a9952b4ecdfaa209963d411d288421:07
freemangordonPali: now we only need that DM_USB patch series21:08
sicelo<321:42
Palifreemangordon: perfect!23:53

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