LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-08-2008, 07:23 PM   #1
samantha_kers987
LQ Newbie
 
Registered: Mar 2008
Posts: 10

Rep: Reputation: 0
Unhappy No Sound at all


hello, I am Samantha.
I am still really new at Linux, but I like the system. Now I have a problem, I have no audio at all. Someone else looked at my computer before, but he couldn't find anything.

As soon as I have the comuter started, a message pops up saying this:

Error while intializing the sound driver:

device /dev/dsp can't be opened (no such file or directory)

The sound driver will continue, using the null output device.


in the installs of the soundsystem, the soundsystem is all activated.
when I wish to change something in it, this message follows:
"Error while intializing the sound driver:
device /dev/dsp can't be opened (no such file or directory)
The sound driver will continue, using the null output device"

also, when I try to play a song in XMMS for instance, it says that I need to check my soundcard, but I have no idea how to do that.

And I can't locate a map with the name: /dev/dsp on my computer.

Oh and I tried some commands in shell, that someone else suggested:
cat /proc/pci
cat /etc/modules.conf
cat /proc/modules
ls -L -l /dev/dsp*

this is what I get:
cat /proc/pci
cat: /proc/pci: No such file or directory

cat /etc/modules.conf
cat: /etc/modules.conf: No such file or directory

cat /proc/modules
root@kubuntu:~# cat /proc/modules
snd_atiixp 18912 0 - Live 0xccbf8000
nls_cp437 5888 1 - Live 0xccbb5000
isofs 32824 1 - Live 0xccbe1000
ipv6 217408 6 - Live 0xccc16000
rfcomm 34972 0 - Live 0xccbcd000
l2cap 22404 5 rfcomm, Live 0xccbc6000
bluetooth 43012 4 rfcomm,l2cap, Live 0xccbba000
video 16004 0 - Live 0xccb8e000
tc1100_wmi 6916 0 - Live 0xccba9000
sony_acpi 5516 0 - Live 0xccba6000
pcc_acpi 11392 0 - Live 0xccba2000
hotkey 9508 0 - Live 0xccb9e000
dev_acpi 11396 0 - Live 0xccb9a000
i2c_acpi_ec 5760 0 - Live 0xccb97000
button 6672 0 - Live 0xccaae000
battery 9604 0 - Live 0xccb93000
container 4608 0 - Live 0xccb84000
ac 4996 0 - Live 0xccb81000
af_packet 20232 2 - Live 0xccb88000
floppy 52692 0 - Live 0xccb5d000
pcspkr 3652 0 - Live 0xcca66000
rtc 11832 0 - Live 0xccaaa000
snd_seq_dummy 3844 0 - Live 0xccaa0000
snd_seq_oss 29440 0 - Live 0xccb78000
snd_seq_midi 8608 0 - Live 0xcca9c000
snd_seq_midi_event 6656 2 snd_seq_oss,snd_seq_midi, Live 0xcca99000
snd_seq 44688 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event, Live 0xccb6c000
snd_via82xx 25792 0 - Live 0xccaa2000
gameport 14472 1 snd_via82xx, Live 0xcca6a000
snd_ac97_codec 72188 2 snd_atiixp,snd_via82xx, Live 0xccad3000
snd_pcm_oss 46368 0 - Live 0xccac6000
snd_mixer_oss 16128 1 snd_pcm_oss, Live 0xcc93c000
snd_pcm 78344 4 snd_atiixp,snd_via82xx,snd_ac97_codec,snd_pcm_oss, Live 0xccab1000
snd_timer 21764 2 snd_seq,snd_pcm, Live 0xcca92000
snd_page_alloc 10120 3 snd_atiixp,snd_via82xx,snd_pcm, Live 0xcca58000
snd_mpu401_uart 6784 1 snd_via82xx, Live 0xcca55000
snd_rawmidi 22816 2 snd_seq_midi,snd_mpu401_uart, Live 0xcca5d000
snd_seq_device 8204 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq,snd_rawmidi, Live 0xcca49000
snd 48644 12 snd_atiixp,snd_seq_oss,snd_seq,snd_via82xx,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_time r,snd_mpu401_uart,snd_rawmidi,snd_seq_device, Live 0xcca85000
soundcore 9184 1 snd, Live 0xcca36000
i2c_viapro 7696 0 - Live 0xcca33000
i2c_core 19728 2 i2c_acpi_ec,i2c_viapro, Live 0xcca43000
shpchp 80612 0 - Live 0xcca70000
pci_hotplug 24628 1 shpchp, Live 0xcca4d000
via_agp 9472 0 - Live 0xcca2f000
agpgart 32328 1 via_agp, Live 0xcca3a000
dm_mod 50364 1 - Live 0xcc96d000
tsdev 7616 0 - Live 0xcc892000
evdev 9088 0 - Live 0xcc945000
psmouse 26116 0 - Live 0xcca27000
mousedev 10912 1 - Live 0xcc941000
parport_pc 31812 1 - Live 0xcc964000
lp 11460 0 - Live 0xcc918000
parport 32072 2 parport_pc,lp, Live 0xcc908000
md 40656 0 - Live 0xcc959000
ext3 115976 1 - Live 0xcc97c000
jbd 48536 1 ext3, Live 0xcc94c000
thermal 13192 0 - Live 0xcc937000
processor 23100 1 thermal, Live 0xcc911000
fan 4740 0 - Live 0xcc905000
via_rhine 20356 0 - Live 0xcc898000
mii 5248 1 via_rhine, Live 0xcc895000
ehci_hcd 29448 0 - Live 0xcc8fc000
uhci_hcd 28048 0 - Live 0xcc8d3000
usbcore 104316 3 ehci_hcd,uhci_hcd, Live 0xcc91c000
ide_cd 36996 1 - Live 0xcc8c8000
cdrom 33952 1 ide_cd, Live 0xcc8be000
ide_disk 16128 3 - Live 0xcc880000
ide_generic 1664 0 - Live 0xcc878000
via82cxxx 12188 1 - Live 0xcc866000
ide_core 125268 4 ide_cd,ide_disk,ide_generic,via82cxxx, Live 0xcc8dc000
sata_via 8836 0 - Live 0xcc86a000
libata 47876 1 sata_via, Live 0xcc885000
scsi_mod 124872 1 libata, Live 0xcc89e000
unix 24624 381 - Live 0xcc86e000
vesafb 8088 0 - Live 0xcc860000
capability 5000 0 - Live 0xcc863000
commoncap 6784 1 capability, Live 0xcc802000
vga16fb 12232 1 - Live 0xcc837000
vgastate 8320 1 vga16fb, Live 0xcc83b000
softcursor 2432 2 vesafb,vga16fb, Live 0xcc829000
cfbimgblt 2944 2 vesafb,vga16fb, Live 0xcc827000
cfbfillrect 3840 2 vesafb,vga16fb, Live 0xcc81e000
cfbcopyarea 4480 2 vesafb,vga16fb, Live 0xcc824000
fbcon 34176 72 - Live 0xcc82d000
tileblit 2560 1 fbcon, Live 0xcc81c000
font 8448 1 fbcon, Live 0xcc820000
bitblit 5248 1 fbcon, Live 0xcc805000

ls -L -l /dev/dsp*
root@kubuntu:~# ls -L -l /dev/dsp*
crw-rw---- 1 root audio 14, 3 Mar 8 13:54 /dev/dsp


please please please, can anyone Help me???

kizzzzz Samantha
 
Old 03-08-2008, 08:17 PM   #2
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
Hi samantha_kers987, Welcome to lq. A few things here, the modules appear to all be loaded so try
Code:
alsamixer
(from a terminal) and unmute the channels and raise your volume levels. Once that's done try
Code:
sudo alsactl store
to save settings across a reboot.
Good luck. ;-)
 
Old 03-08-2008, 11:07 PM   #3
wraithe
Member
 
Registered: Feb 2006
Location: Australia
Distribution: Linux... :-)
Posts: 216
Blog Entries: 1

Rep: Reputation: 31
Samantha,
could you please let us know what the pc specs, is it a laptop or desktop...
What are the chipsets(ie audio chip)?

As i see, your using kubuntu, and if its what i think it maybe there is a lot detail available to fix it...


Kath...
 
Old 03-09-2008, 04:59 AM   #4
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1285Reputation: 1285Reputation: 1285Reputation: 1285Reputation: 1285Reputation: 1285Reputation: 1285Reputation: 1285Reputation: 1285
Can you also post the output of '/sbin/lspci'.
 
Old 03-09-2008, 09:30 AM   #5
samantha_kers987
LQ Newbie
 
Registered: Mar 2008
Posts: 10

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by wraithe View Post
Samantha,
could you please let us know what the pc specs, is it a laptop or desktop...
What are the chipsets(ie audio chip)?

As i see, your using kubuntu, and if its what i think it maybe there is a lot detail available to fix it...


Kath...


hello, thanks you all for your help. It is a desktop, I am using Kubuntu Dapper Drake. and I have no idea what the chipsets are :$' sorry.

I have set all the volume levels at max. but still I have no Audio.

oh, and I tried the command:

root@kubuntu:~# /sbin/lspci
-su: /sbin/lspci: No such file or directory


kizzzzzzzz Samantha

Last edited by samantha_kers987; 03-09-2008 at 09:40 AM. Reason: wasn't complete
 
Old 03-09-2008, 09:54 AM   #6
alan_ri
Senior Member
 
Registered: Dec 2007
Location: Croatia
Distribution: Debian GNU/Linux
Posts: 1,733
Blog Entries: 5

Rep: Reputation: 127Reputation: 127
Type alsaconf or alsaconfig as root at the terminal and follow instructions.
 
Old 03-09-2008, 10:27 AM   #7
ciden
Member
 
Registered: Dec 2006
Location: New Delhi, India
Distribution: PCLinuxOS 2010
Posts: 246
Blog Entries: 1

Rep: Reputation: 31
Post

Yes.
Run
Code:
$ alsaconf
as root.
That most probably will fix your sound.

If you run into Permission errors.
Just add your user to group "audio" using
Code:
$ adduser username audio
Post back if you run into trouble using alsaconf.
 
Old 03-09-2008, 11:26 AM   #8
samantha_kers987
LQ Newbie
 
Registered: Mar 2008
Posts: 10

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by ciden View Post
Yes.
Run
Code:
$ alsaconf
as root.
That most probably will fix your sound.

If you run into Permission errors.
Just add your user to group "audio" using
Code:
$ adduser username audio
Post back if you run into trouble using alsaconf.
heyhey,

I tried this all. I added my username to the group audio, but at the other commands it says this:

root@kubuntu:~# alsaconf
-su: alsaconf: command not found
root@kubuntu:~# alsaconfig
-su: alsaconfig: command not found

kizzzzzzz samantha
 
Old 03-09-2008, 12:08 PM   #9
alan_ri
Senior Member
 
Registered: Dec 2007
Location: Croatia
Distribution: Debian GNU/Linux
Posts: 1,733
Blog Entries: 5

Rep: Reputation: 127Reputation: 127
Please post the output of these commands: aplay -l, lspci -v, sudo modprobe snd-via_82xx, sudo nano /etc/modules
 
Old 03-09-2008, 12:21 PM   #10
ciden
Member
 
Registered: Dec 2006
Location: New Delhi, India
Distribution: PCLinuxOS 2010
Posts: 246
Blog Entries: 1

Rep: Reputation: 31
do you have alsa installed ?
As root, type "alsa" at the command prompt and hit tab for completion options.


If you cant find alsa anywhere,
install it:

# apt-get install alsa-base

as root

You may require the install cd for this if you are not connected to the net on this particular machine.

Last edited by ciden; 03-09-2008 at 12:25 PM. Reason: Addition
 
Old 03-09-2008, 05:05 PM   #11
samantha_kers987
LQ Newbie
 
Registered: Mar 2008
Posts: 10

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by ciden View Post
do you have alsa installed ?
As root, type "alsa" at the command prompt and hit tab for completion options.


If you cant find alsa anywhere,
install it:

# apt-get install alsa-base

as root

You may require the install cd for this if you are not connected to the net on this particular machine.

heyhey,

I think I have it installed. But I don't know for sure, somebody else installed this computer for me, so I have no idea what he put on it and not.
I did type the command in shell:

root@kubuntu:~# alsa
alsactl alsamixer

does that help?

kizzzzz samantha

Last edited by samantha_kers987; 03-09-2008 at 05:07 PM.
 
Old 03-09-2008, 05:35 PM   #12
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
Quote:
Originally Posted by samantha_kers987 View Post
root@kubuntu:~# /sbin/lspci
-su: /sbin/lspci: No such file or directory

root@kubuntu:~# alsaconf
-su: alsaconf: command not found
root@kubuntu:~# alsaconfig
-su: alsaconfig: command not found
Try those commands with sudo.
Code:
sudo lspci -v
Ubuntu makes use of sudo.
Good luck. ;-)
 
Old 03-10-2008, 08:02 AM   #13
samantha_kers987
LQ Newbie
 
Registered: Mar 2008
Posts: 10

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Peacedog View Post
Try those commands with sudo.
Code:
sudo lspci -v
Ubuntu makes use of sudo.
Good luck. ;-)
hello, PEOPLe, I have SOUND!!!!!

thank you so much you all. I don't know what did the trick, when I started the computer this morning, I just had audio. the sound startled me, haha :P

really, thanks!!!

kizzzzzzz Samantha
 
Old 03-15-2008, 06:21 AM   #14
ciden
Member
 
Registered: Dec 2006
Location: New Delhi, India
Distribution: PCLinuxOS 2010
Posts: 246
Blog Entries: 1

Rep: Reputation: 31
Congrats
!!!
 
  


Reply

Tags
sound


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
No sound coming from my sound blaster audigy 2 ZS platinum sound card msab Linux - Hardware 9 12-05-2010 06:10 AM
no sound from sound blaster PCI sound card using mandrake-linux 10.1 box nila56 Linux - Hardware 2 05-29-2006 03:48 PM
help crackling/boiling soup sound in madriva 2006 with sound blaster audigy mbman Mandriva 1 01-14-2006 11:23 PM
ALSA not working for Creative Sound Blaster Live 24 Bit sound card vishalsonu Linux - Hardware 7 08-20-2005 02:02 PM
No Sound : request_module: failed /sbin/modprobe -- sound-slot-0. error = 256 Mebuh Linux - General 0 01-26-2004 08:51 AM


All times are GMT -5. The time now is 08:52 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration