💾 Archived View for gemini.ctrl-c.club › ~phoebos › logs › freenode-kisslinux-2020-07-10.txt captured on 2024-06-16 at 13:48:56.
⬅️ Previous capture (2021-12-17)
-=-=-=-=-=-=-
2020-07-10T02:07:01 #kisslinux <xzcvczx> admicos: lemme guess you also split from the peoples front of judea ya splitter 2020-07-10T03:22:12 #kisslinux * xzcvczx throws rocks at merakor 2020-07-10T03:30:50 #kisslinux <himmalerin> what incited the rock throwing? 2020-07-10T03:32:43 #kisslinux <xzcvczx> boost 1.73 being a broken piece of &^%$#@ 2020-07-10T03:33:53 #kisslinux <himmalerin> I know a lot of things depend on it but I don't think I've ever heard /good/ things 2020-07-10T03:34:48 #kisslinux <xzcvczx> there are 0 good things that can be said about boost 2020-07-10T03:34:59 #kisslinux <xzcvczx> they have never heard the word stable 2020-07-10T03:35:14 #kisslinux <xzcvczx> they dont understand versioning 2020-07-10T03:35:45 #kisslinux <xzcvczx> i think the contributors are all windows vista and ME expata 2020-07-10T03:57:25 #kisslinux * xzcvczx tries to remember who he stole his kernel package stuff from 2020-07-10T04:28:39 #kisslinux * xzcvczx feels > < close to being Dr Frankenstein 2020-07-10T04:45:37 #kisslinux <kangkk> #css 2020-07-10T04:45:45 #kisslinux <kangkk> hello 2020-07-10T04:46:10 #kisslinux <kangkk> hello 2020-07-10T04:48:17 #kisslinux <xzcvczx> ain't no css here 2020-07-10T04:48:20 #kisslinux <xzcvczx> css is the devil 2020-07-10T05:47:02 #kisslinux <xzcvczx> dammit dylanaraps 2020-07-10T05:59:25 #kisslinux <merakor2> o/ 2020-07-10T06:00:11 #kisslinux <merakor2> xzcvczx: Why did you throw a rock at me :( 2020-07-10T06:01:34 #kisslinux <xzcvczx> because you packaged boost, and boost is a broken piece of shit 2020-07-10T06:02:23 #kisslinux <xzcvczx> https://patch-diff.githubusercontent.com/raw/boostorg/geometry/pull/722.patch 2020-07-10T06:03:28 #kisslinux <merakor2> Uhm 2020-07-10T06:03:38 #kisslinux <merakor2> I dislike boost as well 2020-07-10T06:04:25 #kisslinux <xzcvczx> well you packaged it :P 2020-07-10T06:04:35 #kisslinux <xzcvczx> least git blames you 2020-07-10T06:06:26 #kisslinux <merakor2> I can remove it if you want me to :D 2020-07-10T06:06:43 #kisslinux <xzcvczx> you could just add hte patch :P 2020-07-10T06:06:57 #kisslinux <xzcvczx> it only requires a 2 line mod 2020-07-10T06:07:05 #kisslinux <xzcvczx> for the path removing include 2020-07-10T06:07:53 #kisslinux <merakor2> Sure 2020-07-10T06:10:07 #kisslinux <xzcvczx> https://github.com/boostorg/geometry/issues/721 <-- for reference 2020-07-10T06:10:20 #kisslinux <merakor2> Yeah, I have checked them all :P 2020-07-10T06:10:40 #kisslinux <xzcvczx> :( you don't trust me 2020-07-10T06:10:43 #kisslinux <xzcvczx> i am SOOO offended 2020-07-10T06:10:58 #kisslinux <merakor2> I do trust you :D 2020-07-10T06:11:19 #kisslinux <merakor2> I just need to check before I make a change in the package 2020-07-10T06:11:54 #kisslinux <xzcvczx> but hey look i am > < close to packing freecad on kiss 2020-07-10T06:12:29 #kisslinux <merakor2> I can't use anything graphics related :P 2020-07-10T06:12:40 #kisslinux <merakor2> Including writing CSS 2020-07-10T06:12:46 #kisslinux <xzcvczx> are you blind? :P 2020-07-10T06:13:13 #kisslinux <merakor2> Some people say that I am 2020-07-10T06:13:17 #kisslinux <xzcvczx> lol 2020-07-10T06:13:20 #kisslinux <merakor2> But no :D 2020-07-10T06:13:30 #kisslinux <xzcvczx> and arguably dwm and status bar are graphics related :P 2020-07-10T06:13:43 #kisslinux <merakor2> I just slap dracula to most things 2020-07-10T06:13:54 #kisslinux <merakor2> and status bar is just plain text :D 2020-07-10T06:14:15 #kisslinux <xzcvczx> haha i just went to use my usb microscope and the required modules wouldn't load 2020-07-10T06:14:18 #kisslinux <xzcvczx> i was like wtf 2020-07-10T06:14:56 #kisslinux <merakor2> usb microscope?? 2020-07-10T06:15:08 #kisslinux <xzcvczx> yeah 2020-07-10T06:15:18 #kisslinux <xzcvczx> i need some reference images to trace in cad 2020-07-10T06:16:09 #kisslinux <merakor2> Oh 2020-07-10T06:16:34 #kisslinux <merakor2> I wasn't aware you could use a microscope with cad 2020-07-10T06:17:06 #kisslinux <xzcvczx> well you take photos with said microscope, then you import them in freecad/librecad and then you can trace them 2020-07-10T06:17:24 #kisslinux <xzcvczx> although my tracings is about as good as i was at colouring between the lines as a kid 2020-07-10T06:18:28 #kisslinux <merakor2> WHERE DO I EVEN APPLY THIS PATCH? 2020-07-10T06:20:04 #kisslinux <xzcvczx> https://termbin.com/lmzu 2020-07-10T06:20:13 #kisslinux <xzcvczx> https://termbin.com/b6n4l 2020-07-10T06:20:22 #kisslinux <xzcvczx> https://termbin.com/4pun 2020-07-10T06:20:33 #kisslinux <xzcvczx> build 2020-07-10T06:20:45 #kisslinux <xzcvczx> patches/722.patch 2020-07-10T06:20:47 #kisslinux <xzcvczx> sources 2020-07-10T06:21:44 #kisslinux <merakor2> patch -p1 wouldn't work though 2020-07-10T06:21:46 #kisslinux <merakor2> did it work? 2020-07-10T06:22:08 #kisslinux <xzcvczx> it did for me 2020-07-10T06:22:23 #kisslinux <xzcvczx> because its removing a and b 2020-07-10T06:22:44 #kisslinux <xzcvczx> lines 13/14 2020-07-10T06:31:11 #kisslinux <merakor2> Oh, it needs patch -p2 2020-07-10T06:32:07 #kisslinux <xzcvczx> not with the one i sent you 2020-07-10T06:32:12 #kisslinux <xzcvczx> i removed the include 2020-07-10T06:32:21 #kisslinux <merakor2> Yeah 2020-07-10T06:32:40 #kisslinux <merakor2> That's fine 2020-07-10T06:52:23 #kisslinux <merakor2> I have applied the patch and submitted it to community 2020-07-10T06:59:38 #kisslinux * xzcvczx gives merakor2 a cookie 2020-07-10T06:59:48 #kisslinux <merakor2> Thanks 2020-07-10T07:00:04 #kisslinux <xzcvczx> s/gives/sets a trap for merakor with a cookie underneath a boulder/ 2020-07-10T07:00:58 #kisslinux <merakor2> At least I am merakor2 and not merakor 2020-07-10T07:01:18 #kisslinux <xzcvczx> damn dual-personality people 2020-07-10T07:04:03 #kisslinux <merakor2> I am working on an LFS-like book that is meant to be much tinier and simpler than LFS 2020-07-10T07:04:35 #kisslinux <xzcvczx> every second line is "if you didn't understand the previous line you are too dumb to use this book, use the real one"? 2020-07-10T07:05:27 #kisslinux <merakor2> No, that's every line, duh... 2020-07-10T07:05:31 #kisslinux <xzcvczx> lol 2020-07-10T07:06:52 #kisslinux <merakor2> Only the first line is "okay, now build the system" 2020-07-10T07:07:08 #kisslinux <xzcvczx> well that would allow it to be thinner than lfs 2020-07-10T07:07:19 #kisslinux <xzcvczx> not sure i would consider it an alternative to lfs though :P 2020-07-10T07:07:20 #kisslinux <merakor2> Absolutely 2020-07-10T07:09:17 #kisslinux <merakor2> Why not? Isn't telling people to build a system without any instructions considered a helpful source of information? 2020-07-10T07:11:24 #kisslinux <merakor2> Jokes aside, the reason I am doing this is because of the lack of information for building a tiny system from scratch. 2020-07-10T07:11:41 #kisslinux <merakor2> LFS is an invaluable source, but it isn't tiny and simple enough for me. 2020-07-10T07:15:47 #kisslinux <xzcvczx> where are you publishing it? 2020-07-10T07:16:19 #kisslinux <merakor2> I will put it on github 2020-07-10T07:16:31 #kisslinux <merakor2> I am writing it with org-mode 2020-07-10T07:16:58 #kisslinux <xzcvczx> well surely it should be toolchain->kernel->busybox->done :P 2020-07-10T07:17:24 #kisslinux <merakor2> Yeah, that's the second sentence of the book, basically. 2020-07-10T07:18:12 #kisslinux <merakor2> Okay, now build the system. toolchain->kernel->busybox->done. If you didn't understand the previous line you are too dumb to use this book, use the real one. 2020-07-10T07:18:22 #kisslinux <xzcvczx> lol 2020-07-10T07:18:53 #kisslinux <xzcvczx> merakor2: i will try it the day you release it and i bet you i will be setting up a trebuchet just to launch cows at you 2020-07-10T07:19:00 #kisslinux <xzcvczx> as i tried that and it didn't work :S 2020-07-10T07:19:03 #kisslinux <xzcvczx> stupid old kernels 2020-07-10T07:19:09 #kisslinux <xzcvczx> and stupid old toolchains 2020-07-10T07:19:11 #kisslinux <xzcvczx> and stupid old abis 2020-07-10T07:20:52 #kisslinux <merakor2> I mean, I haven't tried building a linux system on a trebuchet, but you can definitely try 2020-07-10T07:21:18 #kisslinux <merakor2> That's an unsupported architecture though 2020-07-10T07:45:27 #kisslinux <xzcvczx> you heathen 2020-07-10T07:45:41 #kisslinux <xzcvczx> what sort of person doesn't support trebuchets 2020-07-10T07:45:47 #kisslinux <xzcvczx> you should be ashamed of yourself 2020-07-10T07:47:34 #kisslinux * xzcvczx really hates people who use a traditional make system and then dont do it properly 2020-07-10T07:59:54 #kisslinux <null_> encrypting this distro is driving me insane 2020-07-10T08:01:52 #kisslinux <null_> anyone know how to change uname for the kiss-chroot so programs can properly look to the kernel folder and version? It keeps pointing to my hostname kernel which is really unhelpful because if you encrypt and it doesn't boot modprobe and depmod and such don't have access to the kiss uname -r kernel name 2020-07-10T08:02:44 #kisslinux <null_> i can't get into the system and fix it so I'd have to do it from the chroot environment :( 2020-07-10T08:05:26 #kisslinux <merakor> I think modprobe and depmod has an option for forcing the kernel version, but I am not exactly sure 2020-07-10T08:09:46 #kisslinux <merakor2> Yeah, modprobe has '-S' flag for setting the kernel version 2020-07-10T08:10:16 #kisslinux <merakor2> depmod also takes version as an argument 2020-07-10T08:12:04 #kisslinux <null_> oh really? 2020-07-10T08:12:29 #kisslinux <null_> sweet 2020-07-10T08:13:49 #kisslinux <null_> wow 2020-07-10T08:13:53 #kisslinux <null_> how did I miss that in the man page 2020-07-10T08:13:57 #kisslinux <null_> thanks merakor2 2020-07-10T08:18:02 #kisslinux <merakor2> You're welcome :) 2020-07-10T08:18:14 #kisslinux <merakor2> It happens 2020-07-10T08:27:29 #kisslinux <illiliti> null_: still here? 2020-07-10T08:27:31 #kisslinux <null_> illiliti i'm about to do those fixes you mentioned on the github issue i'll let you know how it goes 2020-07-10T08:28:45 #kisslinux <null_> modprobe was freaking out because uname -r points to my debian host instead of the kiss kernel 2020-07-10T08:29:16 #kisslinux <null_> anyways i didn't realize that you could -S and point it to the correct kernel. 2020-07-10T08:30:33 #kisslinux <illiliti> always see --help before doing something :) 2020-07-10T08:31:05 #kisslinux <null_> definitely. i swear i scoured the man page for it but totally missed the -S flag. :( 2020-07-10T08:39:07 #kisslinux <illiliti> can you check if CONFIG_DM_UEVENT enabled in kernel ? cat /proc/config.gz | gzip -d | grep CONFIG_DM_UEVENT 2020-07-10T08:39:17 #kisslinux <null_> yeah 2020-07-10T08:43:07 #kisslinux <null_> i dont have a config.gz in proc 2020-07-10T08:44:18 #kisslinux <illiliti> probably your kernel is misconfigured 2020-07-10T08:44:55 #kisslinux <null_> thats the config file that make menuconfig creates right? 2020-07-10T08:45:12 #kisslinux <null_> it's saying CONFIG_DM_UEVEN is not set when I grep that file 2020-07-10T08:45:28 #kisslinux <illiliti> hmm, enable it 2020-07-10T08:47:38 #kisslinux <null_> okay 2020-07-10T08:48:10 #kisslinux <null_> it's enabled, i'll recompile 2020-07-10T08:52:06 #kisslinux <null_> recompiled, trying to figure out how modprobe works currently. 2020-07-10T08:53:35 #kisslinux <null_> I'm doing modprobe -S 5.7.7 depmod 2020-07-10T08:55:51 #kisslinux <null_> but that's not working, throwing fatal: module depmod not found in directory /lib/modules/5.7.7 2020-07-10T08:59:45 #kisslinux <illiliti> you need to run `depmod 5.7.7` 2020-07-10T09:00:17 #kisslinux <null_> cool 2020-07-10T09:00:22 #kisslinux <null_> that returned with no errors 2020-07-10T09:01:00 #kisslinux <null_> sorry, i haven't messed with any of these tools before. i'm a little in over my head at the moment. 2020-07-10T09:01:05 #kisslinux <null_> haha 2020-07-10T09:02:47 #kisslinux <illiliti> all good. i assume you already installed kmod, right ? 2020-07-10T09:03:22 #kisslinux <null_> yeah 2020-07-10T09:03:33 #kisslinux <null_> and i have them both symlinked to the binaries 2020-07-10T09:03:51 #kisslinux <null_> i should say, i have modprobe and depmod symlinked to kmod 2020-07-10T09:04:22 #kisslinux <null_> i'm gonna try and reboot 2020-07-10T09:04:27 #kisslinux <illiliti> wait 2020-07-10T09:04:31 #kisslinux <null_> see if that fixed it 2020-07-10T09:04:44 #kisslinux <null_> i'll still be here I have two computers open right now 2020-07-10T09:05:01 #kisslinux <illiliti> /lib/modules/5.7.7/modules.softdep exist ? 2020-07-10T09:05:21 #kisslinux <null_> yes 2020-07-10T09:06:08 #kisslinux <null_> It is empty at the moment 2020-07-10T09:06:43 #kisslinux <illiliti> did you run `make INSTALL_MOD_STRIP=1 modules_install` after `make` ? 2020-07-10T09:07:00 #kisslinux <null_> nope, i'll do that now 2020-07-10T09:07:00 #kisslinux <illiliti> s/after/before/ 2020-07-10T09:07:56 #kisslinux <null_> okay, ran that last line now reads DEPMOD 5.7.7 2020-07-10T09:10:19 #kisslinux <illiliti> /lib/modules/5.7.7/modules.softdep is still empty ? 2020-07-10T09:11:40 #kisslinux <null_> yeah 2020-07-10T09:13:51 #kisslinux <illiliti> `modprobe -S 5.7.7 -D ext4` shows anything ? 2020-07-10T09:14:11 #kisslinux <null_> builtin ext4 2020-07-10T09:16:57 #kisslinux <illiliti> mhm... try to boot 2020-07-10T09:17:42 #kisslinux <null_> before i do that. do i need to remove the ext4 and ext4.init.early from /etc/tinyramfs/hooks/ext4? 2020-07-10T09:18:42 #kisslinux <null_> I tried that fix as well, but I haven't removed them since now getting kmod to work properly 2020-07-10T09:19:36 #kisslinux <illiliti> yeah. you need to remove them 2020-07-10T09:20:06 #kisslinux <null_> okay cool 2020-07-10T09:24:54 #kisslinux <null_> i'm @ work rn and gotta do something but I'll reboot here shortly and let you know if it worked 2020-07-10T09:30:34 #kisslinux <illiliti> ok 2020-07-10T09:39:30 #kisslinux <null_> okay gave it another shot. looks like it's still failing the handoff to tinyramfs and erroring out with !! failed to lookup partition 2020-07-10T09:45:15 #kisslinux <null_> where should i put break=root kernel parameter when I hit E @ grub menu 2020-07-10T09:48:31 #kisslinux <illiliti> vmlinuz-5.7.7 ... break=root 2020-07-10T09:59:41 #kisslinux <xzcvczx> o/ guvcview works 2020-07-10T09:59:48 #kisslinux <xzcvczx> now just for freecad final steps 2020-07-10T10:19:04 #kisslinux <xzcvczx> hmmm whats the dev manager by default in kiss? 2020-07-10T10:23:41 #kisslinux <illiliti> eudev 2020-07-10T10:27:45 #kisslinux <xzcvczx> er really? i see no eudev running 2020-07-10T10:28:08 #kisslinux <xzcvczx> in fact i see no *dev* running at all 2020-07-10T10:29:05 #kisslinux <illiliti> daemon needed only for hotplugging 2020-07-10T10:29:26 #kisslinux <xzcvczx> well i hotplug my usb and shit appears 2020-07-10T10:35:06 #kisslinux <illiliti> btw, i'm working on libudev replacement. it's allows using udev-depended apps without actual udev. i.e you can use mdev(or not use device manager at all) without needing extra patches, static configuration, etc... 2020-07-10T10:36:43 #kisslinux <xzcvczx> nice 2020-07-10T10:37:21 #kisslinux <illiliti> https://github.com/illiliti/libudev-zero 2020-07-10T10:37:27 #kisslinux <illiliti> code is pure garbage 2020-07-10T10:37:43 #kisslinux <illiliti> don't judge me strictly :) 2020-07-10T10:38:17 #kisslinux <xzcvczx> if i was going to judge you "strictly" it would be on the still "experimental" tinyramfs :P 2020-07-10T10:40:21 #kisslinux <xzcvczx> you really love braces 2020-07-10T10:41:35 #kisslinux <illiliti> yes i can't live without them 2020-07-10T10:42:47 #kisslinux <xzcvczx> well don't give them all away at once then 2020-07-10T10:44:13 #kisslinux <illiliti> Xorg still doesn't work with it. It just can't find libinput driver... 2020-07-10T10:44:29 #kisslinux <illiliti> anyone can test it on wayland ? 2020-07-10T10:46:27 #kisslinux <xzcvczx> sorry i have yet to lose enough of my faculties to run wayland 2020-07-10T10:47:18 #kisslinux <illiliti> ok. i'll do some testing in qemu 2020-07-10T10:47:30 #kisslinux <dylanaraps> OK. https://git.k1ss.org is ready for use as a mirror. 2020-07-10T10:47:37 #kisslinux <dylanaraps> Feel free to do pulls from there if you like. 2020-07-10T10:48:02 #kisslinux <xzcvczx> dylanaraps: lol do you know how long your package manager had me confused AF for? 2020-07-10T10:49:01 #kisslinux <dylanaraps> The shell or C one? 2020-07-10T10:49:03 #kisslinux <xzcvczx> i built kernel.... modules all signed.... kiss built kernel.... modules not signed.... wtf..... i build kernel using the build script commands..... i have signed modules..... rinse repeat WTF 2020-07-10T10:49:27 #kisslinux <dylanaraps> I'm very confused. 2020-07-10T10:49:59 #kisslinux <merakor> dylanaraps: will this change the behaviour for pull requests 2020-07-10T10:50:00 #kisslinux <xzcvczx> dylanaraps: stripping kernel modules removes appended signatures 2020-07-10T10:50:44 #kisslinux <dylanaraps> merakor: No. This is just a mirror. 2020-07-10T10:50:59 #kisslinux <dylanaraps> GitHub is still where development will occur. 2020-07-10T10:51:04 #kisslinux <merakor> Oh, I thought it was the opposite 2020-07-10T10:51:32 #kisslinux <merakor> Then my script wasn't much a help for you :( 2020-07-10T10:51:37 #kisslinux <dylanaraps> This is merely to have a secondary remote in the case that GitHub goes down. 2020-07-10T10:51:40 #kisslinux <admicos> would be neat to have a mailing list for git send-email, but I don't think anyone would use it since it's still in GH 2020-07-10T10:51:42 #kisslinux <xzcvczx> yeah please don't go to gitlab.... they do not understand how patches work 2020-07-10T10:52:05 #kisslinux <merakor> I would very much prefer a mailing list as well 2020-07-10T10:52:16 #kisslinux <dylanaraps> No idea what the future will hold. ;) 2020-07-10T10:52:20 #kisslinux <xzcvczx> i would very much NOT prefer a mailing list 2020-07-10T10:52:26 #kisslinux <merakor> I send patches to Dylan by mail anyway :D 2020-07-10T10:52:42 #kisslinux <xzcvczx> i just throw rocks at his house til he comes on here 2020-07-10T10:52:49 #kisslinux <merakor> Community repository is the biggest issue for that 2020-07-10T10:53:14 #kisslinux <dylanaraps> I just don't want our eggs all in one basket. 2020-07-10T10:53:35 #kisslinux <xzcvczx> dylanaraps: any interest in libexecinfo and/or argp-standalone in community? 2020-07-10T10:53:43 #kisslinux <dylanaraps> No 2020-07-10T10:53:49 #kisslinux <xzcvczx> ok 2020-07-10T10:53:56 #kisslinux <dylanaraps> I don't like ripping out portions of other C libraries. 2020-07-10T10:54:22 #kisslinux <xzcvczx> well at least someone else is maintaining them 2020-07-10T10:54:34 #kisslinux <xzcvczx> its just a pity some shit still needs it 2020-07-10T10:54:51 #kisslinux <xzcvczx> and is better htna just disabling all backtrace ability in tools for eg 2020-07-10T10:55:24 #kisslinux <dylanaraps> Disabling backtraces is what I'd prefer here. 2020-07-10T10:55:40 #kisslinux <xzcvczx> fair enough 2020-07-10T10:56:15 #kisslinux * xzcvczx still wishes bluez would work without dbus 2020-07-10T10:56:19 #kisslinux <dylanaraps> argp-standalone is also replaceable. 2020-07-10T10:57:01 #kisslinux <dylanaraps> There /may/ other bluetooth stacks for Linux. 2020-07-10T10:57:06 #kisslinux <dylanaraps> It's worth looking into again. 2020-07-10T10:57:14 #kisslinux <xzcvczx> oh? 2020-07-10T10:58:56 #kisslinux <dylanaraps> For example:https://github.com/PureSwift/BluetoothLinux 2020-07-10T10:59:05 #kisslinux <dylanaraps> This is written in Swift though. O.o 2020-07-10T11:02:13 #kisslinux <xzcvczx> hmmm interesting 2020-07-10T11:02:20 #kisslinux <xzcvczx> just a pity its written in swift 2020-07-10T11:07:02 #kisslinux <lolisamurai[m]> there's this in c++ but it only implements the subset of stuff necessary to host a gatt server https://github.com/TorstenRobitzki/bluetoe 2020-07-10T11:07:06 #kisslinux <lolisamurai[m]> bluez + dbus is a nightmare, had to write a gatt server once and im never doing that again 2020-07-10T11:07:18 #kisslinux <lolisamurai[m]> why does dbus even need xml 2020-07-10T11:08:54 #kisslinux <illiliti> xzcvczx: why do you need signed modules ? it's huge mess ... 2020-07-10T11:09:57 #kisslinux <dylanaraps> Android also has its own bluetooth stack called fluoride: https://android.googlesource.com/platform/system/bt/ 2020-07-10T11:10:30 #kisslinux <dylanaraps> This is a great read too: http://danielhnyk.cz/bluetooth-linux-indecipherable-mystery/ 2020-07-10T11:11:34 #kisslinux <dylanaraps> Also this: https://web.archive.org/web/20140704063150/http://jamesbond3142.no-ip.org/blog/?viewDetailed=00031 2020-07-10T11:15:43 #kisslinux <dylanaraps> This used to exist as well: https://sourceforge.net/projects/openbt/ 2020-07-10T11:15:47 #kisslinux <dylanaraps> > 2020-07-10T11:15:48 #kisslinux <dylanaraps> No further development is expected for this project as BlueZ has taken the official role as bluetooth stack for Linux. 2020-07-10T11:15:54 #kisslinux <dylanaraps> :( 2020-07-10T11:18:35 #kisslinux <illiliti> does BSD's have bluetooth support ? 2020-07-10T11:19:09 #kisslinux <dylanaraps> This is also very telling: https://www.spinics.net/lists/linux-bluetooth/msg65587.html 2020-07-10T11:19:41 #kisslinux <dylanaraps> > If you run Linux and don't use BlueZ, you are just making your life harder and more complicated for no reason. 2020-07-10T11:21:13 #kisslinux <dylanaraps> illiliti: OpenBSD dropped bluetooth support in 2014, NetBSD has its own and FreeBSD/DragonflyBSD use "Netgraph". 2020-07-10T11:21:22 #kisslinux <dylanaraps> Not sure about other BSDs. 2020-07-10T11:21:40 #kisslinux <dylanaraps> There's more info here: https://en.wikipedia.org/wiki/Bluetooth_stack 2020-07-10T11:23:39 #kisslinux <xzcvczx> illiliti: in what way is it a huge mess? 2020-07-10T11:24:12 #kisslinux <xzcvczx> (signed modules) 2020-07-10T11:30:08 #kisslinux <xzcvczx> >_< qt5-webengine...... 5527/19227 built 2020-07-10T11:30:35 #kisslinux <dylanaraps> oof 2020-07-10T11:32:40 #kisslinux <claudia02> xzcvczx: as we share the same hardware, prepare for somethin around 5h ;) 2020-07-10T11:34:34 #kisslinux <illiliti> xzcvczx: because you need to rebuild all modules if cert changed. i prefer to just block out-of-tree modules 2020-07-10T11:38:56 #kisslinux <xzcvczx> illiliti: i prefer stuff like camera module and such to not be loaded when not using 2020-07-10T11:39:04 #kisslinux <xzcvczx> and diagnostic stuff like usb sniffing 2020-07-10T11:39:25 #kisslinux <xzcvczx> hence i build with signed but then chuck away certificate 2020-07-10T11:39:44 #kisslinux <xzcvczx> therefore need a full rebuild to get new modules 2020-07-10T11:40:10 #kisslinux <xzcvczx> i am currently waiting on a solokey in quarantine then i might try doing something wit hthat 2020-07-10T11:40:22 #kisslinux <xzcvczx> thanks claudia02 2020-07-10T11:40:55 #kisslinux <xzcvczx> btw claudia02 the power button light is only green eh? no 2nd colour? 2020-07-10T11:43:22 #kisslinux <claudia02> xzcvczx: Yes i think so. Only the backside battery symbol changes color 2020-07-10T11:45:27 #kisslinux <konimex> wait, dylan accepts patches by git send-email ? 2020-07-10T11:52:00 #kisslinux <dylanaraps> konimex: I guess so? merakor and if iirc a few others have sent me patches via email. 2020-07-10T12:25:49 #kisslinux <null_> illiliti: msged you 2020-07-10T12:28:58 #kisslinux <illiliti> 1 sec 2020-07-10T12:30:06 #kisslinux <Evil_Bob> dylanaraps: btw i released sfeed 0.9.18 the other day, for https://github.com/kisslinux/community/tree/master/community/sfeed (also a separate curses UI front-end: https://codemadness.org/sfeed_curses-ui.html) 2020-07-10T12:34:13 #kisslinux <illiliti> null_: alright. you stuck at boot due to `failed to lookup partition`. try to boot with `break=root` (google - grub kernel parameter) and manually mount root partition (see blkid output). also, can you send me your kernel config ? to termbin.com or any other *bin 2020-07-10T12:35:00 #kisslinux <null_> oh i see you didn't get my PM 2020-07-10T12:35:28 #kisslinux <null_> yeah I did break=root and got to the shell did the commands and it couldn't find the directory 2020-07-10T12:35:52 #kisslinux <null_> I'm not sure if it was talking about the /dev/disk or /mnt/root 2020-07-10T12:36:18 #kisslinux <null_> but i could only point it thru blkid to the LUKS container 2020-07-10T12:36:44 #kisslinux <null_> i should say, I could only use busybox mount on the luks container because it was the only root partition there 2020-07-10T12:37:24 #kisslinux <null_> I'll send you my kernel config 2020-07-10T12:41:07 #kisslinux <dylanaraps> Evil_Bob: Updated the package, thanks for letting me know. 2020-07-10T12:45:41 #kisslinux <null_> illiliti: https://termbin.com/mn6o 2020-07-10T12:49:30 #kisslinux <dylanaraps> Oh no: https://lore.kernel.org/lkml/CAKwvOdmuYc8rW_H4aQG4DsJzho=F+djd68fp7mzmBp3-wY--Uw⊙mgc/T/#u 2020-07-10T12:50:49 #kisslinux <illiliti> null_: hmm, looks good. can you run `ls /dev/dm*` in initramfs? 2020-07-10T12:51:06 #kisslinux <illiliti> output should be /dev/dm-0 or similar 2020-07-10T12:54:53 #kisslinux <null_> in initramfs? I'm getting dm-0 thru dm-4 when i do that 2020-07-10T12:55:19 #kisslinux <null_> unless i'm supposed to do that somewhere specific 2020-07-10T12:56:45 #kisslinux <illiliti> null_: great, what shows blkid ? 2020-07-10T12:59:46 #kisslinux <illiliti> UUID should point to one of /dev/dm* 2020-07-10T13:00:05 #kisslinux <Evil_Bob> dylanaraps: thanks :) 2020-07-10T13:09:19 #kisslinux <illiliti> null_: e.g : /dev/dm-0: UUID="de28ef56-90ba-4a91-a358-f5f687ada697" ... << this is your root partition. do mount -t ext4 /dev/dm-0 /mnt/root 2020-07-10T13:17:55 #kisslinux <null_> illiliti: i dont have a dm-0 partition showing 2020-07-10T13:18:22 #kisslinux <null_> in blkid 2020-07-10T13:18:57 #kisslinux <null_> dev-dm3 is my root 2020-07-10T13:18:58 #kisslinux <null_> one sec 2020-07-10T13:19:33 #kisslinux <illiliti> yay, mount it to /mnt/root 2020-07-10T13:19:48 #kisslinux <illiliti> see above 2020-07-10T13:19:57 #kisslinux <null_> am i supposed to be in busybox shell? 2020-07-10T13:21:09 #kisslinux <illiliti> if you didn't change your /bin/sh, then yes 2020-07-10T13:21:28 #kisslinux <null_> okay 2020-07-10T13:21:36 #kisslinux <null_> well mounting that doesn't work if I'm chrooted in 2020-07-10T13:21:45 #kisslinux <null_> do i need to break=root, I guess is what I'm asking 2020-07-10T13:22:21 #kisslinux <illiliti> yes, you need to boot into tinyramfs and mount your root partition manually to /mnt/root 2020-07-10T13:25:28 #kisslinux <null_> okay :) output of busybox ls /dev/dm* doesn't show anything 2020-07-10T13:25:55 #kisslinux <null_> blkid just shows the closed crypto_luks container UUID's 2020-07-10T13:27:09 #kisslinux <null_> I feel like at this point it has less to do with tinyramfs and more to do with maybe how my system is configured at the moment. 2020-07-10T13:27:35 #kisslinux <konimex> dylan: cool, I don't have to use github web interface to send PRs now :p 2020-07-10T13:29:48 #kisslinux <konimex> re: kernel in-tree rust, I don't really mind as long as the lang itself is stable and it's for modules 2020-07-10T13:30:22 #kisslinux <illiliti> null_: do `cryptsetup open -d /root/rootkeyfile.key /dev/dm-<dm number of closed luks> root` 2020-07-10T13:31:28 #kisslinux <null_> I'm unable to use cryptsetup in the busybox shell terminal after break=root 2020-07-10T13:31:33 #kisslinux <konimex> s/modules/drivers 2020-07-10T13:31:58 #kisslinux <null_> i'll go back to chroot and do that, uno momento :D 2020-07-10T13:32:08 #kisslinux <illiliti> no no 2020-07-10T13:32:16 #kisslinux <null_> :P ok 2020-07-10T13:32:24 #kisslinux <illiliti> do this in initramfs 2020-07-10T13:33:40 #kisslinux <illiliti> as far as i understand cryptsetup fails to unlock your luks container 2020-07-10T13:34:23 #kisslinux <illiliti> that's why tinyramfs failed to lookup root fs 2020-07-10T13:34:56 #kisslinux <null_> hmm 2020-07-10T13:35:20 #kisslinux <null_> yeah I can't run cryptsetup in the shell unfortunately 2020-07-10T13:35:32 #kisslinux <illiliti> why? 2020-07-10T13:35:42 #kisslinux <null_> because it's not found 2020-07-10T13:36:18 #kisslinux <illiliti> wow 2020-07-10T13:36:34 #kisslinux <null_> yeah i'm stuck with busybox init i think when i get to this point 2020-07-10T13:36:40 #kisslinux <null_> hahah 2020-07-10T13:37:04 #kisslinux <null_> it's okay 2020-07-10T13:37:13 #kisslinux <null_> i appreciate the help dude 2020-07-10T13:37:29 #kisslinux <null_> we can call it for now. 2020-07-10T13:38:50 #kisslinux <null_> looks like after grub unlocks the boot partition with a password it just kinda, shits out. 2020-07-10T13:39:39 #kisslinux <null_> it loads the kernel and then loads initramfs and then can't find the root partition at all 2020-07-10T13:40:04 #kisslinux <null_> so yeah maybe cryptsetup isn't unlocking the root partition or something 2020-07-10T13:40:52 #kisslinux <illiliti> it's weird 2020-07-10T13:41:33 #kisslinux <null_> I'll send you links to all my important files (the UUID's have changed since I had to tarball this install and didn't want to wait for DD cloning) 2020-07-10T13:42:10 #kisslinux <null_> and post em' on the github issue thing, and if you get around to look at them 2020-07-10T13:42:21 #kisslinux <null_> i appreciate the help and time you've spent with me on this 2020-07-10T13:43:24 #kisslinux <illiliti> i'm confused why cryptsetup doesn't exist 2020-07-10T13:43:30 #kisslinux <illiliti> > because it's not found 2020-07-10T13:45:32 #kisslinux <null_> i don't think i ever get to the initramfs 2020-07-10T13:46:01 #kisslinux <null_> maybe i do. I'm not sure what that looks like but I can't see if cryptsetup is there or not afaik 2020-07-10T13:46:18 #kisslinux <null_> it's in my /usr/bin 2020-07-10T13:47:35 #kisslinux <illiliti> in host system or chroot ? 2020-07-10T13:48:15 #kisslinux <null_> in chroot 2020-07-10T13:58:17 #kisslinux <illiliti> that's really strange. how did you generate initramfs(tinyramfs) if cryptsetup doesn't exist.. 2020-07-10T13:58:57 #kisslinux <null_> tinyramfs -k 5.7.7 -f -o /boot/initramfs-5.7.7.img 2020-07-10T13:59:16 #kisslinux <null_> grub-mkconfig finds the initramfs.img fine as well 2020-07-10T13:59:22 #kisslinux <illiliti> you generate initarmfs in host or chroot ? 2020-07-10T13:59:27 #kisslinux <null_> in chroot 2020-07-10T13:59:46 #kisslinux <null_> everything is done in chroot except for lsblk -f calls to compare my filesystem UUIDS 2020-07-10T14:00:45 #kisslinux <illiliti> while generating initramfs is there a message "Configuring luks" ? 2020-07-10T14:00:58 #kisslinux <null_> hmm lemme check 2020-07-10T14:02:08 #kisslinux <null_> >>preparing environment >> preparing initramfs >>configuring device manager >>copying all modules >>generating initramfs image >>done! check out /boot/initramfs-5.7.7.img 2020-07-10T14:02:18 #kisslinux <null_> so no, i suppose not :P 2020-07-10T14:04:51 #kisslinux <illiliti> what the hell haha. is /usr/share/tinyramfs/hooks/luks/luks exist ? run tinyramfs with -d option and send me output. also send me your current tinyramfs config 2020-07-10T14:11:52 #kisslinux <null_> yes the luks hook exists 2020-07-10T14:13:54 #kisslinux <null_> what command would you use to pipe that output to termbin? 2020-07-10T14:14:21 #kisslinux <null_> I can't seem to get tinyramfs -d | nc termbin.com 9999 to output anything but the first four lines 2020-07-10T14:14:30 #kisslinux <illiliti> tinyramfs <options> 2>&1 | nc .... 2020-07-10T14:14:36 #kisslinux <null_> cool 2020-07-10T14:14:37 #kisslinux <null_> ty 2020-07-10T14:15:35 #kisslinux <null_> https://termbin.com/9rmr 2020-07-10T14:17:07 #kisslinux <illiliti> you forgot about '-k 5.7.7' 2020-07-10T14:17:53 #kisslinux <null_> https://termbin.com/j866 2020-07-10T14:18:02 #kisslinux <null_> yup, my bad 2020-07-10T14:19:56 #kisslinux <illiliti> > also send me your current tinyramfs config 2020-07-10T14:21:16 #kisslinux <null_> https://termbin.com/e347 2020-07-10T14:21:20 #kisslinux <null_> also heres my lsblk -f 2020-07-10T14:21:38 #kisslinux <null_> https://termbin.com/33he 2020-07-10T14:25:01 #kisslinux <illiliti> hooks="luks ext4" << remove ext4 2020-07-10T14:25:52 #kisslinux <null_> ok 2020-07-10T14:28:48 #kisslinux <illiliti> regenerate and send me output 2020-07-10T14:29:32 #kisslinux <null_> https://termbin.com/vl2t 2020-07-10T14:30:34 #kisslinux <null_> https://termbin.com/4fy2k 2020-07-10T14:30:43 #kisslinux <null_> for just the output of the command 2020-07-10T14:34:56 #kisslinux <illiliti> hooks just ignored for unknown reason 2020-07-10T14:35:31 #kisslinux <null_> is that why cryptsetup isn't showing up in the initramfs? 2020-07-10T14:36:11 #kisslinux <illiliti> yes 2020-07-10T14:36:27 #kisslinux <null_> wait 2020-07-10T14:37:08 #kisslinux <null_> where are the luks hooks supposed to be? 2020-07-10T14:37:19 #kisslinux <null_> in /etc/tinyramfs/hooks? 2020-07-10T14:37:30 #kisslinux <illiliti> /usr/share/tinyramfs/hooks/luks 2020-07-10T14:37:35 #kisslinux <null_> oh okay 2020-07-10T14:38:18 #kisslinux <illiliti> send me output of /bin/tinyramfs content 2020-07-10T14:38:35 #kisslinux <illiliti> cat /bin/tinyramfs | nc ... 2020-07-10T14:39:02 #kisslinux <null_> https://termbin.com/mm0oy 2020-07-10T14:41:16 #kisslinux <illiliti> i assume you installed tinyramfs using makefile ? 2020-07-10T14:41:40 #kisslinux <null_> yes 2020-07-10T14:42:19 #kisslinux <null_> i can reclone and make install again? 2020-07-10T14:43:46 #kisslinux <illiliti> yes, try to reclone and run `make uninstall && make install` 2020-07-10T14:48:12 #kisslinux <null_> okay 2020-07-10T14:48:34 #kisslinux <null_> recloned, make uninstall && make installed, and copied over config from previous 2020-07-10T14:49:08 #kisslinux <null_> still not doing luks hook unfortunately 2020-07-10T14:52:09 #kisslinux <illiliti> try to run tinyramfs from git repo: ./tinyramfs -c <path to config> -o /boot/initramfs -H ./hooks -s ./ 2020-07-10T14:53:25 #kisslinux <null_> i've never run something from a git repo before 2020-07-10T14:53:33 #kisslinux <null_> lemme look it up 2020-07-10T14:55:02 #kisslinux <null_> oh you just mena from the install folder , ok 2020-07-10T14:57:08 #kisslinux <null_> okay 2020-07-10T14:57:19 #kisslinux <null_> that gave me the configuring luks step 2020-07-10T14:58:19 #kisslinux <illiliti> nice 2020-07-10T14:58:25 #kisslinux <illiliti> that's really strange issue 2020-07-10T14:59:02 #kisslinux <null_> should i try and reboot now? 2020-07-10T14:59:08 #kisslinux <illiliti> yeah 2020-07-10T14:59:11 #kisslinux <null_> I'll remake grub first 2020-07-10T14:59:30 #kisslinux <null_> grub-install --target=x86_64-efi 2020-07-10T14:59:34 #kisslinux <null_> LOL 2020-07-10T14:59:35 #kisslinux <null_> i'm so tired 2020-07-10T15:02:05 #kisslinux <null_> woooo 2020-07-10T15:02:07 #kisslinux <null_> new error 2020-07-10T15:02:15 #kisslinux <null_> no key available with this passphrase 2020-07-10T15:04:44 #kisslinux <illiliti> https://unix.stackexchange.com/questions/71900/luksopen-no-key-available-with-this-passphrase 2020-07-10T15:06:22 #kisslinux <illiliti> i suppose you miss cipher modules in your kernel config 2020-07-10T15:17:16 #kisslinux <null_> i'll take a look at that and figure that one out. I think I can navigate on my own for a whilw ith this one but i'll msg you if i can't get it after a day or so. 2020-07-10T15:17:26 #kisslinux <null_> thanks again for all the help today!! 2020-07-10T15:17:59 #kisslinux <null_> i really appreciate it. glad we got some of it figured out at least. 2020-07-10T15:18:21 #kisslinux <illiliti> glad to help. this error easy to fix 2020-07-10T15:18:58 #kisslinux <null_> my workday is about done, time to go home! thanks again! later! 2020-07-10T15:30:39 #kisslinux <dilynm> That boost update has a broken sed line 2020-07-10T15:30:45 #kisslinux <dilynm> @merakor I think? 2020-07-10T15:30:56 #kisslinux <dilynm> merakor: * 2020-07-10T15:48:45 #kisslinux <himmalerin> micr0: Are you the person who said they used Tiny as their IRC client? 2020-07-10T15:49:13 #kisslinux <himmalerin> I can't get it compiling since it depends on Nightly Rust, how'd you go about it? 2020-07-10T15:50:38 #kisslinux <micr0> i compiled it with nightly rust 2020-07-10T15:51:05 #kisslinux <micr0> on debian 2020-07-10T15:51:31 #kisslinux <himmalerin> oooh, ok. I assumed you had done it on Kiss 2020-07-10T15:51:33 #kisslinux <micr0> im holding off on kiss as my default boot until firefox and nightly rust work well 2020-07-10T15:51:41 #kisslinux <micr0> you can do it on kiss iirc, i just used rustup 2020-07-10T15:51:53 #kisslinux <himmalerin> fair enough 2020-07-10T15:51:53 #kisslinux <micr0> but then i had to change my path or uninstall because other stuff would break 2020-07-10T15:52:06 #kisslinux <himmalerin> I'll give that a shot, thanks for the suggestion 2020-07-10T15:52:13 #kisslinux <himmalerin> oh yeah 2020-07-10T15:52:42 #kisslinux <micr0> perhaps a good compromise would be to fork the current rust kiss package and just make a rust-nightly 2020-07-10T15:53:32 #kisslinux <himmalerin> oh I might need to do that anyway, rustup gives you precompiled stuff right? Not sure that'd work on musl-based Kiss 2020-07-10T16:30:56 #kisslinux <spacehare> is linux-firmware loaded as a module, or is it compiled into the kernel? 2020-07-10T16:31:04 #kisslinux <spacehare> or is it loaded via some other method? 2020-07-10T16:31:29 #kisslinux <himmalerin> You need to download the firmware yourself and either compile it into the kernel or load it as a module 2020-07-10T16:31:44 #kisslinux <himmalerin> Latest tag from https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git 2020-07-10T16:31:53 #kisslinux <spacehare> it should be compiled automatically, no? 2020-07-10T16:32:34 #kisslinux <kiedtl> or maybe I'm misunderstanding something... 2020-07-10T16:33:00 #kisslinux <himmalerin> Since the kernel is done by the user the (proprietary) firmware is done by the user as well, see https://k1ss.org/install#7.3 2020-07-10T16:34:09 #kisslinux <nouser> hello? 2020-07-10T16:34:39 #kisslinux <kiedtl> hmmm 2020-07-10T16:34:43 #kisslinux <nouser> hey 2020-07-10T16:34:54 #kisslinux <kiedtl> this might explain why the wifi on my kiss linux installation never worked u.u 2020-07-10T16:35:01 #kisslinux <nouser> yeah 2020-07-10T16:35:04 #kisslinux <kiedtl> what? 2020-07-10T16:35:17 #kisslinux <nouser> what is 'this' 2020-07-10T16:35:19 #kisslinux <kiedtl> oh yes... 2020-07-10T16:35:31 #kisslinux <kiedtl> nouser: evidentally the linux-firmware must be loaded as modules 2020-07-10T16:35:34 #kisslinux <nouser> 'this' channel 2020-07-10T16:35:39 #kisslinux <nouser> oh 2020-07-10T16:36:00 #kisslinux <nouser> how come the install guide tells to copy firmware to /usr/bin/firmware? 2020-07-10T16:36:22 #kisslinux <kiedtl> I don't really know... I'm also a bit confused 2020-07-10T16:36:31 #kisslinux <nouser> hm 2020-07-10T16:36:52 #kisslinux <kiedtl> you might have to compile it as modules, then modprobe for it later, nouser 2020-07-10T16:36:59 #kisslinux <nouser> right 2020-07-10T16:37:18 #kisslinux <nouser> I could add it in the init scripts 2020-07-10T16:37:26 #kisslinux <kiedtl> you could try that 2020-07-10T16:37:32 #kisslinux <nouser> okay 2020-07-10T16:37:35 #kisslinux <nouser> thank you 2020-07-10T16:37:45 #kisslinux <kiedtl> you should thank himmaler1n :) 2020-07-10T16:37:47 #kisslinux <nouser> also I could learn how to use initramfs in kiss 2020-07-10T16:37:51 #kisslinux <nouser> okay 2020-07-10T16:38:04 #kisslinux <himmalerin> Are you sure it says /usr/bin/firmware? 2020-07-10T16:38:07 #kisslinux <nouser> I'd like to eventually encrypt 2020-07-10T16:38:13 #kisslinux <nouser> I think so 2020-07-10T16:38:15 #kisslinux <nouser> in the chroot 2020-07-10T16:38:19 #kisslinux <himmalerin> Firmware should go in /usr/lib/firmware 2020-07-10T16:38:36 #kisslinux <nouser> oh 2020-07-10T16:38:40 #kisslinux <nouser> hold on 2020-07-10T16:38:46 #kisslinux <kiedtl> lol 2020-07-10T16:39:00 #kisslinux <kiedtl> didn't notice the bin vs lib there, nouser 2020-07-10T16:39:04 #kisslinux <nouser> ye 2020-07-10T16:39:20 #kisslinux <nouser> yeah 2020-07-10T16:39:29 #kisslinux <nouser> I put in in /usr/LIB/firmware 2020-07-10T16:39:42 #kisslinux <nouser> in my short script I made 2020-07-10T16:40:47 #kisslinux <kiedtl> per the kernel documentaion, you can enable built-in firmware with CONFIG_EXTRA_FIRMWARE and CONFIG_EXTRA_FIRMWARE_DIR 2020-07-10T16:40:54 #kisslinux <nouser> oh 2020-07-10T16:40:56 #kisslinux <kiedtl> just edit the build config and set those 2020-07-10T16:41:04 #kisslinux <nouser> okay 2020-07-10T16:41:06 #kisslinux <nouser> hm 2020-07-10T16:41:21 #kisslinux <kiedtl> I give no guarantee it will work, though... I've never tried that myself 2020-07-10T16:41:40 #kisslinux <nouser> okay 2020-07-10T16:42:58 #kisslinux <nouser> thanks 2020-07-10T16:43:03 #kisslinux <nouser> I've taken note 2020-07-10T16:43:21 #kisslinux <nouser> darn 2020-07-10T16:43:28 #kisslinux <nouser> torvalds/linux is large 2020-07-10T16:43:49 #kisslinux <himmalerin> running `make menuconfig` is usually easier than manually editing the config file, relies on ncurses though 2020-07-10T16:43:57 #kisslinux <nouser> yeah 2020-07-10T16:44:05 #kisslinux <kiedtl> ^^ that too, you can easily search the configuration values too 2020-07-10T16:44:07 #kisslinux <nouser> I was taking note of the vars tho 2020-07-10T16:44:18 #kisslinux <kiedtl> just grep for what you want 2020-07-10T16:44:23 #kisslinux <kiedtl> oof 2020-07-10T16:46:05 #kisslinux <illiliti> finally i got working Xorg using libudev-zero without actual udev dependency, static configuration and extra patches 2020-07-10T16:46:23 #kisslinux <illiliti> it just works XD 2020-07-10T16:47:19 #kisslinux <himmalerin> That's pretty cool! 2020-07-10T16:47:33 #kisslinux <himmalerin> How many patches did you end up with? :p 2020-07-10T16:47:59 #kisslinux <illiliti> 0 2020-07-10T16:48:07 #kisslinux <illiliti> https://github.com/illiliti/libudev-zero 2020-07-10T16:49:27 #kisslinux <illiliti> Wayland should works too, at least Wlroots 2020-07-10T17:12:02 #kisslinux <dilynm> You can use make nconfig instead 2020-07-10T17:13:12 #kisslinux <E5ten> illiliti: whoa that's cool, does it just parse sysfs? 2020-07-10T17:13:55 #kisslinux <illiliti> yeah 2020-07-10T17:16:03 #kisslinux <illiliti> Dylan always wanted thing like that 2020-07-10T17:16:14 #kisslinux <illiliti> https://github.com/kisslinux/repo/issues/78 2020-07-10T17:17:23 #kisslinux <dilynm> He's gonna be so jazzed that you helped his dream approach reality 2020-07-10T17:19:01 #kisslinux <illiliti> haha. glad to help you guys. no more systemD crap on my system, yay 2020-07-10T17:22:39 #kisslinux <E5ten> illiliti: I think since you only care about the last component of the path the first use of realpath in udev_device.c can be replaced with readlink (POSIX vs XSI)? (expanding .. shouldn't matter for that) 2020-07-10T17:23:04 #kisslinux <E5ten> I'm gonna work on figuring out a POSIX replacement for the second usage so it can be POSIX compliant instead of XSI 2020-07-10T17:24:00 #kisslinux <illiliti> No, i can't replace realpath with readlink because it breaks parent device discovering 2020-07-10T17:24:52 #kisslinux <illiliti> i decided to stay with realpath, i don't want to reimplement it... 2020-07-10T17:25:17 #kisslinux <E5ten> but in the first use of realpath you only care about the last component of the link, are there symlinks in sysfs where the last component is ..? 2020-07-10T17:26:22 #kisslinux <illiliti> https://github.com/illiliti/libudev-zero/blob/master/udev_device.c#L310 << you mean this ? 2020-07-10T17:26:29 #kisslinux <E5ten> yeah 2020-07-10T17:27:51 #kisslinux <illiliti> right, will do 2020-07-10T17:28:37 #kisslinux <E5ten> I mean, I think it should work, cuz I can't think of a situation where a sysfs file or dir would be a symlink with the last component being .., if there is then yeah readlink wouldn't work 2020-07-10T17:30:12 #kisslinux <illiliti> but really i think if we already use realpath why should i use readlink, it doesn't matter, no ? 2020-07-10T17:30:53 #kisslinux <illiliti> i don't think that portability is concern here 2020-07-10T17:31:29 #kisslinux <illiliti> because sysfs is already linuxish thing.... 2020-07-10T17:31:38 #kisslinux <E5ten> fair enough 2020-07-10T17:31:47 #kisslinux <illiliti> BSD's should use https://github.com/FreeBSDDesktop/libudev-devd 2020-07-10T17:34:34 #kisslinux <E5ten> so you have xorg device stuff working with this already? 2020-07-10T17:35:21 #kisslinux <illiliti> Yeah, kerboard, touchpad, mouse should work fine 2020-07-10T17:35:38 #kisslinux <illiliti> at least for me it works :) 2020-07-10T17:35:42 #kisslinux <E5ten> awesome, I'll try it out 2020-07-10T17:35:55 #kisslinux <xzcvczx> oh god, we may need rust soon 2020-07-10T17:35:55 #kisslinux <illiliti> But rememeber, NO HOTPLUGGING Support 2020-07-10T17:36:25 #kisslinux <E5ten> so I still need config files for each device? 2020-07-10T17:36:36 #kisslinux <illiliti> No 2020-07-10T17:36:50 #kisslinux <xzcvczx> i am surprised its not go since its a google engineer wanting it 2020-07-10T17:37:17 #kisslinux <illiliti> It's just doesn't handle hotplugging, everything else works as expected 2020-07-10T17:37:35 #kisslinux <E5ten> ok, so autodetection works for devices that exist at startup, just no hotplugging stuff after xorg starts 2020-07-10T17:37:46 #kisslinux <illiliti> Yes 2020-07-10T17:37:49 #kisslinux <E5ten> sick 2020-07-10T17:38:30 #kisslinux <illiliti> Maybe in future i'll implement hotplugging 2020-07-10T17:40:39 #kisslinux <illiliti> btw while writting this shit i realized that UDEV docs are diply shitty crap 2020-07-10T17:41:32 #kisslinux <illiliti> everything i found is useless man pages and very old API references 2020-07-10T17:42:39 #kisslinux <illiliti> https://www.freedesktop.org/software/systemd/man/udev_enumerate_add_syspath.html 2020-07-10T17:42:45 #kisslinux <illiliti> look at this shit 2020-07-10T17:42:51 #kisslinux <E5ten> you should probably add a .pc file 2020-07-10T17:44:45 #kisslinux <illiliti> will do 2020-07-10T17:46:41 #kisslinux <illiliti> btw, it's drop-in replacement. no need to recompile packages which depends on libudev 2020-07-10T17:47:14 #kisslinux <E5ten> I don't have any packages currently compiled that depend on libudev cuz I compiled the dep out from all of them 2020-07-10T17:48:42 #kisslinux <E5ten> http://ix.io/2rlP something like this I guess 2020-07-10T17:50:52 #kisslinux <illiliti> thank you. description can be ommited i suppose ? 2020-07-10T17:51:12 #kisslinux <E5ten> description is mandatory according to the pc spec 2020-07-10T17:51:35 #kisslinux <E5ten> actually so is URL, so you should add that I guess 2020-07-10T18:02:08 #kisslinux <illiliti> pushed 2020-07-10T18:04:15 #kisslinux <E5ten> for the version I just chose an arbitrary recent version that should be sufficient for any project using pkg-config with a version requirement for libudev, so in the distant future that'll probably need bumping 2020-07-10T18:07:44 #kisslinux <illiliti> okay 2020-07-10T18:08:33 #kisslinux <E5ten> out of curiosity, what's needed for implementing hotplug (like what about it makes it so it doesn't work by default)? 2020-07-10T18:09:36 #kisslinux <illiliti> listening on NETLINK messages and IPC mechanism 2020-07-10T18:10:04 #kisslinux <E5ten> ah, yeah I can see why that'd be more trouble than the rest of it lol 2020-07-10T18:10:17 #kisslinux <illiliti> i think i do something like vdev did 2020-07-10T18:10:33 #kisslinux <illiliti> IPC throught files 2020-07-10T18:10:44 #kisslinux <E5ten> this is so awesome though, it's been ages since I've had xorg configs using InputClass for applying settings to general device types instead of InputDevice with specific /dev files 2020-07-10T18:18:03 #kisslinux <E5ten> how would the IPC work without a daemon? 2020-07-10T18:22:24 #kisslinux <illiliti> set listener on netlink, when uevent arrives create file with content of uevent. user can use inotify to watch new event. something like that i have in my mind 2020-07-10T18:23:40 #kisslinux <E5ten> so would that require changes to xorg to work? 2020-07-10T18:24:29 #kisslinux <illiliti> no, no need 2020-07-10T18:24:57 #kisslinux <E5ten> interesting 2020-07-10T18:25:38 #kisslinux <illiliti> libudev-zero means zero patches XD ))) 2020-07-10T18:26:25 #kisslinux <E5ten> lmao 2020-07-10T18:27:05 #kisslinux <E5ten> I messaged the mdev-like-a-boss guy about libudev-zero 2020-07-10T18:31:37 #kisslinux * xzcvczx still wonders whats creating his video devices when he modprobes and inserts a usb microscope 2020-07-10T18:32:27 #kisslinux <illiliti> i don't have a complete idea or plan how to implement hotplugging, but 100% it will be without needing extra patches. 2020-07-10T18:59:45 #kisslinux <illiliti> i want to say that libudev-zero doesn't support joysticks, tablets, accelerometers, bells, whistles and other nonsense. supported only touchpad, mouse and keyboard 2020-07-10T19:01:31 #kisslinux <E5ten> what about touchscreens? I pretty much don't use mine but I'd prefer if it worked lol 2020-07-10T19:01:59 #kisslinux <illiliti> it not supported too 2020-07-10T19:05:47 #kisslinux <E5ten> from what I can tell it seems the device type is detected by globbing on the contents of the device/name file from sysfs? 2020-07-10T19:06:49 #kisslinux <E5ten> so is it cuz unlike mice/touchpads/keyboards which seem to have those words in device/name touchscreens don't? 2020-07-10T19:08:02 #kisslinux <illiliti> globbing is a temporary hack 2020-07-10T19:08:28 #kisslinux <illiliti> proper way is using ioctl() to detect device abilities 2020-07-10T19:09:09 #kisslinux <E5ten> ah, when you start using that will it be easier to support other types of devices like touchscreens? 2020-07-10T19:09:35 #kisslinux <illiliti> yeah 2020-07-10T19:09:44 #kisslinux <E5ten> nice 2020-07-10T19:10:07 #kisslinux <E5ten> well for now I'll switch my touchscreen config file back to InputDevice, and when that change happens I'll go back 2020-07-10T19:24:34 #kisslinux <E5ten> what's the ioctl for getting dev capabilities? 2020-07-10T19:25:44 #kisslinux <illiliti> EVIOC* 2020-07-10T19:25:46 #kisslinux <illiliti> https://www.kernel.org/doc/html/latest/input/event-codes.html#input-event-codes 2020-07-10T19:28:13 #kisslinux <E5ten> so it seems you could also use sysfs for that instead of the ioctl through the capabilities dir right? 2020-07-10T19:29:40 #kisslinux <illiliti> yeah, but i prefer to use ioctl because it returns structured data 2020-07-10T19:29:50 #kisslinux <E5ten> makes sense 2020-07-10T19:45:32 #kisslinux <illiliti> btw, how should i create no-op file descriptor?. if i do open("/dev/null") then epoll() fails because it doesn't handle non-regular files. Only way i found is using pipe() 2020-07-10T19:47:11 #kisslinux <illiliti> probably pipe() is only way to open no-op file descriptor which can bypass epoll() 2020-07-10T19:49:16 #kisslinux <E5ten> no idea, in regards to the input stuff though, wow this is confusing, I'm trying to figure out how to detect the device type using ioctls and I'm not getting anywhere 2020-07-10T19:51:44 #kisslinux <illiliti> https://github.com/gentoo/eudev/blob/master/src/udev/udev-builtin-input_id.c 2020-07-10T19:52:07 #kisslinux <illiliti> https://github.com/FreeBSDDesktop/libudev-devd/blob/master/udev-utils.c#L388 2020-07-10T19:53:14 #kisslinux <illiliti> BSD's does this much better than linux 2020-07-10T19:53:47 #kisslinux <illiliti> through sysctl() 2020-07-10T19:57:13 #kisslinux <illiliti> https://github.com/jiixyj/libudev-fbsd/blob/master/src/libudev.c#L187 2020-07-10T19:57:37 #kisslinux <illiliti> through libevdev library 2020-07-10T19:58:58 #kisslinux <illiliti> much easier, but i don't want to depend on non-std libraries 2020-07-10T19:59:47 #kisslinux <Evil_Bob> illiliti: dont know the context of your issue, but maybe fd = open("/dev/null", ...) and then dup2(fd, ...) ? 2020-07-10T20:01:16 #kisslinux <illiliti> it can bypass epoll() check ? 2020-07-10T20:05:33 #kisslinux <illiliti> https://github.com/wayland-project/wayland/blob/master/src/event-loop.c#L141 2020-07-10T20:16:09 #kisslinux <mcf> E5ten: as far as i know, it's just a heuristic based on what events it has. if it has a relative x and y, and button 1, it is probably a mouse. if it has an enter key, it is probably a keyboard 2020-07-10T20:16:27 #kisslinux <mcf> this is what i use in my udev-less libinput branch: https://github.com/oasislinux/libinput/blob/master/src/evdev.c#L1603-L1623 2020-07-10T20:18:14 #kisslinux <illiliti> libevdev ((( 2020-07-10T20:20:17 #kisslinux <E5ten> probably wouldn't be that hard to use EVIOCGBIT for the same thing there though because it uses the same values right? 2020-07-10T20:20:38 #kisslinux <mcf> yeah, libevdev is just a wrapper over the evdev ioctls 2020-07-10T20:45:10 #kisslinux <depsterr> Hey, I'm having some issues with curl and https 2020-07-10T20:45:37 #kisslinux <depsterr> at first curl was saying it wasn't compiled with https support, but then I realised my openssl headers where missing, so after fixing that it compiles 2020-07-10T20:45:47 #kisslinux <depsterr> but now I get another error 2020-07-10T20:45:54 #kisslinux <depsterr> ``` 2020-07-10T20:45:59 #kisslinux <depsterr> curl: (77) error setting certificate verify locations: CAfile: /etc/ssl/certs/ca-certificates.crt CApath: none 2020-07-10T20:46:38 #kisslinux <depsterr> git also says it can't find a helper for https, but I'm guessing this is why? 2020-07-10T20:48:08 #kisslinux <depsterr> actually, the git thing turned out to be another issue with headers 2020-07-10T20:48:22 #kisslinux <depsterr> but I still don't understand what's causing issues with curl 2020-07-10T20:53:46 #kisslinux <depsterr> welp, turned out to be an issue with me building from outside a chroot 2020-07-10T20:53:57 #kisslinux <depsterr> I copied the source into the cache of the chroot to build it in the chroot 2020-07-10T20:53:59 #kisslinux <depsterr> and it worked 2020-07-10T20:54:21 #kisslinux <dilynm> What in the fuck even ARE some of these KDE Community pages 2020-07-10T20:54:21 #kisslinux <dilynm> https://community.kde.org/PowerDevil 2020-07-10T20:54:43 #kisslinux <depsterr> lmao 2020-07-10T21:01:01 #kisslinux <claudia02> Penny is using everything else then a mac? sure ^^ 2020-07-10T21:01:31 #kisslinux <Evil_Bob> "We think the following places are of interest: " 2020-07-10T21:01:58 #kisslinux <depsterr> there are no interesting places 2020-07-10T21:02:22 #kisslinux <claudia02> dilynm: Have you made progress on krita? 2020-07-10T21:02:31 #kisslinux <Evil_Bob> she works in a cheesecake factory :o i think im in love 2020-07-10T21:02:45 #kisslinux <dilynm> Nothing of interest was discovered 2020-07-10T21:03:07 #kisslinux <dilynm> Claudia02: I've been feeling super burnt out on life all week so ive just been taking it easy (: 2020-07-10T21:03:17 #kisslinux <illiliti> claudia02: do you have wayland ? can you please test https://github.com/illiliti/libudev-zero ? 2020-07-10T21:03:34 #kisslinux <dilynm> I'll probably eat a gallon of ice cream tonight and work on it tomorrow tbh 2020-07-10T21:03:43 #kisslinux <claudia02> illiliti: I gave it a shot, but no success 2020-07-10T21:04:09 #kisslinux <claudia02> dilynm: Taking your time sounds good! 2020-07-10T21:04:26 #kisslinux <claudia02> I think packaging kde is a big soul eater 2020-07-10T21:04:29 #kisslinux <illiliti> "no success" you mean something specific ? 2020-07-10T21:04:33 #kisslinux <claudia02> y 2020-07-10T21:05:02 #kisslinux <claudia02> I tried wlroots and it failed to create input device. 2020-07-10T21:05:13 #kisslinux <claudia02> I also had to rebuild libinput / libevdev 2020-07-10T21:05:16 #kisslinux <claudia02> is this right? 2020-07-10T21:05:51 #kisslinux <illiliti> no need to rebuild. it's drop-in replacement. can you send me wlroots error message ? 2020-07-10T21:05:58 #kisslinux <claudia02> sure 2020-07-10T21:06:18 #kisslinux <claudia02> Give me some secs to reproduce 2020-07-10T21:06:24 #kisslinux <illiliti> ok 2020-07-10T21:09:49 #kisslinux <claudia02> illiliti: wlroots builds fine.(normaly complains about missing libeudev) 2020-07-10T21:09:53 #kisslinux <claudia02> Sway does not build 2020-07-10T21:09:55 #kisslinux <claudia02> https://termbin.com/divm 2020-07-10T21:10:23 #kisslinux <claudia02> I have just KISS_FORCE=1 kiss r eudev && kiss b/i libeudev-zero 2020-07-10T21:15:32 #kisslinux <illiliti> okay. if you build sway, wlroots and libinput againts eudev and then replace /lib/libudev.so with libudev-zero, it works ? if not, send me logs 2020-07-10T21:21:11 #kisslinux <claudia02> illiliti: That works! 2020-07-10T21:22:25 #kisslinux <claudia02> So I have swapped out /lib/libudev.so and sway starts/works. 2020-07-10T21:22:33 #kisslinux <illiliti> neat 2020-07-10T21:22:40 #kisslinux <illiliti> mouse, keyboard works fine ? 2020-07-10T21:24:31 #kisslinux <claudia02> illilitijup! 2020-07-10T21:25:04 #kisslinux <illiliti> awesome. i'll fix linker error 2020-07-10T21:33:59 #kisslinux <dilynm> Kwin also complains about missing libeudev.is this the fix I crave... 2020-07-10T21:35:39 #kisslinux <illiliti> kwin depends on libudev ?? o_O 2020-07-10T21:43:25 #kisslinux <dilynm> It would seem so lmao 2020-07-10T21:43:57 #kisslinux <dilynm> And eudev apparently isn't good enough 2020-07-10T21:45:53 #kisslinux <depsterr> I don't understand GNU 2020-07-10T21:46:03 #kisslinux <depsterr> you can build GNU m4 perfectly fine with musl 2020-07-10T21:46:13 #kisslinux <depsterr> but I have to patch it to build it with their own libc 2020-07-10T21:46:21 #kisslinux <illiliti> dilynm: can you send error messeage ? 2020-07-10T21:53:58 #kisslinux <dilynm> http://ix.io/2rmw 2020-07-10T22:09:30 #kisslinux <illiliti> claudia02: i can't reproduce linker error 2020-07-10T22:16:34 #kisslinux <illiliti> dilynm: temporary solution is manually adding '#include <libudev.h>' to /tmp/build-31045/kwin/input.cpp 2020-07-10T22:16:57 #kisslinux <dilynm> Smdh 2020-07-10T22:17:02 #kisslinux <dilynm> Why do I never 2020-07-10T22:17:16 #kisslinux <dilynm> See now I KNOW that's how you solve this problem >.< 2020-07-10T22:17:26 #kisslinux <dilynm> I'm so damn dumb 2020-07-10T22:19:40 #kisslinux <claudia02> illiliti: I have recently lived without udev. But the only thing I had to rebuild were libinput and xorg-server I think. 2020-07-10T22:21:22 #kisslinux <claudia02> libudev-zero installed -> When I rebuild libinput should 'kiss-revdepends libudev-zero' be listed? It is not 2020-07-10T22:23:08 #kisslinux <illiliti> claudia02: how did you install libudev-zero ? 2020-07-10T22:23:25 #kisslinux <claudia02> per pkg manager 2020-07-10T22:23:51 #kisslinux <illiliti> send me your build file 2020-07-10T22:24:24 #kisslinux <claudia02> https://termbin.com/0mvj 2020-07-10T22:25:05 #kisslinux <illiliti> and manifest 2020-07-10T22:25:54 #kisslinux <claudia02> https://termbin.com/w40m . Eudev is now installed. 2020-07-10T22:27:53 #kisslinux <illiliti> swap eudev to libudev-zero by using `kiss a` and try to rebuild libinput 2020-07-10T22:31:08 #kisslinux <claudia02> That works 2020-07-10T22:32:59 #kisslinux <claudia02> Libinput links to libudev-zero 2020-07-10T22:36:13 #kisslinux <claudia02> illiliti: Sway now builds and runs. I have keyboard but no mouse 2020-07-10T22:36:53 #kisslinux <illiliti> rebuild wlroots 2020-07-10T22:38:38 #kisslinux <claudia02> Nope, does not help. 2020-07-10T22:39:00 #kisslinux <claudia02> Both now link to libudev-zero. 2020-07-10T22:39:57 #kisslinux <illiliti> send me output of `cat /sys/class/input/*/name` 2020-07-10T22:40:53 #kisslinux <claudia02> https://termbin.com/2eju 2020-07-10T22:44:07 #kisslinux <illiliti> how did your mouse plugged ? it's must be plugged before you start sway because there is no hotplugging support 2020-07-10T22:45:21 #kisslinux <claudia02> Its usb wireless and trackpoint. 2020-07-10T22:45:55 #kisslinux <claudia02> I have not done a reboot 2020-07-10T22:46:45 #kisslinux <illiliti> 'Logitech USB Receiver Mouse' << i suppose is that your mouse ? 2020-07-10T22:47:12 #kisslinux <claudia02> Yes it is 2020-07-10T22:47:18 #kisslinux <claudia02> Reboot does not help^^ 2020-07-10T22:49:51 #kisslinux <illiliti> try to run sway with --debug and send me output. also try to run `sway list-inputs` (or something like that, i don't remember) 2020-07-10T23:01:06 #kisslinux <claudia02> This is a debuglog 2020-07-10T23:01:07 #kisslinux <claudia02> http://termbin.com/yq8t 2020-07-10T23:01:42 #kisslinux <claudia02> sway -d 2>~/file 2020-07-10T23:03:51 #kisslinux <claudia02> swaymsg -t get_input | http://termbin.com/t72y 2020-07-10T23:04:38 #kisslinux <claudia02> thanks qutebrowser that its supposed to work with keyboard only (: 2020-07-10T23:04:57 #kisslinux <illiliti> haha 2020-07-10T23:08:03 #kisslinux <illiliti> i recommend you to move back to eudev for now. i'll do some fixes tomorrow 2020-07-10T23:08:32 #kisslinux <illiliti> my neck is so tired 2020-07-10T23:09:38 #kisslinux <illiliti> i appreciate your help though. thank you 2020-07-10T23:12:40 #kisslinux <illiliti> damn, my back...omg. i'm gonna sleep 2020-07-10T23:15:42 #kisslinux <claudia02> u2. good night 2020-07-10T23:16:39 #kisslinux <claudia02> Ah another thing: this is sway with suid. Normaly when I 'pkill sway' it brings me back to tty. Now it switches to tty but not back to working command line