You are not logged in.
However wrong it is, the PC Speaker appears as an input device and is handled by the kbd module, or more specifically, Xorg looks for a keyboard device that handles bell. I think the idea is that the XBell event is actually like a KeyPress event and should be handled along the keyboard event handling path.
In any case, the kbd module is the only device handler for "bell" I've been able to find. You could also try the "evdev" module as driver. Xorg doesn't really care, but "libinput" doesn't recognise the "PC Speaker" device, so no driver gets installed.
I'm not sure how that could affect the "real" keyboard handling. The short of it is that Xorg has to install a driver for that device in order to use it.
The device, /dev/inputevent7 for you, is linked up by udev as /dev/input/by-path/platform-pcspkr-event-spkr (which you will find is a symbolic link to ../event7), and that's thus the same destination character device. But the missing link is for Xorg to install a (keyboard) driver that would have interest in the bell event(s).
EDIT: actually if you could share your Xorg.0.log with me, e.g. upload it to https://transfer.rrq.au so I could havea glance and maybe get some inspiration.... Xorg.0.log is found in either /var/log/ (if Xorg is run as root) or in ~/.local/share/xorg/ if Xorg is run by non-root user). Or email it to me.
I looked into this a bit and found a fair few ducks to line up before it worked both in console and Xorg.
For bell sound by the "xkbbell" command I needed to
add a special "InputClass" configuration snippet that tells Xorg to use the "kbd" module (from xserver-xorg-input-kbd) for the "PC Speaker" device;
configure Xorg to bell with 50% volume rather than 0%, and
enable loopback for the sound card.
My special configuration snippet /etc/X11/xorg.conf.d/pcspkeaker.conf is
Section "InputClass"
Identifier "PC Speaker"
MatchProduct "PC Speaker"
Driver "kbd"
EndSection
You can use the "lsinput" command (from input-utils) to verify the name (i.e. the MatchProduct string) of the device. You also need to restart Xorg for loading the snippet.
The Xorg bell volume would be raised with an "xset" xommand:
# xset b 50
Loopback enabling might also be a command:
$ amixer sset 'Loopback Mixing' Enabled
though the actuals of that does depend on the soundcard; use a plain "amixer" command and guess from that.
I also needed that loopback enabling to hear a console bell.
Yes, you're right. The XkbBellNotify event is generated but nothing handles it to make the noise.
Each terminal emulator has its own code to handle keyboard input and character output/display. Some of them have configurable properties to "re-enable" audible bell and some don't.
I think you need to "activate the volume group" first; doing so will set up the dm objects for the lvms, and the /dev/mapper (symbolic) links for them, to let you mount them "by name". I believe it'd be something like:
(bogus advice removed)
EDIT: check the man pages; I don't use lvm regularly (being happy enough without that confusion layer) so may well be wrong on the detail.
EDIT2: I blanked my bogus advice --- see @rolfie's post.
What do you get from lsblk ?
Usually it would amount to chroot onto the target and then run update-grub though possibly the installation of grub got confused by something (e.g. a presence of an EFI partition on the host during the installation; the installer has one) and then installed the wrong package variant.
I guess you should have the grub-pc package installed, So make sure the chroot filesystem has the right package and then run grub-install for it (which probably does require mounting of /proc, /sys and /dev) before update-grub.
@unixuser, from memory (since I don't use firefox anymore) I needed a dmix pcm on the playback path for firefox; something with firefox spawning sub processes after having opened its playback sink and then in effect accidentally lock up itself (since the normal playback is exclusive) even though firefox has a single playback process. And for that same reason, it needs the similar setup with a dsnoop on the capture path, and therefore it needs the prior asym pcm to split playback and capture.
Afair I had it working with that, something like:
pcm.!default { type asym; playback.pcm multisink; capture.pcm multisource }
pcm.multisink { type dmix; ipc_key 29879; ipc_key_add_uid true; slave.pcm plughw }
pcm.multisource { type dsnoop; ipc_key 16234; ipc_key_add_uid false; slave.pcm hw }
@rankett could you please copy your /etc/apt/sources.list into a code block here.
Please note that whilst we can continue to be amazed about all your different operator habits, the OP problem was not a question about how and when to be root.
The problem was that libreoffice writer apparently added some extra "invisible" bytes to the beginning of a supposedly text file, and the solution was to remove those bytes.
If you want to organise or reorganise your forum writings into a different style wiki presentation, then it is incumbent on you to go to such a wiki site and do that.
My view is still that if one wants wiki pages to edit then one'd do that on a wiki site; if one wants to publish blogs then one'd do that on a blog site.
Each thing to its own rather than trying to shoe-horn in everything into the one system. It may require a moment of reflection on one's purpose behind the urge of sharing a thought structure, and I find that to be a good thing in itself even though it might place the rendering of that thought structure elsewhere than on this forum.
Interesting. the three dots matched 5 bytes... probably due to encoding. Now you can edit with, say, nano to add the missing "de" and save, then verify it with hexdump, and it should be ok.
EDIT: so, apparently it's libreoffice writer that adds those bytes. Thus, don't use that for editing text files. I suppose it seems that GUI tool developers nowadays don't really know what they are doing
Those first three bytes are some kind of byte-order marker which is something that Window's Notepad likes to drop into text files, and you should remove them. You could do that with the folllowing command (do it ONCE only as it will otherwise remove the next three bytes):
sed '1s/^...//' -i /etc/apt/sources.list
Then, it should go without saying, never never never use Window's Notepad to edit text files.
(Of course I may well be wrong about Notepad )
Put the output of the folling into a "code" block:
hexdump -C /etc/apt/sources.list | head -n 5
... so we can look at the beginning of the file.
Does a music player need to start at boot?
I don't think alsa's use case modelling comes into play, but rather, possibly, there's some residue effects dealing with 48000 Hz v.s. 44100 HZ sampling rates differently in different programs. The "modern" default is 48000 Hz while the "traditional" default is 44100 Hz. It may be possible that your soundcard gets confused by that; if different applications compete about the soundcard configuration.
If that's the case, the remedy should be to ensure that the "default" PCM playback path (here "default" is the name of the targeted PCM, which is used by applications by default) to end in "plughw" rather than "hw" since that includes software to manage sampling rate translations.
@cake, re git stores... nowadays I'd suggest codeberg.org
and you're of course also welcome at git.devuan.org
Just a friendly reminer that It's Never Too Early to stop using Microsoft's github
You seem to have messed up the APPEND line with a badly placed pointer duing copy+paste. Restore and try again.
Note that there must not be a space between a key and its value unless both the key and the value are wrapped into a pair of matching quotes.
In short I think you can reuse the debian boot setup and just replace the root filesystem.
If your debian system is on an SD-card, then you should copy that whole card (including the MBR sectors), then mount the root filesystem partition (of the copy) on another computer so as to replace the whole filesystem with a devuan/arm64 root filesystem. The latter you can set up using debootstrap, and the best is to just make a "minbase" variant; then you would install the rest oer the network on the target after bootup.
EDIT: BUT do remeber to keep the few extra files in /boot (boot.scr and the dtb tree), AND you should also make sure to keep the 99-uboot script (/etc/initramfs/post-update.d/99-uboot) that makes an uImage of the initrd as hook for update-initramfs.... it requires that you install u-boot-tools and device-tree-compiler. You may also need a light hand-edit of that script which otherwise will want to source enironment settings that are not needed for the function of the script.
Firstly, you have prepared the USB stick correctly. It does present itself as a disk image with two partitions where the first is an iso9660 partition (CDROM format) and the second is a FAT32 partition (also called vfat).
And the vfat partition is also an EFI boot partition that should be browseable with an EFI shell... are you able to do that?
I believe beowulf had a grub setup for EFI boot. Which files do you see in that partition with the EFI shell?
EDIT: yes, follow rolfie's advice..
then just change it back to http.
btw there are "code" tags to use for enclosing log text.
update-rc.d $service $action
EDIT: I'm pretty sure there is a man page for it...
One might also find grub documentation on the Internet if not installed.