LinuxQuestions.org
Visit Jeremy's Blog.
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
 
LinkBack Search this Thread
Old 12-10-2008, 12:56 PM   #1
SirPetrovich
LQ Newbie
 
Registered: Dec 2008
Posts: 12

Rep: Reputation: 0
sound server error: error initializing the sound driver


i just switched to slackware recently and i'm still learning the basic stuff. but when i login and startx, an error window pops up reading:

Sound server informational message:
Error while initializing the sound driver:
device: default can't be opened for playback (No such file or directory)
The sound server will continue, using the null output device.

this error also pops up when i try to test my sound system in control center. so i'm guessing i need to do something with the sound driver, i just don't know what. i have no sound from either root or regular user accounts, and i'm on slack 12.1 with kde 3.5.9 (i'm still trying to upgrade to 4.1 but that's a different thread). i looked up some topics for this problem but a lot of the threads are really old or are for another distro. can anyone give me some pointers on what i should do? is this really a problem with the driver or is something just sitting in the wrong dir or something? thank you for any replies, i can't wait to make my system completely functional!
 
Old 12-10-2008, 01:19 PM   #2
Alstare
Member
 
Registered: Jul 2003
Distribution: Slackware
Posts: 72

Rep: Reputation: 15
Try closing everything, including your x-session, maybe just perform a fresh reboot, and from a regular console with nothing else running run the "alsaconf" script and go through it.

May help you get your sound device setup.
 
Old 12-10-2008, 02:31 PM   #3
SirPetrovich
LQ Newbie
 
Registered: Dec 2008
Posts: 12

Original Poster
Rep: Reputation: 0
hm i rebooted and ran the alsaconf script as you said, and it went through the setup and finished successfully, but when i startx i still get the same error, and still no sound

i read a while ago that it's possible to test sound from the console by typing

Code:
play example.mp3
but when i try this it says the file does not exist. am i just missing an essential package or something? i thought i installed slack completely.
 
Old 12-10-2008, 02:41 PM   #4
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 1,857

Rep: Reputation: Disabled
Are you a member of the "audio" group?
 
Old 12-10-2008, 03:06 PM   #5
SirPetrovich
LQ Newbie
 
Registered: Dec 2008
Posts: 12

Original Poster
Rep: Reputation: 0
root is yes, and i set my normal account to be in that group too maybe the group is messed up? could that be possible?
 
Old 12-10-2008, 03:47 PM   #6
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 12.2 (2.6.27.59), 13.1 (2.6.33.15)
Posts: 2,576

Rep: Reputation: 275Reputation: 275Reputation: 275
Quote:
play example.mp3
I think the command you want is aplay, not play.

As Robbie mentioned, you need to ensure your user account is a member of the appropriate groups.

The error message you are receiving is a KDE message. If you do not have much invested in your user KDE profile, then before starting X, temporarily rename your ~/.kde folder to something like ~/.kde-old. Then start KDE, answer the questions in the Personalizer, disable the moronic bouncing mouse cursor, and then see whether then sound error message continue.
 
Old 12-10-2008, 04:20 PM   #7
Alstare
Member
 
Registered: Jul 2003
Distribution: Slackware
Posts: 72

Rep: Reputation: 15
As an addition:

The "play xxx.mp3" command is correct, I just gave it a shot. Just have to point it to an mp3 file of your choice.

Is a handy audio player for console.
 
Old 12-10-2008, 06:03 PM   #8
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-13.37
Posts: 1,955

Rep: Reputation: 326Reputation: 326Reputation: 326Reputation: 326
`aplay /dev/urandom` generates some lovely noise to test out your speakers.
 
Old 12-10-2008, 07:01 PM   #9
SirPetrovich
LQ Newbie
 
Registered: Dec 2008
Posts: 12

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Woodsman View Post
I think the command you want is aplay, not play.

As Robbie mentioned, you need to ensure your user account is a member of the appropriate groups.

The error message you are receiving is a KDE message. If you do not have much invested in your user KDE profile, then before starting X, temporarily rename your ~/.kde folder to something like ~/.kde-old. Then start KDE, answer the questions in the Personalizer, disable the moronic bouncing mouse cursor, and then see whether then sound error message continue.
how did you know i have the annoying bouncing cursor problem!?! i will try your idea right after this post.

this is how i test to see which groups the user is in, i set it up in the console once but forgot the commands already later went to the k menu > System > Kuser - User Manager and i used that. the groups that i have checked i put a * next to:
*adm
*apache
*audio
*bin
*cdrom
*console
daemon
*disk
*floppy
*ftp
*games
*gdm
haldaemon
kmen
*lp
*mall
man
mem
messagebus
mysql
news
nobody
nogroup
*plugdev
pop
*power
root
rpc
scanner
shadow
slocate
smmsp
sshd
*sys
tape
tty
*users(obviously)
utmp
uucp
*video
*wheel

does that seem right?
 
Old 12-10-2008, 07:48 PM   #10
SirPetrovich
LQ Newbie
 
Registered: Dec 2008
Posts: 12

Original Poster
Rep: Reputation: 0
btw when i put 'aplay /dev/urandom' into the console i get this,

Code:
russian@comp45:~$ aplay /dev/urandom
ALSA lib pcm_dmix.c:866:(snd_pcm_dmix_open) unable to open slave
aplay: main:546: audio open error: No such file or directory
russian@comp45:~$
does anyone know what this error means?
 
Old 12-12-2008, 12:16 PM   #11
SirPetrovich
LQ Newbie
 
Registered: Dec 2008
Posts: 12

Original Poster
Rep: Reputation: 0
Woodsman i did as you said and when i went through the personalizer again it helped. i didn't get an error message when i went startx. but i tried playing audio and didn't hear anything. so i rebooted and ran alsaconf, but then when i went startx i got the same error again. what am i doing wrong! i just want my sound :'(

oh and i also noticed my /proc/asound directory has the card 0 and card 1 folders and some other files and stuff, but they're all size 0 bytes. as if they don't exist but somehow still do O.o i donno what's going on...

EDIT:
fixed it! strangely i still get the error at startup, but i have sound and all it took was some simple tinkering. here's my process on how i fixed my sound problem, and it may be the same solution for others.
first i logged into root and before typing startx to start up the gui i typed in alsamixer and turned everything up to about 90.

(if you don't see any meters to turn up there's something wrong, when i saw this i exited out of alsamixer by pressing esc, then i gave myself a fresh .kde folder(thanks Woodsman ;P), do this by typing:

mv .kde .kde-old

remember to type this in the startup console, before you start x. ok so the mv renames a folder, and you basically renamed .kde and now it's called .kde-old. since there's no .kde anymore, a new one will be created on boot. so when you start x now you'll have to go through the personalizer again, this fixed the no meters in alsamixer for me.
also in alsamixer make sure the switches are on, just have the volume meter selected and
press m to toggle the volume mute. the default setting is off.(the switch is green when it's on) so after you turn up your stuff and unmute the meters, type in,

alsactl store

this will save the settings of your meters. now just startx and see if it worked. even if you get the warning don't be discouraged. play a video file to see if it has audio. then next time you can just tell the prompt to never prompt you again!

Last edited by SirPetrovich; 12-12-2008 at 02:08 PM.
 
Old 12-12-2008, 05:57 PM   #12
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-13.37
Posts: 1,955

Rep: Reputation: 326Reputation: 326Reputation: 326Reputation: 326
If you're still getting the error, it's not setup right. I have answered a lot of sound questions. The most important information you can provide is the output of the following commands (as root):
Code:
# lspci -vv
# lsmod
# cat /etc/modprobe.d/sound
# aplay -l
It is also important to note that trying to get sound working after starting X (especially with KDE, since it immediately starts artsd and prevents applications from directly accessing the sound card) is not a good idea. You should get your sound working completely in runlevel 3 before starting X and THEN start X and see if it works there too. It is possible that the wrong module is loaded, or that certain options need to be passed to the module, etc.
 
Old 12-12-2008, 08:09 PM   #13
SirPetrovich
LQ Newbie
 
Registered: Dec 2008
Posts: 12

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by T3slider View Post
If you're still getting the error, it's not setup right. I have answered a lot of sound questions. The most important information you can provide is the output of the following commands (as root):
Code:
# lspci -vv
# lsmod
# cat /etc/modprobe.d/sound
# aplay -l
It is also important to note that trying to get sound working after starting X (especially with KDE, since it immediately starts artsd and prevents applications from directly accessing the sound card) is not a good idea. You should get your sound working completely in runlevel 3 before starting X and THEN start X and see if it works there too. It is possible that the wrong module is loaded, or that certain options need to be passed to the module, etc.
this is where your 1337 skills show lol i go on youtube to watch a russian dj video and there's no sound ... so yeah i did probably screw something up to make things worse pandora.com and grooveshark both didn't work when i had sound.

i did type in those commands, here's the results
Code:
russian@comp45:~$ su
Password:
root@comp45:/home/russian# lspci -vv
00:00.0 Host bridge: Intel Corporation 82845 845 [Brookdale] Chipset Host Bridge
 (rev 04)
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Step
ping- SERR+ FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort-
<MAbort+ >SERR- <PERR- INTx-
        Latency: 0
        Region 0: Memory at f8000000 (32-bit, prefetchable) [size=64M]
        Capabilities: [e4] Vendor Specific Information <?>
        Capabilities: [a0] AGP version 2.0
                Status: RQ=32 Iso- ArqSz=0 Cal=0 SBA+ ITACoh- GART64- HTrans- 64
bit- FW+ AGP3- Rate=x1,x2,x4
                Command: RQ=1 ArqSz=0 Cal=0 SBA+ AGP+ GART64- 64bit- FW- Rate=x1
        Kernel driver in use: agpgart-intel
        Kernel modules: intel-agp

00:01.0 PCI bridge: Intel Corporation 82845 845 [Brookdale] Chipset AGP Bridge (
rev 04) (prog-if 00 [Normal decode])
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Step
ping- SERR+ FastB2B- DisINTx-
        Status: Cap- 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort-
<MAbort- >SERR- <PERR- INTx-
        Latency: 32
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=32
        I/O behind bridge: 0000c000-0000cfff
        Memory behind bridge: ff800000-ff8fffff
        Prefetchable memory behind bridge: ee900000-f69fffff
        Secondary status: 66MHz+ FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort
- <MAbort+ <SERR- <PERR-
        BridgeCtl: Parity- SERR+ NoISA- VGA+ MAbort- >Reset- FastB2B-
                PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
        Kernel modules: shpchp

00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 05) (prog-if 00 [Nor
mal decode])
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Step
ping- SERR+ FastB2B- DisINTx-
        Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort-
<MAbort- >SERR- <PERR- INTx-
        Latency: 0
        Bus: primary=00, secondary=02, subordinate=02, sec-latency=32
        I/O behind bridge: 0000d000-0000dfff
        Memory behind bridge: ff900000-ff9fffff
        Prefetchable memory behind bridge: f6a00000-f6afffff
        Secondary status: 66MHz- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort
- <MAbort- <SERR- <PERR-
        BridgeCtl: Parity- SERR+ NoISA+ VGA- MAbort- >Reset- FastB2B-
                PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
        Kernel modules: shpchp

00:1f.0 ISA bridge: Intel Corporation 82801BA ISA Bridge (LPC) (rev 05)
        Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV- VGASnoop- ParErr- Step
ping- SERR- FastB2B- DisINTx-
        Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort
- <MAbort- >SERR- <PERR- INTx-
        Latency: 0
        Kernel modules: intel-rng, iTCO_wdt

00:1f.1 IDE interface: Intel Corporation 82801BA IDE U100 Controller (rev 05) (p
rog-if 80 [Master])
        Subsystem: Dell Unknown device 0115
        Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Step
ping- SERR- FastB2B- DisINTx-
        Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort
- <MAbort- >SERR- <PERR- INTx-
        Latency: 0
        Region 0: [virtual] Memory at 000001f0 (32-bit, non-prefetchable) [disab
led] [size=8]
        Region 1: [virtual] Memory at 000003f0 (type 3, non-prefetchable) [disab
led] [size=1]
        Region 2: [virtual] Memory at 00000170 (32-bit, non-prefetchable) [disab
led] [size=8]
        Region 3: [virtual] Memory at 00000370 (type 3, non-prefetchable) [disab
led] [size=1]
        Region 4: I/O ports at ffa0 [size=16]
        Kernel driver in use: PIIX_IDE

00:1f.2 USB Controller: Intel Corporation 82801BA/BAM USB Controller #1 (rev 05)
 (prog-if 00 [UHCI])
        Subsystem: Dell Unknown device 0115
        Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Step
ping- SERR- FastB2B- DisINTx-
        Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort
- <MAbort- >SERR- <PERR- INTx-
        Latency: 0
        Interrupt: pin D routed to IRQ 17
        Region 4: I/O ports at ef40 [size=32]
        Kernel driver in use: uhci_hcd
        Kernel modules: uhci-hcd

00:1f.3 SMBus: Intel Corporation 82801BA/BAM SMBus Controller (rev 05)
        Subsystem: Dell Unknown device 0115
        Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Step
ping- SERR- FastB2B- DisINTx-
        Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort
- <MAbort- >SERR- <PERR- INTx-
        Interrupt: pin B routed to IRQ 16
        Region 4: I/O ports at efa0 [size=16]
        Kernel driver in use: i801_smbus
        Kernel modules: i2c-i801

00:1f.4 USB Controller: Intel Corporation 82801BA/BAM USB Controller #1 (rev 05)
 (prog-if 00 [UHCI])
        Subsystem: Dell Unknown device 0115
        Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Step
ping- SERR- FastB2B- DisINTx-
        Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort
- <MAbort- >SERR- <PERR- INTx-
        Latency: 0
        Interrupt: pin C routed to IRQ 18
        Region 4: I/O ports at ef80 [size=32]
        Kernel driver in use: uhci_hcd
        Kernel modules: uhci-hcd

00:1f.5 Multimedia audio controller: Intel Corporation 82801BA/BAM AC'97 Audio C
ontroller (rev 05)
        Subsystem: Dell Unknown device 0115
        Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Step
ping- SERR- FastB2B- DisINTx-
        Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort
- <MAbort- >SERR- <PERR- INTx-
        Latency: 0
        Interrupt: pin B routed to IRQ 16
        Region 0: I/O ports at e800 [size=256]
        Region 1: I/O ports at ef00 [size=64]
        Kernel driver in use: Intel ICH
        Kernel modules: snd-intel8x0

01:00.0 VGA compatible controller: ATI Technologies Inc Rage 128 Pro Ultra TF (p
rog-if 00 [VGA controller])
        Subsystem: ATI Technologies Inc Unknown device 0408
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Step
ping+ SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort
- <MAbort- >SERR- <PERR- INTx-
        Latency: 32 (2000ns min), Cache Line Size: 16 bytes
        Interrupt: pin A routed to IRQ 20
        Region 0: Memory at f0000000 (32-bit, prefetchable) [size=64M]
        Region 1: I/O ports at c800 [size=256]
        Region 2: Memory at ff8fc000 (32-bit, non-prefetchable) [size=16K]
        Expansion ROM at ff8c0000 [disabled] [size=128K]
        Capabilities: [50] AGP version 2.0
                Status: RQ=32 Iso- ArqSz=0 Cal=0 SBA+ ITACoh- GART64- HTrans- 64
bit- FW- AGP3- Rate=x1,x2,x4
                Command: RQ=32 ArqSz=0 Cal=0 SBA+ AGP+ GART64- 64bit- FW- Rate=x
1
        Capabilities: [5c] 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: aty128fb

02:09.0 Ethernet controller: ADMtek NC100 Network Everywhere Fast Ethernet 10/10
0 (rev 11)
        Subsystem: ADMtek Unknown device 0574
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Step
ping- SERR+ FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort
- <MAbort- >SERR- <PERR- INTx-
        Latency: 32 (16000ns min, 32000ns max), Cache Line Size: 16 bytes
        Interrupt: pin A routed to IRQ 19
        Region 0: I/O ports at d800 [size=256]
        Region 1: Memory at ff9ffc00 (32-bit, non-prefetchable) [size=1K]
        Expansion ROM at f6a00000 [disabled] [size=128K]
        Capabilities: [c0] 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: tulip
        Kernel modules: tulip

02:0a.0 Communication controller: Conexant HCF 56k Data/Fax Modem (rev 08)
        Subsystem: GVC Corporation Dell Copper
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Step
ping- SERR+ FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort
- <MAbort- >SERR- <PERR- INTx-
        Latency: 32
        Interrupt: pin A routed to IRQ 11
        Region 0: Memory at ff9e0000 (32-bit, non-prefetchable) [size=64K]
        Region 1: I/O ports at dff0 [size=8]
        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-

02:0c.0 FireWire (IEEE 1394): VIA Technologies, Inc. IEEE 1394 Host Controller (                 rev 46) (prog-if 10 [OHCI])
        Subsystem: VIA Technologies, Inc. IEEE 1394 Host Controller
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Step                 ping- SERR+ FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort                 - <MAbort- >SERR- <PERR- INTx-
        Latency: 32 (8000ns max), Cache Line Size: 16 bytes
        Interrupt: pin A routed to IRQ 16
        Region 0: Memory at ff9ff000 (32-bit, non-prefetchable) [size=2K]
        Region 1: I/O ports at dc00 [size=128]
        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 driver in use: ohci1394
        Kernel modules: ohci1394

root@comp45:/home/russian# lsmod
Module                  Size  Used by
r128                   41984  2
drm                    73620  3 r128
snd_seq_dummy           6660  0
snd_seq_oss            32896  0
snd_seq_midi_event     10112  1 snd_seq_oss
snd_seq                50256  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_pcm_oss            40352  0
snd_mixer_oss          17920  1 snd_pcm_oss
ipv6                  234724  12
pcmcia                 35884  0
pcmcia_core            35988  1 pcmcia
lp                     13348  0
fuse                   45588  1
tulip                  52256  0
thermal                16540  0
button                 10000  0
snd_intel8x0           31900  0
processor              32680  1 thermal
snd_usb_audio          79584  0
snd_ac97_codec         98724  1 snd_intel8x0
snd_usb_lib            18432  1 snd_usb_audio
rtc_cmos               11040  0
rtc_core               18696  1 rtc_cmos
ac97_bus                5760  1 snd_ac97_codec
parport_pc             27556  1
snd_rawmidi            22560  1 snd_usb_lib
parport                34632  2 lp,parport_pc
snd_seq_device         10380  4 snd_seq_dummy,snd_seq_oss,snd_seq,snd_rawmidi
rtc_lib                 6528  1 rtc_core
snd_pcm                72068  4 snd_pcm_oss,snd_intel8x0,snd_usb_audio,snd_ac97_codec
psmouse                40336  0
snd_timer              22532  2 snd_seq,snd_pcm
snd_hwdep              10756  1 snd_usb_audio
intel_agp              25236  1
agpgart                30664  2 drm,intel_agp
iTCO_wdt               13988  0
shpchp                 32788  0
evdev                  12672  3
snd                    47716  12 snd_seq_oss,snd_seq,snd_pcm_oss,snd_mixer_oss,snd_intel8x0,snd_usb_audio,snd_ac97_codec,snd_rawmidi,snd_seq_device,snd_pcm,snd_timer,snd_hwdep
iTCO_vendor_support     7044  1 iTCO_wdt
soundcore               9824  1 snd
serio_raw               9092  0
snd_page_alloc         11528  2 snd_intel8x0,snd_pcm
i2c_i801               11792  0
root@comp45:/home/russian# cat /etc/modprobe.d/sound
alias snd-card-0 snd-intel8x0
alias sound-slot-0 snd-intel8x0
root@comp45:/home/russian# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 1: I82801BAICH2 [Intel 82801BA-ICH2], device 0: Intel ICH [Intel 82801BA-ICH2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
root@comp45:/home/russian#
so obviously my sound card and all is detected, it's pretty damn old i know but i'm just a poor university student
 
Old 12-12-2008, 09:18 PM   #14
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-13.37
Posts: 1,955

Rep: Reputation: 326Reputation: 326Reputation: 326Reputation: 326
Quote:
Originally Posted by SirPetrovich
this is where your 1337 skills show lol
If I am 1337 then Stephen Hawking is an idiot.

A quick google suggests that the correct module (snd-intel8x0) is loaded. There are some options you can pass to the module, but I wouldn't try that until you have tried everything else (this module is not one of the ones that commonly needs options, unlike the snd-hda-intel module, for example, which almost always needs options passed to it). Let's try the simple procedure (which you have no doubt already done in steps, but let's try it all at once). As root (in the console, in runlevel 3, BEFORE starting X), run
Code:
# alsaconf
Select the most relevant driver (and if it doesn't work after this, post the possible options). Then, run
Code:
# alsamixer
Turn up the volume for everything (using the arrow keys). Make sure everything is unmuted (press the 'm' key until it displays 00 under each bar). Press Esc twice to exit alsamixer. Then run
Code:
# alsactl store
Then try to play a sound file. Here are two commands that you should try (since you have KDE installed, you should have the .wav file):
Code:
# aplay /dev/urandom
# aplay /usr/share/sounds/KDE_Startup_new.wav
If that doesn't work, then run
Code:
# alsamixer
again and mute everything (some sound cards are goofy and detect mute as unmuted...) using the 'm' key. Press Esc twice to exit and again run
Code:
# alsactl store
Then try playing the sound files again. If that does not work, verify that you are indeed in the audio group by posting the output of the following command:
Code:
# grep audio /etc/group
Also check to make sure the permissions are correct on the audio device:
Code:
# ls -l /dev/ | grep audio
crw-rw---- 1 root audio      14,   4 2008-12-12 18:42 audio
crw-rw---- 1 root audio      14,   3 2008-12-12 18:42 dsp
crw-rw---- 1 root audio      14,   0 2008-12-12 18:42 mixer
crw-rw---- 1 root audio      14,   1 2008-12-12 18:42 sequencer
crw-rw---- 1 root audio      14,   8 2008-12-12 18:42 sequencer2
crw-rw---- 1 root audio     189,   4 2008-12-12 22:02 usbdev1.5
One or more of those may be missing from your system, but you should at least have audio and dsp and they should have the correct permissions of root:audio.

If none of that works, then you can try passing options to the module. But that explanation is for another time.

Last edited by T3slider; 12-12-2008 at 09:20 PM.
 
Old 12-14-2008, 04:02 AM   #15
SirPetrovich
LQ Newbie
 
Registered: Dec 2008
Posts: 12

Original Poster
Rep: Reputation: 0
alsaconf went through and i saw and selected the correct module, but alsamixer had nothing under it... it's late but tomorrow i'm going to make a new .kde folder and try again
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Error initializing sound driver JosephS Slackware 1 08-19-2007 03:27 PM
KDE: sound system: error while initializing sound driver ciden Linux - Desktop 1 05-16-2007 12:59 PM
Sound server informational message: Error while initializing the sound driver... LA004 Linux - Hardware 4 08-21-2005 08:25 PM
Error while initializing the sound driver mohapi Linux - General 3 04-22-2005 01:06 PM
Error while initializing the sound driver e11 Linux - Newbie 13 10-22-2004 05:18 PM


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

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration