libera/#maemo-leste/ Wednesday, 2022-02-02

siceloi reported a bug for this to debian already, but if someone here uses Debian sid (or maybe qemu 6.2 on any other distro), please check if usb passthrough works for you. a good example for how to do passthrough is https://leste.maemo.org/Status/Mobile_Data00:24
Wizzuplooks like n900 image lacks uImage, so the postinst doesn't run I think14:20
WizzupX also doesn't start14:23
Wizzupmodesetting being present also makes omap driver not run on n900, it prefers modesetting14:28
WizzupI'll add /usr/share/X11/xorg.conf.d/99-omap.conf.leste to leste-config14:28
Wizzupuvos: if you have some time, care to try the latest bionic miage?15:45
Wizzups/miage/image/15:45
uvosWizzup: ok15:46
lelnxdefiant opened a pull request: https://github.com/maemo-leste/pine64-kernel/pull/2 (Patch: STK3310 as module, AXP20X_POWER built in)18:28
lelMerlijnWajer closed a pull request: https://github.com/maemo-leste/pine64-kernel/pull/2 (Patch: STK3310 as module, AXP20X_POWER built in)19:45
Wizzup(you can follow build here https://phoenix.maemo.org/job/pine64-kernel-source/70/)19:47
siceloWizzup: yesterday i mentioned inability to pass my modem through to qemu. Today I decided to build qemu from source. Oddly, i still can't successfully pass the usb modem through. Now I'm completely confused20:52
Wizzupsicelo: does other usb passthrough work?20:53
siceloNothing at all20:53
Wizzupqemu usb passthrough is annoying/finnicky and you also need to get the usb speed correctly, for example20:53
Wizzupmight also need to be in the usb group, or run as root for privs, etc20:54
freemangordonwhy not use virtualbox?20:54
sicelousb-tablet works though, as well as usb-sound20:54
freemangordonusb works like charm there20:54
freemangordonthe same for vmware20:54
sicelofreemangordon: true. Means reinstalling or converting the vms i have. Not fun :-(20:55
Wizzupsicelo: yeah, but that's not passthrough, are you sure everything in qemu is enabled for it?20:55
freemangordonshouldn't be that hard, but yeah.20:55
Wizzupyou can do this interactively from the qemu monitor20:55
Wizzup(I'll have to dig a bit to find the commands)20:56
siceloWizzup, yes, it's enabled20:56
Wizzupbut just start by checking if qemu can even find usb devices20:56
siceloIt shows them in 'info usbhost'20:56
siceloBut adding them with `device_add usb-host,bus=ehci.0,vendorid=0xVVID,productid=0xPPID` shows no life at all. Ni activity in guest's dmesg20:59
siceloSame goes for xhci bus21:00
Wizzupdo you have usb controllers that they can attach to in the guest?21:00
siceloYes21:00
Wizzupthere must be a way to get some more info :)21:01
siceloFor xhci, i can add controller with 'qemu-xhci' and it shows up in guest's dmesg. But can't attach devices21:01
Wizzupsicelo: you can try to import them in virt manager and try it from there?21:01
siceloI guess that's worth trying, true21:02
freemangordongnome crashed :(21:03
siceloHehe, I want to kick myself now. Works as root.21:18
Wizzup:)21:20
Wizzupsicelo: group usb /etc/group21:32
Wizzup ?21:32
siceloPlease rephrase :-)21:33
Wizzupmaybe check what group you need tobe in21:34
Wizzup'groups' will tell you the ones you are in21:34
siceloOtherwise, i see qemu has a -runas option,, which allows it to drop root perms. But this isn't best solution for me, since 80% of time I'm on wayland. Very difficult to run gui applications as root there21:35
siceloYes, thanks, that's what I'm looking for atm21:35
* Wizzup is happy x user :p21:37
sicelo🙂21:39
siceloI'm generally last to switch to 'the latest and greatest' hehe, but yes, i decided to switch to wayland, and i am quite happy21:41
uvossicelo: what display server?21:42
sicelowlroots (sway)21:42
uvosok21:43
uvosi think wayland is great, but not agreeing on a single implementation like xorg is for x11 was pretty bad. but wlroots might get there eventually, xorg wasent allways the only implementation either.21:44
lelIMbackK opened a pull request: https://github.com/maemo-leste/maemo-statusmenu-volume/pull/2 (Implement external volume events)21:48
uvosWizzup: ^^^21:48
siceloWorks beautifully22:23
Wizzupuvos: neat22:54
Wizzupuvos: native_is_landscape, do we need that per device, or?22:57
uvosWizzup: yeah, but i flipped it over since all devices but the n900 are native portrait22:59
uvosWizzup: btw ionic boots fine22:59
uvos*bionic22:59
Wizzupuvos: thanks for testing bionic22:59
Wizzupok, but this will then not work on the n900 - the buttons will be inverted?22:59
uvosyes so this is something i added, it changes what whay the buttons are when the display is off23:00
uvosie if the display is off and this is set vol up will be toward the right23:00
uvosif not it will be up23:00
Wizzuphm, I think that is how it works on the n900 too23:00
Wizzupor maybe it depends on the last orientation, not sure23:01
uvosno23:01
uvosits explicity set so23:01
uvosby the code23:01
uvosif the display is off23:01
uvosit is assumed the device is in landscape mode (in the old code)23:01
uvosin the new clode its a config option, and i set it to assume portrait as of that commit23:01
uvosand while the display is on it will still follow the orientation as set by hildon-desktop23:03
uvosin any case23:03
Wizzupok23:04
Wizzupstill, sounds like we need something for the n900 a bit later?23:04
uvosyou need to move that file to leste-config yeah23:04
uvosit dosent have ucm either23:04
Wizzuphumpelstilzchen[: I believe you made a PR for pine64 kernel - it's in the beowulf-devel repos now23:05
uvosinterstingly its totaly broken on fremantle23:05
uvoschainging the volume while the display is off has no effect, i gues it was added in cssu?23:05
Wizzuphmm, not sure23:06
Wizzupit might not work if you're on a terminal23:06
uvosdosent work in any case23:06
Wizzupok23:07
uvosbtw can the terminal hijaking the keys be turned off somewhere?23:07
Wizzupdo you mean when it's active?23:08
uvosits really anoying as i use mpv and ncmpcpp alot23:08
uvosyeah23:08
Wizzupnot sure, I'd have to check the src23:08
uvosok23:09
uvosthe volume applet dident make it into stable btw23:09
uvosnot sure why23:09
uvosor it dosent work on bionic for some reason....23:09
Wizzupit's not in stable yet I think23:10
uvosoh i thought everything was promoted23:10
uvosalso charge mode dosent work23:11
uvosfreemangordon: vt switch remains broken in latest omap ddx btw23:14
Wizzuphm, that should I think23:14
Wizzup(charge mode)23:15
Wizzupuvos: the linux style I think is the one fmg picked though23:16
Wizzup(status applet)23:16
uvosok well i find his stlye pretty ofsensive :P23:17
uvosyou dont have to merge that commit23:17
WizzupI am not sure if it is, but he did the RE23:17
Wizzupis that the last commit?23:17
uvosyes23:17
Wizzupok, let's do it without that one for now23:17
uvosunless you want me to take maintainership23:17
uvosthen you do23:17
uvos:P23:17
Wizzuplet's make it a separate pr at least23:18
uvosok23:18
uvoswill you eject the commit yourself?23:19
lelMerlijnWajer closed a pull request: https://github.com/maemo-leste/maemo-statusmenu-volume/pull/2 (Implement external volume events)23:19
uvoscharge-mode is broken23:19
uvosbecause of sdl23:19
uvossomehow it was built without the kms backend23:20
Wizzuphm23:20
Wizzupmaybe a package was missing when I built it in CI?23:20
uvoshuh no23:21
uvosits not enabled23:21
uvosparazyd said he did it23:21
uvosaperantly he dident23:21
uvos<uvos> so wee need  --disable-video-directfb  and --enable-video-kmsdrm --disable-kmsdrm-shared23:22
uvos<uvos> i would also disable opengl23:22
uvos<uvos> since that forces some games to use gles23:22
uvos<uvos> --disable-video-opengl23:22
uvos<parazyd> Sure23:22
uvos<parazyd> I pushed libsdl change23:23
uvosbut its not here https://github.com/maemo-leste-upstream-forks/libsdl2/blob/maemo/beowulf-devel/debian/rules23:23
uvosoh heh23:24
uvoshttps://github.com/maemo-leste-upstream-forks/libsdl1.2/commit/575c4279972522107dd10dfd5a9ac445c40794e523:24
uvoshe applied it to libsdl1.2 instead of 223:24
uvosWizzup: ^^ could you fix this?23:24
Wizzupok, but do we want --disable-video-opengl, since that will break any glshim stuff?23:24
uvosin general yes i would say, experiance shows that this appears the only working way to force several games to use gles23:25
Wizzupright, but we might also have devices line pinephone that just suppor tGL23:26
uvosi gues we might want to preload a different sdl in the shim case23:26
Wizzupor devices with adreno gpus23:26
uvosdifferent libsdl2 for different device sections too then23:26
WizzupI guess this can't be done through env vars?23:26
uvostheres a hint23:26
uvosbut i have yet to find an application that reads the hint :P23:27
uvosits entirely up to the application what surface gets created23:27
uvosdisabeling opengl makes it fail23:27
uvosthis appears to be really the only way that works23:28
Wizzupok23:28
uvosbut sure you can avoid disabeling it for now if you like23:28
uvosfor pp etc23:28
uvosand add libsdl2 to the mapphone/n900 section later23:28
uvoswith it disabled23:28
WizzupI wonder if I need to 'fix' libsdl1.2 then23:29
WizzupI might have built it23:29
uvosidk23:29
uvosfor sure libsdl1.2 dosent support kms23:29
uvos(dident exist yet)23:29
WizzupI meant the opengl part23:29
uvoswell the flags are wrong atm in any case23:29
Wizzupgimme a moment, let me finish the volume thing first23:30
Wizzupthe new volume applet is in -devel23:31
uvosi think we should promote it too, maybe the old version, it works perfectly fine and is quite usefull, on n900 it just dosent do anything.23:32
Wizzupok23:33
uvoswe did promote mce to at least 1.9.11 right?23:33
Wizzupyes, I moved devel mce over23:33
uvosok23:34
uvoshmm23:36
uvosone problem with promoting the volume buttons exists23:36
uvoser volume applet23:36
uvoson pp we use the volume buttons to rais the vkb23:36
uvosthat will be slightly broken23:37
uvosie volume will move up a step and the vkb will show up when you use the button23:37
uvosnot terribly great23:37
uvosthe right thing is to unbind the vkb23:38
uvosbut thats going to be very unpopular i imagine23:38
uvosbtw23:39
uvosleste-config-n900/etc/directfbrc.leste and leste-config-mapphone/etc/directfbrc.leste can go now23:39
uvosthey are no longer needed23:39
Wizzupuvos: well it's not yet in any meta23:40
uvosWizzup: ok23:40
Wizzupand yes that is a problem, but that is something we'll have to fix in him or qt eventually23:40
uvosh-d needs some gesture support23:40
uvosyoull always need a way to raise the vkb on demand23:40
uvosstuff like xterm will never raise themselves23:41
uvosim imagining some like a swipe from the bottom off-screen raises vkb or whatever23:41
Wizzupright23:41
uvosWizzup: so for leste-config23:43
uvosWizzup: revert:23:44
uvosbeaed7c6979f75cbbe9a5aa63ed269c6141ac2cb23:44
uvos8dc0a4e3e3f56513d91cf87275336584aeea128623:44
uvos8c1933f8ba8c64c884751b3949e66cb874f870f523:44
uvosin that order23:44
lelIMbackK opened a pull request: https://github.com/maemo-leste/leste-config/pull/30 (remove directfb stuff)23:45
uvosWizzup: ^^ pull request to that effect23:45
lelMerlijnWajer closed a pull request: https://github.com/maemo-leste/leste-config/pull/30 (remove directfb stuff)23:59

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