libera/#devuan/ Thursday, 2022-11-10

gnarfacealright, no more locale errors running that daedalus install on bare metal, but also still no sign of any locales other than the UTF-8 ones02:13
gnarfaceanyone seen this? i assume a package is missing, but the only thing i have to compare it to isn't having this problem02:13
gnarfaceit unfortunately has an entire desktop installed so i'd rather not match it package for package to test02:13
gnarfacei wonder if there's just a file i have to delete to make the cache regenerate correctly or something?02:14
ham5urgWhat's the best way to autostart /usr/libexec/iio-sensor-proxy along with GDM?02:19
ham5urgOr should it be wrapped into a shell script and been run via init?02:20
gnarfacedunno if this message came through before i disconnected:03:39
gnarfacealso this is not related but watch out updating daedalus; it'll clobber your rsyslog.conf03:40
gnarfacemore vandalism from upstream >:|03:42
chomwitthi. why in chimaera $XDG_CONFIG_HOME is not set ?08:34
chomwittis there a devuan specific location where i should set such an XDG variable?08:57
norayri have some xscreensaver-systemd process. my devuan is converted from debian.13:32
norayris it normal? or maybe i should uninstall and install xscreensaver?13:32
NrmlX stopped detecting keyboard/mouse here, I check Xorg.0.log and there is no mouse nor keyboard being detected21:15
Nrmlout of nowhere and apparently without reason (no hardware changes, no packages upgraded, no configuration changes)21:16
Nrmlbefore calling `startx`, and after killing X from a ssh session, keyboard and mouse work perfectly21:16
DPAIs /dev/input/ populated?21:16
DPA(are there event* files in there)21:17
NrmlDPA: AFAICS, yes: https://transfer.sh/w45peL/ls-lR.out.txt21:21
Nrml  DPA: does that look OK? This is the 1st time I look at these files (found about them by googling), so I do not know what's normal or not... :-/21:22
DPAI think that's pretty normal21:24
NrmlI have one Xorg.log from before the issue started, and have compared the two21:25
DPADo you xserver-xorg-input-libinput (and maybe xserver-xorg-input-all) installed?21:26
NrmlThe only thing I see is that the mouse and keyboard are simply not mentioned in the 'new' file21:26
NrmlDPA: lemme check21:26
NrmlDPA: it sure looks installed: https://transfer.sh/gtkXvu/dpkg.out.txt21:28
DPADo you start it as root or as a regular user? If as a regular user, does "id" list the input group?21:30
NrmlDPA: and it's the latest version too: https://transfer.sh/HTmqVC/stdin21:31
NrmlDPA: I start it as normal user, with the `startx` command21:32
Nrmllemme check the input group21:32
NrmlDPA: yep, input group shown in `id`: uid=501(REDACTED) gid=501(REDACTED) groups=501(REDACTED),5(tty),6(disk),20(dialout),27(sudo),29(audio),44(video),46(plugdev),102(netdev),104(input),109(bluetooth),110(i2c),1000(spi),1001(gpio)21:33
Nrml(4th from last)21:33
NrmlI will try and `apt-get reinstall xserver-xorg-input-libinput` in case it somehow got corrupted21:34
DPAI'm of out of ideas, maybe someone else will have more ideas.21:35
Nrmldone, .../xserver-xorg-input-libinput_0.30.0-1_arm64.deb was reinstalled, but the issue persists21:36
NrmlDPA: thanks! I will hang around and repost my question every 1h, if that's OK.21:36
NrmlDPA: also, do you know any other channels it might be worth posting?21:36
DPAMaybe the #linux channel.21:37
NrmlDPA: thanks!21:40
rwpNrml, Assuming you are using a USB keyboard you might try "tail -F /var/log/syslog" and then unplugging the keyboard, pause, plug it back in again, and look at the events logged to the syslog file.22:51
rwpYou can actually plug in additional USB keyboards.  It's interesting that one can have multiple keyboards all active.  All okay.22:52
rwpSame thing with the mouse.22:52
gnarfaceNrml: is there a USB hub involved?22:53
Nrmlsorry for the delay, rwp and gnarface. responding to your messages now23:06
Nrmlrwp: yes it's a USB keyboard. And I did try to plug/unplug it, ditto the mouse, and noticed the proper messages being logged in syslog.23:08
Nrmlgnarface: there's a hub between the mouse and the Raspberry Pi. There's no hub between the keyboard and the RPi (it's plugged directly in the bottom USB2 port of the RPi)23:09
gnarfaceah! it's a original rpi B?23:17
gnarfaceNrml: i was originally going to suggest that a something changed a Xorg config or package dependency in a way that broke this but that was long enough ago that you'd forgotten it, and it you didn't notice because it didn't take effect until the next time you restarted Xorg, but if it's a model B RPi there's also the significant plausibility this is a power supply issue, in which case i'd just suggest trying to put BOTH23:19
gnarfacedevices on the USB hub then reboot the RPi23:19
gnarfacethat's assuming it's an externally-powered USB hub, which, if it's not in this case, it's just a liability23:20
gnarface(and yes, the power tolerances on that thing are tight enough that combined with the weak output on the USB ports a seemingly functional power supply could cause this just by weakening slightly with age)23:22
Nrmlgnarface: it's a powered hub, and one I hand-picked as being entirely 'compatible' with the RPi (no backfeeding, etc)23:25
NrmlI will move both mouse and keyboard to the hub as suggested, but I don't think this will fix it (no messages reporting usb issues are ever syslogged, and the issue only happens in X).23:26
gnarfaceyea it's a stretch but i'm out of ideas23:27
Nrmlgnarface: please give me a few minutes  while I do it23:27
Nrmlgnarface: ok, both are connected to the powered hub now23:28
Nrmltrying to start X23:28
Nrmlgnarface: no changes, the issue keeps happening the exact same as before :-(23:29
Nrmlwhen it happens, I go into the machine with SSH and list the devices with `lsusb` and both are there23:30
gnarfaceand you said the xorg log doesn't see them hotplugging?23:30
Nrmlgnarface: you mean in the Xorg.0.log file, correct?23:31
gnarfaceyea23:31
Nrmllemme check again23:31
gnarfacemake sure you're looking at the right one (it may be in either /var/log/ or ~/.local/share/xorg/ but you may have a stale one in either place)23:31
Nrmlgnarface: I had not yet tried looking at the Xorg.0.log file generated while unplugging/replugging keyboard/mouse with the X server running... <facepalm>23:39
NrmlThanks for your suggestion!23:39
gnarfaceany evidence in there?23:39
NrmlI just did it and it produced some interesting messages, see at the end of the complete log file I posted here: https://transfer.sh/9GFaer/Xorg.0.log_-_with_unplugging_and_replugging_mouse_and_keyboard.txt23:40
NrmlWhat do you think?23:40
gnarfacei don't seem to see the end of the log file23:42
gnarfacenothing about a mouse in there23:42
gnarfacefinal timestamp shown: 16834.47723:43
gnarface[ 16834.477] (II) modeset(0): 640x4823:43
Nrmllemme check23:44
Nrmlweeeird23:45
gnarfacetry paste.debian.net23:45
Nrmlwget -O - -q https://transfer.sh/9GFaer/Xorg.0.log_-_with_unplugging_and_replugging_mouse_and_keyboard.txt | tail23:46
Nrmlhere it shows the last line as:      [ 16864.357] (II) Server terminated successfully (0). Closing log file.23:46
NrmlDoes paste.debian.net support pasting from the command-line?23:46
Nrml(I have no X, therefore no browser etc)23:46
gnarfacei dunno but everything supports pasting from command-line if you're good enough with curl23:47
Nrmlyep, using curl is how I post to transfer.sh23:47
gnarfacei believe you can also reconfigure pastebinit to use paste.debian.net23:47
Nrmllemme check paste.debian.net23:47
gnarfaceregardless, i think here's your problem: wget -O - -q https://transfer.sh/9GFaer/Xorg.0.log_-_with_unplugging_and_replugging_mouse_and_keyboard.txt | tail -n 100 |grep EE23:48
Nrmlyep23:48
gnarfacedo you have the /dev paths hardcoded somewhere?23:48
gnarfacelike in the xorg.conf?23:48
gnarfacethey're prone to changing order on hotplug/reboot23:48
gnarfaceeither that or i'd suspect a package version mismatch with libinput or something like that23:49
Nrmlgnarface: not that I know (hardcoded paths)23:49
NrmlI never changed X configuration on this machine23:49
NrmlBut I checcked and while the X server is up, the /dev/input/event* files are all right there23:50
Nrmlhummmrmrmr23:50
gnarfacedid your user get removed from the "input" group?23:51
Nrmlperhaps they got mixed (like, the one for the keyboard is being shown as the one for the mouse and vice versa)23:51
Nrmlnope, user is in "input" group:23:51
gnarfacecheck permissions, they should all be owned or at least in the input group... maybe a udev rule went astray?23:51
gnarface...really grasping at straws here23:51
Nrml(as shown by `id` right before running `startx`)23:51
Nrmllemme check owner/group/perms23:52
gnarfacemake sure the order is right too23:52
gnarfacesomehow23:52
gnarfacetry a different window manager perhaps23:52
Nrmlgnarface: please see https://paste.debian.net/1260294/23:53
Nrmlperms/owner/group look good to me23:53
Nrml(or am I missing something)?23:54
gnarfaceno looks fine23:55
Nrmlok23:55
Nrmlhow do I check whether the libinput file is mismatched?23:55
NrmlI even reinstalled it with `apt-get reinstall xserver-xorg-input-libinput` but the problem persists23:56
gnarfacedpkg -l |grep xserver23:56
gnarfacemost those packages should have the same version23:56
Nrmllemme check that23:57

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