💾 Archived View for gemini.ctrl-c.club › ~phoebos › logs › freenode-kisslinux-2020-08-11.txt captured on 2024-05-26 at 16:23:05.
⬅️ Previous capture (2021-12-17)
-=-=-=-=-=-=-
2020-08-11T02:26:59 #kisslinux <muevoid> Does anyone know how to get joysticks working in xorg? I can see they are there in /dev/input/js0 and they work when testing with jstest. However if I try to test with something like sdl-jstest or any other gui application they are not found. I am assuming this is to do with Xorg however not sure what. I tried packaging xf86-input-joystick however 2020-08-11T02:26:59 #kisslinux <muevoid> it did not help 2020-08-11T02:45:42 #kisslinux <illiliti> what udev backend do you use ? eudev or libudev-zero ? 2020-08-11T02:46:09 #kisslinux <muevoid> I use eudev 2020-08-11T02:46:40 #kisslinux <illiliti> perhaps you need xf86-input-evdev 2020-08-11T02:47:02 #kisslinux <muevoid> Is it packaged in any repos? If not I can package it 2020-08-11T02:47:33 #kisslinux <illiliti> it isn't 2020-08-11T02:47:52 #kisslinux <muevoid> I will do so 2020-08-11T02:50:04 #kisslinux <muevoid> Ok I packaged it and installed it restarting xorg rn to test it brb 2020-08-11T02:52:34 #kisslinux <muevoid> That didnt seem to change anything 2020-08-11T02:53:48 #kisslinux <illiliti> see xorg log 2020-08-11T02:55:40 #kisslinux <muevoid> When plugging in the controller it says Adding input device /dev/input/js0 and then says no input driver specified ignoring this device 2020-08-11T03:05:05 #kisslinux <dilynm> Does your joystick have a kernel driver? 2020-08-11T03:05:51 #kisslinux <muevoid> I believe so just a standard xbox one controller arch wiki says it is supported by the kernel. And I have enabled joystick support in my kernel along with all the specific devices I need. 2020-08-11T03:12:35 #kisslinux <illiliti> muevoid: install xf86-input-joystick and copy https://github.com/void-linux/void-packages/blob/master/srcpkgs/xf86-input-joystick/files/50-joystick.conf to /etc/X11/xorg.conf.d/ 2020-08-11T03:14:09 #kisslinux <muevoid> Kk will try right now thank you for the help 2020-08-11T03:19:44 #kisslinux <muevoid> Still no luck but more stuff in log now 2020-08-11T03:24:40 #kisslinux <muevoid> It says that no module joystick however I have it packaged. I believe it is packaged correctly if you would like to check it at my repo github.com/muevoid/kiss-mue 2020-08-11T03:25:16 #kisslinux <muevoid> Then it says falling back to input driver libinput and says failed to create a device for /dev/input/event5 2020-08-11T03:26:19 #kisslinux <illiliti> can you send me full log ? 2020-08-11T03:26:50 #kisslinux <dilynm> Do you have any eudev rules for joysticks? Perhaps your package should be installing them? 2020-08-11T03:27:03 #kisslinux <dilynm> They'd end up somewhere in /etc 2020-08-11T03:27:14 #kisslinux <muevoid> yes I can should I upload it to pastebin or somewhere else? 2020-08-11T03:27:30 #kisslinux <muevoid> Ill look for them dilynm 2020-08-11T03:28:10 #kisslinux <illiliti> whatever 2020-08-11T03:28:17 #kisslinux <muevoid> I dont think so I did not see any in /etc/udev/rules.d/ 2020-08-11T03:29:11 #kisslinux <muevoid> I forgot about termbin. Here: https://termbin.com/qiz0 2020-08-11T03:29:39 #kisslinux <muevoid> If you search for Microsoft you will end up in the region where the errors are thrown 2020-08-11T03:32:23 #kisslinux <illiliti> muevoid: you forgot to add --prefix=/usr 2020-08-11T03:32:25 #kisslinux <illiliti> https://github.com/muevoid/kiss-mue/blob/master/xf86-input-joystick/build#L3 2020-08-11T03:32:52 #kisslinux <illiliti> your files installed to /usr/local :) 2020-08-11T03:33:32 #kisslinux <muevoid> My bad! I really need to read the style guide more 2020-08-11T03:34:33 #kisslinux <muevoid> Ok trying again now 2020-08-11T03:36:52 #kisslinux <muevoid> That fixed all the issues in xorg 2020-08-11T03:36:59 #kisslinux <muevoid> however my test applications still dont find them 2020-08-11T03:37:28 #kisslinux <illiliti> which applications ? 2020-08-11T03:38:29 #kisslinux <muevoid> I am using sdl-jstest to test to see if sdl can recognize joysticks 2020-08-11T03:39:12 #kisslinux <muevoid> I also cannot finding it using a simple raylib program I wrote 2020-08-11T03:39:47 #kisslinux <muevoid> I believe that the config may be making the joystick act like a keyboard 2020-08-11T03:43:19 #kisslinux <muevoid> Yes the joystick is acting like a keyboard 2020-08-11T03:43:24 #kisslinux <muevoid> Mouse* 2020-08-11T03:47:09 #kisslinux <illiliti> https://wiki.archlinux.org/index.php/Gamepad#Disable_joystick_from_controlling_mouse 2020-08-11T03:47:42 #kisslinux <muevoid> Thank you trying it now 2020-08-11T03:49:46 #kisslinux <muevoid> That disabled it controlling the mouse however applications still do not recognize the joystick 2020-08-11T03:56:51 #kisslinux <illiliti> you tried only sdl-jstest, right ? try sdl2-jstest 2020-08-11T03:57:03 #kisslinux <muevoid> Sorry I meant to say sdl2-jstest 2020-08-11T03:57:09 #kisslinux <muevoid> I forgot that there are two versions 2020-08-11T03:57:23 #kisslinux <muevoid> I also tried steam which also did not recognize it 2020-08-11T03:57:49 #kisslinux <illiliti> your joystick is wireless ? 2020-08-11T03:57:54 #kisslinux <muevoid> Wired 2020-08-11T04:00:45 #kisslinux <illiliti> try sdl-jstest 2020-08-11T04:00:56 #kisslinux <muevoid> Ok just let me compile sdl 2020-08-11T04:02:20 #kisslinux <muevoid> sdl-jtest does indeed work 2020-08-11T04:05:31 #kisslinux <muevoid> Any idea why sdl2-jtest wont work 2020-08-11T04:12:53 #kisslinux <illiliti> yes 2020-08-11T04:13:57 #kisslinux <illiliti> sdl2 supports only evdev interface while sdl1 supports joydev and evdev 2020-08-11T04:14:14 #kisslinux <muevoid> Since I have evdev installed is it possible to have xorg use that? 2020-08-11T04:14:52 #kisslinux <illiliti> try to remove 2020-08-11T04:14:53 #kisslinux <illiliti> xf86-input-joystick 2020-08-11T04:14:57 #kisslinux <muevoid> Ok 2020-08-11T04:16:54 #kisslinux <muevoid> Did that still didnt work should I change the Xorg config? 2020-08-11T04:19:36 #kisslinux <illiliti> no need 2020-08-11T04:19:44 #kisslinux <illiliti> add --prefix=/usr 2020-08-11T04:19:46 #kisslinux <illiliti> https://github.com/muevoid/kiss-mue/blob/master/xf86-input-evdev/build#L3 2020-08-11T04:20:21 #kisslinux <muevoid> already did just forgot to push it 2020-08-11T04:30:18 #kisslinux <muevoid> No luck. Tried a few different configs including the original one none of them cause sdl2-jtest to find any joysticks 2020-08-11T04:33:46 #kisslinux <illiliti> probably something is misconfigured in kernel 2020-08-11T04:34:14 #kisslinux <muevoid> Ok 2020-08-11T04:34:21 #kisslinux <illiliti> check CONFIG_JOYSTICK_XPAD 2020-08-11T04:35:01 #kisslinux <muevoid> =y 2020-08-11T04:35:28 #kisslinux <muevoid> CONFIG_INPUT_JOYSTICK also equals y 2020-08-11T04:44:50 #kisslinux <illiliti> that's odd 2020-08-11T04:45:03 #kisslinux <muevoid> Im convinced it is an issue with the config file 2020-08-11T04:45:16 #kisslinux <muevoid> Hold on let me check xorg logs again 2020-08-11T04:45:53 #kisslinux <muevoid> I may have found issue 2020-08-11T04:46:05 #kisslinux <muevoid> This line is of concern to me 2020-08-11T04:46:25 #kisslinux <muevoid> XINPUT: Adding extended input device "Microsoft X-Box One S pad" (type: MOUSE, id 9) 2020-08-11T04:46:30 #kisslinux <muevoid> wouldn't it say Joystick? 2020-08-11T05:01:16 #kisslinux <illiliti> muevoid: run SDL_JOYSTICK_DEVICE=/dev/input/js0 sdl2-jstest 2020-08-11T05:08:23 #kisslinux <muevoid> Kk 2020-08-11T05:09:09 #kisslinux <muevoid> Still no luck :/ 2020-08-11T05:16:00 #kisslinux <muevoid> Think I figured it out with a hacky solution 2020-08-11T05:16:06 #kisslinux <muevoid> https://forums.gentoo.org/viewtopic-t-1063566-start-0.html 2020-08-11T05:16:10 #kisslinux <muevoid> I found solution from here 2020-08-11T05:16:17 #kisslinux <muevoid> Im not sure security implications 2020-08-11T05:16:28 #kisslinux <muevoid> but making the event readable by me allows applications to find it 2020-08-11T05:18:17 #kisslinux <muevoid> Perhaps udev rule was the right way to look towards 2020-08-11T05:27:25 #kisslinux <muevoid> Yep got it working with a udev rule 2020-08-11T05:27:40 #kisslinux <muevoid> I'm going to package this with xf86-input-evdev 2020-08-11T05:30:24 #kisslinux <muevoid> The xorg config is not necessary at all I have found 2020-08-11T05:34:15 #kisslinux <illiliti> nice 2020-08-11T10:12:19 #kisslinux <dylanaraps> https://k1ss.org/news/20200811a 2020-08-11T10:13:27 #kisslinux * j`ey reads 2020-08-11T10:16:19 #kisslinux <j`ey> sgtm 2020-08-11T10:18:44 #kisslinux <dylanaraps> ty 2020-08-11T10:20:54 #kisslinux <j`ey> i was thinking if I were to fork, I'd just fork the main repo and rebase my changes, but this seems easier actually 2020-08-11T10:22:32 #kisslinux <dylanaraps> Yes 2020-08-11T10:22:43 #kisslinux <dylanaraps> You can also use KISS_HOOK to make changes to build files. 2020-08-11T10:23:20 #kisslinux <dylanaraps> I do so here for two packages: https://github.com/dylanaraps/bin/blob/master/kh#L12-L36 2020-08-11T10:23:56 #kisslinux <j`ey> yeah, I dont like that approach as much 2020-08-11T10:24:17 #kisslinux <konimex> although I think KISS_HOOK should be for end user, not "distributors" 2020-08-11T10:24:25 #kisslinux <dylanaraps> Yes 2020-08-11T10:24:49 #kisslinux <dylanaraps> I meant from a user perspective here (though all users are kinda developers to some extent) 2020-08-11T10:25:28 #kisslinux <dylanaraps> Nothing does prevent someone from shipping a KISS_HOOK with their repository though. 2020-08-11T10:31:59 #kisslinux <konimex> reading the news, 2020-08-11T10:32:06 #kisslinux <konimex> > the official repositories should not be something special. 2020-08-11T10:32:19 #kisslinux <konimex> I don't know if we have a difference of what "special" is, but I think the main repo should be something "special" since it defines what KISS Linux is 2020-08-11T10:33:14 #kisslinux <j`ey> or is it the package manager that defines kiss? 2020-08-11T10:34:09 #kisslinux <konimex> by that logic dpkg et al defines Elementary 2020-08-11T10:34:31 #kisslinux <konimex> or the package manager also defines Wyvertux 2020-08-11T10:34:33 #kisslinux <dylanaraps> konimex: Sure, they're still special in that they're "official". 2020-08-11T10:34:54 #kisslinux <dylanaraps> They should work just like any other repository though. 2020-08-11T10:35:49 #kisslinux <j`ey> maybe 'should not be treated specially' 2020-08-11T10:36:01 #kisslinux <j`ey> in that blog post 2020-08-11T10:36:40 #kisslinux <dylanaraps> Well.. they aren't special. They're just official. lol 2020-08-11T10:37:56 #kisslinux <j`ey> sorry I meant *shouldn't be treated specially 2020-08-11T10:47:44 #kisslinux <konimex> I wonder if there's a way to "force" a git config to a certain repo... 2020-08-11T11:07:26 #kisslinux <claudia02> konimex: You also have netbsd which works with pkgsrc and I _think_ you also have to set this up first. 2020-08-11T11:13:29 #kisslinux <konimex> I have heard of pkgsrc, but I am never familiar with it 2020-08-11T11:15:27 #kisslinux <aosync> Isn't that open and net bsd ports thing ? 2020-08-11T11:17:01 #kisslinux <konimex> iirc it comes from NetBSD but also works on Linux? 2020-08-11T11:17:13 #kisslinux <claudia02> This is the netbsd portssystem(package manager) which is super portable 2020-08-11T11:17:15 #kisslinux <claudia02> http://www.netbsd.org/docs/software/packages.html 2020-08-11T11:20:09 #kisslinux <konimex> dylan: I kinda forgot, it is possible to have an empty source file (and no checksums file) for transitional/metapackages, right? 2020-08-11T11:23:35 #kisslinux <dylanaraps> Yes 2020-08-11T12:03:53 #kisslinux <jayden> heya 2020-08-11T12:04:57 #kisslinux <claudia02> aloha! 2020-08-11T12:08:49 #kisslinux <dylanaraps> o/ 2020-08-11T12:36:32 #kisslinux <joan> hello 2020-08-11T12:36:45 #kisslinux <joan> hello 2020-08-11T12:37:12 #kisslinux <Guest71293> quit 2020-08-11T12:37:16 #kisslinux <Guest71293> wut 2020-08-11T12:50:19 #kisslinux <dylanaraps> ello 2020-08-11T12:50:33 #kisslinux <aosync> oy 2020-08-11T12:53:53 #kisslinux <dylanaraps> o/ 2020-08-11T12:55:21 #kisslinux <dylanaraps> My news post is sitting on zero upvotes. lol 2020-08-11T12:58:08 #kisslinux <j`ey> 1 now 2020-08-11T12:58:50 #kisslinux <dilynm> Somebody wasn't a fan I guess 2020-08-11T12:59:08 #kisslinux <dylanaraps> They should leave a comment 2020-08-11T13:00:18 #kisslinux <aosync> is it the same as in #showcase 2020-08-11T13:00:28 #kisslinux <aosync> if so, it's cute 2020-08-11T13:00:44 #kisslinux <dylanaraps> dilynm: I pushed a package manager release which fixes your qt5 squabbles :P 2020-08-11T13:01:04 #kisslinux <dylanaraps> aosync: I mean my /r/kisslinux post, not my /r/unixporn one ;) 2020-08-11T13:06:57 #kisslinux <dilynm> tysm :) 2020-08-11T13:09:41 #kisslinux <dilynm> should probably add a preemptive FAQ section; 'why can't root access x repo' 2020-08-11T13:10:34 #kisslinux <dylanaraps> Yeah 2020-08-11T13:10:45 #kisslinux <dylanaraps> Will do 2020-08-11T13:11:45 #kisslinux <dilynm> Gaaahh. I knew that git change was gonna be easy 2020-08-11T13:11:59 #kisslinux <dilynm> I should just think harder about how to do things myself (: 2020-08-11T17:35:53 #kisslinux <E5ten> konimex: for procps-ng, try deleting man-po and testsuite from the SUBDIRS variable in Makefile.in, you won't need man translations or testing, and those are the Makefiles that have non-POSIX stuff in them 2020-08-11T17:36:07 #kisslinux <E5ten> so bmake should work if those dirs aren't used 2020-08-11T17:57:54 #kisslinux <merakor> Gnumake is the only software which I like gnu extensions. Most of the time, you can replicate gnu extensions via other POSIX utils, but make is not one of them. 2020-08-11T17:59:17 #kisslinux <dylanaraps> You could go the route of using something like meson or cmake to replace upstream's build process entirely. It /might/ be easier to go this route for /some/ software. 2020-08-11T17:59:27 #kisslinux <dylanaraps> Depends on the existing build system and how convoluted it is. 2020-08-11T18:00:26 #kisslinux <dylanaraps> There's also this: https://github.com/cheusov/mk-configure 2020-08-11T18:00:33 #kisslinux <dylanaraps> > mk-configure is a lightweight replacement for GNU autotools, written in and for bmake 2020-08-11T18:02:13 #kisslinux <merakor> I hate cmake, but I somewhat like meson. I always use POSIX make extensions, although I wish some gnu extensions were available on POSIX 2020-08-11T18:02:34 #kisslinux <merakor> mk-configure looks nice, thanks! 2020-08-11T18:02:54 #kisslinux <E5ten> I love cmake 2020-08-11T18:02:59 #kisslinux <E5ten> meson is ok 2020-08-11T18:03:10 #kisslinux <E5ten> python dep :( 2020-08-11T18:03:59 #kisslinux <dylanaraps> I know 2020-08-11T18:04:07 #kisslinux <dylanaraps> :( 2020-08-11T18:04:10 #kisslinux <dylanaraps> cmake is funky too 2020-08-11T18:06:22 #kisslinux <E5ten> yeah it's definitely not perfect, or even great, but of the 3 I find it easiest to work with/understand 2020-08-11T18:08:18 #kisslinux <dylanaraps> Yeah 2020-08-11T18:08:34 #kisslinux <dylanaraps> I do like how it can spit out Makefiles or Ninja files 2020-08-11T18:14:48 #kisslinux <E5ten> From a dev perspective yeah cuz the user doesn't have to install ninja but from a user perspective I only need the ninja one lol 2020-08-11T18:14:54 #kisslinux <E5ten> So much faster 2020-08-11T18:26:17 #kisslinux <dylanaraps> Yup 2020-08-11T18:46:26 #kisslinux <dylanaraps> https://blog.mozilla.org/blog/2020/08/11/changing-world-changing-mozilla/ 2020-08-11T18:46:33 #kisslinux <dylanaraps> > Sadly, the changes also include a significant reduction in our workforce by approximately 250 people. 2020-08-11T18:46:41 #kisslinux <dylanaraps> Mozilla firing 250 people 2020-08-11T18:49:03 #kisslinux <dylanaraps> 25% of the total 2020-08-11T18:49:53 #kisslinux <j`ey> time to get chromium building on kiss 2020-08-11T18:49:59 #kisslinux <dylanaraps> Also 2020-08-11T18:50:02 #kisslinux <dylanaraps> > 2020-08-11T18:50:13 #kisslinux <dylanaraps> > Mozilla's contract with Google to include Google as the default search provider inside Firefox is set to expire later this year, and the contract has not been renewed. 2020-08-11T18:50:28 #kisslinux <dylanaraps> Where 90%~ of their revenue comes from 2020-08-11T18:51:23 #kisslinux <j`ey> yikes 2020-08-11T18:51:28 #kisslinux <dylanaraps> Full internal email: https://blog.mozilla.org/wp-content/uploads/2020/08/Message-to-Employees-Change-in-Difficult-Times.pdf 2020-08-11T18:52:05 #kisslinux <j`ey> meanwhile CEO has multimillion dollar salary 2020-08-11T18:52:11 #kisslinux <aosync> Oof 2020-08-11T18:52:15 #kisslinux <aosync> Guess we're doomed 2020-08-11T18:52:26 #kisslinux <aosync> We can all hop to netsurf now 2020-08-11T18:53:30 #kisslinux <dylanaraps> well 2020-08-11T18:53:45 #kisslinux <dylanaraps> the more people that use netsurf, the faster development will become 2020-08-11T19:00:24 #kisslinux <aosync> Ye 2020-08-11T19:00:31 #kisslinux <aosync> Btw dylan exciting news 2020-08-11T19:00:58 #kisslinux <aosync> 9front netsurf port is apparently pretty much usable 2020-08-11T19:02:19 #kisslinux <aosync> according to the people that port it 2020-08-11T19:02:42 #kisslinux <dylanaraps> nice 2020-08-11T19:05:33 #kisslinux <aosync> Do you still use netsurf? 2020-08-11T19:05:46 #kisslinux <aosync> anyone else here uses netsurf btw? 2020-08-11T19:07:07 #kisslinux <dylanaraps> I sometimes take it for a spin 2020-08-11T19:15:43 #kisslinux <arkurious> shfm does not show contents of a directory if it starts with a dash ('-h' or '--something'). 2020-08-11T19:16:13 #kisslinux <dylanaraps> Thanks 2020-08-11T19:16:19 #kisslinux <dylanaraps> Will fix 2020-08-11T19:19:52 #kisslinux <dylanaraps> Fixed 2020-08-11T19:19:55 #kisslinux <dylanaraps> Try latest master :) 2020-08-11T19:35:42 #kisslinux <arkurious> Works. Thank you. 2020-08-11T19:41:02 #kisslinux <dylanaraps> :) 2020-08-11T19:43:35 #kisslinux <merakor> I don't really use file managers, but shfm's code is really amazing 2020-08-11T19:43:56 #kisslinux <merakor> I never thought you could really provide such an interface in sh 2020-08-11T19:44:21 #kisslinux <aosync> You can do anything in sh smh 2020-08-11T19:45:05 #kisslinux <merakor> Next thing should be converting bed to POSIX :D 2020-08-11T19:45:10 #kisslinux <dylanaraps> scrolling is the most painful part 2020-08-11T19:45:26 #kisslinux <dylanaraps> keeping cursor position when going up the tree is hard also 2020-08-11T19:45:33 #kisslinux <merakor> That would be really amazing, a shell editor 2020-08-11T19:45:48 #kisslinux <dylanaraps> you cannot reliably grab the current cursor position in sh 2020-08-11T19:45:57 #kisslinux <dylanaraps> so I have to track it myself 2020-08-11T19:46:03 #kisslinux <dylanaraps> ie, log each movement 2020-08-11T19:47:55 #kisslinux <merakor> I have took some of your code on shfm to create a terminal presentation tool which I am currently working on 2020-08-11T20:00:45 #kisslinux <dylanaraps> nice 2020-08-11T20:21:32 #kisslinux <dylanaraps> mozilla fired the servo team: https://twitter.com/SimonSapin/status/1293231187167784960 2020-08-11T20:27:10 #kisslinux <j`ey> rip to a better future firefox 2020-08-11T21:10:18 #kisslinux <admicos> to be fair, if servo were to be a future for firefox i assume they would care more about getting the layout right than hololens vr whatevers they were doing lately 2020-08-11T21:10:46 #kisslinux <admicos> still a sad announcement, hope they can find something to work on that is not googlium 2020-08-11T22:39:40 #kisslinux <dilynm> That whole thing has got to be mighty stressful