sicelo | i 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_Data | 00:24 |
---|---|---|
Wizzup | looks like n900 image lacks uImage, so the postinst doesn't run I think | 14:20 |
Wizzup | X also doesn't start | 14:23 |
Wizzup | modesetting being present also makes omap driver not run on n900, it prefers modesetting | 14:28 |
Wizzup | I'll add /usr/share/X11/xorg.conf.d/99-omap.conf.leste to leste-config | 14:28 |
Wizzup | uvos: if you have some time, care to try the latest bionic miage? | 15:45 |
Wizzup | s/miage/image/ | 15:45 |
uvos | Wizzup: ok | 15:46 |
lel | nxdefiant opened a pull request: https://github.com/maemo-leste/pine64-kernel/pull/2 (Patch: STK3310 as module, AXP20X_POWER built in) | 18:28 |
lel | MerlijnWajer 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 |
sicelo | Wizzup: 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 confused | 20:52 |
Wizzup | sicelo: does other usb passthrough work? | 20:53 |
sicelo | Nothing at all | 20:53 |
Wizzup | qemu usb passthrough is annoying/finnicky and you also need to get the usb speed correctly, for example | 20:53 |
Wizzup | might also need to be in the usb group, or run as root for privs, etc | 20:54 |
freemangordon | why not use virtualbox? | 20:54 |
sicelo | usb-tablet works though, as well as usb-sound | 20:54 |
freemangordon | usb works like charm there | 20:54 |
freemangordon | the same for vmware | 20:54 |
sicelo | freemangordon: true. Means reinstalling or converting the vms i have. Not fun :-( | 20:55 |
Wizzup | sicelo: yeah, but that's not passthrough, are you sure everything in qemu is enabled for it? | 20:55 |
freemangordon | shouldn't be that hard, but yeah. | 20:55 |
Wizzup | you can do this interactively from the qemu monitor | 20:55 |
Wizzup | (I'll have to dig a bit to find the commands) | 20:56 |
sicelo | Wizzup, yes, it's enabled | 20:56 |
Wizzup | but just start by checking if qemu can even find usb devices | 20:56 |
sicelo | It shows them in 'info usbhost' | 20:56 |
sicelo | But adding them with `device_add usb-host,bus=ehci.0,vendorid=0xVVID,productid=0xPPID` shows no life at all. Ni activity in guest's dmesg | 20:59 |
sicelo | Same goes for xhci bus | 21:00 |
Wizzup | do you have usb controllers that they can attach to in the guest? | 21:00 |
sicelo | Yes | 21:00 |
Wizzup | there must be a way to get some more info :) | 21:01 |
sicelo | For xhci, i can add controller with 'qemu-xhci' and it shows up in guest's dmesg. But can't attach devices | 21:01 |
Wizzup | sicelo: you can try to import them in virt manager and try it from there? | 21:01 |
sicelo | I guess that's worth trying, true | 21:02 |
freemangordon | gnome crashed :( | 21:03 |
sicelo | Hehe, I want to kick myself now. Works as root. | 21:18 |
Wizzup | :) | 21:20 |
Wizzup | sicelo: group usb /etc/group | 21:32 |
Wizzup | ? | 21:32 |
sicelo | Please rephrase :-) | 21:33 |
Wizzup | maybe check what group you need tobe in | 21:34 |
Wizzup | 'groups' will tell you the ones you are in | 21:34 |
sicelo | Otherwise, 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 there | 21:35 |
sicelo | Yes, thanks, that's what I'm looking for atm | 21:35 |
* Wizzup is happy x user :p | 21:37 | |
sicelo | 🙂 | 21:39 |
sicelo | I'm generally last to switch to 'the latest and greatest' hehe, but yes, i decided to switch to wayland, and i am quite happy | 21:41 |
uvos | sicelo: what display server? | 21:42 |
sicelo | wlroots (sway) | 21:42 |
uvos | ok | 21:43 |
uvos | i 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 |
lel | IMbackK opened a pull request: https://github.com/maemo-leste/maemo-statusmenu-volume/pull/2 (Implement external volume events) | 21:48 |
uvos | Wizzup: ^^^ | 21:48 |
sicelo | Works beautifully | 22:23 |
Wizzup | uvos: neat | 22:54 |
Wizzup | uvos: native_is_landscape, do we need that per device, or? | 22:57 |
uvos | Wizzup: yeah, but i flipped it over since all devices but the n900 are native portrait | 22:59 |
uvos | Wizzup: btw ionic boots fine | 22:59 |
uvos | *bionic | 22:59 |
Wizzup | uvos: thanks for testing bionic | 22:59 |
Wizzup | ok, but this will then not work on the n900 - the buttons will be inverted? | 22:59 |
uvos | yes so this is something i added, it changes what whay the buttons are when the display is off | 23:00 |
uvos | ie if the display is off and this is set vol up will be toward the right | 23:00 |
uvos | if not it will be up | 23:00 |
Wizzup | hm, I think that is how it works on the n900 too | 23:00 |
Wizzup | or maybe it depends on the last orientation, not sure | 23:01 |
uvos | no | 23:01 |
uvos | its explicity set so | 23:01 |
uvos | by the code | 23:01 |
uvos | if the display is off | 23:01 |
uvos | it is assumed the device is in landscape mode (in the old code) | 23:01 |
uvos | in the new clode its a config option, and i set it to assume portrait as of that commit | 23:01 |
uvos | and while the display is on it will still follow the orientation as set by hildon-desktop | 23:03 |
uvos | in any case | 23:03 |
Wizzup | ok | 23:04 |
Wizzup | still, sounds like we need something for the n900 a bit later? | 23:04 |
uvos | you need to move that file to leste-config yeah | 23:04 |
uvos | it dosent have ucm either | 23:04 |
Wizzup | humpelstilzchen[: I believe you made a PR for pine64 kernel - it's in the beowulf-devel repos now | 23:05 |
uvos | interstingly its totaly broken on fremantle | 23:05 |
uvos | chainging the volume while the display is off has no effect, i gues it was added in cssu? | 23:05 |
Wizzup | hmm, not sure | 23:06 |
Wizzup | it might not work if you're on a terminal | 23:06 |
uvos | dosent work in any case | 23:06 |
Wizzup | ok | 23:07 |
uvos | btw can the terminal hijaking the keys be turned off somewhere? | 23:07 |
Wizzup | do you mean when it's active? | 23:08 |
uvos | its really anoying as i use mpv and ncmpcpp alot | 23:08 |
uvos | yeah | 23:08 |
Wizzup | not sure, I'd have to check the src | 23:08 |
uvos | ok | 23:09 |
uvos | the volume applet dident make it into stable btw | 23:09 |
uvos | not sure why | 23:09 |
uvos | or it dosent work on bionic for some reason.... | 23:09 |
Wizzup | it's not in stable yet I think | 23:10 |
uvos | oh i thought everything was promoted | 23:10 |
uvos | also charge mode dosent work | 23:11 |
uvos | freemangordon: vt switch remains broken in latest omap ddx btw | 23:14 |
Wizzup | hm, that should I think | 23:14 |
Wizzup | (charge mode) | 23:15 |
Wizzup | uvos: the linux style I think is the one fmg picked though | 23:16 |
Wizzup | (status applet) | 23:16 |
uvos | ok well i find his stlye pretty ofsensive :P | 23:17 |
uvos | you dont have to merge that commit | 23:17 |
Wizzup | I am not sure if it is, but he did the RE | 23:17 |
Wizzup | is that the last commit? | 23:17 |
uvos | yes | 23:17 |
Wizzup | ok, let's do it without that one for now | 23:17 |
uvos | unless you want me to take maintainership | 23:17 |
uvos | then you do | 23:17 |
uvos | :P | 23:17 |
Wizzup | let's make it a separate pr at least | 23:18 |
uvos | ok | 23:18 |
uvos | will you eject the commit yourself? | 23:19 |
lel | MerlijnWajer closed a pull request: https://github.com/maemo-leste/maemo-statusmenu-volume/pull/2 (Implement external volume events) | 23:19 |
uvos | charge-mode is broken | 23:19 |
uvos | because of sdl | 23:19 |
uvos | somehow it was built without the kms backend | 23:20 |
Wizzup | hm | 23:20 |
Wizzup | maybe a package was missing when I built it in CI? | 23:20 |
uvos | huh no | 23:21 |
uvos | its not enabled | 23:21 |
uvos | parazyd said he did it | 23:21 |
uvos | aperantly he dident | 23:21 |
uvos | <uvos> so wee need --disable-video-directfb and --enable-video-kmsdrm --disable-kmsdrm-shared | 23:22 |
uvos | <uvos> i would also disable opengl | 23:22 |
uvos | <uvos> since that forces some games to use gles | 23:22 |
uvos | <uvos> --disable-video-opengl | 23:22 |
uvos | <parazyd> Sure | 23:22 |
uvos | <parazyd> I pushed libsdl change | 23:23 |
uvos | but its not here https://github.com/maemo-leste-upstream-forks/libsdl2/blob/maemo/beowulf-devel/debian/rules | 23:23 |
uvos | oh heh | 23:24 |
uvos | https://github.com/maemo-leste-upstream-forks/libsdl1.2/commit/575c4279972522107dd10dfd5a9ac445c40794e5 | 23:24 |
uvos | he applied it to libsdl1.2 instead of 2 | 23:24 |
uvos | Wizzup: ^^ could you fix this? | 23:24 |
Wizzup | ok, but do we want --disable-video-opengl, since that will break any glshim stuff? | 23:24 |
uvos | in general yes i would say, experiance shows that this appears the only working way to force several games to use gles | 23:25 |
Wizzup | right, but we might also have devices line pinephone that just suppor tGL | 23:26 |
uvos | i gues we might want to preload a different sdl in the shim case | 23:26 |
Wizzup | or devices with adreno gpus | 23:26 |
uvos | different libsdl2 for different device sections too then | 23:26 |
Wizzup | I guess this can't be done through env vars? | 23:26 |
uvos | theres a hint | 23:26 |
uvos | but i have yet to find an application that reads the hint :P | 23:27 |
uvos | its entirely up to the application what surface gets created | 23:27 |
uvos | disabeling opengl makes it fail | 23:27 |
uvos | this appears to be really the only way that works | 23:28 |
Wizzup | ok | 23:28 |
uvos | but sure you can avoid disabeling it for now if you like | 23:28 |
uvos | for pp etc | 23:28 |
uvos | and add libsdl2 to the mapphone/n900 section later | 23:28 |
uvos | with it disabled | 23:28 |
Wizzup | I wonder if I need to 'fix' libsdl1.2 then | 23:29 |
Wizzup | I might have built it | 23:29 |
uvos | idk | 23:29 |
uvos | for sure libsdl1.2 dosent support kms | 23:29 |
uvos | (dident exist yet) | 23:29 |
Wizzup | I meant the opengl part | 23:29 |
uvos | well the flags are wrong atm in any case | 23:29 |
Wizzup | gimme a moment, let me finish the volume thing first | 23:30 |
Wizzup | the new volume applet is in -devel | 23:31 |
uvos | i 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 |
Wizzup | ok | 23:33 |
uvos | we did promote mce to at least 1.9.11 right? | 23:33 |
Wizzup | yes, I moved devel mce over | 23:33 |
uvos | ok | 23:34 |
uvos | hmm | 23:36 |
uvos | one problem with promoting the volume buttons exists | 23:36 |
uvos | er volume applet | 23:36 |
uvos | on pp we use the volume buttons to rais the vkb | 23:36 |
uvos | that will be slightly broken | 23:37 |
uvos | ie volume will move up a step and the vkb will show up when you use the button | 23:37 |
uvos | not terribly great | 23:37 |
uvos | the right thing is to unbind the vkb | 23:38 |
uvos | but thats going to be very unpopular i imagine | 23:38 |
uvos | btw | 23:39 |
uvos | leste-config-n900/etc/directfbrc.leste and leste-config-mapphone/etc/directfbrc.leste can go now | 23:39 |
uvos | they are no longer needed | 23:39 |
Wizzup | uvos: well it's not yet in any meta | 23:40 |
uvos | Wizzup: ok | 23:40 |
Wizzup | and yes that is a problem, but that is something we'll have to fix in him or qt eventually | 23:40 |
uvos | h-d needs some gesture support | 23:40 |
uvos | youll always need a way to raise the vkb on demand | 23:40 |
uvos | stuff like xterm will never raise themselves | 23:41 |
uvos | im imagining some like a swipe from the bottom off-screen raises vkb or whatever | 23:41 |
Wizzup | right | 23:41 |
uvos | Wizzup: so for leste-config | 23:43 |
uvos | Wizzup: revert: | 23:44 |
uvos | beaed7c6979f75cbbe9a5aa63ed269c6141ac2cb | 23:44 |
uvos | 8dc0a4e3e3f56513d91cf87275336584aeea1286 | 23:44 |
uvos | 8c1933f8ba8c64c884751b3949e66cb874f870f5 | 23:44 |
uvos | in that order | 23:44 |
lel | IMbackK opened a pull request: https://github.com/maemo-leste/leste-config/pull/30 (remove directfb stuff) | 23:45 |
uvos | Wizzup: ^^ pull request to that effect | 23:45 |
lel | MerlijnWajer 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/!