The officially official Devuan Forum!

You are not logged in.

#151 Re: Other Issues » No Sound ALSA » 2022-10-16 12:22:59

tux wrote:

is the parent the subdirectory inside /usr/src/snd_hda_codec_cs8409-1.0'

Yes.

if it is then there is no subdirectory inside /usr/src/snd... dir and only an copy of  /home/user/snd-hda-codec-cs8409-master at /usr/src/snd_hda_codec_cs8409-1.0'

As a result:

BUILT_MODULE_LOCATION=./    ==>    absolute_dir = /usr/src/snd_hda_codec_cs8409-1.0/ + relative_dir (= ./)

where the Makefile is found, that is:

path_to_the_makefile     ==>       absolute_dir/Makefile = /usr/src/snd_hda_codec_cs8409-1.0/Makefile

All this is right, and the origin of the issue is another one.

#152 Re: Other Issues » No Sound ALSA » 2022-10-16 11:54:39

tux wrote:

parent dir '/usr/src/snd_hda_codec_cs8409-1.0'

Contaning the configuration file for dkms, I suppose.

Try deleting it (but don't remove the content of the folder):

# dkms delete -m snd_hda_codec_cs8409

and then add, build and install it again. Via dkms add/build/install

#153 Re: Other Issues » No Sound ALSA » 2022-10-16 11:41:24

tux wrote:

cannot find ./ dir

Huh? It's the parent directory

tux wrote:

should i nano edit /usr/snd... dir and add

BUILT_MODULE_LOCATION=./usr/src

delete /usr/src/snd... dir and restart whole process again?

Nope. The location is right. This variable is not an absolute path (note that it hasn't a forward slash at the beginning), but a relative path (relative to /usr/src/snd_hda_codec_cs8409-1.0/ where the tarball has been uncompressed). And it's the path to the Makefile, which is located in the parent directory.

In some cases, for example, you can find the Makefile in

/usr/src/<name>-<version>/src/Makefile

Hence, the variable would be BUILT_MODULE_LOCATION=./src

If I'm not mistaken smile

#154 Re: Other Issues » No Sound ALSA » 2022-10-16 11:31:07

tux wrote:

dkms.conf tar matches original tar.

...

there is no subdirectory inside /usr/src/snd_hda_codec_cs8409-1.0 which has source code and tar...

The icon confuses you. It's not a compressed tarball. It's just a plain text file. The icon looking like a package is due to the content of the first line beginning with PACKAGE_NAME=blah_blah_blah.

Move the line:

BUILT_MODULE_NAME=snd_hda_codec_cs8409

to the top file, and the icon changes.

#155 Re: Other Issues » No Sound ALSA » 2022-10-16 11:16:32

tux wrote:

when creating dkms.conf in 8409-master dir it turn into a brown folder package

...

on save it turn into a dkms.conf package not file

Yes, if you are referring to the icon.

#156 Re: Other Issues » No Sound ALSA » 2022-10-16 11:10:30

tux wrote:

there is no subdirectory inside /usr/src/snd_hda_codec_cs8409-1.0 which has source code and tar, nor inside original.

Therefore BUILT_MODULE_LOCATION=./

#157 Re: Other Issues » No Sound ALSA » 2022-10-16 10:15:30

aitor wrote:

The name of the folder must be:  <PACKAGE_NAME> - <PACKAGE_VERSION>

Disclaimer: don't use hyphens ( - ) in the name, use underscores ( _ ) instead.

#158 Re: Other Issues » No Sound ALSA » 2022-10-16 10:09:30

tux wrote:

when creating dkms.conf in 8409-master dir it turn into a brown folder package
cd into 8409 dir

Pay attention to what I said:

The name of the folder must be:  <PACKAGE_NAME> - <PACKAGE_VERSION>

Althogh there isn't any debian package here. So, the uncompressed tarball must be copied to /usr/src/snd_hda_codec_cs8409-1.0 or whatever name and version you wish. But they should match those given in the dkms.conf file:

PACKAGE_NAME=snd_hda_codec_cs8409
BUILT_MODULE_NAME=snd_hda_codec_cs8409
PACKAGE_VERSION=1.0
BUILT_MODULE_LOCATION=./
...

BUILT_MODULE_LOCATION is the subdirectory containing the source and the Makefile. It might be src/ in some common cases.

All the steps worked for me.

#159 Re: Other Issues » No Sound ALSA » 2022-10-16 00:04:52

tux wrote:

reinstalled pulse and alsa

no longer says cirris-logic-genaric

cat /proc/asound/card*/codec* | grep Codec
Codec: Cirrus Logic CS8409

how to compile and install driver from github? cd, mkdir, make build not installing

https://github.com/egorenar/snd-hda-codec-cs8409

It's not so trivial. I recommend you to install the driver using the Dynamic Kernel Module Support (DKMS).

You need to install dkms together with the linux-headers (replace the version of the headers to match your kernel version):

# apt-get install dkms linux-headers-5.16.0-1-amd64

Download the tarball:

$ wget https://github.com/egorenar/snd-hda-codec-cs8409/archive/refs/heads/master.zip

and extract the content (you'll need to install unzip first):

$ unzip master.zip

Enter the directory:

$ cd snd-hda-codec-cs8409-master

Create the dkms.conf file inside of the extracted source code directory. For example:

PACKAGE_NAME=snd_hda_codec_cs8409
BUILT_MODULE_NAME=snd_hda_codec_cs8409
PACKAGE_VERSION=1.0
BUILT_MODULE_LOCATION=./
DEST_MODULE_LOCATION=/kernel/driver/updates
AUTOINSTALL=yes

This example identifies a kernel module named snd_hda_codec_cs8409 with version 1.0.

As root, copy the kernel module source code into the /usr/src/ directory:

# mkdir /usr/src/snd_hda_codec_cs8409-1.0
# cp -Rv . /usr/src/snd_hda_codec_cs8409-1.0

In the above commands, the name of the folder must be:  <PACKAGE_NAME> - <PACKAGE_VERSION>

Add the kernel module to the dkms tree so that it is tracked by if:

# dkms add -m snd_hda_codec_cs8409

Build the kernel module using dkms:

# dkms build -m snd_hda_codec_cs8409 -v 1.0

Install the kernel module using dkms:

# dkms install -m snd_hda_codec_cs8409 -v 1.0

The modprobe command can be used to load it:

# modprobe snd_hda_codec_cs8409

Validate the kernel module is loaded:

$ lsmod | grep snd_hda_codec_cs8409

Good luck!

#160 Re: Devuan » Devuan kFreeBSD » 2022-10-14 05:58:09

Head_on_a_Stick wrote:
Danielsan wrote:

It was closed for lack of volunteers but I think it was a great idea.

It would be fantastic if Devuan could inherit and revive this project!

So I take it you're volunteering then? Thanks! tongue

I started working on that:

https://www.gnuinos.org/kfreebsd-13.1/

But I can't make any promises. It's not an easy task.

#161 Re: Off-topic » Music » 2022-10-09 14:25:52

Head_on_a_Stick wrote:

Spirit in the Dark by Arethra Franklin.

And now True Genius by Ray Charles.

In a Soul mood today.

Don't forget Janis Joplin

#162 Re: Other Issues » package-update-indicator » 2022-09-25 12:08:01

/usr/bin/xfce4-terminal -x sudo apt upgrade

#163 Re: Desktop and Multimedia » amixer-gtk » 2022-09-22 17:48:02

hunter0one wrote:

Nice mixer I should say altor. smile

Thanks smile

#164 Re: Desktop and Multimedia » amixer-gtk » 2022-09-12 19:27:57

Matlib wrote:

This app obviously lacks some features like sound device selection.

I am aware of this. Thanks for giving it a try!

#165 Re: Desktop and Multimedia » [SOLVED] upgrade produces initramfs-tools errors » 2022-09-10 05:43:26

amaro wrote:

Hello everybody!

during system upgrade got this mesage

update-initramfs: Generating /boot/initrd.img-5.10.0-16-686-pae
W: No zstd in /usr/bin:/sbin:/bin, using gzip

trying to install 'zstd' got this one

update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools (0.142) ...
update-initramfs: Generating /boot/initrd.img-5.10.0-16-686-pae
live-boot: core filesystems dm-verityE: /usr/share/initramfs-tools/hooks/live failed with return 1.
update-initramfs: failed for /boot/initrd.img-5.10.0-16-686-pae with 1.
dpkg: error processing package initramfs-tools (--configure):
 installed initramfs-tools package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)

any help is appreciated!
thank you in advance!

The part concerning to dm-verity in /usr/share/initramfs-tools/hooks/live should be as follows:

# dm-verity support
if [ "${DISABLE_DM_VERITY:-}" != "true" ] && [ "${DISABLE_DM_VERITY:-}" != "yes" ]
then
	[ "${QUIET}" ] || echo -n " dm-verity"
	manual_add_modules dm-verity
	# The BusyBox mount does not support dm-verity so we use the util-linux version.
	copy_exec /bin/mount
fi

The problem arises trying to copy the mount binary, which is located at /bin instead of /usr/bin. So, the line:

copy_exec /usr/bin/mount /bin

must be replaced with:

copy_exec /bin/mount

in live-boot-initramfs-tools

#166 Re: Desktop and Multimedia » amixer-gtk » 2022-09-09 20:34:21

PedroReina wrote:

It looks great. Thank you for your work.

Thanks, Pedro!

#167 Re: Other Issues » [SOLVED] Invalid Signatures » 2022-09-08 23:39:59

linuxuser wrote:

ISO images have to be fixed, though

Quoting Ralph Ronnquist, there is an initial collection of trial installer ISOs that need to be tested in a range of settings at:

https://ido.rrq.id.au/download/

#168 Desktop and Multimedia » amixer-gtk » 2022-09-08 23:27:22

aitor
Replies: 15

I've developed a new alsa mixer interface:

amixer-gtk

The packages are built for chimaera.

Just run amixer-gtk or add it to your autostart applications, and the icon will appear in your systray. The sound card suitable for playback/capture streaming will be automatically detected by the program. It looks like this:

FluxBB bbcode test

#169 Re: News & Announcements » [SOLVED] invalid: EXPKEYSIG BB23C00C61FC752C Devuan Repository » 2022-09-08 22:58:16

ralph.ronnquist wrote:

At https://ido.rrq.id.au/download there is an initial collection of trial installer ISOs that need to be tested in a range of settings.

Everyone here who doesn't devalue themselves with the label "just a Devuan user" should grab at least one of them and run it through a number of variations, and then report on it, maybe as an email to me. Refer to usecases.html for the primary use case division. VM trials as well as bare-metal trials are good.

EDIT: my alternate email is rrq at rrq dot id dot au

Thanks for your work, Ralph

#171 Re: Desktop and Multimedia » which tool for changing WLAN access » 2022-08-18 22:38:33

golinux wrote:

There is also KatolaZ' setnet which I understand works quite well too.

Yes. Although I used setnet in devuan jessie, I didn't mention it because I can't remember whether it depended on ifupdown. On the other hand, I can't find the packages in chimaera.

#173 Re: Off-topic » best criticism of systemd » 2022-08-05 23:09:04

golinux wrote:

I fixed aitor's link and it works now.

Thanks smile

#174 Re: Off-topic » best criticism of systemd » 2022-08-05 22:43:06

golinux wrote:

There were other excellent critiques written at the time. I remember one by Jude Nelson in particular but it all fell on deaf ears.

This one:

Systemd: The Biggest Fallacies (by Jude C. Nelson)

#175 Re: Devuan Derivatives » GNUinOS - Libre » 2022-07-25 23:26:57

andyprough wrote:

I see there's a new version of GNUinos ISO's posted to the Chimaera live mirror today, both 32-bit (PAE and non-PAE) and 64-bit, with XFCE or openbox. https://www.gnuinos.org/mirror/chimaera/live/

I've tried the XFCE version, think I'll have a look at the openbox version this time.

Yes, I've fixed some issues related to Hopman.

On the other hand, I'm also looking at the following plugin for SpaceFM, the file manager included in the openbox version:

https://github.com/jpfleury/corbeille-spacefm

because it doesn't send files to the trash bin when you hit delete in the right click popup menu.

If you decide to install another file manager, you must indicate it in the files below:

  • ~/.xmenurx

  • ~/.hopmanrc

If they don't exist, you can create them and copy the content of the respective files located in /etc/default, modifying them for matching your installed programs.

Board footer

Forum Software