You are not logged in.
Hello all!
I cannot find the solution for my problem. When I try to install aslaequal from AUR after a while I got amn error message:
install: cannot change permissions of ‘/usr/lib/alsa-lib’: No such file or directory
==> ERROR: A failure occurred in package().
Aborting...
-> error making: alsaequal-exit status 4
-> Failed to install the following packages. Manual intervention is required:
alsaequal - exit status 4
It is true that there is no alsa-lib directory in usr/lib/ howewer alsa-lib is installed. Try to find the solution but did not find, so I decide to try here to find the solution.
greetz
saalty
Last edited by saalty (2025-02-01 10:40:27)
Offline
Does the dir you're building in have spaces in the full path?
Edit, no, I can reproduce after adding the git makedep. This is just a bug in the PKGBUILD, install -dm755 "$pkgdir" /usr/lib/alsa-lib has an extra space in it.
Last edited by Scimmia (2025-01-31 16:20:33)
Offline
Mod note: Moving to AUR Issues.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Does the dir you're building in have spaces in the full path?
Edit, no, I can reproduce after adding the git makedep. This is just a bug in the PKGBUILD, install -dm755 "$pkgdir" /usr/lib/alsa-lib has an extra space in it.
So how I need to modify these lines?
package() {
cd "$pkgname"
install -dm755 "$pkgdir" /usr/lib/alsa-lib
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
make DESTDIR="$pkgdir" install
}
Should I change this:
install -dm755 "$pkgdir" /usr/lib/alsa-lib
To this (according to next line)?:
install -dm755 "$pkgdir/usr/lib/alsa-lib"
Offline
You can move the quote or not, doesn't matter, but the space needs removed.
Offline
Thank you, this is solved the installattion issue, but after installation when I want to start I have this error:
Failed to load plugin "caps.so": caps.so: cannot open shared object file: No such file or directory
Any solution for this?
Last edited by saalty (2025-01-31 17:06:39)
Offline
Thank you, this is solved the installattion issue, but after installation when I want to start I have this error:
Failed to load plugin "caps.so": caps.so: cannot open shared object file: No such file or directory
Any solution for this?
Have you tried the suggested solution from https://aur.archlinux.org/packages/alsa … ent-922246? Which is also covered the build failure.
Offline
Yes, now I can start the plugin, just no effect on sound. Maybe in asound.conf is the problem, here is mine:
pcm.!default {
type plug
slave.pcm "softvol"
}
pcm.softvol {
type softvol
slave {
pcm "dmix"
}
control {
name "Pre-Amp"
card 0
}
min_dB -5.0
max_dB 20.0
resolution 6
}
ctl.equal {
type equal;
}
pcm.plugequal {
type equal;
# Normally, the equalizer feeds into dmix so that audio
# from multiple applications can be played simultaneously:
slave.pcm "plug:dmix";
# If you want to feed directly into a device, specify it instead of dmix:
#slave.pcm "plughw:0,0";
}
# Configuring pcm.!default will make the equalizer your default sink
pcm.!default {
# If you do not want the equalizer to be your default,
# give it a different name, like pcm.equal commented below
# Then you can choose it as the output device by addressing
# it in individual apps, for example mpg123 -a equal 06.Back_In_Black.mp3
# pcm.equal {
type plug;
slave.pcm plugequal;
}
I just added what I found on Wiki, but maybe I have to remove the previsous entries. My old one was :
pcm.!default {
type plug
slave.pcm "softvol"
}
pcm.softvol {
type softvol
slave {
pcm "dmix"
}
control {
name "Pre-Amp"
card 0
}
min_dB -5.0
max_dB 20.0
resolution 6
}
Last edited by saalty (2025-01-31 17:54:09)
Offline
Your softvol plugin needs to plug into the equal
pcm.softvol {
type softvol
slave {
pcm "plugequal"
}
...
or get rid of the softvol and make the plugequal the default directly.
Last edited by V1del (2025-01-31 17:54:56)
Offline
Your softvol plugin needs to plug into the equal
Can you explain me how please?
Offline
see my edit
Offline
see my edit
When I changed this there was still no effect, but after the reboot my laptops speaker worked instead of my external USB soundcard what is prefered as default like here:
https://wiki.archlinux.org/title/Advanc … Card_index
I use my headphone through this external USB soundcard. So I changed back to my original:
pcm.!default {
type plug
slave.pcm "softvol"
}
pcm.softvol {
type softvol
slave {
pcm "dmix"
}
control {
name "Pre-Amp"
card 0
}
min_dB -5.0
max_dB 20.0
resolution 6
}
ctl.equal {
type equal;
}
pcm.plugequal {
type equal;
# Normally, the equalizer feeds into dmix so that audio
# from multiple applications can be played simultaneously:
slave.pcm "plug:dmix";
# If you want to feed directly into a device, specify it instead of dmix:
#slave.pcm "plughw:0,0";
}
# Configuring pcm.!default will make the equalizer your default sink
pcm.!default {
# If you do not want the equalizer to be your default,
# give it a different name, like pcm.equal commented below
# Then you can choose it as the output device by addressing
# it in individual apps, for example mpg123 -a equal 06.Back_In_Black.mp3
# pcm.equal {
type plug;
slave.pcm plugequal;
}
According to this, can you use my code to explain me exactly how to my asound.conf have to looks like to make equaliser work on my headphones connected to external USB soundcard?
Offline
You use which exact "prefer as default method" from that link? Post your files. If you don't properly take in account how the kernel maps indices you very quickly land in "not what I intended" land. Nothing about the changes we did to the asound.conf has an effect on which index which card lands on or which is considered defazlt.
Throw in
aplay -lL
while we are at it.
Offline
You use which exact "prefer as default method" from that link? Post your files. If you don't properly take in account how the kernel maps indices you very quickly land in "not what I intended" land. Nothing about the changes we did to the asound.conf has an effect on which index which card lands on or which is considered defazlt.
Throw in
aplay -lL
while we are at it.
I just make file /etc/modprobe.d/alsa-base.conf and add this one line
/etc/modprobe.d/alsa-base.conf
For aplay -lL I got
$ aplay -lL
null
Discard all samples (playback) or generate zero samples (capture)
sysdefault
Default Audio Device
sysdefault:CARD=Device
USB Audio Device, USB Audio
Default Audio Device
front:CARD=Device,DEV=0
USB Audio Device, USB Audio
Front output / input
surround21:CARD=Device,DEV=0
USB Audio Device, USB Audio
2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=Device,DEV=0
USB Audio Device, USB Audio
4.0 Surround output to Front and Rear speakers
surround41:CARD=Device,DEV=0
USB Audio Device, USB Audio
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Device,DEV=0
USB Audio Device, USB Audio
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Device,DEV=0
USB Audio Device, USB Audio
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Device,DEV=0
USB Audio Device, USB Audio
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Device,DEV=0
USB Audio Device, USB Audio
IEC958 (S/PDIF) Digital Audio Output
sysdefault:CARD=MID
HDA Intel MID, ALC269VB Analog
Default Audio Device
front:CARD=MID,DEV=0
HDA Intel MID, ALC269VB Analog
Front output / input
surround21:CARD=MID,DEV=0
HDA Intel MID, ALC269VB Analog
2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=MID,DEV=0
HDA Intel MID, ALC269VB Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=MID,DEV=0
HDA Intel MID, ALC269VB Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=MID,DEV=0
HDA Intel MID, ALC269VB Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=MID,DEV=0
HDA Intel MID, ALC269VB Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=MID,DEV=0
HDA Intel MID, ALC269VB Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
**** List of PLAYBACK Hardware Devices ****
card 0: Device [USB Audio Device], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: MID [HDA Intel MID], device 0: ALC269VB Analog [ALC269VB Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
Offline
You pasted the path twice, not the line. if it's
options snd_usb_audio index=0
then make that
options snd_usb_audio index=-1
options snd_hda_intel index=-2,-2
Offline
You pasted the path twice, not the line. if it's
options snd_usb_audio index=0
then make that
options snd_usb_audio index=-1 options snd_hda_intel index=-2,-2
Sorry, I'm not sure that I understand. I need to replace
options snd slots=snd_usb_audio
to
options snd_usb_audio index=-1
options snd_hda_intel index=-2,-2
in /etc/modprebe.d/alsa-base.conf?
Offline
Okay, still no equaliser effect on the sound. Here are my files.
/etc/modprobe.d/alsa-base.conf:
# options snd slots=snd_usb_audio
options snd_usb_audio index=-1
options snd_hda_intel index=-2,-2
/etc/asound.conf:
pcm.!default {
type plug
slave.pcm "softvol"
}
#pcm.softvol {
# type softvol
# slave {
# pcm "dmix"
# }
pcm.softvol {
type softvol
slave {
pcm "plugequal"
}
control {
name "Pre-Amp"
card 0
}
min_dB -5.0
max_dB 20.0
resolution 6
}
ctl.equal {
type equal;
}
pcm.plugequal {
type equal;
# Normally, the equalizer feeds into dmix so that audio
# from multiple applications can be played simultaneously:
slave.pcm "plug:dmix";
# If you want to feed directly into a device, specify it instead of dmix:
#slave.pcm "plughw:0,0";
}
# Configuring pcm.!default will make the equalizer your default sink
pcm.!default {
# If you do not want the equalizer to be your default,
# give it a different name, like pcm.equal commented below
# Then you can choose it as the output device by addressing
# it in individual apps, for example mpg123 -a equal 06.Back_In_Black.mp3
# pcm.equal {
type plug;
slave.pcm plugequal;
}
My aplay -lL result:
aplay -lL
null
Discard all samples (playback) or generate zero samples (capture)
sysdefault
Default Audio Device
sysdefault:CARD=Device
USB Audio Device, USB Audio
Default Audio Device
front:CARD=Device,DEV=0
USB Audio Device, USB Audio
Front output / input
surround21:CARD=Device,DEV=0
USB Audio Device, USB Audio
2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=Device,DEV=0
USB Audio Device, USB Audio
4.0 Surround output to Front and Rear speakers
surround41:CARD=Device,DEV=0
USB Audio Device, USB Audio
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Device,DEV=0
USB Audio Device, USB Audio
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Device,DEV=0
USB Audio Device, USB Audio
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Device,DEV=0
USB Audio Device, USB Audio
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Device,DEV=0
USB Audio Device, USB Audio
IEC958 (S/PDIF) Digital Audio Output
sysdefault:CARD=MID
HDA Intel MID, ALC269VB Analog
Default Audio Device
front:CARD=MID,DEV=0
HDA Intel MID, ALC269VB Analog
Front output / input
surround21:CARD=MID,DEV=0
HDA Intel MID, ALC269VB Analog
2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=MID,DEV=0
HDA Intel MID, ALC269VB Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=MID,DEV=0
HDA Intel MID, ALC269VB Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=MID,DEV=0
HDA Intel MID, ALC269VB Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=MID,DEV=0
HDA Intel MID, ALC269VB Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=MID,DEV=0
HDA Intel MID, ALC269VB Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
**** List of PLAYBACK Hardware Devices ****
card 0: Device [USB Audio Device], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: MID [HDA Intel MID], device 0: ALC269VB Analog [ALC269VB Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
What can be the problem?
Last edited by saalty (2025-01-31 20:49:29)
Offline
In etc/asound.conf file there is pcm .! default two times, at the first line, and at the end as well. Can it cause the problem?
Offline
it can you probably want to remove the last one, you did see in the wiki the mention of
alsamixer -D equal
to actually control the mixer settings?
Last edited by V1del (2025-01-31 21:57:24)
Offline
It's weird because if I change anything in asound.conf file, after the restart my laptops speakers works instead of USB device. But this problem us out of the topic, the original issue is solvedm so a mark tbis topic as solved and open another one with this issue in Multimedia part
Offline