LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-05-2010, 05:23 PM   #1
jamasoo
Member
 
Registered: Jan 2007
Posts: 97

Rep: Reputation: 16
Two sound cards installed


Hi,

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

Thanks in advance for any help!

Regards,
Jamasoo
 
Old 12-05-2010, 06:48 PM   #2
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 312Reputation: 312Reputation: 312Reputation: 312
You just need to set the Ensoniq card as the default. Check this out:

https://wiki.archlinux.org/index.php...ult_sound_card
 
Old 12-05-2010, 08:34 PM   #3
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,682

Rep: Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375
Here is another link that is a little more slackware specific but same principal.
http://www.linuxquestions.org/questi...device-713793/
 
1 members found this post helpful.
Old 12-06-2010, 07:58 AM   #4
jamasoo
Member
 
Registered: Jan 2007
Posts: 97

Original Poster
Rep: Reputation: 16
Andrewthomas and Daedra,

Some more information i have gathered...

cv@Atlantis:~$ cat /proc/asound/cards
0 [V8235 ]: VIA8233 - VIA 8235
VIA 8235 with AD1980 at 0xe000, irq 22
1 [AudioPCI ]: ENS1371 - Ensoniq AudioPCI
Ensoniq AudioPCI ENS1371 at 0xd400, irq 16

root@Atlantis:/home/cv# cat /proc/asound/modules
0 snd_via82xx
1 snd_ens1371

root@Atlantis:/home/cv# ls -l /sys/module/snd/holders/
total 0
lrwxrwxrwx 1 root root 0 Dec 6 11:18 snd_ac97_codec -> ../../snd_ac97_codec
lrwxrwxrwx 1 root root 0 Dec 6 11:18 snd_ens1371 -> ../../snd_ens1371
lrwxrwxrwx 1 root root 0 Dec 6 11:18 snd_mixer_oss -> ../../snd_mixer_oss
lrwxrwxrwx 1 root root 0 Dec 6 11:18 snd_mpu401_uart -> ../../snd_mpu401_uart
lrwxrwxrwx 1 root root 0 Dec 6 11:18 snd_pcm -> ../../snd_pcm
lrwxrwxrwx 1 root root 0 Dec 6 11:18 snd_pcm_oss -> ../../snd_pcm_oss
lrwxrwxrwx 1 root root 0 Dec 6 11:18 snd_rawmidi -> ../../snd_rawmidi
lrwxrwxrwx 1 root root 0 Dec 6 11:18 snd_seq -> ../../snd_seq
lrwxrwxrwx 1 root root 0 Dec 6 11:18 snd_seq_device -> ../../snd_seq_device
lrwxrwxrwx 1 root root 0 Dec 6 11:18 snd_seq_oss -> ../../snd_seq_oss
lrwxrwxrwx 1 root root 0 Dec 6 11:18 snd_timer -> ../../snd_timer
lrwxrwxrwx 1 root root 0 Dec 6 11:18 snd_via82xx -> ../../snd_via82xx

I have added these two lines to my /etc/modprobe.d/modprobe.conf (as proposed above by Andrewthomas):

options snd-ens1371 index=0
options snd-pcsp index=1

but still no success!

Daedra,

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.

Last edited by jamasoo; 12-06-2010 at 08:04 AM.
 
Old 12-06-2010, 08:19 AM   #5
jamasoo
Member
 
Registered: Jan 2007
Posts: 97

Original Poster
Rep: Reputation: 16
I have found a similar problem here at linuxquestions:
http://www.linuxquestions.org/questi...niq-via-65639/

He has the same hardware configuration as me (what are the odds?) except that my onboard card does not work. No need to go to the Bios? I guess not...

Thanks again for any help!
 
Old 12-06-2010, 08:33 AM   #6
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 312Reputation: 312Reputation: 312Reputation: 312
Quote:
Originally Posted by jamasoo View Post

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
and save it as /etc/modprobe.d/sound
 
Old 12-06-2010, 01:17 PM   #7
jamasoo
Member
 
Registered: Jan 2007
Posts: 97

Original Poster
Rep: Reputation: 16
After i did what you told me:
Quote:
# 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...
 
Old 12-06-2010, 01:31 PM   #8
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
You were logged in a "stratos" before. Add the line corresponding to the user you want to be logged in as with sudo privileges.

Or uncomment the
Code:
# %wheel ALL=(ALL) ALL
line and add the user you want to be able to sudo to the wheel group. That user will have to log out and log in for that change to take affect.

Last edited by Richard Cranium; 12-06-2010 at 01:33 PM. Reason: Added comment about wheel group.
 
Old 12-06-2010, 02:16 PM   #9
jamasoo
Member
 
Registered: Jan 2007
Posts: 97

Original Poster
Rep: Reputation: 16
I changed it, but now i get this:

Quote:
cv@Atlantis:~$ sudo asoundconf list
Password:
sudo: asoundconf: command not found
 
Old 12-06-2010, 02:22 PM   #10
jamasoo
Member
 
Registered: Jan 2007
Posts: 97

Original Poster
Rep: Reputation: 16
root@Atlantis:/home/cv# cat /proc/asound/modules
0 snd_ens1371
1 snd_via82xx

Last edited by jamasoo; 12-06-2010 at 02:24 PM.
 
Old 12-06-2010, 02:32 PM   #11
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 312Reputation: 312Reputation: 312Reputation: 312
Quote:
Originally Posted by jamasoo View Post
I changed it, but now i get this:
That is because slackware does not have an asoundconf command.
 
Old 12-06-2010, 02:40 PM   #12
jamasoo
Member
 
Registered: Jan 2007
Posts: 97

Original Poster
Rep: Reputation: 16
dmesg:

Quote:
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]
 
Old 12-06-2010, 02:48 PM   #13
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 312Reputation: 312Reputation: 312Reputation: 312
Does sound now work with the Ensoniq card?
 
Old 12-06-2010, 02:52 PM   #14
jamasoo
Member
 
Registered: Jan 2007
Posts: 97

Original Poster
Rep: Reputation: 16
Nope!
 
Old 12-06-2010, 02:57 PM   #15
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 312Reputation: 312Reputation: 312Reputation: 312
I would then go through the troubleshooting steps here:

http://alsa.opensrc.org/index.php/Troubleshooting
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Isnt it xmms crappy to play sound, like detecting sound cards. Others are all better frenchn00b Linux - General 2 02-11-2008 06:51 PM
2 sound cards shown in alsamixer gui but only one installed in debian sarge system marsh58 Debian 3 06-12-2006 04:19 AM
No sound w/ Sound Blaster Audigy 2 (and possibly other related cards) fix swiftpaw Mandriva 2 05-08-2006 12:43 PM
Problems getting sound to play under Mandrake w/2 sound cards HGeneAnthony Linux - Hardware 1 07-02-2004 02:19 PM
Ethernet Cards and Sound Cards SchizoIV Linux - Newbie 2 07-05-2002 09:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:01 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration