The officially official Devuan Forum!

You are not logged in.

#501 Re: Installation » [SOLVED] Fresh Installation of Devuan Wifi Not Working & Grub Issue » 2024-01-01 23:26:50

Are you using excalibur?

Then the firmware-iwlwifi package installs the firmware to the wrong place; it installs into /usr/lib/firmware/intel whereas the kernel like always will want it in /lib/firmware/intel. If that's the case, please lodge a bug report to debian about it, as well as doing your own hands-on to make it work.

#502 Re: Installation » /sbin/mount.nfs missing after an update » 2023-12-26 00:30:51

You are probably right even though that "decision" is obviously not a reason for changing the installation pathname.

#503 Re: Installation » /sbin/mount.nfs missing after an update » 2023-12-25 22:11:00

Apparently many debian packagers have decided to install stuff at different pathnames than before, which means that any script or program that has used full path is no longer working.

Likewise all existing documentation using the old pathnames is then outdated and wrong.

#504 Re: Installation » Installing Devuan on a PC with RX 7600 » 2023-12-25 02:36:45

The problem you run into is that debian firmware package maintainers have recently decides to install the firmware in a different directory from what the kernel looks in.

It boggles my mind how they could think that that would be a good idea.

You will need some manual hands-on to fix it.

#505 Re: ARM Builds » [SOLVED] Video display not working, via rockpro64 » 2023-12-19 12:32:14

If you have the disk image you can mount that on som other system and run that update command there. Or even patch the initrd directly (unpack, patch, pack).

#506 Re: Off-topic » I'm Back » 2023-12-13 20:25:55

Because the .desktop file uses full pathname.

#507 Re: Off-topic » I'm Back » 2023-12-13 12:01:27

Welcome back.

Just to note, I run daedalus with pure ALSA and firefox-esr but I have to run it under apulse for working audio. I do this by moving the binary /usr/lib/firefox-esr/firefox-esr to the filename firefox-esr.orig and then set it as a link to my start script (named firefox-esr.apulse). Here's that script:

#!/bin/sh
exec /usr/bin/apulse /usr/lib/firefox-esr/firefox-esr.orig "$@"

The only "problem" with it is that firefox-esr updates replaces the link with its new binary, so I need to repeat moving it and restoring the link after update.

#508 Re: Other Issues » [SOLVED] Problem with ca-certificates-java » 2023-12-13 03:04:23

Possibly you can installl openjdk-8-jdk-headless from ceres first ?

#509 Re: Desktop and Multimedia » [SOLVED] Firefox no sound. » 2023-12-09 23:19:11

Perhaps it gets better if you change "hw" to "plughw"... or maybe just remove that asound.conf (since it doesn't disagree with the default about which the default card is)

EDIT: note that the difference between "hw" and "plughw" is the absence/presence of audio format translations. "hw" tells ALSA to channel audio direclty to the card without translations while "plughw" tells it to insert audio format conversions as needed.

#510 Re: Installation » Will the netinstall (daedalus) install nonfree wifi drivers for me? » 2023-12-08 11:36:08

All installer ISO include (on the ISO) all firmware available in the repositories.

Choose the "1 Install" method.

#511 Re: Off-topic » Programs that live their own lives. » 2023-11-30 09:58:20

"ManSpeed" ?

That looks like a "portmonnaie" word of MinSpeed and MaxSpeed.

There is a "man synaptics" to read.

#512 Re: Installation » all the new kernel disturb some old PC's! » 2023-11-27 01:32:19

And of course Debain bookworm, which underpins Devuan daedalus, had that major repository change of moving all firmware into the new non-free-firmware section. That change still causes confusion for everyone who whould expect only the traditional repository point changes at an upgrade.

In other words, there need to be a sources.list line naming the non-free-firmware section, e.g. by itself, like:

deb http://deb.devuan.org/merged daedalus non-free-firmware

or together with other sections, for example like

deb http://deb.devuan.org/merged daedalus main contrib non-free-firmware

All Devuan derivatives are likely to have the same issue.

#513 Re: Freedom Hacks » Anyone know how to make a usb mouse work? » 2023-11-20 05:45:42

Unplug the mouse, run "tail -f /var/log/syslog > capture.log", then plug in the mouse and then type ctrl-C to stop the tail. Then drop in the log into a code box here.

#514 Re: Desktop and Multimedia » are you happy with all the old and new wm's for simple small distros? » 2023-11-15 19:29:00

"file manager"?
That's quite a useless piece of software.
It's so much easier to just type commands in a terminal (window).

#515 Re: Desktop and Multimedia » Strategies to deal with .xsession-errors » 2023-11-11 03:46:57

1. Yes: sudo umount $HOME/.xsession-errors un-does the mount and brings back the old $HOME/.xsession-errors file... (you may want to remove it and then "touch the pathname" before you mount so it comes back without any random old log lines)

2. For this option, you'd need to create that $HOME/bin/logrot.sh script, make it executable, and then edit crontab to have that line (or your preferred variant thereof). This option only keeps a single backup named $HOME/.xsession-errors.1 as it reuses that pathname each time.

3. For this option you'd need to install logrotate and then configure that.. as per its "man" pages. I don't know exactly.

#516 Re: Desktop and Multimedia » Strategies to deal with .xsession-errors » 2023-11-10 22:49:37

1. One option is to mount /dev/null onto it, like

sudo mount -obind /dev/null $HOME/.xsession-errors

Though doing this will discard all errors as they occur and that might be too forceful.

2. Another option is to drop a small script into $HOME/bin/logrot.sh, like

#!/bin/sh
#
# This script limits a file to a given number of lines, by moving it
# to a backup name when longer.
#
# $1=filename
# $2=max number of lines (defaults to 1000)

[ -r "$1" ] || exit 1 # The pathname is not readable
[ $(wc -l < $1) -lt ${2:-1000} ] && return 0 # The file is short enough
mv $1 $1.1 && touch $1 # Back it up and leave an empty

and then also add a crontab -e entry like this

37 5 * * * $HOME/bin/logrot.sh $HOME/.xsession-errors 2000

so as to run that script once a day (at 5:37) and then "rotate" the file if it is longer than 2000 lines.

3. Another option is to use something like logrotate and configure that to bother about your $HOME/.xsession-errors

#517 Re: Desktop and Multimedia » [SOLVED] Firefox no sound. » 2023-11-05 20:43:08

"Firefox" needs to be run by "apulse" so as to direct its audio through pure ALSA.
E.g. insert "apulse" first on the "Exec" line of the ".desktop" file(s) in use for starting "firefox".

#518 Re: Installation » Install from Ventoy » 2023-11-05 20:33:43

Yeah, the core problem is that the ISO is not available as a mountable partition to the installer, but instead the installer would need to search for it as an image file among the available drives and partitions. It's a whole new use case collective that the installer is (was) not prepared for.

Otoh it's not terribly complicated to add such a search to it; possibly something coming out sooninsh.

#519 Re: Installation » Install from Ventoy » 2023-11-03 01:19:27

Having had a sniff at Ventoy I see that it uses an exfat filsystem, which is not included in preamble.gz. Perhaps it's sufficient to add that ...

EDIT: no it's not sufficient.

#520 Re: Installation » Install from Ventoy » 2023-11-02 23:13:46

Camtaf wrote:

.. each distro is added to the Ventoy start menu, from which you start the desired distro..

The daedalus ISO offers a menu of alternative boot methods; does "start the desired distro" start with presenting that menu?

The ISO is further a hybrid ISO with 3 separate boot equipments that cater for different use cases: whether the media is presented as a harddisk or a cdrom and whether the boot loading is by legacy or UEFI bios. Which use case does Ventoy present?

Evidently Ventoy is able to start a kernel (which kernel?) and unpack the preamble.gz of the daedalus ISO. Then the init script of that fails to find the partition.

For sure, that init script could be improved to scan for image files and loop-back mount that for loading the actual installer (initrd.gz) and also for again, later presenting the ISO as block device for that installer. Is anyone up for assisting with making such script improvement?

E.g. at the emergency shell, install the loopback module with max_part=16, then mount the partition containing ISOs, then loopback mount daedalus as isofs (might need to load the module first), then unpack its /boot/isolinux/initrd.gz onto /target. After that it's just a matter of switching to /target as root filesystem (though with certain environment passed on)... You can inspect the current /init script of preamble.gz or at the emergency shell prompt to get an idea.

#521 Re: Hardware & System Configuration » no sound on gnuinos » 2023-11-02 00:13:26

Just for the wider audience: it' not a good idea to redefine the "hw" PCM. (If it works for you then you should keep it)

The most common way to set the default card is by an ~/.asoundrc or ~/.config/alsa/asoundrc with content

defaults.pcm.card 1
defaults.ctl.card 1

Of course, that applies for that user only. A system-wide setting would be to add the same in /etc/asound.conf (or any of the other places that ALSA configuration loader looks in).

#522 Re: Hardware & System Configuration » no sound on gnuinos » 2023-11-01 11:10:37

I guess you mistakenly copied his ".asoundrc" and replaced "hw" with "plughw"... that's not what to do.
Rather you should use my (last) suggested ".asoundrc" to make sure the right card is selected for audio output. Then use "aplay -D plughw ..." for playing, because that PCM has audio format translations to map any input format into the format "hw" needs. ("plughw" channels audio to/from "hw" as its slave PCM)

EDIT: I'm not good at guessing and confused myself about "amixer" vs "aplay". There is no "plughw" CTL, and one would rather use amixer with the "hw" CTL. I.e., playback to "plughw" with mixer controls for "hw"

#523 Re: Hardware & System Configuration » no sound on gnuinos » 2023-11-01 08:08:26

You'd probably be better off playing on "plughw" rather than "hw" as it includes audio format translations.

But, when the card selection is done, the next is to look at the amixer settings.

#524 Re: Hardware & System Configuration » no sound on gnuinos » 2023-10-31 20:33:42

I was wrong and too sloppy to actually test my suggestion.
It should really say

defaults.pcm.card 1
defaults.ctl.card 1

There is the tool qasconfig that presents the raw current ALSA configuration. I find it somewhat useful on occation (even if I don't fully understand it), but it in particular tells the configuration effect  of changes to ~/.asoundrc.

EDIT: corrected to say qasconfig as it should have been.

#525 Re: Hardware & System Configuration » no sound on gnuinos » 2023-10-31 11:07:48

The "problem" is that the machine has 2 cards and the ALSA default setup uses card 0 for playback.
The remedy is to change that to use card 1.
One way to do that (when there is a single user involved) is to make a file ~/.asoundrc that contains such reassignments, e.g.:

pcm.!default card 1
ctl.!default card 1

Note that the file allows comments as lines starting with '#'.

Read more about it at https://www.alsa-project.org/wiki/Asoundrc

EDIT: "pcm" refers to the audio channels (playback and recording) whereas "ctl" refers to "control knobs". ALSA is hugely configurable with an overly flexible configuration language and I believe anyone trying to delve into it very quickly enters into a state of deep confusion. Unfortunately.

Board footer

Forum Software