Linux - NewbieThis 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
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.
Hello Everyone, I'm Gzou. A beginner in the world of Linux.
After being praised about the benefints of linux by a few people that i've met, I decided to try it out ! So I downloaded Kubuntu 5.10 for PC (i386) and installed it. Result : WOW ! hey, my computer doesn't crash as much ! I've even almost got an equivalent to all the programs that I used the most in Windows. I was really excited to learn more about Kubuntu and Linux, except that a problem came up :
The sound doesn't work !
When I log onto Kubuntu and the Desktop appears I get this message :
Sound server informational message:
Error while initializing the sound driver:
device /dev/dsp can't be opened (No such file or directory)
The sound server will continue, using the null output device.
Hey, that's strange, the sound worked in Windows though. So I went looking on Google a bit and came up on your site where people had similar problems, and a few results came up on this site. So I looked through the threads a bit, tried a few things that they proposed as solutions, yet no results.
Here's what happens when I use lspci, lsmod, and try to get into alsa :
Code:
gregory@oscar:~$ su
Password:
root@oscar:/home/gregory# lspci
0000:00:00.0 Host bridge: VIA Technologies, Inc. VT82C598 [Apollo MVP3] (rev 04)
0000:00:01.0 PCI bridge: VIA Technologies, Inc. VT82C598/694x [Apollo MVP3/Pro133x AGP]
0000:00:07.0 ISA bridge: VIA Technologies, Inc. VT82C586/A/B PCI-to-ISA [Apollo VP] (rev 47)
0000:00:07.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
0000:00:07.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 02)
0000:00:07.3 Host bridge: VIA Technologies, Inc. VT82C586B ACPI (rev 10)
0000:00:09.0 Communication controller: 5610 56K FaxModem USR 56k Internal WinModem
0000:00:0a.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
0000:01:00.0 VGA compatible controller: ATI Technologies Inc Rage XL AGP 2X (rev 27)
root@oscar:/home/gregory# lsmod
Module Size Used by
rfcomm 34972 0
l2cap 22404 5 rfcomm
bluetooth 43012 4 rfcomm,l2cap
cpufreq_userspace 4444 0
cpufreq_stats 5124 0
freq_table 4484 1 cpufreq_stats
cpufreq_powersave 1920 0
cpufreq_ondemand 5916 0
cpufreq_conservative 6820 0
video 16004 0
tc1100_wmi 6916 0
sony_acpi 5516 0
pcc_acpi 11392 0
hotkey 9508 0
dev_acpi 11396 0
i2c_acpi_ec 5760 0
button 6672 0
battery 9604 0
container 4608 0
ac 4996 0
analog 10528 0
ns558 5508 0
gameport 14472 3 analog,ns558
floppy 52692 0
pcspkr 3652 0
rtc 11832 0
i2c_via 4100 0
i2c_algo_bit 8584 1 i2c_via
i2c_core 19728 2 i2c_acpi_ec,i2c_algo_bit
pci_hotplug 24628 0
via_agp 9472 1
agpgart 32328 1 via_agp
nls_cp437 5888 1
ntfs 92016 1
dm_mod 50364 1
tsdev 7616 0
evdev 9088 0
psmouse 26116 0
mousedev 10912 1
parport_pc 31812 1
lp 11460 0
parport 32072 2 parport_pc,lp
md 40656 0
ext3 115976 1
jbd 48536 1 ext3
thermal 13192 0
processor 23100 1 thermal
fan 4740 0
8139too 23552 0
8139cp 18432 0
mii 5248 2 8139too,8139cp
uhci_hcd 28048 0
usbcore 104188 2 uhci_hcd
ide_cd 36996 0
cdrom 33952 1 ide_cd
ide_disk 16128 4
ide_generic 1664 0
via82cxxx 12188 1
ide_core 125268 4 ide_cd,ide_disk,ide_generic,via82cxxx
unix 24624 280
vesafb 8088 0
capability 5000 0
commoncap 6784 1 capability
vga16fb 12232 1
vgastate 8320 1 vga16fb
softcursor 2432 2 vesafb,vga16fb
cfbimgblt 2944 2 vesafb,vga16fb
cfbfillrect 3840 2 vesafb,vga16fb
cfbcopyarea 4480 2 vesafb,vga16fb
fbcon 34176 72
tileblit 2560 1 fbcon
font 8448 1 fbcon
bitblit 5248 1 fbcon
root@oscar:/home/gregory# alsamixer
alsamixer: function snd_ctl_open failed for default: No such file or directory
root@oscar:/home/gregory# alsaconf
bash: alsaconf: command not found
root@oscar:/home/gregory# alsactl names
alsactl: for_each_card:51: No soundcards found...
alsactl: generate_names:522: probe 0 failed: No such device
alsactl: for_each_card:51: No soundcards found...
alsactl: generate_names:522: probe 1 failed: No such device
alsactl: for_each_card:51: No soundcards found...
alsactl: generate_names:522: probe 2 failed: No such device
alsactl: generate_names:522: probe 3 failed: No such file or directory
As you can see, there aren't any sound cards listed in pci, no evident sound modules, and alsa says that I don't have any sound cards.
Even after removing and reinstalling alsa with apt-get, it still didn't detect any sound card, and alsaconf doesn't work as root.
My sound card is a Creative Sound Blaster 16-bit (WDM)
So, if anyone knows anything useful, or knows what to do to fix the problem, it would be greatly appreciated. Thanks !
P.S. I wasn't too sure if this post should have been in the Hardware section of the Newbie Secion, but since i'm new to linux, and the forum, I put it here.
Well, at least the modules for the sound card are there ! Thanks for that ! But lspci still doesn't see my Sound card and Alsa doesn't work aswell. Any Suggestions ?
I tried, alsa-utils was already installed. I tried removing it and reinstalling but nothing changed. when I type alsoconf, bash reports that the command is not found, and alsamixer still says :
Code:
alsamixer: function snd_ctl_open failed for default: No such file or directory
Sorry to budge in, but I would really appreciate it if someone knew what the problem is with my sound card.
I'm guessing that since my sound card isn't listed on lspci that it isn't being detected. Any way to force the detection of it ?
I have the exact same problem now, but with an intel based soundcard. I have tried nearly everything to get it to work and then i mean for example:
- upgrading alsa
- upgrading the kernel (to 2.6.16.11)
- loading serveral modules
- reading docs / forums and almost gone crazy ()
- been running alsaconf serveral times but it doesnt find my card
- alsamixer doesnt work and i get the same error messagesd as Gzou
- gone to intels website and checked for linux drivers
- gone to asus to check for drivers there
I did get the sound to work in debian with this sound card for some time ago, but now it seems like its just somehow impossible. im been working my ass off to get it to work but just cant. any more solutions ?
It still cant even find my sound card and i get the same error messages as Gzou. it works fine in windows, but windows is not an option. i run debian sarge and since ubuntu is based on debian i guess we kinda have the same problem.
After a bit of searching I found out that my sound card is not, PCI-based but an ISA card. That's why it didn't show up in lspci. So what i did was to run
cd /dev
sudo ./MAKEDEV audio
Then loading the sound modules for my card, and typing dmesg after to check that The computer could detect it. After that I was able to play Music CDs Through the KDE CD player (although when I restart the computer It doesn't work anymore)
So Maybe the problem is that your card is ISA based.
Now my problem is that each time I restart the computer the sound doesn<t work anymore and I have to redo the MAKEDEV trick. Anyone know what to do to reslve this problem ?
After a bit of searching I found out that my sound card is not, PCI-based but an ISA card. That's why it didn't show up in lspci. So what i did was to run
cd /dev
sudo ./MAKEDEV audio
Then loading the sound modules for my card, and typing dmesg after to check that The computer could detect it. After that I was able to play Music CDs Through the KDE CD player (although when I restart the computer It doesn't work anymore)
So Maybe the problem is that your card is ISA based.
Now my problem is that each time I restart the computer the sound doesn<t work anymore and I have to redo the MAKEDEV trick. Anyone know what to do to reslve this problem ?
Hi
Trying at 2.6.16.8 kernel
Thanks for answering. I have tried you makedev trick and it seemed like it now has the modules up, but when i try running alsamixer i get this message "alsamixer: function snd_ctl_open failed for default: No such device". I load in the modules and it seems to work to load them but i still get no sound and when i run alsaconf it cant fin the card at all.
Trying at 2.6.8-2-686 kernel
I tried you makedev trick with this kernel too and it seems like it got the modules up. When i run alsaconf i doesnt find the card. I try to open the volume manager i get the same message as above which is: "alsamixer: function snd_ctl_open failed for default: No such device". I here get to load the module "snd-hda-intel" which is the module i think, but when i try to load modules i get the message:
Code:
WARNING: Error inserting snd_page_alloc (/lib/modules/2.6.8-2-686/kernel/sound/acore/snd-page-alloc.ko): Invalid module format
FATAL: Error inserting snd (/lib/modules/2.6.8-2-686/kernel/sound/acore/snd.ko): Invalid module format
WARNING: Error running install command for snd
WARNING: Error inserting snd_timer (/lib/modules/2.6.8-2-686/kernel/sound/acore/snd-timer.ko): Invalid module format
WARNING: Error inserting snd_page_alloc (/lib/modules/2.6.8-2-686/kernel/sound/acore/snd-page-alloc.ko): Invalid module format
FATAL: Error inserting snd (/lib/modules/2.6.8-2-686/kernel/sound/acore/snd.ko): Invalid module format
WARNING: Error running install command for snd
WARNING: Error inserting snd_timer (/lib/modules/2.6.8-2-686/kernel/sound/acore/snd-timer.ko): Invalid module format
FATAL: Error inserting snd_pcm (/lib/modules/2.6.8-2-686/kernel/sound/acore/snd-pcm.ko): Invalid module format
WARNING: Error running install command for snd_pcm
WARNING: Error inserting snd_hda_codec (/lib/modules/2.6.8-2-686/kernel/sound/pci/hda/snd-hda-codec.ko): Invalid module format
WARNING: Error inserting snd_page_alloc (/lib/modules/2.6.8-2-686/kernel/sound/acore/snd-page-alloc.ko): Invalid module format
FATAL: Error inserting snd (/lib/modules/2.6.8-2-686/kernel/sound/acore/snd.ko): Invalid module format
WARNING: Error running install command for snd
WARNING: Error inserting snd_timer (/lib/modules/2.6.8-2-686/kernel/sound/acore/snd-timer.ko): Invalid module format
WARNING: Error inserting snd_page_alloc (/lib/modules/2.6.8-2-686/kernel/sound/acore/snd-page-alloc.ko): Invalid module format
FATAL: Error inserting snd (/lib/modules/2.6.8-2-686/kernel/sound/acore/snd.ko): Invalid module format
WARNING: Error running install command for snd
WARNING: Error inserting snd_timer (/lib/modules/2.6.8-2-686/kernel/sound/acore/snd-timer.ko): Invalid module format
FATAL: Error inserting snd_pcm (/lib/modules/2.6.8-2-686/kernel/sound/acore/snd-pcm.ko): Invalid module format
WARNING: Error running install command for snd_pcm
WARNING: Error inserting snd_hda_codec (/lib/modules/2.6.8-2-686/kernel/sound/pci/hda/snd-hda-codec.ko): Invalid module format
FATAL: Error inserting snd_hda_intel (/lib/modules/2.6.8-2-686/kernel/sound/pci/hda/snd-hda-intel.ko): Invalid module format
FATAL: Error running install command for snd_hda_intel
Gzou
How about writing a simple script that executes those commands on startup? For example put the script in rc.local, then they will run at startup.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.