The officially official Devuan Forum!

You are not logged in.

#1 Re: Other Issues » Pcmanfm offers free appimages of krita 5.2.3 and other bugs??? » Today 22:41:07

What do people expect from going to Microsoft for software? Sanity?

#2 Re: Hardware & System Configuration » Disable a NIC at boot. » Today 22:31:19

no! Don't destroy the loopback interface configuration!

Use "man interfaces"

EDIT. Btw the kernel will install an adapter for the wireless card if it has the software to do so. You may use "rfkill" to software-block the adapter, and then no networking will be configured for it. However, you will need that "rfkill" to happen early on, so will probably need to add it into initrd's init scripts. And that is a second cloud of knowledge to gain, perhaps starting with "man initramfs-tools".

#3 Re: Installation » Power-profiles-daemon doesn't work on Devuan » Yesterday 12:42:26

Well, dbus service activation pre-dates systemd, but nowadays there's activation script mangling added... you can if you wish translate that systemd activation script into a proper dbus activation script and then get the normal dbus activation happening.

#4 Re: Forum Feedback » Not able to edit my own post » 2024-11-27 22:11:13

The limits on post editing is a dev1galaxy feature introduced by myself in late 2020.

The forum code started with FluxBB 1.5 a couple of years ago, and has then been subject to a few local adaptions (such as "spammer barrier" in 2015, "javascript reduction" in 2017, "improved i18n" in 2019, "trolling barrier" in 2020, "oath login" (failed) in 2022, "styling refresh" in 2023).

Today it sits there in full beauty and perfection, and just waiting for the next one or two responsible code caretakers. Please drop in to #devuan-dev at libera.chat to discuss how to make that a role of yours.

#5 Re: Off-topic » [SOLVED] forum image embedding question. » 2024-11-26 23:10:44

This forum does not offer inline display of images... or does it? Yes it does, if you have configured your profile thusly.

Click on the "Profile" link, then click on the "Display" menu entry and then decide about whether to set (or not) the toggle for "show images in posts", followed by a light poke at the "submit" button.

#6 Re: Hardware & System Configuration » Thinkpad t460p, ext. keyboard detection not working after upgrade » 2024-11-24 21:57:12

Well, I'd say those scripts are the right ones so adding "sleep 5" early on but not at the very top in them would be the test.
1. add a new line with "sleep 5"
2. run "update-initramfs -u -k all"
3. reboot
If a process race is happening and the cause for the issue, then those "sleep" should delay the decryption handshake enough to allow udev to do its thing beforehand.

#7 Re: Hardware & System Configuration » Thinkpad t460p, ext. keyboard detection not working after upgrade » 2024-11-23 23:24:47

Right. Yes, I mistook it for full-disk encryption.

WIth only the root filesystem encrypted the kernel and initramfs would be involved. And it needs the initial udev run to handle USB; you've tried unplug + plug in while it's waiting for input?

Upgrade of kernel should not in itself have effects on the initrd except for possible differences in the module setup. Though there may be interesting effects in process handling, and especially in this case there is an inherent race between udevd handling USB and cryptsetup reading password.

You can investigate the race option by locating the cryptsetup invocation in the scripting, either "/etc/initramfs-tools/..." or "/usr/share/initramfs-tools/...", and introduce a "sleep 5" before it (then update-initramfs and reboot).

#8 Re: Hardware & System Configuration » Thinkpad t460p, ext. keyboard detection not working after upgrade » 2024-11-23 22:09:18

It may be worth to consider that the software used for entering a decryption password prior to boot has nothing to do with the kernel or with anything on the encrypted part of the disk.

#9 Re: Other Issues » New packages automatically installed? » 2024-11-21 00:55:19

Apparently your system has older versions those packages, and your command asks for upgrading anything upgradable. You might try

$ apt-cache policy libjavascriptcoregtk-4.0-18 libwebkit2gtk-4.0-37

to get more information before accepting... or maybe that's too late now?

#10 Re: Desktop and Multimedia » Pluma bug and proposed fix: Where do I report, and what happens next? » 2024-11-04 01:46:26

You should also point out that as it's github, it will require a Microsoft login for rising issues, and probably then also add that noone will want that.

#11 Re: Other Issues » [SOLVED] changing the size of udev filesystem on /dev » 2024-10-27 22:50:25

(I edited this post since my first suggestion was bogus)

The devtmpfs filesystem is set up and initially populated by the kernel, and that uses 50% RAM as its limit.

The first mounting happens in the initrd's init scripts which are provided by initramfs-tools at /usr/share/initramfs-tools/. In my case it's at /usr/share/initramfs-tools/init:36, where you may add a size=nnn limit. Then use update-initramfs so as to include your fix in the initrd, and then reboot. Perhaps like the following hands-on:

# sed '/devtmpfs/s|-o |-o size=100M,|' -i /usr/share/initramfs-tools/init
# update-initramfs -u -k all
# reboot

EDIT: This way worked for me and it's as early as possible (without rebuilding the kernel).

#12 Re: Devuan » RISCV support » 2024-10-24 21:32:16

It may depend on what you mean by "Devuan" and "support for".

Technically "Devuan" (as organisation) is merely this small group of people that publish the collection of packages that includes all debian packages except some. Those that require systemd have been forked where possible and they are maintained (by these people) towards providing relevant functionality without systemd; most are forked but a few end up just being excluded from the devuan repositories. Currently supported (i.e. maintained, built and published) architectures are amd64, arm64, armel, armhf, i386, riscv64 and ppc64el (all using debian's architecture labelling).

Though "Devuan" (as organisation) might also be understood to include the people that compose and publish filesystems and disk images that are installations of various kinds using devuan packages. Those works span a more limited range of architectures and they provide support (or not) individually for their published works. I'm aware of people having riscv64 installations of devuan packages but not of anyone publishing such for replication.

#13 Re: Hardware & System Configuration » [SOLVED] Xorg: libseat1: failure to reclaim USB input devices » 2024-10-21 23:16:19

Sure does... smile

And you were right in that the libseat integration had lost the code path handling "devices added while VT inactive". I.e., the device got added "as per normal" and that of course failed upon opening file descriptor which resulted in Xorg dropping it. This lost code path captures the device when inserted, in a separate list, and then that list is used for "re-inserting" the device (as per normal) when VT is activated.

A patch for this is now moving through the QA and packaging steps. (step h)

#14 Re: Hardware & System Configuration » [SOLVED] Xorg: libseat1: failure to reclaim USB input devices » 2024-10-20 20:01:33

Now we

  1. go to our fork of https://git.devuan.org/devuan/xorg-server.git

  2. check out suites/unstable

  3. use dpkg-checkbuilddeps as guide for installing build dependencies

  4. build a local Xorg with debian/rules binary

  5. temporary "install"  resulting debian/build/main/hw/xfree86/Xorg as /usr/lib/xorg/Xorg

  6. perform a verification test

  7. edit the code and repeat from d until the misbehaviour goes away without we adding some new misbehaviour

  8. update the packaging and version and stuff

  9. issue a merge request

  10. wait while that gets merged, built and published by others

  11. install the fixed version.

Easy Peasy

#16 Re: Hardware & System Configuration » [SOLVED] Xorg: libseat1: failure to reclaim USB input devices » 2024-10-20 00:27:00

Good question, though not easy to answer. As I have some idea about the code flow, I can match (try to) it up with the log and in particular trace back from anomalous log entries. For Xorg logs you split it into the temporal strands broken by the times where the user has made a short pause in between the use case steps. Post#13 shows that clearly

Unfortunately Alverstone has hand edited the log before posting -- the log we see is not actually the log they got. But I believe that all log lines are included with their correct timestamps and only certain identifiers have been "mangle mapped" under an idea of protecting personal information.

On that assumption there's now enough for me to build a test case that should repeat the misbehaviour, with in particular the logs of #13 providing basis for log comparison.

The "bad" #13 log at timestamps 169.760--169.768 presents the setup for "the problem device" which appears to be a USB keyboard+mouse combo where after some extra logic event4 gets set up as a mouse data stream and the keyboard data stream setup gets postponed as a "virtual subdevice", at timestamps 169.812--169.812.

By the seatd calls, that uses input device with file descriptors 132.

At 174.228 the log starts showing the switch to VT 3, which in particular results in all input devices being "removed" from Xorg's internal data structures, that all their file descriptors are closed via seatd. Notably the device modules are not unloaded though.

In comparison, log good#13 shows the VT shift-away in log lines 104.675--104.744 with the same activity although logged differently. In particular that the logind log lines calls it "paused".

Next we can trace in the log that the "problem device" is unplugged and plugged back by virtue of Xorg handling the udev events while its VT is inactive. Thereafter the log (at bad#13: 192.148) represents the shift back and activation VT4 followed by (at bas#13:195.493) the Xorg termination.

The strand from bad#13:180.566--180.567 seem to represent the bug that the internal data structure discards the event4 handling and that the libinout module gets unloaded. That would result in that the subsequent VT entry does not re-establish event4 without the user again unplug/plug-in the device. The exact bug requires source review.

Notabley the log strand good#13: 160.359--160.414 where the device is plugged in while Xorg's VT is inactive doesn't present a failing attempt to aqire event4. Instead it gets "opened in paused state" that (in some way) avoids re-establsihing the "virtual sub device".

So, in short, it's a bit like reading the future in tea leaves smile

#17 Re: Hardware & System Configuration » [SOLVED] Xorg: libseat1: failure to reclaim USB input devices » 2024-10-18 13:20:59

Yes that was noted, and I'm trying to pinpoint what the issue is more exactly. The fork was done so as to extend input mediation to have seatd as alternative mediator instead of logind.

Please post a log using seatd as Xorg backend, and libinput to handle the problem device.
Also, please post the log of the working debian package. In both cases I will need to see the whole session from start of Xorg to the return to the VT.

fsmithred's case is different since that doesn't include input mediation and the log does not report error.

#18 Re: Off-topic » The Joke Thread » 2024-10-18 01:04:28

mmm enjoying a good laugh is a reality worth pursuing, I think wink

#19 Re: Off-topic » The Joke Thread » 2024-10-17 23:59:05

Yeah I don't mind people attempting to amuse themselves and others, but that useless waste of vertical space is grating. (That's why I already added a filter to remove strands of newlines. I didn't think anyone would be s...inclined enough to force vertical space by single dots or whatever)

#20 Re: Off-topic » The Joke Thread » 2024-10-17 22:14:03

@T-A-P Can you please stop that useless vertical spacing... you just makes everything even more boring!

#21 Re: Hardware & System Configuration » [SOLVED] Xorg: libseat1: failure to reclaim USB input devices » 2024-10-17 21:58:32

Note that there there are significant differences in your two use cases which seemingly have the same misbehaviour.

Firstly Alverstone uses logind as seatd backend, while fsmithred doesn't use seatd at all (i.e. the input mediation is disabled,  because "libseat integration requires -keeptty and -keeptty was not provided"). Secondly A's device is handled by evdev while f's device is handled by libinput.

evdev seemingly has its issues during its re-loading for the device, whereas libinput seemingly succeeds re-loading the keyboard.

Good information; it points outside the libseat integration towards something in device juggling.

It would be useful if you Alverstone could run a test using libinput rather than evdev, and make sure there is no main Xorg.conf in use (as there apperas to be since your InputClass snippets are ignored). A log from such a test would be useful.

And perhaps fsmithred could start a new thread since yours is a completely different use case.

#22 Re: Hardware & System Configuration » [SOLVED] Xorg: libseat1: failure to reclaim USB input devices » 2024-10-17 12:32:02

Yes I'd like to see the log file from startx down to that switch back to VT4.

#23 Re: Hardware & System Configuration » [SOLVED] Xorg: libseat1: failure to reclaim USB input devices » 2024-10-17 12:06:17

I think you mentioned having an Xorg.conf. If so, please provide that as well.

In summary the issue is that upon returning to a VT running Xorg, that Xorg does not detect or handle changes to the USB inputs compared to when previously leaving the VT.

Please also provide an Xorg log file covering the period of one test; i.e. from startx to after having returned to the VT.

#24 Re: DIY » How to replace all mentions in git soure code, » 2024-10-03 07:07:50

The command you are using,

git rev-list --all | xargs git grep -F python2.7

scans all versions of all files in reverse chronological order, to find "python2.7".

Probably you mean to only check the latest version of the files? Like

grep  -F python2.7 -r *

which would not report any match.

#25 Re: DIY » How to replace all mentions in git soure code, » 2024-10-02 21:33:01

Yes you are confused smile.

That find command of @fsmithred, when taken literally, will replace all occurrences of "old-word" (literally) with "new-word" (literally), and it will do nothing to occurrences of "python2.7".

That is a puzzle for ome and not for others.

Board footer

Forum Software