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.
Well, I am trying to install slackware 12.1 on 3 machines, and sound card does not work, players are working fine but no one can hear anything.
Have you ever been through this problem? If so, please, help me out.
See this post. You may not need to edit /etc/modprobe.d/sound, but if you do, we will need to know the model of your card to advise which options to use. Please post the output of `lspci -vv` as root.
See this post. You may not need to edit /etc/modprobe.d/sound, but if you do, we will need to know the model of your card to advise which options to use. Please post the output of `lspci -vv` as root.
I followed what that post says and the sound card is still not working.
The system has showed this message on KDE all the time:
Code:
Sound server fatal error.
Error initializing the sound driver
device: default can't be opened for playback
(operation not permitted).
And the command "lspci -vv" says:
Code:
00:00.0 Host bridge: Silicon Integrated Systems [SiS] 645xx (rev 51)
Subsystem: ASUSTeK Computer Inc. Unknown device 8086
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ >SERR- <PERR- INTx-
Latency: 32
Region 0: Memory at d8000000 (32-bit, non-prefetchable) [size=64M]
Capabilities: [c0] AGP version 3.5
Status: RQ=32 Iso- ArqSz=2 Cal=3 SBA+ ITACoh- GART64- HTrans- 64bit- FW- AGP3+ Rate=x4,x8
Command: RQ=1 ArqSz=0 Cal=0 SBA- AGP- GART64- 64bit- FW- Rate=<none>
Kernel driver in use: agpgart-sis
Kernel modules: sis-agp
00:01.0 PCI bridge: Silicon Integrated Systems [SiS] SiS AGP Port (virtual PCI-to-PCI bridge) (prog-if 00 [Normal decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz+ UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 64
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
I/O behind bridge: 0000d000-0000dfff
Memory behind bridge: d7800000-d7ffffff
Prefetchable memory behind bridge: dff00000-febfffff
Secondary status: 66MHz+ FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ <SERR- <PERR-
BridgeCtl: Parity- SERR- NoISA- VGA+ MAbort- >Reset- FastB2B-
PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
Kernel modules: shpchp
00:02.0 ISA bridge: Silicon Integrated Systems [SiS] SiS963 [MuTIOL Media IO] (rev 25)
Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
00:02.1 SMBus: Silicon Integrated Systems [SiS] SiS961/2 SMBus Controller
Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Interrupt: pin B routed to IRQ 0
Region 4: I/O ports at e600 [size=32]
Kernel driver in use: sis96x_smbus
Kernel modules: i2c-sis96x
00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE] (prog-if 80 [Master])
Subsystem: ASUSTeK Computer Inc. Unknown device 8087
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 128
Interrupt: pin ? routed to IRQ 16
Region 0: [virtual] Memory at 000001f0 (32-bit, non-prefetchable) [disabled] [size=8]
Region 1: [virtual] Memory at 000003f0 (type 3, non-prefetchable) [disabled] [size=1]
Region 2: [virtual] Memory at 00000170 (32-bit, non-prefetchable) [disabled] [size=8]
Region 3: [virtual] Memory at 00000370 (type 3, non-prefetchable) [disabled] [size=1]
Region 4: I/O ports at a400 [size=16]
Kernel driver in use: SIS_IDE
00:02.7 Multimedia audio controller: Silicon Integrated Systems [SiS] AC'97 Sound Controller (rev a0)
Subsystem: ASUSTeK Computer Inc. Unknown device 80b0
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 32 (13000ns min, 2750ns max)
Interrupt: pin C routed to IRQ 21
Region 0: I/O ports at 9400 [size=256]
Region 1: I/O ports at 9000 [size=128]
Capabilities: [48] Power Management version 2
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=55mA PME(D0-,D1-,D2-,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Kernel driver in use: Intel ICH
Kernel modules: snd-intel8x0
00:03.0 USB Controller: Silicon Integrated Systems [SiS] USB 1.1 Controller (rev 0f) (prog-if 10 [OHCI])
Subsystem: ASUSTeK Computer Inc. Unknown device 8087
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 32 (20000ns max), Cache Line Size: 32 bytes
Interrupt: pin A routed to IRQ 20
Region 0: Memory at d7000000 (32-bit, non-prefetchable) [size=4K]
Kernel driver in use: ohci_hcd
Kernel modules: ohci-hcd
00:03.1 USB Controller: Silicon Integrated Systems [SiS] USB 1.1 Controller (rev 0f) (prog-if 10 [OHCI])
Subsystem: ASUSTeK Computer Inc. Unknown device 8087
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 32 (20000ns max), Cache Line Size: 32 bytes
Interrupt: pin B routed to IRQ 18
Region 0: Memory at d6800000 (32-bit, non-prefetchable) [size=4K]
Kernel driver in use: ohci_hcd
Kernel modules: ohci-hcd
00:03.3 USB Controller: Silicon Integrated Systems [SiS] USB 2.0 Controller (prog-if 20 [EHCI])
Subsystem: ASUSTeK Computer Inc. Unknown device 8087
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 32 (20000ns max)
Interrupt: pin D routed to IRQ 17
Region 0: Memory at d6000000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [50] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Kernel driver in use: ehci_hcd
Kernel modules: ehci-hcd
00:04.0 Ethernet controller: Silicon Integrated Systems [SiS] SiS900 PCI Fast Ethernet (rev 91)
Subsystem: ASUSTeK Computer Inc. Unknown device 80ff
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 32 (13000ns min, 2750ns max)
Interrupt: pin A routed to IRQ 19
Region 0: I/O ports at 8800 [size=256]
Region 1: Memory at d5800000 (32-bit, non-prefetchable) [size=4K]
Expansion ROM at dfee0000 [disabled] [size=128K]
Capabilities: [40] Power Management version 2
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Kernel driver in use: sis900
Kernel modules: sis900
01:00.0 VGA compatible controller: ATI Technologies Inc RV280 [Radeon 9200 PRO] (rev 01) (prog-if 00 [VGA controller])
Subsystem: Connect Components Ltd Unknown device 2801
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 64 (2000ns min), Cache Line Size: 32 bytes
Interrupt: pin A routed to IRQ 11
Region 0: Memory at e0000000 (32-bit, prefetchable) [size=256M]
Region 1: I/O ports at d800 [size=256]
Region 2: Memory at d7800000 (32-bit, non-prefetchable) [size=64K]
Expansion ROM at dffe0000 [disabled] [size=128K]
Capabilities: [58] AGP version 3.0
Status: RQ=256 Iso- ArqSz=0 Cal=0 SBA+ ITACoh- GART64- HTrans- 64bit- FW+ AGP3+ Rate=x4,x8
Command: RQ=1 ArqSz=0 Cal=0 SBA+ AGP- GART64- 64bit- FW- Rate=<none>
Capabilities: [50] Power Management version 2
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Kernel modules: radeonfb
I thank you all again in advance for your efforts.
Last edited by marciobarbalho; 08-09-2008 at 12:05 PM.
A really pedestrian question. You checked the obvious, that is, are your speaker wires plugged in properly?
Good luck, man!
Yeah, it is. And Yeah, the speakers are plugged properly, the sound card works fine on KUbuntu and Windowz.
I've been search the web, lots of people got the same problem.
Last edited by marciobarbalho; 08-09-2008 at 02:45 PM.
It *looks* like your sound card might use the snd-intel8x0 module, but I can't be sure until I see the ouput of `aplay -l`. Please list the output of `lsmod`. Try manually loading the snd-intel8x0 module by running the following command as root:
Code:
# /sbin/modprobe snd-intel8x0
Then test your sound (it's better to test the sound in a terminal outside of X to make sure there are no interfering applications preventing the sound card from being accessed). A nice command to test the sound card from the terminal is
Code:
$ aplay /usr/share/sounds/alsa/Front_Center.wav
You can specify different options to the snd-intel8x0 module, but not the model option seen in other modules like snd-hda-intel. You would have to read /usr/src/linux-2.6.24.5/Documentation/sound/alsa/ALSA-Configuration.txt to find more information about those options.
MAKE SURE that your user is in the audio group. `cat /etc/group | grep audio` should return a line with your user at the end.
[edit]Since you said it is working in KUbuntu, you may wish to try the command `lsmod` there and post the ouput here as well so we can definitely determine which module should be loaded.[/edit]
You can specify different options to the snd-intel8x0 module, but not the model option seen in other modules like snd-hda-intel. You would have to read /usr/src/linux-2.6.24.5/Documentation/sound/alsa/ALSA-Configuration.txt to find more information about those options.
This file says : Module snd-intel8x0
Code:
Module snd-intel8x0
-------------------
Module for AC'97 motherboards from Intel and compatibles.
* Intel i810/810E, i815, i820, i830, i84x, MX440
ICH5, ICH6, ICH7, ESB2
* SiS 7012 (SiS 735)
* NVidia NForce, NForce2, NForce3, MCP04, CK804
CK8, CK8S, MCP501
* AMD AMD768, AMD8111
* ALi m5455
ac97_clock - AC'97 codec clock base (0 = auto-detect)
ac97_quirk - AC'97 workaround for strange hardware
See "AC97 Quirk Option" section below.
buggy_irq - Enable workaround for buggy interrupts on some
motherboards (default yes on nForce chips,
otherwise off)
buggy_semaphore - Enable workaround for hardwares with buggy
semaphores (e.g. on some ASUS laptops)
(default off)
spdif_aclink - Use S/PDIF over AC-link instead of direct connection
from the controller chip
(0 = off, 1 = on, -1 = default)
This module supports one chip and autoprobe.
Note: the latest driver supports auto-detection of chip clock.
if you still encounter too fast playback, specify the clock
explicitly via the module option "ac97_clock=41194".
Joystick/MIDI ports are not supported by this driver. If your
motherboard has these devices, use the ns558 or snd-mpu401
modules, respectively.
The power-management is supported.
So, what shall I do? How could I specify those options? Is it by editing the /etc/modprobe.d/sound file? Something like this?
Code:
options snd-hda-intel model=auto
If so, how'd I do that?
Quote:
Originally Posted by T3slider
MAKE SURE that your user is in the audio group. `cat /etc/group | grep audio` should return a line with your user at the end.
Yeah, it is.
Quote:
Originally Posted by T3slider
Since you said it is working in KUbuntu, you may wish to try the command `lsmod` there and post the ouput here as well so we can definitely determine which module should be loaded.
That would be nice, but KUbuntu is not running on this machine any more. Would it work if I did that using a live CD?
Thank you very much for your efforts.
Last edited by marciobarbalho; 08-10-2008 at 01:57 PM.
Hm. Looking through everything, it seems that the correct module is loaded. In addition, I don't think any of those options to the snd-intel8x0 module are going to change anything as drastic as no sound (for example, it looks like the ac97_quirk option just rearranges incorrect assignments of headphones etc. to volume levels). You should make sure EVERYTHING is turned up as high as it will go in alsamixer and run `alsactl store` after doing so. It should be noted that sometimes MM incorrectly means unmuted in alsamixer for some cards, so you should unmute everything (press m -- it should show 00), then run `alsactl store`, and then try playing something from the terminal (I emphasize the fact that you should try this OUTSIDE of X, in runlevel 3, before X is started). If there is no sound, try muting everything in alsamixer, then run `alsactl store`, and then try playing a sound. Beyond that, I don't think I can help due to my unfamiliarity of the card in question. You *may* wish to try playing around with module options in /etc/modprobe.d/sound, but I'm afraid I can't help much with the syntax. My guess would be something like this:
Code:
options snd-intel8x0 buggy_irq=0
where buggy_irq could be any of those options and 0 could be 0, 1 or -1.
I wish you good luck with this and hope that someone more knowledgeable of the card in question can help further (or that you figure it out promptly).
Well, I was just making sure I had unmuted everything in alsamixer but system started saying this now:
Code:
alsamixer: function snd_ctl_open failed for default: No such device
So, what have I done?
Before that I could run alsaconf and everything went fine, alsamixer and alsactl store! Is there anything else I can do to get this problem fixed?
Thank you very much.
***EDIT:
I started getting this error while tryed to playback some mp3's using audacious:
Code:
amidi-plug(amidi-plug.c:amidiplug_init:97): init, read configuration
amidi-plug(i_backend.c:i_backend_load:107): loading backend '/usr/lib/audacious/Input/amidi-plug/ap-alsa.so'
amidi-plug(i_backend.c:i_backend_load:145): backend /usr/lib/audacious/Input/amidi-plug/ap-alsa.so (name 'alsa') successfully loaded
** (audacious:18765): WARNING **: alsa_get_mixer(): Attaching to mixer hw:0 failed: No such device
ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:3510:(_snd_config_evaluate) function snd_func_card_driver returned error: No such device
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:3510:(_snd_config_evaluate) function snd_func_concat returned error: No such device
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:3510:(_snd_config_evaluate) function snd_func_refer returned error: No such device
ALSA lib conf.c:3982:(snd_config_expand) Evaluate error: No such device
ALSA lib pcm.c:2145:(snd_pcm_open_noupdate) Unknown PCM default
** (audacious:18765): WARNING **: alsa_setup(): Failed to open pcm device (default): No such device
MADPlug-Message: failed to open audio output: XMMS reverse compatibility output plugin
amidi-plug(i_backend.c:i_backend_unload:164): unloading backend 'alsa'
amidi-plug(i_backend.c:i_backend_unload:167): backend 'alsa' unloaded
LASTFM: (cleanup) Cleanup finished
[1]- Killed audacious
What does that mean?
Thank you.
Last edited by marciobarbalho; 08-10-2008 at 03:04 PM.
Please try everything in the console in runlevel 3 before X is started. There are so many possible interferences in X that it makes it very difficult to properly diagnose the problem. Your recent errors suggest that your sound card isn't even being detected -- but without lspci or dmesg output from the SAME session, it is hard to tell whether it is solely X related (ie there is a permissions problem somewhere or an unclean profile, etc.) or if it is unrecognized system-wide. You may wish to try rebooting to see if it magically fixes itself, or you may try fiddling with udev rules in /etc/udev/rules.d (be careful here!) -- or see what alsaconf does, or see if /etc/modprobe.d/sound looks normal.
Please try everything in the console in runlevel 3 before X is started. There are so many possible interferences in X that it makes it very difficult to properly diagnose the problem. Your recent errors suggest that your sound card isn't even being detected -- but without lspci or dmesg output from the SAME session, it is hard to tell whether it is solely X related (ie there is a permissions problem somewhere or an unclean profile, etc.) or if it is unrecognized system-wide. You may wish to try rebooting to see if it magically fixes itself, or you may try fiddling with udev rules in /etc/udev/rules.d (be careful here!) -- or see what alsaconf does, or see if /etc/modprobe.d/sound looks normal.
I did everything in runlevel 3 before rebooting this machine. X server was not started.
Now, audacious continues getting this message below, it works but with no sound, is this some error or just a message? I can't remember seeing this before!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.