The officially official Devuan Forum!

You are not logged in.

#1 Re: Other Issues » libinput error rescue and recovery mode » 2023-02-09 21:18:29

tux
sudo apt-get install wireless-tools
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  libiw30
The following NEW packages will be installed:
  libiw30 wireless-tools
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 134 kB of archives.
After this operation, 358 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Err:1 http://deb.devuan.org/merged chimaera/main amd64 libiw30 amd64 30~pre9-13.1
  Could not resolve 'deb.devuan.org'
Err:2 http://deb.devuan.org/merged chimaera/main amd64 wireless-tools amd64 30~pre9-13.1
  Could not resolve 'deb.devuan.org'
E: Failed to fetch http://deb.devuan.org/merged/pool/DEBIAN/main/w/wireless-tools/libiw30_30%7epre9-13.1_amd64.deb  Could not resolve 'deb.devuan.org'
E: Failed to fetch http://deb.devuan.org/merged/pool/DEBIAN/main/w/wireless-tools/wireless-tools_30%7epre9-13.1_amd64.deb  Could not resolve 'deb.devuan.org'
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

#2 Re: Other Issues » libinput error rescue and recovery mode » 2023-02-09 21:04:24

tux

chroot to partition and sudo apt update uses base os sources.list file

sudo apt update error

Err:1 http://deb.devuan.org/merged chimaera InRelease                          
  Could not resolve 'deb.devuan.org'
Err:2 https://brave-browser-apt-release.s3.brave.com stable InRelease          
  Could not resolve 'brave-browser-apt-release.s3.brave.com'
Err:3 http://deb.devuan.org/merged chimaera-updates InRelease                  
  Could not resolve 'deb.devuan.org'
Err:4 http://deb.devuan.org/merged chimaera-security InRelease
  Could not resolve 'deb.devuan.org'
Err:5 http://deb.devuan.org/merged chimaera-backports InRelease
  Could not resolve 'deb.devuan.org'

Failed to fetch http://deb.devuan.org/merged/dists/chimaera/InRelease 
 Could not resolve 'deb.devuan.org'

ping 0.0.0.0 and ping 8.8.8.8 work.

devuan server down?

#3 Re: Other Issues » libinput error rescue and recovery mode » 2023-02-09 19:05:09

tux

boot from live disk and use live disk internet to update sources.list file in base os

mount /dev/sbd /mnt
sudo apt-get -o <base os media file path to /etc/apt/sources.list>=/dev/sdb update

command line fetching the live disk sources.list file, how to fetch from base os path?

#4 Re: Other Issues » cdrom to source list » 2023-01-25 21:23:31

tux

mount -o loop,ro -t iso9660 /mnt/devuan_chimaera_4.0.0_amd64_desktop.iso /media/cdrom

deb file:/cdrom chimaera main
added to config file.

sudo aptupdate
Error output.

W: the resository file:cdrom chimaera does not have a release file
E: failed to fetch file:cdrom/distros/chimaera/main/source/Sources File not found - /cd/dist
/chimaera/main/sources/Sources (2: No such file or directory)
W: Some indect files failed to download. they have been ignored, or old ones used instead

no lines in live or base os sources.list have deb cdrom lines commented or uncommented.

#5 Re: Other Issues » cdrom to source list » 2023-01-25 02:00:45

tux
 # Package repositories
deb [trusted=yes] file:/mnt/devuan_chimaera_4.0.2_amd64_desktop-live.iso chimaera main
deb [trusted=yes] cdeb file:/mnt/mount-iso chimaera main
deb [trusted=yes] cdeb file:/devuan_chimaera_4.0.2_amd64_desktop-live.iso chimaera main
deb [trusted=yes] cdrom file:/devuan_chimaera_4.0.2_amd64_desktop-live.iso chimaera main

#6 Other Issues » cdrom to source list » 2023-01-25 01:19:14

tux
Replies: 6

what is correct commenting for Base OS installing updates offline with mounted live iso cd/dvd

 # Package repositories
deb file:/mnt/devuan_chimaera_4.0.2_amd64_desktop-live.iso chimaera main
deb cdeb /mnt/devuan_chimaera_4.0.2_amd64_desktop-live.iso
deb cdrom:[devuan_chimaera_4.0.2_amd64_desktop-live.iso}/ cimaera contrib main
#deb  http://deb.devuan.org/merged chimaera main 
#deb http://deb.devuan.org/merged chimaera-updates main
#deb http://deb.devuan.org/merged chimaera-security main
 # Source repository
deb-src cdeb /mnt/devuan_chimaera_4.0.2_amd64_desktop-live.iso chimaera main
deb cdeb file:/mnt/mount-iso chimaera main
deb file:/mnt/mount-iso chimaera main 

#7 Re: Other Issues » libinput error rescue and recovery mode » 2023-01-22 15:11:51

tux

mixing stable with newer kernels from sysnaptic, which get patch updates upgrades. no testing or rolling config

rescue/enable=true in live iso not lauching grub rescue graphical interface, launch command line grub

#8 Re: Other Issues » libinput error rescue and recovery mode » 2023-01-22 10:01:46

tux

sudo fsck -p fails to fix with recovery mode, live iso and live iso rescue mode.

booting into grub rescue mode with shift key, init=/bin/bash, F10

not showing grub rescue menu, command line only in large font. rescue and rescue/enable=true not launching rescue menu.

rescue mode not detecting wlan0.

#9 Other Issues » libinput error rescue and recovery mode » 2023-01-21 15:32:13

tux
Replies: 9

installed gnome packages gives start up error

error output

sudo startx launch

xinit connecting to x server waiting for x server to shut down 

internal details output

(EE) Failed to load /usr/lib/xorg/modules/imput/libinput_drv.so:libinput.so.10:cannot 
open shared object file: no such file or directory failed to load module libinput (loader failed 0) 

In recovery mode all gnome packages were removed. no access to graphical recovery mode.

unsuccesful at nmcli wifi connect in recovery mode, no apt update, upgrade net access to fix.

nmcli error

 nmcli dev wifi connect <name>
Error: could not creat NMclient: object could not connect: no such file or directory

nmcli con up <name>
error connection activation failed no suitable device found for this connection 
(device etho not available because profile is not compatiable with device (missmatching interface name) 

all nmcli trouble shooting forum command lines fail to connect.

new stable libinput debian packages are installed in /home/usr
dpkg -i  and tar xf fail

#10 Re: Other Issues » No Sound ALSA » 2022-10-20 20:18:24

tux

distrowatch listed gnuinos for upcoming review, distro released earlier?

#11 Re: Other Issues » No Sound ALSA » 2022-10-20 20:01:51

tux

aitor you release a fork today and have time time to trouble shoot, how?

testing fork iso with 6.1 incoming?

#12 Re: Other Issues » No Sound ALSA » 2022-10-19 21:36:31

tux
aplay /dev/urandom -f dat -D hw:1,0
aplay: main:830: audio open error: No such file or directory

how install daedalus with signed 5.19.13 or highter, kernel 5.19 give kernel panic at boot

hyphens set and it install correctly, the script must be altered and include specific hardware numbers.
davidjo at github go into more detail in issues pages.

scritps build developed on higher linux kernel

#13 Re: Other Issues » No Sound ALSA » 2022-10-19 17:36:44

tux

Cirrus Logic Chip mean no sound
Cirrus chips have no documentation, must be reverse engineered by developers. scripts on configs not liky to commited to KMS.

alsamixer cli must have Cirrus Logic CS8409

stable is Cirrus Logic Generic
backport is Cirrus Logic CS8409 with aitor install instructions

adding blacklist snd_hda_codec_generic not sound after reboot
alsamixer with blacklist  install snd_hda_codec_generic /bin/false on shows pulse no other card options.

sudo pulseaudio -k
E: [pulseaudio] main.c: Failed to kill daemon: No such process
sudo insmod ./snd-hda-codec-cs8409.ko sadf
insmod: ERROR: could not load module ./snd-hda-codec-cs8409.ko: No such file or 
directory

install 5.19 first install failed. output

sudo apt-get install linux-headers-5.19.0-0
dkms: running auto installation service for kernel 5.19.0-0.deb11.2-rt-amd64:Error! Could not locate dkms.conf file.
File: /var/lib/dkms/snd_hda_codec_cs8409/1.0/source/dkms.conf does not exist.
 failed!
run-parts: /etc/kernel/header_postinst.d/dkms exited with return code 4

synaptic install of 5.19 success. on bootin kernel panic

new 5.18 kernel find card. daedalus 5.10.70 older than backports. ceres at 5.14.9 according to distrowatch. no 6.1 backports.

#14 Re: Other Issues » No Sound ALSA » 2022-10-16 19:54:49

tux

aitor nice work, I think one final edit of your first post with correct revisions. then site admins should add this very helpful guide to https://www.devuan.org/os/documentation/dev1fanboy/ page.

I used hyphens for the /usr/src/snd.... dir folder name.

switch alsamixer pulseaudio default to card: HDA Intel PCH chip:Cirrus Logic CS8409
one PCM volume unmuted

no sound after reboot

speaker-test -c2 -t wave                           

speaker-test 1.2.4

Playback device is default
Stream parameters are 48000Hz, S16_LE, 2 channels
WAV file(s)
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 96 to 1048576
Period size range from 32 to 349526
Using max buffer size 1048576
Periods = 4
was set period_size = 262144
was set buffer_size = 1048576
 0 - Front Left
 1 - Front Right
Time per period = 4.433372
 0 - Front Left
 1 - Front Right
Time per period = 4.391042
 0 - Front Left
 1 - Front Right
Time per period = 4.394210
 0 - Front Left
 1 - Front Right
Time per period = 4.386391
 0 - Front Left
 1 - Front Right
Time per period = 4.393002
 0 - Front Left
 1 - Front Right
Time per period = 4.389116
 0 - Front Left
 1 - Front Right
Time per period = 4.394633
 0 - Front Left
 1 - Front Right
Time per period = 4.394972
 0 - Front Left
 1 - Front Right
Time per period = 4.390509
 0 - Front Left
 1 - Front Right

#15 Re: Other Issues » No Sound ALSA » 2022-10-16 19:13:44

tux

install worked

lsmod | grep snd_hda_codec_cs8409
snd_hda_codec_cs8409   163840  0
snd_hda_codec_generic    98304  2 snd_hda_codec_cs8409
snd_hda_codec         176128  3 snd_hda_codec_generic,snd_hda_codec_cs8409,snd_hda_intel
snd_hda_core          110592  4 snd_hda_codec_generic,snd_hda_codec_cs8409,snd_hda_intel,snd_hda_codec

longer version

lsmod | grep snd
snd_hda_codec_cs8409   163840  0
snd_hda_codec_generic    98304  2 snd_hda_codec_cs8409
ledtrig_audio          16384  1 snd_hda_codec_generic
snd_hda_intel          57344  3
snd_intel_dspcfg       32768  1 snd_hda_intel
snd_intel_sdw_acpi     20480  1 snd_intel_dspcfg
snd_hda_codec         176128  3 snd_hda_codec_generic,snd_hda_codec_cs8409,snd_hda_intel
snd_hda_core          110592  4 snd_hda_codec_generic,snd_hda_codec_cs8409,snd_hda_intel,snd_hda_codec
snd_hwdep              16384  1 snd_hda_codec
snd_pcm_oss            65536  0
snd_mixer_oss          28672  1 snd_pcm_oss
snd_pcm               155648  4 snd_hda_intel,snd_hda_codec,snd_pcm_oss,snd_hda_core
snd_timer              45056  1 snd_pcm
snd                   118784  14 snd_hda_codec_generic,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_timer,snd_pcm_oss,snd_pcm,snd_mixer_oss
soundcore              16384  1 snd

then reboot and sound tests

#16 Re: Other Issues » No Sound ALSA » 2022-10-16 18:13:21

tux

Now we are going to modify the install target in the Makefile, renaming the module before it's installation:

install:
	mkdir -p $(KDIR)/updates/
	mv snd-hda-codec-cs8409.ko snd_hda_codec_cs8409.ko
	cp snd_hda_codec_cs8409.ko $(KDIR)/updates/
	depmod -a

cd /usr/src/snd....... dir
mkdir -p $(KDIR)/updates/

error output
sudo mkdir -p $(KDIR)/updates/
bash: KDIR: command not found

#17 Re: Other Issues » No Sound ALSA » 2022-10-16 13:17:49

tux

cd '/usr/src/snd_hda_codec_cs8409-1.0'

sudo dkms add -m snd_hda_codec_cs8409 -v 1.0

ouput - Creating symlink /var/lib/dkms/snd_hda_codec_cs8409/1.0/source ->
                 /usr/src/snd_hda_codec_cs8409-1.0 
DKMS: add completed.
dkms install -m snd_hda_codec_cs8409 -v 1.0

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area...
make -j4 KERNELRELEASE=5.18.0-0.deb11.4-amd64 -C /lib/modules/5.18.0-0.deb11.4-amd64/build M=/var/lib/dkms/snd_hda_codec_cs8409/1.0/build....
Error!  Build of snd_hda_codec_cs8409.ko failed for: 5.18.0-0.deb11.4-amd64 (x86_64)
Make sure the name of the generated module is correct and at the root of the
build directory

and in stable

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area...
make -j4 KERNELRELEASE=5.10.0-18-amd64 -C /lib/modules/5.10.0-18-amd64/build M=/var/lib/dkms/snd_hda_codec_cs8409/1.0/build...
Error!  Build of snd_hda_codec_cs8409.ko failed for: 5.10.0-18-amd64 (x86_64)
Make sure the name of the generated module is correct and at the root of the
build directory

there are dmks headers for apt-get install dkms linux-headers-5.10.0-18-amd64 but none for backport 5.18.0.0-amd64

#18 Re: Other Issues » No Sound ALSA » 2022-10-16 12:37:20

tux
aitor wrote:
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

man dkms does not have delete action, only remove or uninstall

name of folder snd_hda_codec_cs8409 and name of the .config file is call dkms.conf

might below command fix?
sudo dkm remove -m dkms.conf

#19 Re: Other Issues » No Sound ALSA » 2022-10-16 12:07:12

tux

is the parent the subdirectory inside /usr/src/snd_hda_codec_cs8409-1.0'
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'

#20 Re: Other Issues » No Sound ALSA » 2022-10-16 11:52:25

tux

original dir /home/user/snd-hda-codec-cs8409-master

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

#21 Re: Other Issues » No Sound ALSA » 2022-10-16 11:31:42

tux

cannot find ./ dir

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

BUILT_MODULE_LOCATION=./usr/src

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

#22 Re: Other Issues » No Sound ALSA » 2022-10-16 11:03:34

tux

inexperienced linux user here, much learn i have do

package tar had been correctly installed to /usr/src/snd_hda_codec_cs8409-1.0 and dkms.conf tar matches original tar.

name of folder is snd_hda_codec_cs8409-1.0

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

#23 Re: Other Issues » No Sound ALSA » 2022-10-16 09:36:59

tux

aitor nice documentation

before saw your post i used the git fork https://github.com/mac-repo-001/snd-hda-codec-cs8409 and followed readme instructions
git clone
cd
make
make install
reboot

in backports 5.18 launch alsamixer I switched from pulseaudio (default) to HDI Intel PCH
chip output back to: Cirris Logic Generic from previous Cirris Logic 8490

now has a new volume next to PCM volume, <Internal Mic Boost> both 100% umuted

no sound either 5.18 backport or stable 5.10.0.18

deleted snd-8409 dir, alsamixer still same cirris logic generic, no documentation on uninstalling correctly

Now following your documentation

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

touch dkms.conf

nano dkms.conf

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

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

sudo dkms add -m snd_hda_codec_cs8409 and sudo dkms add -m snd_hda_codec_cs8409-master
give error

Error! Arguments <module> and <module-version> are not specified
Usage: add <module>/<module-version> or
       add -m <module>/<module-version> or
       add -m <module> -v <module-version>

#24 Re: Other Issues » No Sound ALSA » 2022-10-15 19:36:35

tux

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

#25 Re: Other Issues » No Sound ALSA » 2022-10-13 22:21:20

tux

aplay -L | grep :CARD

hw:CARD=PCH,DEV=0
plughw:CARD=PCH,DEV=0
default:CARD=PCH
sysdefault:CARD=PCH
front:CARD=PCH,DEV=0
surround21:CARD=PCH,DEV=0
surround40:CARD=PCH,DEV=0
surround41:CARD=PCH,DEV=0
surround50:CARD=PCH,DEV=0
surround51:CARD=PCH,DEV=0
surround71:CARD=PCH,DEV=0
dmix:CARD=PCH,DEV=0
usbstream:CARD=PCH

sudo alsactl init

alsa-lib parser.c:260:(error_node) UCM is not supported for this HDA model (HDA Intel PCH at 0x92720000 irq 59)
alsa-lib main.c:1014:(snd_use_case_mgr_open) error: failed to import hw:1 use case configuration -6
Found hardware: "HDA-Intel" "Cirrus Logic Generic"

Board footer

Forum Software