You are not logged in.
I think that I may have gotten this the wrong way round. From what I can see online, there never has been support for the sound card. I just always used it with a Behringer U-Phoria UMC202HD USB sound card, and never tried the built-in sound card until after I tried the AudioQuest sound card, making me think something happened due to that card… Unless someone has some ideas about a driver for the built-in sound card, I guess that this topic could be marked “solved”…
I would like to install Devuan, but as I have been experiencing audio issues, I started by booting from the live desktop image and testing the hardware. I should preface this by writing that I have just picked up the computer today, from my local computer tech shop. I had taken the computer there because of the audio problems, and was told that there is nothing wrong with the hardware. Sooo... I brought the computer back home, only to find that only the hdmi sound (crappy speakers in a monitor) is working. the built-in sound card still doesn't work in Linux. Here is what the hardware look like, and I emphasize that it was working before I tested the sound card:
$ inxi -SMA
System:
Host: devuan Kernel: 6.1.0-10-amd64 arch: x86_64 bits: 64 Desktop: Xfce
v: 4.18.1 Distro: Devuan GNU/Linux 5 (daedalus)
Machine:
Type: Desktop System: HUAWEI product: PUM-WDX9 v: M1010
serial: <superuser required>
Mobo: HUAWEI model: PUM-WDX9-PCB-B1 v: M1010 serial: <superuser required>
UEFI: HUAWEI v: 1.28 date: 08/22/2022
Audio:
Device-1: AMD Renoir Radeon High Definition Audio driver: snd_hda_intel
Device-2: AMD ACP/ACP3X/ACP6x Audio Coprocessor driver: N/A
Device-3: AMD Family 17h/19h HD Audio driver: snd_hda_intel
API: ALSA v: k6.1.0-10-amd64 status: kernel-api
Server-1: PulseAudio v: 16.1 status: active
$ lsmod | grep snd
snd_hda_codec_realtek 172032 1
snd_hda_codec_generic 98304 1 snd_hda_codec_realtek
snd_hda_codec_hdmi 81920 1
snd_hda_intel 57344 3
snd_intel_dspcfg 36864 1 snd_hda_intel
snd_intel_sdw_acpi 20480 1 snd_intel_dspcfg
snd_hda_codec 184320 4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
snd_hda_core 122880 5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
snd_pci_acp6x 20480 0
snd_hwdep 16384 1 snd_hda_codec
snd_pcm 159744 5 snd_hda_codec_hdmi,snd_pci_acp6x,snd_hda_intel,snd_hda_codec,snd_hda_core
snd_timer 49152 1 snd_pcm
snd 126976 14 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_pcm
soundcore 16384 1 snd
snd_pci_acp5x 20480 0
snd_rn_pci_acp3x 20480 0
ledtrig_audio 16384 2 snd_hda_codec_generic,huawei_wmi
snd_acp_config 16384 1 snd_rn_pci_acp3x
snd_soc_acpi 16384 1 snd_acp_config
snd_pci_acp3x 20480 0
The USB sound card that I was testing is an AudioQuest DragonFly Black v1.5.
Any ideas about how I can get the hardware working?
Many thanks for the replies.
Thanks for the reply. I found that I am able to get to the Trinity desktop by choosing “nomodeset” in GRUB. There appears to be a problem using my Nvidia graphics card. All I can get is what looks like an 800x600 resolution. The card on my computer is an Nvidia GeForce GTX 1660 SUPER.
Trying to test Exe GNU/Linux, but I can't get past the cli login. Shouldn't it boot into a graphical environment, and why can't I find any information about user name and password? Trying to use exegnu64_daedalus-20231220
OK, the latest update is that I changed the Devuan /boot/extlinux/extlinux.conf back to the original setup:
UI menu.c32
PROMPT 0
MENU TITLE Welcome to Devuan - Debian without SystemD
TIMEOUT 100
DEFAULT devuan
LABEL devuan
MENU LABEL Devuan
KERNEL /vmlinuz
APPEND initrd=/initrd.img ro root=/dev/sdd1
by mounting the partition in Slackware and editing. When I rebooted, I was suddenly able to boot into the system again, so I uninstalled all kernels except for the low latency kernel and after having rerun the NVIDIA.run script, everything seems to be working fine. I will wait a couple of days before I mark this topic as solved, just in case there is something else.
@ fsmithred
Here I thought that I had everything sorted, but I compiled a low latency kernel following the instructions here and now even though I changed the entries in the Devuan /boot/extlinux/extlinux.conf to as follows, it refuses to boot, but just cycles through the countdown from 10-0 and back again:
UI menu.c32
PROMPT 0
MENU TITLE Welcome to Devuan - Debian without SystemD
TIMEOUT 100
DEFAULT devuan
LABEL devuan
MENU LABEL Devuan
KERNEL /vmlinuz-4.9.88-lowlatency
APPEND initrd=/initrd.img-4.9.88-lowlatency ro root=/dev/sdd1
Interestingly, if I mount the Devuan partition /boot/extlinux/ and manually rename all of the files that end in ".amd64" and add ".bak" at the end, and reboot, I get the same error about the partition /dev/sdd1 no longer existing, as I did when I tried editing the Devuan /etc/inittab and changed:
# The default runlevel.
id:2:initdefault:
to
# The default runlevel.
id:1:initdefault:
sooo I am pretty sure that there is some sort of glitch in Devuan ASCII, as switching runlevels in the /etc/inittab shouldn't cause an error like that, and I can't imagine that renaming files with ".bak" should do that either.
Sorry I don't have anything useful to add. When I get a chance, I'll try extlinux with a multi-boot system and let you know what I find.
I just successfully booted into Devuan ASCII on my triple boot system. Here are my extlinux.conf entries:
Slackware64 14.2 /boot/extlinux/extlinux.conf entry for Devuan ASCII install:
LABEL devuan
MENU LABEL Devuan - Debian without SystemD
COM32 chain.c32
APPEND hd3 1
Devuan ASCII /boot/extlinux/extlinux.conf entry (Devuan ASCII only):
UI menu.c32
PROMPT 0
MENU TITLE Welcome to Devuan - Debian without SystemD
TIMEOUT 100
DEFAULT devuan
LABEL devuan
MENU LABEL Devuan
KERNEL /vmlinuz
APPEND initrd=/initrd.img ro root=/dev/sdd1
On the Devuan ASCII side, I could make do with less, as I really don't need a menu. All I want to be able to do is to boot into the system from the Slackware extlinux menu, but it is the first thing that works.
Sorry I don't have anything useful to add. When I get a chance, I'll try extlinux with a multi-boot system and let you know what I find.
Looking forward
@fsmithred
OK, So now I have what I believe to be a working Devuan system (as there were no errors during the install or when install extlinux), but I am unable to boot into it. /boot/extlinux/extlinux.conf contained the following to boot the Devuan system to start with:
LABEL devuan
MENU LABEL Devuan
COM32 chain.c32
APPEND hd3 1
As this is a matter of chain loading, I only included a minimal /boot/extlinux/extlinux.conf on the root partition of the Devuan install. It read:
KERNEL /vmlinuz
APPEND initrd=/initrd.img ro root=/dev/sdd1
However, I got the error:
No Default or UI configuration directive found!
Next, I copied the menu.c32 module from my Slackware64 install to /boot/extlinux/ on the Devuan system and edited the /boot/extlinux/extlinux.conf for the Devuan system to read:
UI menu.c32
PROMPT 0
MENU TITLE Boot Menu
TIMEOUT 100
DEFAULT devuan
LABEL devuan
MENU LABEL Devuan
KERNEL /vmlinuz
APPEND initrd=initrd.img ro roodt=sdd1
On reboot, got the error:
failed to load COM32 file menu.c32
Sooo, then I returned to my Slackware64 install, again edited the /boot/extlinux/extlinux.conf for Devuan to read:
UI chain.c32
KERNEL /vmlinuz
APPEND initrd=/initrd.img ro root=/dev/sdd1
and copied the chain.c32 module from my Slackware64 install to /boot/extlinux/. On reboot, I this time got the error:
failed to load COM32 file chain.c32
I am not really sure where to go from here. My Slackware64 /boot/extlinux/extlinux.conf has constantly had the following information for booting my Devuan install:
LABEL devuan
MENU LABEL Devuan
COM32 chain.c32
APPEND hd3 1
----
On the off chance that it had something to do with the Slackware64 extlinux modules, I mounted the Devuan system and then copied the modules as per the instructions within the Devuan system:
cp /usr/lib/syslinux/modules/bios/*.c32 /boot/extlinux
The actual command was of course slightly different as I was working from within another system, but the modules and the target were correct. There is no change in the error that I receive, so it must be a configuration issue, but I haven't been able to pin it down.
I see. How about this:
#!/bin/sh SES="$( update-alternatives --list x-session-manager )" C=1; for S in $SES; do echo "$C: $S" C=$(( $C + 1 )) done echo S=''; while true; do echo -n 'Select window manager [1]: ' read I echo "$I" | grep -q '[^0-9]' && continue if [ -z "$I" ]; then S=1 break; fi if [ "$I" -gt 0 ] && [ "$I" -lt $C ]; then S=$I break fi done CMD="$( echo "$SES" | head -n$S | tail -n1 )" echo "$CMD" > "$HOME/.wm" echo "Default WM set to $CMD."
Then you could just do something like:
alias startx='startx "$( cat "$HOME/.wm" )"'
Very cool. Thanks.
----
So in reference to a triple boot system, extlinux and Devuan, I assume that Devuan continues to use runlevels as Debian used to do with Sys V. What argument should be included in these lines
LABEL devuan
MENU LABEL Devuan - Debian without SystemD
COM32 chain.c32
APPEND hd2 1
in /boot/extlinux/extlinux.conf to boot into runlevel 1???
----
Well, alternatively it is possible to go in and edit /etc/inittab, changing
id:2:initdefault:
to
id:1:initdefault:
This is good if you need to run NVIDIA driver install scripts that are very sensitive to any X.org running, but it is only a root command line. I have discovered that it is possible to
# su - username
to get into the user account. Unfortunately, it isn't possible to run an X session in that mode, as permission is denied...
devuan_dk_fan wrote:$ startx
I wish there was something similar for Devuan, thus avoiding the login manager for those users that like to keep it simple.
I might miss something here but startx exists on Devuan?
Yes, but the process I was describing doesn't work with Debian based systems, as there is no xwmconfig. The closest to that is running
# dpkg-reconfigure gdm
but that just switches between login managers and not window managers.
If it's already dual boot and you're adding another OS, couldn't you just make a new entry in the existing boot menu?
That was the original plan. As far as I understand, while extlinux is able to read the entire file system (any file system) it still needs a boot loader at the target.
You could let it install grub and then switch to extlinux. When I did that, it was easy. I didn't set it up for multiple systems, but I do use syslinux on multiboot live-usb frequently, but those are all on the same partition. I'm not sure what happens when you want to boot from different partitions.
I followed your instructions to do that on another computer, which of course changed the MBR, but leaves /boot/grub on the system. It didn't interfere with anything on a single system boot, but I was wondering how that would play out with a triple boot system. It is of course possible to
# rm -r /boot/grub
but again was unsure if that would potentially cause problems with or affect the stability of a triple boot system.
At the slim login screen, press F1 to toggle different window managers.
Thanks. I know. I have set up the necessary i3.desktop files if they didn't exist, or if the existing ones didn't appear to be working with slim, but never had any success booting from anything other than the default WM. Having gained some experience with Slackware, I prefer starting at the command line, logging in, using the Slackware xwmconfig script, and then running
$ startx
I wish there was something similar for Devuan, thus avoiding the login manager for those users that like to keep it simple.
@ fsmithred It looks like you are right about GRUB getting installed. I thought I avoided it by not specifying a location and then pressing the "go back" button. Unfortunately, the "expert" install sane defaults don't work either, as the install fails. I will have to take a look at this again tomorrow.
Regarding the ASCII "expert" installer, I personally am of the opinion that it has gotten too complicated. I assume that this is something that Debian has decided, but I don't recognize half of the options any more, and for some weird reason, it appears that a choice of login managers is only available with LXQT. Being a happy WM switcher, depending on my workflow (XFCE/i3) the current situation is a nightmare as SLIM or SLiM is no longer developed, and provides no functional, practical means by which it is possible to easily switch between window managers.
Here are all of the steps when using Devuan as the only Linux distro, in a single boot or dual boot situation with Win:
To install extlinux from within the installer, alt-F2 to get to a console.
# chroot /target /bin/bash
# . /etc/profile
# mkdir -p /boot/extlinux
# nano /etc/apt/sources_list # comment out CD/DVD/USB source
# apt-get install extlinux syslinux-common
# extlinux --install /boot/extlinux
# dd if=/usr/lib/EXTLINUX/mbr.bin of=/dev/sdX bs=440 count=1
# cp /usr/lib/syslinux/modules/bios/*.c32 /boot/extlinux
# nano /boot/extlinux/extlinux.conf
Code:
ui menu.c32
label devuan
menu label devuan
kernel /vmlinuz
append initrd=/initrd.img ro root=/dev/sda1
Remember to set the proper partition as bootable!
In a triple boot scenario, I believe that it is enough to do the following, if extlinux is already installed with another Linux distro:
To install extlinux from within the installer, alt-F2 to get to a console.
# chroot /target /bin/bash
# . /etc/profile
# mkdir -p /boot/extlinux
# nano /etc/apt/sources_list # comment out CD/DVD/USB source
# apt-get install extlinux syslinux-common
# extlinux --install /boot/extlinux
# dd if=/usr/lib/EXTLINUX/mbr.bin of=/dev/sdX bs=440 count=1
Here are my notes on installing extlinux (after installation of the system)
To do it from within the installer, alt-F2 to get to a console.
chroot /target
Then you should be able to install extlinux.
Note: you must choose one of the expert installs to prevent grub from being installed.
Actually, it seems that I avoided installing GRUB in the normal install. On the second prompt, I exited to the install menu.
# extlinux --install /boot/extlinux
doesn't work. I get the error:
# extlinux --install /boot/extlinux
/bin/sh: 3: extlinux: not found
----
OK, I think I know where I went wrong. I should have done the following?
# chroot /target /bin/bash
# . /etc/profile
# mkdir -p /boot/extlinux
Still a problem however:
# extlinux --install /boot/extlinux
bash: extlinux: command not found
I am trying to figure out how to install extlinux from the Devuan ASCII installer shell, as Devuan is the last system in a triple boot system (Slackware 64 14.2, Win7 and Devuan). Unfortunately, the following method that I used for Slackware is kicking up an error:
# chroot /mnt /bin/bash
# . /etc/profile
# mkdir -p /boot/extlinux
# extlinux --install /boot/extlinux
# dd if=/usr/share/syslinux/mbr.bin of=/dev/sda
# chroot /mnt /bin/bash
chroot: can't execute '/bin/bash/sh': No such file or directory
Any ideas?
@fsmithred Thanks for all the information. I installed Devuan ASCII-RC 64-bit netinstall with LXDE-QT and added the the KXStudio repo and enabled the GCC5 packages. After an apt update and upgrade, I added all of the packages that I could remember from Slackware's Studioware and Ubuntu Studio. Everything looked set to install, until tuxguitar kicked up a broken packages error that Synaptic couldn't recover from:
Unresolved dependencies, bla, bla:
Depends: libswt-cairo-gtk-3-jni but it is not going to be installed
Depends: libswt-gtk-3-java but it is not going to be installed
Depends: libswt-webkit-gtk-3-jni but it is not going to be installed
Depends: libgcj14 (>=4.8) but it is not installable
Recommends: tuxguitar-jack but it is not going to be installed
If I get time tomorrow, I will try to complete an install of all of the packages, but as a point of departure, everything else looks good.
BTW, not crazy about LXDE-QT, but I really appreciate the ability to choose login managers during the expert install
With ASCII on the doorstep, is it still not recommended to include other repositories?
I am planning the install a fresh Devuan system with the KXStudio repo included for audio production.
The install will be a triple boot (Win7, Devuan and Slackware), so I am interested in getting any feedback possible on extlinux in this connection. Win7 is already installed in UEFI mode and I am wondering how extlinux deals with (or the user) deals with changes to the system, such as kernel updates. Slackware64 14.2 uses elilo, which works with UEFI, but not in a multi-boot scenario. I find GRUB2 to be quite frustrating and would certainly consider using extlinux for a Devuan install, even without a multi-boot scenario, but I am a bit fuzzy on the details in reference to system upgrades, and I haven't been able to find any documentation on that particular aspect of extlinux.
Ok, how about commenting out the line starting sxhkd in your .xinitrc, then starting X and running sxhkd from the terminal. There might be error messages.
$ command not found
# command not found
sxhkd was not in /usr/bin. Something is obviously wrong with the package. I originally had problems with so called "documentation", but I thought that I had overcome the problem. I tried re-cloning the git but all of a sudden, git was no longer installed (I didn't uninstall it) I tried reinstalling gcc and xcb, which also pulled in some dependencies that were not installed last time around for some reason. I cloned the git and then ran "make" but got some errors about missing lib.something.so files. I am not sure that sxhkd can be compiled under Devuan. I therefore gave up, and installed a .deb package that I had compiled under Ubuntu 16.04 before I eschewed systemd. Most things seem to be running as expected now (hot keys), but I have come across a weird quirk (only) when I try starting geany (installed with apt-get) from Dmenu:
Configuration directory could not be created (Permission denied). There could be some problems using Geany without a configuration directroy. Start Geany anyway?
As it is, I have had to create a ~/.local and a ~/.local/share share directory manually, as well as a ~/.config/leafpad directory, for some reason, which I do not understand as I had none of these problems with missing directories when I installed i3wm using the same method.
"Make sure ~/.config/bspwm/bspwmrc is executable." (https://wiki.archlinux.org/index.php/Bs … n.27t_work)
Thanks I have checked that a couple of times, as that is the most obvious reason for the hot keys not to work. Unfortunately, that isn't the case, so there must be something else that is preventing the hot keys from working. I have also checked all of the dependencies, but I haven't found anything there either.
Btw, what's the reason you're trying to use bspwm?
bspwm is to my knowledge, the lightest tiling window manager available.
I followed the instructions and reduced my .xinitrc file to the following:
sxhkd &
lxterminal &
exec bspwm
The terminal fills the entire space (as it should), but I can't get any response from my hot keys, even when quitting the terminal. I compared the permissions for sxhkdrc on my Devuan install to the Slackware version and they are the same. I am at a loss as to why the hot keys aren't working.
I don't have any experience with bspwm. However, from what I can see in the screenshot, it seems like the window manager is not being started when you start X. Do you have an .xinitrc file in your home directory? If so, what does it look like?
Wow. Interesting. As a matter of fact, I don't have an .xinitrc. I don't have any experience with .xinitrc's. Any advice on how to create one? I just use xwmconfig in Slackware to set the window manager after login, and then run "startx".
Also, did you build bspwm from source or install it through the package manager (which would be possible in ascii or ceres)?
What I did was I cloned from the git and then ran make, checkinstall so that I had some .deb packages should I need to build these packages again.
----
Here is the .xinitrc that xwmconfig generates for baspwm in Slackware, but I assume that some is distro specific?
#!/bin/sh
userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap
# merge in defaults and keymaps
[ -f $sysresources ] && xrdb -merge $sysresources
[ -f $sysmodmap ] && xmodmap $sysmodmap
[ -f $userresources ] && xrdb -merge $userresources
[ -f $usermodmap ] && xmodmap $usermodmap
sxhkd &
# Start the window manager:
if [ -z "$DESKTOP_SESSION" -a -x /usr/bin/ck-launch-session ]; then
ck-launch-session dbus-launch --exit-with-session bspwm
else
bspwm
fi
I have installed a minimal Devuan system on my Acer Aspire One 725 with bspwm, as I am trying to minimize overhead using the apps that I need to run.
$ startx
gives me this. The focus stays in lxterminal and my few hot keys in sxhkd are unable to run with the lxterminal focus. I have earlier tried with urxvt, but it remains unfocused and no hot key commands work there either. All dependencies are installed as per here.
My bspwmrc is so far largely standard:
#! /bin/sh
sxhkd &
bspc monitor -d 1 2 3 4 5 6 7 8 9 10
bspc config border_width 1
bspc config window_gap 0
bspc config top_padding 12
bspc config bottom_padding 12
bspc config split_ratio 0.52
bspc config borderless_monocle true
bspc config gapless_monocle true
bspc rule -a Gimp desktop='^8' state=floating follow=on
bspc rule -a Chromium desktop='^2'
bspc rule -a mplayer2 state=floating
bspc rule -a Kupfer.py focus=on
bspc rule -a Screenkey manage=off
Here are my sxhkdrc file contents:
#
# wm independent hotkeys
#
# terminal emulator
super + Return
lxterminal
# program launcher
super + d
dmenu_run -fn '40x50' -i -nb '#000000' -nf '#FFFFFF' -sb '#8DC7E0' -sf '#000000'
# file manager
super + x
pcmanfm
# web browser
super + b
vivaldi-stable
# make sxhkd reload its configuration files:
super + shift + r
pkill -USR1 -x sxhkd
#
# bspwm hotkeys
#
# quit bspwm normally
super + shift + e
bspc quit
# close and kill
super + {_,shift + }w
bspc node -{c,k}
# alternate between the tiled and monocle layout
super + m
bspc desktop -l next
# send the newest marked node to the newest preselected node
super + y
bspc node newest.marked.local -n newest.!automatic.local
# swap the current node and the biggest node
super + g
bspc node -s biggest
#
# state/flags
#
# set the window state
super + {t,shift + t,s,f}
bspc node -t {tiled,pseudo_tiled,floating,fullscreen}
# set the node flags
super + ctrl + {m,x,y,z}
bspc node -g {marked,locked,sticky,private}
#
# focus/swap
#
# focus the node in the given direction
super + {_,shift + }{h,j,k,l}
bspc node -{f,s} {west,south,north,east}
# focus the node for the given path jump
super + {p,b,comma,period}
bspc node -f @{parent,brother,first,second}
# focus the next/previous node in the current desktop
super + {_,shift + }c
bspc node -f {next,prev}.local
# focus the next/previous desktop in the current monitor
super + bracket{left,right}
bspc desktop -f {prev,next}.local
# focus the last node/desktop
super + {grave,Tab}
bspc {node,desktop} -f last
# focus the older or newer node in the focus history
super + {o,i}
bspc wm -h off; \
bspc node {older,newer} -f; \
bspc wm -h on
# focus or send to the given desktop
super + {_,shift + }{1-9,0}
bspc {desktop -f,node -d} '^{1-9,10}'
#
# preselect
#
# preselect the direction
super + ctrl + {h,j,k,l}
bspc node -p {west,south,north,east}
# preselect the ratio
super + ctrl + {1-9}
bspc node -o 0.{1-9}
# cancel the preselection for the focused node
super + ctrl + space
bspc node -p cancel
# cancel the preselection for the focused desktop
super + ctrl + shift + space
bspc query -N -d | xargs -I id -n 1 bspc node id -p cancel
#
# move/resize
#
# expand a window by moving one of its side outward
super + alt + {h,j,k,l}
bspc node -z {left -20 0,bottom 0 20,top 0 -20,right 20 0}
# contract a window by moving one of its side inward
super + alt + shift + {h,j,k,l}
bspc node -z {right -20 0,top 0 20,bottom 0 -20,left 20 0}
# move a floating window
super + {Left,Down,Up,Right}
bspc node -v {-20 0,0 20,0 -20,20 0}
This seems to just work in Slackware https://flic.kr/p/24y4QhF
Anyone have some experience with bspwm and Devuan?