You are not logged in.
I had some fun with sound some time ago. The problem was with 2 outputs sharing the module snd-hda-intel. It found HDMI first, which became the default.
The solution I found was to disable HDMI with# Disable the HDMI card which shows up first, but enable PCH options snd-hda-intel enable=0,1
in /etc/modprobe.d/alsa-base.conf
Wow, that was a huge step forward! Thank you. Now I can run sound tests successfully:
$ speaker-test -t sine -f 2600
speaker-test 1.0.28
Playback device is default
Stream parameters are 48000Hz, S16_LE, 1 channels
Sine wave rate is 2600,0000Hz
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 2048 to 8192
Period size range from 1024 to 1024
Using max buffer size 8192
Periods = 4
was set period_size = 1024
was set buffer_size = 8192
0 - Front Left
Time per period = 2,835515
0 - Front Left
$ speaker-test -c 6
speaker-test 1.0.28
Playback device is default
Stream parameters are 48000Hz, S16_LE, 6 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 2048 to 8192
Period size range from 1024 to 1024
Using max buffer size 8192
Periods = 4
was set period_size = 1024
was set buffer_size = 8192
0 - Front Left
1 - Front Right
2 - Unused
3 - Unused
4 - Unused
5 - Unused
Unfortunately, I also get the following error in cmus:
"Error: opening audio device: No such device"
Having practiced my Devuan Jessie i3wm minimal install on a number of computers, I decided to do a reinstall on my Acer Aspire One 725 netbook. Having done some more reading, as with the systemd issue, I have decided that for me KISS not only means no systemd, but also that Alsa is an elegant audio solution. Unfortunately, my netbook doesn't agree with me:
$ cat /proc/asound/cards
0 [Generic ]: HDA-Intel - HD-Audio Generic
HD-Audio Generic at 0xf0244000 irq 44
1 [Generic_1 ]: HDA-Intel - HD-Audio Generic
HD-Audio Generic at 0xf0240000 irq 45
$ lspci -knn
(...)
00:01.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Wrestler HDMI Audio [1002:1314]
Subsystem: Acer Incorporated [ALI] Device [1025:0740]
Kernel driver in use: snd_hda_intel
(...)
00:14.2 Audio device [0403]: Advanced Micro Devices, Inc. [AMD] FCH Azalia Controller [1022:780d] (rev 01)
Subsystem: Acer Incorporated [ALI] Device [1025:0740]
Kernel driver in use: snd_hda_intel
$ sudo dmesg | grep sound
[ 3.745709] sound hdaudioC1D0: autoconfig: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
[ 3.745729] sound hdaudioC1D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[ 3.745737] sound hdaudioC1D0: hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[ 3.745744] sound hdaudioC1D0: mono: mono_out=0x0
[ 3.745749] sound hdaudioC1D0: inputs:
[ 3.745758] sound hdaudioC1D0: Internal Mic=0x1b
[ 3.745765] sound hdaudioC1D0: Mic=0x19
[ 3.756016] input: HD-Audio Generic HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:01.1/sound/card0/input13
[ 3.803088] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:14.2/sound/card1/hdaudioC1D0/input14
[ 3.873099] input: HD-Audio Generic Mic as /devices/pci0000:00/0000:00:14.2/sound/card1/input15
[ 3.873412] input: HD-Audio Generic Headphone as /devices/pci0000:00/0000:00:14.2/sound/card1/input16
[ 24.747054] Modules linked in: bnep nfsd auth_rpcgss oid_registry nfs_acl nfs lockd fscache sunrpc parport_pc ppdev lp parport ecb btusb bluetooth 6lowpan_iphc uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_core v4l2_common videodev media joydev acer_wmi sparse_keymap snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic kvm wl(PO) pcspkr psmouse snd_hda_intel radeon k10temp snd_hda_controller ohci_pci ttm snd_hda_codec drm_kms_helper ohci_hcd ehci_pci snd_hwdep xhci_hcd ehci_hcd snd_pcm i2c_piix4 cfg80211 drm i2c_algo_bit r8169 sg rfkill snd_timer i2c_core mii snd soundcore usbcore shpchp usb_common wmi video battery ac button acpi_cpufreq processor ext4 crc16 mbcache jbd2 sd_mod crc_t10dif crct10dif_generic crct10dif_common ahci libahci evdev serio_raw libata scsi_mod thermal thermal_sys
[ 24.758192] Modules linked in: bnep nfsd auth_rpcgss oid_registry nfs_acl nfs lockd fscache sunrpc parport_pc ppdev lp parport ecb btusb bluetooth 6lowpan_iphc uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_core v4l2_common videodev media joydev acer_wmi sparse_keymap snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic kvm wl(PO) pcspkr psmouse snd_hda_intel radeon k10temp snd_hda_controller ohci_pci ttm snd_hda_codec drm_kms_helper ohci_hcd ehci_pci snd_hwdep xhci_hcd ehci_hcd snd_pcm i2c_piix4 cfg80211 drm i2c_algo_bit r8169 sg rfkill snd_timer i2c_core mii snd soundcore usbcore shpchp usb_common wmi video battery ac button acpi_cpufreq processor ext4 crc16 mbcache jbd2 sd_mod crc_t10dif crct10dif_generic crct10dif_common ahci libahci evdev serio_raw libata scsi_mod thermal thermal_sys
[ 34.787863] Modules linked in: bnep nfsd auth_rpcgss oid_registry nfs_acl nfs lockd fscache sunrpc parport_pc ppdev lp parport ecb btusb bluetooth 6lowpan_iphc uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_core v4l2_common videodev media joydev acer_wmi sparse_keymap snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic kvm wl(PO) pcspkr psmouse snd_hda_intel radeon k10temp snd_hda_controller ohci_pci ttm snd_hda_codec drm_kms_helper ohci_hcd ehci_pci snd_hwdep xhci_hcd ehci_hcd snd_pcm i2c_piix4 cfg80211 drm i2c_algo_bit r8169 sg rfkill snd_timer i2c_core mii snd soundcore usbcore shpchp usb_common wmi video battery ac button acpi_cpufreq processor ext4 crc16 mbcache jbd2 sd_mod crc_t10dif crct10dif_generic crct10dif_common ahci libahci evdev serio_raw libata scsi_mod thermal thermal_sys
Unfortunately, the only advice I have gotten so far has been very audio specific (create and edit a ~/.asoundrc file) - complete audio newb, or entertaining me with statements about that Devuan is too narrow a distro, and that I should switch to PulseAudio. I want to learn, and I don't mind editing text files to get where I need, but I also need to be able to understand what is going on. Here are my two basic questions:
1) Do I need a special driver for the sound card? I understand that it normally comes automatically via kernel updates, and as I have installed a targeted kernel, where the sound functioned fine under PulseAudio, I would suspect not.
2) If I need to edit a ~/.asoundrc file, what do I need to edit it to? I am just trying to get my speakers to work, but of course HDMI video/audio output would be nice as well.
Ah. Many thanks for the info. I am a bit outside my comfort zone, but I am up for a challenge.
I finally got the wifi to work. I uninstalled broadcom-sta-dkms and reran the command from the beginning post, ran the suggested commands in the Debian Wiki after the build/install went fine and then added wlan0 to the Wicd client preferences. Case closed
As far as I can ascertain, the Aspire One 725 uses a Broadcom BCM43228 card. I have followed the Debian wiki advice https://wiki.debian.org/wl. Here is the output:
# apt-get install linux-image-$(uname -r|sed 's,[^-]*-[^-]*-,,') linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,') broadcom-sta-dkms
Reading package lists... Done
Building dependency tree
The following extra packages will be installed:
cpp-4.8 dkms gcc gcc-4.8 gcc-4.9 libasan0 libasan1 libatomic1 libcilkrts5 libgcc-4.8-dev libgcc-4.9-dev libitm1 liblsan0 libtsan0 libubsan0
linux-compiler-gcc-4.8-x86 linux-headers-3.16.0-5-amd64 linux-headers-3.16.0-5-common linux-image-3.16.0-5-amd64 linux-kbuild-3.16 make
Suggested packages:
gcc-4.8-locales gcc-multilib manpages-dev autoconf automake libtool flex bison gdb gcc-doc gcc-4.8-multilib gcc-4.8-doc libgcc1-dbg libgomp1-dbg
libitm1-dbg libatomic1-dbg libasan0-dbg libtsan0-dbg libquadmath0-dbg gcc-4.9-multilib gcc-4.9-doc gcc-4.9-locales libasan1-dbg liblsan0-dbg
libubsan0-dbg libcilkrts5-dbg linux-doc-3.16 debian-kernel-handbook make-doc
Recommended packages:
fakeroot linux-image libc6-dev libc-dev firmware-linux-free irqbalance
The following NEW packages will be installed:
broadcom-sta-dkms cpp-4.8 dkms gcc gcc-4.8 gcc-4.9 libasan0 libasan1 libatomic1 libcilkrts5 libgcc-4.8-dev libgcc-4.9-dev libitm1 liblsan0
libtsan0 libubsan0 linux-compiler-gcc-4.8-x86 linux-headers-3.16.0-5-amd64 linux-headers-3.16.0-5-common linux-headers-amd64
linux-image-3.16.0-5-amd64 linux-image-amd64 linux-kbuild-3.16 make
0 upgraded, 24 newly installed, 0 to remove and 0 not upgraded.
Need to get 61,4 MB of archives.
After this operation, 273 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://dk.mirror.devuan.org/merged/ jessie/main libasan0 amd64 4.8.4-1 [63,3 kB]
Get:2 http://dk.mirror.devuan.org/merged/ jessie/main libasan1 amd64 4.9.2-10 [195 kB]
Get:3 http://dk.mirror.devuan.org/merged/ jessie/main libatomic1 amd64 4.9.2-10 [8.992 B]
Get:4 http://dk.mirror.devuan.org/merged/ jessie/main libcilkrts5 amd64 4.9.2-10 [40,1 kB]
Get:5 http://dk.mirror.devuan.org/merged/ jessie/main libitm1 amd64 4.9.2-10 [29,2 kB]
Get:6 http://dk.mirror.devuan.org/merged/ jessie/main liblsan0 amd64 4.9.2-10 [92,8 kB]
Get:7 http://dk.mirror.devuan.org/merged/ jessie/main libtsan0 amd64 4.9.2-10 [212 kB]
Get:8 http://dk.mirror.devuan.org/merged/ jessie/main libubsan0 amd64 4.9.2-10 [82,4 kB]
Get:9 http://dk.mirror.devuan.org/merged/ jessie-security/main linux-image-3.16.0-5-amd64 amd64 3.16.51-3+deb8u1 [34,0 MB]
Get:10 http://dk.mirror.devuan.org/merged/ jessie/main libgcc-4.9-dev amd64 4.9.2-10 [2.066 kB]
Get:11 http://dk.mirror.devuan.org/merged/ jessie/main gcc-4.9 amd64 4.9.2-10 [5.352 kB]
Get:12 http://dk.mirror.devuan.org/merged/ jessie/main gcc amd64 4:4.9.2-2 [5.136 B]
Get:13 http://dk.mirror.devuan.org/merged/ jessie/main make amd64 4.0-8.1 [349 kB]
Get:14 http://dk.mirror.devuan.org/merged/ jessie/main dkms all 2.2.0.3-2 [70,9 kB]
Get:15 http://dk.mirror.devuan.org/merged/ jessie/non-free broadcom-sta-dkms all 6.30.223.248-3 [2.170 kB]
Get:16 http://dk.mirror.devuan.org/merged/ jessie/main cpp-4.8 amd64 4.8.4-1 [4.577 kB]
Get:17 http://dk.mirror.devuan.org/merged/ jessie/main libgcc-4.8-dev amd64 4.8.4-1 [1.689 kB]
Get:18 http://dk.mirror.devuan.org/merged/ jessie/main gcc-4.8 amd64 4.8.4-1 [4.787 kB]
Get:19 http://dk.mirror.devuan.org/merged/ jessie-security/main linux-compiler-gcc-4.8-x86 amd64 3.16.51-3+deb8u1 [382 kB]
Get:20 http://dk.mirror.devuan.org/merged/ jessie-security/main linux-headers-3.16.0-5-common amd64 3.16.51-3+deb8u1 [4.584 kB]
Get:21 http://dk.mirror.devuan.org/merged/ jessie/main linux-kbuild-3.16 amd64 3.16.7-ckt20-1 [174 kB]
Get:22 http://dk.mirror.devuan.org/merged/ jessie-security/main linux-headers-3.16.0-5-amd64 amd64 3.16.51-3+deb8u1 [452 kB]
Get:23 http://dk.mirror.devuan.org/merged/ jessie-security/main linux-headers-amd64 amd64 3.16+63+deb8u1 [5.086 B]
Get:24 http://dk.mirror.devuan.org/merged/ jessie-security/main linux-image-amd64 amd64 3.16+63+deb8u1 [5.844 B]
Fetched 61,4 MB in 17s (3.498 kB/s)
Preconfiguring packages ...
Selecting previously unselected package libasan0:amd64.
(Reading database ... 66296 files and directories currently installed.)
Preparing to unpack .../libasan0_4.8.4-1_amd64.deb ...
Unpacking libasan0:amd64 (4.8.4-1) ...
Selecting previously unselected package libasan1:amd64.
Preparing to unpack .../libasan1_4.9.2-10_amd64.deb ...
Unpacking libasan1:amd64 (4.9.2-10) ...
Selecting previously unselected package libatomic1:amd64.
Preparing to unpack .../libatomic1_4.9.2-10_amd64.deb ...
Unpacking libatomic1:amd64 (4.9.2-10) ...
Selecting previously unselected package libcilkrts5:amd64.
Preparing to unpack .../libcilkrts5_4.9.2-10_amd64.deb ...
Unpacking libcilkrts5:amd64 (4.9.2-10) ...
Selecting previously unselected package libitm1:amd64.
Preparing to unpack .../libitm1_4.9.2-10_amd64.deb ...
Unpacking libitm1:amd64 (4.9.2-10) ...
Selecting previously unselected package liblsan0:amd64.
Preparing to unpack .../liblsan0_4.9.2-10_amd64.deb ...
Unpacking liblsan0:amd64 (4.9.2-10) ...
Selecting previously unselected package libtsan0:amd64.
Preparing to unpack .../libtsan0_4.9.2-10_amd64.deb ...
Unpacking libtsan0:amd64 (4.9.2-10) ...
Selecting previously unselected package libubsan0:amd64.
Preparing to unpack .../libubsan0_4.9.2-10_amd64.deb ...
Unpacking libubsan0:amd64 (4.9.2-10) ...
Selecting previously unselected package linux-image-3.16.0-5-amd64.
Preparing to unpack .../linux-image-3.16.0-5-amd64_3.16.51-3+deb8u1_amd64.deb ...
Unpacking linux-image-3.16.0-5-amd64 (3.16.51-3+deb8u1) ...
Selecting previously unselected package libgcc-4.9-dev:amd64.
Preparing to unpack .../libgcc-4.9-dev_4.9.2-10_amd64.deb ...
Unpacking libgcc-4.9-dev:amd64 (4.9.2-10) ...
Selecting previously unselected package gcc-4.9.
Preparing to unpack .../gcc-4.9_4.9.2-10_amd64.deb ...
Unpacking gcc-4.9 (4.9.2-10) ...
Selecting previously unselected package gcc.
Preparing to unpack .../gcc_4%3a4.9.2-2_amd64.deb ...
Unpacking gcc (4:4.9.2-2) ...
Selecting previously unselected package make.
Preparing to unpack .../make_4.0-8.1_amd64.deb ...
Unpacking make (4.0-8.1) ...
Selecting previously unselected package dkms.
Preparing to unpack .../dkms_2.2.0.3-2_all.deb ...
Unpacking dkms (2.2.0.3-2) ...
Selecting previously unselected package broadcom-sta-dkms.
Preparing to unpack .../broadcom-sta-dkms_6.30.223.248-3_all.deb ...
Unpacking broadcom-sta-dkms (6.30.223.248-3) ...
Selecting previously unselected package cpp-4.8.
Preparing to unpack .../cpp-4.8_4.8.4-1_amd64.deb ...
Unpacking cpp-4.8 (4.8.4-1) ...
Selecting previously unselected package libgcc-4.8-dev:amd64.
Preparing to unpack .../libgcc-4.8-dev_4.8.4-1_amd64.deb ...
Unpacking libgcc-4.8-dev:amd64 (4.8.4-1) ...
Selecting previously unselected package gcc-4.8.
Preparing to unpack .../gcc-4.8_4.8.4-1_amd64.deb ...
Unpacking gcc-4.8 (4.8.4-1) ...
Selecting previously unselected package linux-compiler-gcc-4.8-x86.
Preparing to unpack .../linux-compiler-gcc-4.8-x86_3.16.51-3+deb8u1_amd64.deb ...
Unpacking linux-compiler-gcc-4.8-x86 (3.16.51-3+deb8u1) ...
Selecting previously unselected package linux-headers-3.16.0-5-common.
Preparing to unpack .../linux-headers-3.16.0-5-common_3.16.51-3+deb8u1_amd64.deb ...
Unpacking linux-headers-3.16.0-5-common (3.16.51-3+deb8u1) ...
Selecting previously unselected package linux-kbuild-3.16.
Preparing to unpack .../linux-kbuild-3.16_3.16.7-ckt20-1_amd64.deb ...
Unpacking linux-kbuild-3.16 (3.16.7-ckt20-1) ...
Selecting previously unselected package linux-headers-3.16.0-5-amd64.
Preparing to unpack .../linux-headers-3.16.0-5-amd64_3.16.51-3+deb8u1_amd64.deb ...
Unpacking linux-headers-3.16.0-5-amd64 (3.16.51-3+deb8u1) ...
Selecting previously unselected package linux-headers-amd64.
Preparing to unpack .../linux-headers-amd64_3.16+63+deb8u1_amd64.deb ...
Unpacking linux-headers-amd64 (3.16+63+deb8u1) ...
Selecting previously unselected package linux-image-amd64.
Preparing to unpack .../linux-image-amd64_3.16+63+deb8u1_amd64.deb ...
Unpacking linux-image-amd64 (3.16+63+deb8u1) ...
Processing triggers for man-db (2.7.0.2-5) ...
Setting up libasan0:amd64 (4.8.4-1) ...
Setting up libasan1:amd64 (4.9.2-10) ...
Setting up libatomic1:amd64 (4.9.2-10) ...
Setting up libcilkrts5:amd64 (4.9.2-10) ...
Setting up libitm1:amd64 (4.9.2-10) ...
Setting up liblsan0:amd64 (4.9.2-10) ...
Setting up libtsan0:amd64 (4.9.2-10) ...
Setting up libubsan0:amd64 (4.9.2-10) ...
Setting up linux-image-3.16.0-5-amd64 (3.16.51-3+deb8u1) ...
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-3.16.0-5-amd64
/etc/kernel/postinst.d/zz-update-grub:
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-3.16.0-5-amd64
Found initrd image: /boot/initrd.img-3.16.0-5-amd64
Found linux image: /boot/vmlinuz-3.16.0-4-amd64
Found initrd image: /boot/initrd.img-3.16.0-4-amd64
done
Setting up libgcc-4.9-dev:amd64 (4.9.2-10) ...
Setting up gcc-4.9 (4.9.2-10) ...
Setting up gcc (4:4.9.2-2) ...
Setting up make (4.0-8.1) ...
Setting up dkms (2.2.0.3-2) ...
Setting up broadcom-sta-dkms (6.30.223.248-3) ...
Loading new broadcom-sta-6.30.223.248 DKMS files...
First Installation: checking all kernels...
Building for 3.16.0-4-amd64 and 3.16.0-5-amd64
Module build for the currently running kernel was skipped since the
kernel source for this kernel does not seem to be installed.
Building initial module for 3.16.0-5-amd64
Done.
wl:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/3.16.0-5-amd64/updates/dkms/
depmod....
Backing up initrd.img-3.16.0-5-amd64 to /boot/initrd.img-3.16.0-5-amd64.old-dkms
Making new initrd.img-3.16.0-5-amd64
(If next boot fails, revert to initrd.img-3.16.0-5-amd64.old-dkms image)
update-initramfs....
DKMS: install completed.
Setting up cpp-4.8 (4.8.4-1) ...
Setting up libgcc-4.8-dev:amd64 (4.8.4-1) ...
Setting up gcc-4.8 (4.8.4-1) ...
Setting up linux-compiler-gcc-4.8-x86 (3.16.51-3+deb8u1) ...
Setting up linux-headers-3.16.0-5-common (3.16.51-3+deb8u1) ...
Setting up linux-kbuild-3.16 (3.16.7-ckt20-1) ...
Setting up linux-headers-3.16.0-5-amd64 (3.16.51-3+deb8u1) ...
Examining /etc/kernel/header_postinst.d.
run-parts: executing /etc/kernel/header_postinst.d/dkms 3.16.0-5-amd64
Setting up linux-headers-amd64 (3.16+63+deb8u1) ...
Setting up linux-image-amd64 (3.16+63+deb8u1) ...
Processing triggers for libc-bin (2.19-18+deb8u10) ...
Processing triggers for initramfs-tools (0.120+deb8u3) ...
update-initramfs: Generating /boot/initrd.img-3.16.0-5-amd64
root@stealth:/home/username# modprobe -r b44 b43 b43legacy ssb brcmsmac bcma
# modprobe wl
However, I still have no functioning wifi.
Regarding sound, the Aspire One 725 has a Realtek ALC271X sound card, and I have firmware-realtech and PulseAudio installed and can see movement in pavucontrol. When I try to run volti in a terminal, I get:
$ volti
[alsactrl.py:__init__:41] can't open Master control for card Generic, trying to select first available mixer channel
[alsactrl.py:__init__:49] can't open first available control for card Generic
error: list index out of range
Traceback (most recent call last):
File "/usr/bin/volti", line 53, in <module>
volti = main.VolumeTray()
File "/usr/lib/volti/volti/main.py", line 124, in __init__
self.watchid = gobject.io_add_watch(fd, eventmask, self.update)
TypeError: an integer is required
Any ideas?
----
Hmm. OK, I wasn't aware that there is a button to unmute in pavucontrol as I always use volti (which still isn't working for some reason). I installed pasystray, which works, but kicks up errors and isn't as useful to me as volti:
$ pasystray
** (pasystray:29866): WARNING **: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
** (pasystray:29866): WARNING **: Error initializing Avahi: Daemon not running
** Message: volume:65536
** Message: volume:65536
** Message: volume:65536
** Message: volume:65536
** Message: volume:65536
(pasystray:29866): GLib-GObject-CRITICAL **: g_object_set_data: assertion 'G_IS_OBJECT (object)' failed
(pasystray:29866): GLib-GObject-CRITICAL **: g_object_set_data: assertion 'G_IS_OBJECT (object)' failed
(pasystray:29866): GLib-GObject-CRITICAL **: g_object_set_data: assertion 'G_IS_OBJECT (object)' failed
(pasystray:29866): GLib-GObject-CRITICAL **: g_object_set_data: assertion 'G_IS_OBJECT (object)' failed
(pasystray:29866): GLib-GObject-CRITICAL **: g_object_set_data: assertion 'G_IS_OBJECT (object)' failed
(pasystray:29866): GLib-GObject-CRITICAL **: g_object_set_data: assertion 'G_IS_OBJECT (object)' failed
Not sure what causes it, but the solution to get volti running is to edit the /home/username/.config/volti/config file and change
card_index = 0
to
card_index = 1
.
----
scale_show_value = 0
can also be changed to
scale_show_value = 1
Cool! I have Dropbox working now, but IceCat still eludes me. For Dropbox, I did the following. I created a file called /usr/bin/nautilus, added the following:
#!/bin/bash
/usr/bin/xfe
and made it executable. Then I ran the following in a terminal:
$ dropbox start -i dropboxd
Lastly, I added this to my ~/.i3/config file:
exec --no-startup-id dropbox start
I have installed a vanilla, minimal Devuan i3 system and have a couple of small problems I can't find a solution to. Firstly I have XFE installed as file manager and have added:
[Added Associations]
inode/directory=xfe.desktop;
to ~/.config/mimeapps.list, but I have had no success starting the Dropbox program in the GUI. I realize Dropbox can be installed with the cli, but I would like to manage it from the GUI, with XFE as the file manager if possible, and with the tray applett running in my tray.
The other issue is with the portable IceCat browser program, which I downloaded and copied to my ~/bin folder, making sure that I added:
export PATH=$PATH:$HOME/bin
in my .bashrc file, but it refuses to appear in Dmenu (suckless-tools). It will run fine if I include the complete path in my i3 .config file but gmrun replies "permission denied" and if I try to run IceCat from the terminal, it kicks up a lot of GTK errors.
I am unsure if these issues are caused by something that isn't installed on my system, or if something else is going on.
Trinity works OK with PulseAudio (?). I installed PA and lost all sound. It was suggested on the Trinity mailing list that I install pavucontrol and check my settings, but that didn't help. I ended up running:
rm -r ~/.config/pulse; pulseaudio -k
to get things working. Now I have a configuration where Trinity is using Alsa and MuseScore is as happy as a clam, as PulseAudio is intstalled. I don't claim to understand it, but it works, which is the important thing.
----
I should note that this was my tower computer experience, but I never had to run the above command on my laptop.
What model did you use when you setup your 3630? I don't see any model number that even approximates. I tried Deskjet/deskjet, but nothing prints...
----
Interesting. I went into the CUPS web interface <http://localhost:631/admin/> and was able to set up the printer without any problem, after I installed the backports version of hplip. I am using the Trinity desktop environment, and for some reason, the newer printer drivers aren't listed in the GUI setup.
OK, I found the problem. I went into Synaptic and used the "mark all upgrades" command. I was told that a couple of packages needed to be downgraded. Everything works now, and I installed printer-driver-hpcups.
I have an HP DeskJet 3630 and I am using printer-driver-hpcups 3.14.6-1+deb8u1 and it all seems to work nicely, including scanning.
This is running under Jessie.
Thanks for that Geoff. Hmmm. Unfortunately, apt seems to be hungover from trying to install hplip from experimental:
$ sudo apt-get install hplip
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
hplip : Depends: libhpmud0 (= 3.14.6-1+deb8u1) but 3.16.11+repack0-1~bpo8+1 is to be installed
Depends: libsane-hpaio (= 3.14.6-1+deb8u1) but 3.16.11+repack0-1~bpo8+1 is to be installed
Depends: printer-driver-hpcups (= 3.14.6-1+deb8u1) but 3.16.11+repack0-1~bpo8+1 is to be installed
Recommends: printer-driver-postscript-hp but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Except that I don't:
$ dpkg -l | grep "^hi"
returns nothing. I have also tried:
sudo apt-get update
sudo apt-get install -f
sudo apt-get dist-upgrade
sudo apt-get update
but apt still gives me the above unmet dependencies message.
What is the recommended method of installing a newer version of HPLIP on Devuan Jessie? I need to be able to get my HP DeskJet 3632 printer to work with Devuan Jessie. I have tried backports and the driver is still AWOL. With the experimental repo, I ran into a problem with the necessary HPLIP dependencies going unmet as the required dependencies were older than what apt could pull in from the experimental repo. I have also tried downloading the latest HPLIP from the HP developers site, but the script/installer doesn't recognize Devuan and when I choose "Debian" as the distro, it prompts me for the following:
11 8.0 ("Jessie", Released 04/05/2015)
12 8.1 ("Jessie", Released 04/05/2015)
13 8.2 ("Jessie", Released 04/05/2015)
14 8.3 ("Jessie", Released 04/05/2015)
15 8.4 ("Jessie", Released 04/05/2016)
16 8.5 ("Jessie", Released 27/08/2016)
17 8.6 ("Jessie", Released 22/10/2016)
18 8.7 ("Jessie", Released 22/10/2016)
19 8.8 ("Jessie", Released 31/05/2017)
and I am not sure what I should answer as I don't which release Devuan is most compatible with.
Help would be appreciated.
Very interesting. Thank you for that.
This appears to have been my fault. I believe that I caused the situation by using "startx" after installing Trinity, rather than rebooting first.
I tried a number of solutions, including installing another DE and purging Trinity, but with all my messing around, I at some point hosed the system and had to reinstall. Everything is working fine now.
Thanks for the quick replies. The problem as mentioned, pre-existed the install of the binary blob. I didn't have anything X installed before I installed the tde-trinity package, which should have pulled in everything necessary (and worked fine for my laptop). I compiled the blob using the script that I downloaded from the Nvidia site. The script requires among other things gcc, make, linux-headers, etc. so it must compile something.
I have with the help of fsmithred and ralph.ronnquist gotten a minimal system up and running on my tower computer (thanks again guys). I followed the instructions for installing Trinity, from the Trinity site, as I have done with my laptop, but as usual, my tower computer is kicking up problems. At the login manager, the screen goes black when I try to login and then returns to the login manager after a few seconds. I am unable to log in. At first, I thought that the problem was related to my Nvidia GeForce 1030 graphics card, so I compiled the drivers and restarted. Now I have the correct screen resolution with the same problem. When I installed Trinity, I used the # apt install tde-trinity command as with my laptop. There were no errors of any kind that I noticed. I have also tried chrooting into the system from a Linux Mint system on another hard drive and looked at the syslog (see below), but I don't see anything that is problematic there either. Does anyone have experience with this kind of odd behavior?
# mount /dev/sdc1 /mnt/devuan
# chroot /mnt/devuan
/# mount -t proc none /proc
/# mount -t sysfs none /sys
/# mount -t devpts none /dev/pts
/# tail /var/log/syslog
Jan 28 23:07:25 computer dhclient: bound to 192.168.8.101 -- renewal in 38089 seconds.
Jan 28 23:07:39 computer acpid: client 1957[0:0] has disconnected
Jan 28 23:07:39 computer acpid: client connected from 1957[0:0]
Jan 28 23:07:39 computer acpid: 1 client rule loaded
Jan 28 23:07:43 computer dbus[2073]: [system] Failed to activate service 'org.freedesktop.Avahi': timed out
Jan 28 23:10:06 computer kernel: [ 207.001384] nvidia-modeset: Freed GPU:0 (GPU-45c295ad-878d-bd0f-2a9a-43cfa84aef1e) @ PCI:0000:01:00.0
Jan 28 23:10:06 computer shutdown[2667]: shutting down for system reboot
Jan 28 23:10:06 computer init: Switching to runlevel: 6
Jan 28 23:10:09 computer acpid: exiting
Jan 28 23:10:10 computer rsyslogd: [origin software="rsyslogd" swVersion="8.4.2" x-pid="1610" x-info="http://www.rsyslog.com"] exiting on signal 15.
I knew nothing about AppImage, so went and had a look. VLC would play some music but failed with a video. Anyway I tried MuseScore and it wanted PulseAudio. It would run, but would not play the notes, so I tried it with apulse, as in :-
apulse ./MuseScore-2.1-x86_64.AppImage
and it was much happier and would play the notes.
Geoff
Interesting, I just tried with apulse, and MuseScore note playback is greyed out However, I am at this time trying MuseScore with a Vanilla Devuan minimal install with Trinity on top. Trinity uses aRts as default for sound, but apulse installed fine. Not sure if TDE is using it however. I posted in the MuseScore forum and the only reply was to install PulseAudio. I am not sure they know or care what Trinity is, so even if I installed PulseAudio, I am not sure that MuseScore would play back notes unless TDE was using PulseAudio instead of aRts. Unfortunately, I don't know if that is possible without compiling Trinity to use PulseAudio from source code.
After a couple of reboots to get the full error messages in Devuan, the BIOS boot menu seems to be working again - hesitantly.
The "orion" error reads:
module ehci-orion not found in modules.dep
The USB error reads:
USB 7-3: device descriptor read/64, error-110
Interestingly, Linux Mint gives me the same error at boot. Can I assume this is something that Win 10 did?
Supposedly, the "solution" is to power down, unplug all USB devices and let the computer sit for awhile. Time Will tell.
OK, things have gone a bit pear shaped. I booted back into Devuan, I ran fdisk-l to determine which hard disk to install grub-pc to. I was told /dev/sde. I then purged grub-legacy before I installed grub-pc. . During the detection of other partitions, I got the following:
Found Windows 10 /dev/sdb1
Found Linux Mint 18.3 Sylvia (18.3) on /dev/sde1
I then rebooted and as my hard discs were more or less purchased at the same time, same brand, and specs, I had to use the boot menu more or less trial and error. At some point, Windows 10 came up. I restarted and now the BIOS boot menu no longer works - at all. However, a Devuan GRUB comes up as default. From that, I can also boot into Linux Mint. When I boot into Devuan, I get an error about the "orion" module and then come a bunch of USB errors. My main concern however, is of course the BIOS boot menu that no longer works.
Here is the latest. I booted into the Devuan partition via the LM GRUB menu.
# fdisk -l
/dev/sde1
/dev/sde2
/dev/sde3
/dev/sde4
# grub-install /dev/sde
greb-install command not found
Commented out the CD:
# nano /etc/apt/sources.list
# dhclient eth0 -v
# apt install grub
grub-common grub-legacy libs yadayada
searching for grub-install directory... found /boot/grub
list of partitions
The file /boot/grub/stage1 not read correctly
So that ended the latest attempt. I did notice however, that fdisk -l kicked up an error on the extended partition:
"Partition 2 does not start on physical sector boundary" Not sure if it is important or if something should be done.
Hi again fsmithred. Thanks for the info. I installed apulse. I haven't been able to switch to apulse yet, but yes, the aRts sound actually works very well with Trinity. Still looking for info on switching to apulse, but as I mentioned before, very irritating wading through all of the "Trinity", "TDE" and "TDM" posts.
----
I gave up on getting apulse to work with MuseScore and the Trinity DE, but PulseAudio works with MuseScore out of the box. Not sure whether Trinity is using aRts or PulseAudio, but at least system sound still works.
OK, I must have made a mistake. This time I get:
$ cat conf/conf.d/resume
RESUME=UUID=c6c5dab4-b097-4db1-a50a-e79e5c8628e5
Which confirms what I found with
# nano /etc/initramfs-tools/conf.d/resume
earlier.
No, I don't normally change the order, but that would happen if and when I burn a new .iso file to USB pen drive, and install a new system. However, I haven't done that since I re-installed a Devuan minimum cli system and we started on trying to get these problems sorted.
I am hoping to eventually install a Devuan Jessie (stable) system on my /dev/sda drive, but I would like to do some more testing if possible before I take that step, particularly considering the complexities of the current situation.
You and Ralph deserve a big thank you for what you have done so far.
# blkid
# dmesg | tail
# tail /var/log/syslog
# ls -l /dev/sd*
What the #%!?:
# mount /dev/sdd1 /mnt/devuan
# chroot /mnt/devuan
chroot: failed to run command ‘/bin/bash’: No such file or directory
# cd /mnt/devuan
# ls -l
total 4
drwxrwxrwx 1 root root 0 Nov 9 18:05 $RECYCLE.BIN
drwxrwxrwx 1 root root 4096 Nov 19 00:04 System Volume Information
OK, this is freaky.
Interesting. I restarted and booted from the Devuan install, to see if it actually was there in practical terms. It was, but when I ran
# blkid
, I discovered that /dev/sdd1 had suddenly become /dev/sde1. Now that I have booted back into Linux Mint, Devuan has again become /dev/sdd1, so here is the info that you requested (as it occurred):
# blkid
# dmesg | tail
[ 471.108262] [UFW BLOCK] IN=enp5s0 OUT= MAC=70:85:c2:2c:00:8c:f4:f5:d8:30:9b:1e:08:00 SRC=192.168.8.106 DST=192.168.8.102 LEN=545 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=UDP SPT=60820 DPT=44372 LEN=525
[ 472.132189] [UFW BLOCK] IN=enp5s0 OUT= MAC=70:85:c2:2c:00:8c:f4:f5:d8:30:9b:1e:08:00 SRC=192.168.8.106 DST=192.168.8.101 LEN=545 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=UDP SPT=50198 DPT=57853 LEN=525
[ 472.133077] [UFW BLOCK] IN=enp5s0 OUT= MAC=70:85:c2:2c:00:8c:f4:f5:d8:30:9b:1e:08:00 SRC=192.168.8.106 DST=192.168.8.102 LEN=545 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=UDP SPT=50441 DPT=44372 LEN=525
[ 486.324034] EXT4-fs (sdd1): mounted filesystem with ordered data mode. Opts: (null)
[ 490.991139] [UFW BLOCK] IN=enp5s0 OUT= MAC=70:85:c2:2c:00:8c:f4:f5:d8:30:9b:1e:08:00 SRC=192.168.8.106 DST=192.168.8.101 LEN=545 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=UDP SPT=60128 DPT=52343 LEN=525
[ 590.105123] [UFW BLOCK] IN=enp5s0 OUT= MAC=70:85:c2:2c:00:8c:f4:f5:d8:30:9b:1e:08:00 SRC=192.168.8.106 DST=192.168.8.101 LEN=545 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=UDP SPT=49928 DPT=38245 LEN=525
[ 590.112020] [UFW BLOCK] IN=enp5s0 OUT= MAC=70:85:c2:2c:00:8c:f4:f5:d8:30:9b:1e:08:00 SRC=192.168.8.106 DST=192.168.8.102 LEN=545 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=UDP SPT=36646 DPT=42260 LEN=525
[ 591.128277] [UFW BLOCK] IN=enp5s0 OUT= MAC=70:85:c2:2c:00:8c:f4:f5:d8:30:9b:1e:08:00 SRC=192.168.8.106 DST=192.168.8.101 LEN=545 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=UDP SPT=43221 DPT=38245 LEN=525
[ 591.131539] [UFW BLOCK] IN=enp5s0 OUT= MAC=70:85:c2:2c:00:8c:f4:f5:d8:30:9b:1e:08:00 SRC=192.168.8.106 DST=192.168.8.102 LEN=545 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=UDP SPT=45125 DPT=42260 LEN=525
[ 592.147389] [UFW BLOCK] IN=enp5s0 OUT= MAC=70:85:c2:2c:00:8c:f4:f5:d8:30:9b:1e:08:00 SRC=192.168.8.106 DST=192.168.8.101 LEN=545 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=UDP SPT=33948 DPT=38245 LEN=525
# tail /var/log/syslog
Jan 27 14:25:22 computer dbus[1701]: [system] Failed to activate service 'org.freedesktop.Avahi': timed out
Jan 27 14:25:47 computer dbus[1701]: [system] Activating service name='org.freedesktop.ConsoleKit' (using servicehelper)
Jan 27 14:25:47 computer dbus[1701]: [system] Activating service name='org.freedesktop.PolicyKit1' (using servicehelper)
Jan 27 14:25:47 computer polkitd[2168]: started daemon version 0.105 using authority implementation `local' version `0.105'
Jan 27 14:25:47 computer dbus[1701]: [system] Successfully activated service 'org.freedesktop.PolicyKit1'
Jan 27 14:25:47 computer dbus[1701]: [system] Successfully activated service 'org.freedesktop.ConsoleKit'
Jan 27 14:27:23 computer shutdown[2199]: shutting down for system reboot
Jan 27 14:27:23 computer init: Switching to runlevel: 6
Jan 27 14:27:26 computer acpid: exiting
Jan 27 14:27:27 computer rsyslogd: [origin software="rsyslogd" swVersion="8.4.2" x-pid="1498" x-info="http://www.rsyslog.com"] exiting on signal 15.
# ls -l /dev/sd*
ls: cannot access /dev/sd*: No such file or directory
Off the bat, I would say that there probably is an issue with the graphics, as I haven't installed any yet. The system for now is pure cli. I am still unsure as to whether I will try an upgrade to ascii. That depends on a couple of things. Firstly, after this experience so far, if there is a consensus that I would be able to get a stable, Devuan Jessie system installed as my main system (erasing Linux Mint), with less wrestling than this time around. The other would be whether there would be interest from the Devuan developer team, that I joined the testers. I am not sure whether I have enough experience to find my way through the ins and outs of testing a system, but am willing to use the system we are now sorting out and give it a try.
OK, I was able to get a command prompt. Here are the results:
$ zcat /boot/initrd.img-3.16.0-4-amd64 | cpio -i
20210 blocks
$ cat conf/conf.d/resume
cat: /conf/conf.d/resume: No such file or directory
I don't really understand this as the
# lsinitramfs /boot/initrd.img-3.16.0-4-amd64 | grep resume
command above listed a conf/conf.d/resume file.
On the off chance, I chrooted back into the Devuan system, to check that out with the following as I couldn't find any /conf/conf.d directory:
# nano /etc/initramfs-tools/conf.d/resume
RESUME=UUID=c6c5dab4-b097-4db1-a50a-e79e5c8628e5
Sooo, if this is the correct "resume" file, the UUID agrees with that in the /etc/fstab that I posted earlier. However, only the system swap UUID is listed. I am not sure if that is to be expected or not...