The officially official Devuan Forum!

You are not logged in.

#1 Re: DIY » usb controllers and qemu » Yesterday 05:14:11

Yes, you add GROUP="plugdev" with a preceding comma, to the end of line 13, to make it be:

SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", IMPORT{builtin}="usb_id", IMPORT{builtin}="hwdb --subsystem=usb", GROUP="plugdev"

With that, on your host, the USB that you plug in will be in group plugdev with rw mode.

It then requires the user that runs qemu to already be in group plugdev when logging in, which is a funny linux thing one can't avoid. I.e., after adding the user to the group, that user need to log out and in again in order to actually be in that group.

By that, the qemu guest should have and be able to access the USB key.

If however the USB key is unplugged, qemu will drop the connecting device setup, so that when the USB key is plugged in again, you need to operate the qemu console to restore the connecting device setup. This is another quirk to deal with. The best is of course to leave the USB key plugged in.

#2 Re: Packaging for Devuan » Packaging the fftrate ALSA plugin » 2025-11-25 21:59:47

In summary: version 1.6.3-3 has been built and will be available in a couple of days with the sources.list reference:

deb http://deb.devuan.org/devuan experimental main

Note that it is "/devuan" rather than "/merged", since the experimental repository is not merged. Further, I should warn that adding such sources.list lines willy-nilly can bring unplanned hair loss.

At the moment only the plugin package 1.6.3-1 is available.

The experimental building pipeline is for "all" architectures: amd64, arm64, armhf, i386, ppc64el and riscv64.

If you have another architecture, you may download the ".dsc", "tar.gz" and "tar.xz" files to a directory, cd into that and use the "debuild" schemata to build, like the following:

dpkg-source -x fftrate_1.6.3-3.dsc
cd fftrate-1.6.3
debuild -k0x12345678

where  "12345678" is replaced by your GPG key ID. That'll leave the build residue in the parent directory and the work tree fftrate-1.6.3 can be removed. Note that you may have to also install build dependencies; ideally it will tell you which to install. If it doesn't then please tell me (because then I have failed to declare that dependency)

#3 Re: Packaging for Devuan » Packaging the fftrate ALSA plugin » 2025-11-25 10:31:20

There's now both the plugin package, with added manpage, and an fftrate-utils package, with binaries and man pages, in Devuan's experimental repository.

The next step for that will be to get it into debian, which is a slower process.

#4 Re: Packaging for Devuan » Packaging the fftrate ALSA plugin » 2025-11-24 22:12:38

Great. Is that github project yours, or something you could add to? As of principle it's best when "upstream material" is added to upstream; otherwise it ends up as packaging patch(es) which is much less accessible for people.

In this case it would also be possible to make an upstream-based fork within the packaging project to include these things (and maybe some of the other good documentations you have written).

Or even better would be that you create your own project at, say, git.devuan.org (or codeberg.org) as a fork of the github upstream, and then add your documentations and man pages to that. My packaging project can track that instead.

Note that "side documentation", including man pages, may well reside at top level or perhaps a "doc" directory,  without particular format constraints. Often it's plain text files or markup files that get gzipped in the packaging. In the packaging it's typically placed in /usr/share/doc/$package/ (except the man pages of course)

#5 Re: Documentation » Devuan package mirrors, deb.devuan.org, HTTPS, and mirror monitoring. » 2025-11-24 13:48:30

Note that thus it probably needs to be

https://mirrors.dotsrc.org/devuan/merged

as repository URL for that server.

#6 Re: Packaging for Devuan » Packaging the fftrate ALSA plugin » 2025-11-24 06:16:08

Thanks. Yes it's now packaged and added to Devuan experimental.

It's using quilt packaging with a minor source touch-up patch to resolve  compiler complaints, and a separate "packaging" patch that sets it up for gbp-buildpackage. Presently only the plugin package is built since the binaries lack man pages, and I'm looking into making a man page for the plugin.

#7 Re: ARM Builds » Missing USB kernel modules » 2025-11-21 20:49:32

If you are looking for linux source, then
https://git.kernel.org/pub/scm/linux/ke … /linux.git
is a good place. That would be all 8G (currently) of all linux release versions, tagged. By instead running

git archive --remote=https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git --format=tgz v6.9.10  | tar xzf - -C mydir

will get you only that particular version, v6.9.10, in (pre-existing) directory mydir. i.e. you need to create that directory beforehand, and of course choose the version you want.

If you are looking for debian's packaging source, then probably running apt-get source linux-image-... is a good way. Or you can chase it up via the package information.

Though I feel I must again add my opinion, that apart from your mind lock, the easy way would be to assign two different IP addresses to the two different servers. Yes, the laptop operator would need to exercise some situational awareness and make the appropriate choices in different situations; but that's like turning your bike to the left when the path bends left.

#8 Re: ARM Builds » Missing USB kernel modules » 2025-11-20 07:14:10

I'm thoroughly confused by your explanation. It surely would be simpler to assign two different IP addresses to the two NFS servers (whether or not they are connected on the network concurrently), and then have two alternative mount declarations on a client, which could be onto the same mount point if that's your intention.

In my mind, that would be the simple way. Especially compared to whatever is involved in chasing two or a few modules to fit your kernel.

But that may be of no help to you I suppose.

#9 Re: Installation » Boot issue » 2025-11-18 06:55:15

Presumably you need to edit /etc/fstab to add a line for it, like

/dev/sdb1  /home  ext4  defaults,noatime  0  1

But with details suitable for you.

Check "man fstab" for the details.

#10 Packaging for Devuan » Packaging the fftrate ALSA plugin » 2025-11-18 06:36:10

ralph.ronnquist
Replies: 9

I thought to mention that I've started on a debian packaging of the fftrate ALSA plugin. This is initially aimed at Devuan's experimental repository and that packaging has its source residence in Devuan's git store, at https://git.devuan.org/devuan/fftrate.git

I will submit it to debian in due course.

#11 Re: Desktop and Multimedia » debug firefox-esr microfone sound » 2025-11-17 12:46:26

@bai4Iej2need yes it would be in addition. Your settings defines the CARD "variable" and it thus applies separately and together.

Though, as @igorzwx noted, the default setup might already have dsnoop and dmix.

#12 Re: Desktop and Multimedia » aegisub-3.2: symbol lookup error: /lib/x86_64-linux-gnu » 2025-11-16 12:42:36

Probably your system does not link together /lib and /usr/lib

If so, the searchable keyword is usrmerge

Not my idea.

#13 Re: Desktop and Multimedia » debug firefox-esr microfone sound » 2025-11-15 23:53:54

That's a great .asoundrc example. Though you could have omitted "primary_system" tree which most likely will confuse the casual reader smile

I suggest the OP should only consider the part following # Configuration for PCH.

You, the reader, may however note the similarities between the "default" tree and the "primary_system" tree (which targets the USB sound card), and pay attention to the differences in their sample rates and bit sizes (48k, 16 bits versus 192k, 32 bits). In both cases rate conversions are handled by fftrate which @igorzwx introduced us to last year.

See e.g, https://dev1galaxy.org/viewtopic.php?id=7142 or search fftrate on the forum. We are still longing for a debian packaging of this.

#14 Re: Desktop and Multimedia » debug firefox-esr microfone sound » 2025-11-15 22:13:58

Yes I noticed you mentioned that some while ago (and has verified on my system).

I still needed the setup on that (daedalus) system, so thought to mention it. Baybe it rather was the S16_LE setting for the microphone that made the difference, or the 48k sampling (?) I'm not sure.

#15 Re: Desktop and Multimedia » debug firefox-esr microfone sound » 2025-11-15 10:36:10

For some firefox version I had to introduce a "dsnoop" pcm on the capture side, so that it could handle multiple concurrent accesses to the microphone. It appeared to be that firefox opened the microphone device before forking and thereby ended up in access contention with itself; the "dsnoop" pcm allows the microphone to be shared.

It resulted in a few pcm declarations in ~/.asoundrc:

pcm.!default {
    type plug
    slave {
        pcm splitter
        rate 48000 ; channels 2
    }
}
pcm.splitter {
    type asym
    playback.pcm plughw
    capture.pcm mic
}

# The "mic" PCM adds "dsnoop" to source opening, which allows a single
# source be used by many "consuming processes". This is required by
# firefox, which otherwise locks out itself from using the microphone.
pcm.mic {
    type dsnoop
    ipc_key 5
    ipc_key_add_uid false
    slave {
        pcm "hw:0,0"
        period_size 2048 ; buffer_size 16384
        periods 0 ; period_time 0
        format S16_LE ; rate 48000 ; channels 2
    }
}

Something like that; it was a while ago and I'm not totally sure about it.

#16 Re: Installation » [SOLVED] Can't run Devuan Excalibur on Software Raid » 2025-11-15 00:50:42

I've repeated your setup and it fails for me as well.

However, with the variation to use the default type 1.2 metadata for the raids the installation was successful.

Perhaps you can try that, unless you require type 0.90 metadata for some reason?

I don't know enough about it to comment on that difference, but it seems type 1.2 was the default already in chimaera.

#17 Re: Documentation » How to: Devuan 5 Daedalus an pipewire » 2025-11-14 00:22:40

Why use Microsoft's server for FOSS ?
Why not git.devuan.org ?
Or codeberg.org ?

#18 Re: Other Issues » Hi, new here just joined devuan. need help with games an programs. » 2025-11-13 05:36:19

No, there can only be one codename on a line. You need a separate line for each codename.

#19 Re: Other Issues » Hi, new here just joined devuan. need help with games an programs. » 2025-11-13 02:39:01

The four labels main, contrib, non-free and non-free-firmware are known as sections;

The four labels excalibur, excalibur-updates, excalibur-secority and excalibur-proposed-updates are known as codenames;

The URL http://deb.devuan.org/merged is known as the base.

The prefix label deb indicates that the line is for binary packages, and the prefix label deb-src indicates that the line is for source packages.

Each sources.list line includes (in order) a prefix label, the base, a codename, and one or more sections. You can have it as 4 lines with a single section on each, or as a single line with all four sections.

I suggested you have one deb line for each codename, with all 4 sections, and one deb-src line for each codename, with all 4 sections.

#20 Re: Installation » [SOLVED] Can't run Devuan Excalibur on Software Raid » 2025-11-12 23:06:01

You confuse me. What is the problem, really?
The installer doesn't build any md assemblies by itself. And the raid1 setup seems fine.

However the lack of a bootloader partition for grub on the boot disk is a problem. You should have /dev/sda1 or /dev/sdb1 partitions assigned as BOOT_bios partitions for grub to use (choosing which is the boot disk). So you can't use them in a raid and you can't install a filesystem on them.

#21 Re: Other Issues » Hi, new here just joined devuan. need help with games an programs. » 2025-11-12 20:54:26

The order is not important, but duplicates might be a bother. I.e., you should remove the top two, because the are duplicates for excalibur/main and excalibur/non-free-firmware.

In addition, you should probably add sources.list lines for excalibur-updates and excalibur-proposed-updates ... also using sections main, contrib, non-free and non-free-firmwares. With that you would be more "future ready".

#22 Re: Installation » [SOLVED] Can't run Devuan Excalibur on Software Raid » 2025-11-12 13:47:34

I've now set up a VM with 2 disks /dev/sda and /dev/sdb, with some 8 partitions each, to form 7 raid1 assemblies, while /dev/sda1 and /dev/sdb1 are set up as "BIOS boot" partitions for grub. Though only /dev/sd1 is in use for booting.

The key step for making it work is to not install grub via the installer but by hand from the C-A-F2 console, and then bind-mount /run from the installer onto
/target/run before the chroot into /target and the grub installation.

If you missed out on that, you can recover by starting the installer in menu choice 1, and progress that to the hostname dialog; then go to C-A -F2 console for recovery actions, for example:

# mdadm -C -n2 -x0 -lraid1 -v /dev/md0 /dev/sda2 /dev/sdb2
# mount -t ext4 /dev/md0 /mnt
# mount --bind /run /mnt/run
# chroot /mnt /bin/bash -i

and continue in the chroot

# mount -t proc proc /proc
# mount -t devtmpfs dev /dev
# mount -t devpts devpts /dev/pts
# mount -t sysfs sys /sys
# mdadm --assemble --scan
# mount -a
# apt-get install --reinstall grub
# update-grub
# grub-install /dev/sda
# update-initramfs -u
# exit

and then

reboot

The above is on the assumption that md0 has sda2 and sdb2, and contains the root filesystem. Further /etc/mdadm/mdadm.conf must be duly prepared; but the key is still to have md0 assembled in the console and then that /run is bind-mounted into the chroot before you go into that for the further rescue actions.

HTH

#23 Re: Installation » [SOLVED] Can't run Devuan Excalibur on Software Raid » 2025-11-12 03:02:44

Have you verified uuid? it's unusual for me to see ":" rather than "-" in uuid, though it may well be an mdadm thing(?)

ls -l /dev/disk/by-uuid

In any case I'll set up a VM trial to see if I can replicate your problem.

#24 Re: Installation » [SOLVED] dist upgrade to excalibur hits only security packages » 2025-11-09 11:26:29

Did you actually run that sed command?
I copied and pasted from your post #14 and got a file of 1603 bytes.
That is the size of the file in your post #22
I then ran that sed command and got a file of 1598 bytes.
The differences are in removal of space characters on the blank lines.

Perhaps you have different explanation why your file is 1603 bytes?

#25 Re: Installation » [SOLVED] dist upgrade to excalibur hits only security packages » 2025-11-08 23:07:48

It appears your /etc/apt/sources.list.d/devuan.sources have blank lines that are not empty, but each contains a single space character. Therefore that whole file becomes treated as a single block of key: value pairs, where the last one for each key overrides all other.

I don't know which which editor you use to accomplish that single-space-character blank lines, but if you run the following command it will be happier:

sed 's/^\s*$//' -i /etc/apt/sources.list.d/devuan.sources

You can verify that the file is slightly smaller after the command, and if you first copy the file to /tmp/OLD you can compare them with diff or meld to see what I talked about already some posts ago.

Board footer

Forum Software