SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have two sound cards installed on my computer... none is working, my built-in card is damaged, but the Ensoniq is working alright with
built-in sound card: VIA Technologies
normal sound card: Ensoniq 5880B [AudioPCI]
This is my lspci:
Quote:
00:00.0 Host bridge: VIA Technologies, Inc. VT8377 [KT400/KT600 AGP] Host Bridge
00:01.0 PCI bridge: VIA Technologies, Inc. VT8235 PCI Bridge
00:0a.0 Communication controller: Conexant Systems, Inc. HSF 56k HSFi Modem (rev 01)
00:0d.0 Multimedia audio controller: Ensoniq 5880B [AudioPCI] (rev 02)
00:0f.0 Ethernet controller: D-Link System Inc RTL8139 Ethernet (rev 10)
00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 80)
00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 80)
00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 80)
00:10.3 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 82)
00:11.0 ISA bridge: VIA Technologies, Inc. VT8235 ISA Bridge
00:11.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 50)
00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 74)
01:00.0 VGA compatible controller: nVidia Corporation NV17 [GeForce4 MX 440] (rev a3)
and my dmesg:
Quote:
VIA 82xx Audio 0000:00:11.5: PCI INT C -> GSI 22 (level, low) -> IRQ 22
VIA 82xx Audio 0000:00:11.5: setting latency timer to 64
codec_read: codec 0 is not valid [0xfe0000]
codec_read: codec 0 is not valid [0xfe0000]
codec_read: codec 0 is not valid [0xfe0000]
codec_read: codec 0 is not valid [0xfe0000]
ENS1371 0000:00:0d.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
I already unmutted and raised all the sound levels in the two cards with alsamixer after using alsaconf, but with no success.
Also tried:
Quote:
root@Atlantis:/home/cv# cat /proc/asound//version
Advanced Linux Sound Architecture Driver Version 1.0.21.
root@Atlantis:/home/cv# cat /proc/asound/card*/codec* | grep codec
cat: /proc/asound/card0/codec97#0: Is a directory
cat: /proc/asound/card1/codec97#0: Is a directory
Maybe your blog instructions are not Slackware compatible? I tried:
stratos@homepc:~$ sudo asoundconf list (i got sudo: asoundconf: command not found)
Names of available sound cards:
NVidia
U0x46d0x8d9
stratos@homepc:~$ sudo asoundconf set-default-card NVidia
(i got sudo asoundconf list
We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:
#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.
Password:
)
I could not continue because neither my root nor my normal user password functioned.
One thing odd is that yesterday i managed to open all programs Kmix, Aumix, Alsamixer, but today none of them is loading anymore:
root@Atlantis:/home/cv# kmix
<unknown program name>(2317)/: KUniqueApplication: Cannot find the D-Bus session server: "Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken."
<unknown program name>(2316)/: KUniqueApplication: Pipe closed unexpectedly.
We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:
#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.
In order to use sudo you need to add your user to the sudoers file.
First get root, then
Code:
export EDITOR=nano
visudo
or just issue the visudo command if you are comfortable using vi.
Add the following line to the file and you will be able to use the sudo command using your user password.
Code:
stratos ALL=(ALL) ALL
Then try
Code:
alias snd-card-0 snd-ens1371
alias sound-slot-0 snd-ens1371
options snd-ens1371 index=0
alias snd-card-1 snd-via82xx
alias sound-slot-1 snd-via82xx
options snd-via82xx index=1
# sudoers file.
#
# This file MUST be edited with the 'visudo' command as root.
# Failure to use 'visudo' may result in syntax or file permission errors
# that prevent sudo from running.
#
# See the sudoers man page for the details on how to write a sudoers file.
#
# Host alias specification
# User alias specification
# Cmnd alias specification
# Defaults specification
# Runas alias specification
# User privilege specification
root ALL=(ALL) ALL
stratos ALL=(ALL) ALL
# Uncomment to allow people in group wheel to run all commands
# %wheel ALL=(ALL) ALL
# Same thing without a password
# %wheel ALL=(ALL) NOPASSWD: ALL
# Samples
i still got:
Quote:
cv is not in the sudoers file. This incident will be reported.
Although alsamixer is now recognizing Ensoniq as my primary card...
ENS1371 0000:00:0d.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
udev: renamed network interface eth1 to eth0
udev: renamed network interface eth0_rename to eth1
VIA 82xx Audio 0000:00:11.5: PCI INT C -> GSI 22 (level, low) -> IRQ 22
VIA 82xx Audio 0000:00:11.5: setting latency timer to 64
codec_read: codec 0 is not valid [0xfe0000]
codec_read: codec 0 is not valid [0xfe0000]
codec_read: codec 0 is not valid [0xfe0000]
codec_read: codec 0 is not valid [0xfe0000]
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.