[2022-02-01T00:37:44Z] maximum_yellow: afaik mdevd is doing *a lot* more than busybox mdev :X [2022-02-01T00:38:31Z] I've never gotten mdev hotplugging to really work right. I did some fuckery with smdev and now I have hotplugging on everything *except* my keyboard xD [2022-02-01T01:05:47Z] dilyn i see, thanks [2022-02-01T01:06:28Z] i was rather hoping to reduce my system to the fewest overlapping packages, but if mdevd > mdev then so be it, i do need monitor hotplugging and such [2022-02-01T01:07:06Z] AHA [2022-02-01T01:08:18Z] wait no [2022-02-01T01:08:44Z] anyway, dilyn, i pinged the lvm2 maintainer but i think it's safe to say we'll have no response about migrating to libuuid [2022-02-01T01:09:46Z] yeah [2022-02-01T01:10:04Z] I don't think I've seen riteo in a minute... [2022-02-01T01:12:54Z] i'm also pinging the unbound maintainer about version update, and i've spoken to the libnl one as well as neomutt's. I think people are going to start disliking me... [2022-02-01T01:13:05Z] oh right and i want to do pmount for libblkid [2022-02-01T01:15:57Z] XD [2022-02-01T01:16:05Z] people don't get to be mad when you're slacking haha [2022-02-01T01:16:10Z] :p [2022-02-01T01:33:47Z] now you've got me trying to make hotplugging actually work instead of being... I suppose what I've got is quite hacky [2022-02-01T01:34:14Z] uevents get broadcast by the kernel and the helper is just a script which runs `smdev -s` because I was too tired to be asked to figure it out lmfao [2022-02-01T01:37:59Z] dilyn wait does that do it? [2022-02-01T01:38:18Z] yes, but it's not at all efficient [2022-02-01T01:38:24Z] it takes about seven seconds on my machine [2022-02-01T01:38:28Z] yikes ok [2022-02-01T01:39:11Z] that's amazingly slow, i don't even want to know what that would be like on my machine [2022-02-01T01:39:11Z] yeah, big yikes [2022-02-01T01:39:32Z] probably roughly  the same tbh [2022-02-01T01:39:45Z] I don't think it's a CPU limited process [2022-02-01T01:40:13Z] my initial goal when installing kiss was to be able to play DOOM. Unfortunately i've managed so much else, but this just seems out of my grasp. SDL2 + wayland = :( [2022-02-01T01:40:26Z] sdl2 should work just fine on wayland! [2022-02-01T01:40:34Z] I use sdl as the backend for qemu with no issue [2022-02-01T01:40:39Z] maybe i'm doing something wrong [2022-02-01T01:41:12Z] but building sdl2{,_image,_net,_mixer} + crispydoom --> failed to create an EGL window surface [2022-02-01T01:41:33Z] interesting... [2022-02-01T02:01:59Z] yeah idk how device management works. tried some new things, nothing changed, back to square one on this :shrug: [2022-02-01T03:19:11Z] maximum_yellow: hotplugging works for me. i use busybox mdev atm [2022-02-01T04:46:16Z] Hi [2022-02-01T04:58:11Z] Someone built KiCAD for Wayland successfully: https://gitlab.com/kicad/code/kicad/-/issues/7207#note_764855519 [2022-02-01T05:06:11Z] .. on his musl based distro noname-linux, a kisslinux rival perhaps! [2022-02-01T05:17:01Z] most musl are essentially equivalent in my experience so I'd be surprised if it was similar to KISS :V [2022-02-01T05:22:47Z] wasn't similar* you mean? [2022-02-01T05:25:15Z] wasn't indeed [2022-02-01T05:27:02Z] dilyn: how's the jerb going [2022-02-01T05:29:23Z] the job is going super well!:D [2022-02-01T05:31:04Z] aside from the job tho life is going pretty good [2022-02-01T05:31:15Z] can't complain; 0/10 [2022-02-01T07:50:59Z] https://www.samba.org/samba/security/CVE-2021-44142.html [2022-02-01T07:52:51Z] C more like CVE [2022-02-01T15:46:32Z] illiliti interesting, thanks. It does work in the tty/fb but not with sway. Do you have any thoughts as to why this might be? [2022-02-01T15:46:58Z] (to be sure, using libudev-zero-helper and the recommended mdev.conf you kindly wrote) [2022-02-01T17:48:00Z] maximum_yellow: [2022-02-01T17:48:14Z] your mdev worked with hotplug? [2022-02-01T19:15:59Z] anyone get mdev to work with hotplug? [2022-02-01T20:45:09Z] Rohan: not exactly, mdev + stock mdev.conf (calling out to libudev-zero-helper) + libudevzero = hotpluggin only on the tty, not under sway/wayland [2022-02-01T20:45:29Z] as in, without launching sway, i can hotplug monitors and usb input devices [2022-02-01T20:45:38Z] but once sway is launched this no longer works [2022-02-01T20:45:42Z] and i can't understand that [2022-02-01T20:46:00Z] Yeah same for me [2022-02-01T20:46:03Z] this is true of official/wayland/sway as well as upstream sway [2022-02-01T20:46:10Z] i read about using -s in mdev [2022-02-01T20:46:15Z] But not worked [2022-02-01T20:46:50Z] running the mdev service with -v shows me that it is detecting these devices, but for some reason they're not being made visible to sway [2022-02-01T20:47:11Z] this could be some seatd thing and maybe this works if sway is run without seatd (as an suid binary) [2022-02-01T20:47:18Z] but i haven't tested [2022-02-01T20:51:27Z] Rohan are you using seatd? [2022-02-01T20:54:28Z] No [2022-02-01T20:54:35Z] I run sway-tiny [2022-02-01T20:54:43Z] No need to seatd [2022-02-01T21:01:43Z] ok, yeah, i just tested sway-no-seat and no difference. [2022-02-01T21:11:29Z] Yeah [2022-02-01T21:11:34Z] Is there other thing [2022-02-01T22:20:53Z] Rohan mdevd works (TM) [2022-02-01T22:22:04Z] Yeah i know [2022-02-01T22:22:19Z] I think u said that or someone [2022-02-01T22:22:24Z] The thing is [2022-02-01T22:22:28Z] Dependencies [2022-02-01T22:22:46Z] If mdev work with hotplug so no need mdevd for this [2022-02-01T22:25:21Z] * maximum_yellow nods [2022-02-01T23:12:37Z] maximum_yellow: something wrong with your config and/or /dev permissions [2022-02-01T23:14:58Z] illiliti thanks for the hints. The config is the stock one for KISS, https://github.com/kisslinux/repo/blob/master/core/busybox/files/mdev.conf [2022-02-01T23:16:18Z] as for the /dev permissions i'm a little confused because mdevd seems to work, and somehow only sway fails (not tty). But anyway, do you have any guesses for what to look at in /dev for say usb input or vga output? [2022-02-01T23:16:43Z] illiliti and i believe this config does the correct thing wrt libudev-zero-helper [2022-02-01T23:18:18Z] https://github.com/kisslinux/repo/blob/master/core/busybox/files/mdev.conf#L53 [2022-02-01T23:18:24Z] remove this line [2022-02-01T23:20:08Z] WOW [2022-02-01T23:20:45Z] if you have the time, i'd love to understand why that line was problematic so that i---or you---could open an issue and have this fixed [2022-02-01T23:22:01Z] and perhaps i could transfer that knowledge to fixing vga hotplugging too [2022-02-01T23:22:14Z] so it works for you now? [2022-02-01T23:22:56Z] usb input does, yep! [2022-02-01T23:23:04Z] nice [2022-02-01T23:23:26Z] but vga still doesn't [2022-02-01T23:24:38Z] illiliti would you be up for openining an issue? [2022-02-01T23:24:46Z] s/issue/pr [2022-02-01T23:25:41Z] i will [2022-02-01T23:27:01Z] great, thanks! [2022-02-01T23:28:47Z] run `busybox uevent`, then start sway and plug/unplug vga [2022-02-01T23:29:05Z] any idea about drm? When i plug in the monitor mdev reports ACTION:change SEQNUM:2905 SUBSYSTEM:drm DEVNAME:dri/card0 DEVPATH:/devices/pci[...]/[....]/drm/card0 [2022-02-01T23:30:16Z] which looks to be covered by that second-to-last rule, SUBSYSTEM=drm;.* [2022-02-01T23:33:06Z] > run `busybox uevent`, then start sway and plug/unplug vga [2022-02-01T23:33:40Z] post output of busybox uevent after you do that [2022-02-01T23:35:51Z] hmm [2022-02-01T23:36:38Z] https://github.com/kisslinux/repo/issues/377 [2022-02-01T23:40:00Z] does mdevd work with vga btw? [2022-02-01T23:40:07Z] illiliti http://ix.io/3Om4 [2022-02-01T23:40:10Z] yep, it does [2022-02-01T23:40:14Z] thanks for all of your efforts! [2022-02-01T23:40:48Z] oops, accidentally stripped = [2022-02-01T23:41:19Z] illiliti http://ix.io/3Om5 [2022-02-01T23:42:30Z] lol and dropped . too somehow [2022-02-01T23:42:32Z] illiliti http://ix.io/3Om6 [2022-02-01T23:42:34Z] final answer [2022-02-01T23:42:35Z] ;p [2022-02-01T23:43:18Z] this is full output? [2022-02-01T23:43:37Z] i believe so, yes