LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Sound driver problem-can't be opened (https://www.linuxquestions.org/questions/linux-newbie-8/sound-driver-problem-cant-be-opened-332577/)

PadreFabuloso 06-11-2005 06:38 PM

Sound driver problem-can't be opened
 
Hi... newbie here.

kubuntu 5.04 install went very well on my old Windows 2000 computer. ("Windows no more!" he shouted as he screamed down the hall.) Anyway, I've come across my first problem and was hoping someone could help.

I get the message
===========================
Informational - artsmessage

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.
===========================

I was told by the person who gave me the computer that the sound card should work well with Linux. What can I do?

Thanks,
Ray

cedar 06-11-2005 08:14 PM

what sound card is it? need to know so we know how to help

PadreFabuloso 06-11-2005 08:43 PM

Sorry :)

It's a Creative (Labs?) CT4500

cedar 06-11-2005 08:47 PM

open a terminal and type

lsmod | grep snd

and post what you get here
this will list the modules you have loaded pertaining to the sound card

PadreFabuloso 06-11-2005 08:55 PM

I typed in lsmod | grep snd and nothing happened. I assume that the pipe is for a new line. Anyway... when I typed lsmod I got this...


Module Size Used by
proc_intf 4100 0
freq_table 4100 0
cpufreq_userspace 4572 0
cpufreq_ondemand 6172 0
cpufreq_powersave 1920 0
apm 19948 2
ipv6 229504 9
af_packet 20744 2
ohci_hcd 19848 0
ehci_hcd 29444 0
3c59x 37160 0
i2c_piix4 8592 0
i2c_core 21264 1 i2c_piix4
uhci_hcd 30224 0
usbcore 107384 3 ohci_hcd,ehci_hcd,uhci_hcd
pci_hotplug 30512 0
intel_agp 20636 1
agpgart 31784 1 intel_agp
analog 10784 0
ns558 5632 0
gameport 4608 2 analog,ns558
floppy 54864 0
pcspkr 3816 0
rtc 12216 0
md 43856 0
dm_mod 53116 1
capability 5000 0
commoncap 7808 1 capability
tsdev 7488 0
evdev 9088 0
psmouse 19336 0
mousedev 11160 1
parport_pc 34372 1
lp 10792 0
parport 33480 2 parport_pc,lp
ide_cd 38532 0
cdrom 36508 1 ide_cd
ext3 120968 1
jbd 54168 1 ext3
ide_generic 1664 0
piix 9988 1
ide_disk 18176 3
ide_core 118988 4 ide_cd,ide_generic,piix,ide_disk
unix 26164 460
processor 22708 0
fbcon 34048 0
font 8448 1 fbcon
bitblit 5120 1 fbcon
vesafb 6948 0
cfbcopyarea 3968 1 vesafb
cfbimgblt 3072 1 vesafb
cfbfillrect 3584 1 vesafb

When I type grep snd, nothing happened :(

cedar 06-11-2005 09:05 PM

it was supposed to be typed just like I said to show only what we needed to see, namely the snd parts...no problem
you don't have the modules loaded for your sound card
before compiling a new kernel, let's see if they are just hiding
in a terminal, as root type exactly the following:
Code:

modprobe snd-sbawe
just what's in the box :)
then let me know what happens

edit: had to change the _ to a - sorry about that

PadreFabuloso 06-11-2005 09:19 PM

I tried it three times (and I really did type a hyphen ... I know I did!) and got this each time:

WARNING: Error inserting soundcore (/lib/modules/2.6.10-5-386/kernel/sound/soundcore.ko): Operation not permitted
WARNING: Error inserting snd (/lib/modules/2.6.10-5-386/kernel/sound/core/snd.ko): Operation not permitted
WARNING: Error inserting snd_seq_device (/lib/modules/2.6.10-5-386/kernel/sound/core/seq/snd-seq-device.ko): Operation not permitted
WARNING: Error inserting snd_rawmidi (/lib/modules/2.6.10-5-386/kernel/sound/core/snd-rawmidi.ko): Operation not permitted
WARNING: Error inserting snd_mpu401_uart (/lib/modules/2.6.10-5-386/kernel/sound/drivers/mpu401/snd-mpu401-uart.ko): Operation not permitted
WARNING: Error inserting snd_hwdep (/lib/modules/2.6.10-5-386/kernel/sound/core/snd-hwdep.ko): Operation not permitted
WARNING: Error inserting snd_sb_common (/lib/modules/2.6.10-5-386/kernel/sound/isa/sb/snd-sb-common.ko): Operation not permitted
WARNING: Error inserting snd_sb16_csp (/lib/modules/2.6.10-5-386/kernel/sound/isa/sb/snd-sb16-csp.ko): Operation not permitted
WARNING: Error inserting snd_page_alloc (/lib/modules/2.6.10-5-386/kernel/sound/core/snd-page-alloc.ko): Operation not permitted
WARNING: Error inserting snd_timer (/lib/modules/2.6.10-5-386/kernel/sound/core/snd-timer.ko): Operation not permitted
WARNING: Error inserting snd_page_alloc (/lib/modules/2.6.10-5-386/kernel/sound/core/snd-page-alloc.ko): Operation not permitted
WARNING: Error inserting soundcore (/lib/modules/2.6.10-5-386/kernel/sound/soundcore.ko): Operation not permitted
WARNING: Error inserting snd (/lib/modules/2.6.10-5-386/kernel/sound/core/snd.ko): Operation not permitted
WARNING: Error inserting snd_timer (/lib/modules/2.6.10-5-386/kernel/sound/core/snd-timer.ko): Operation not permitted
FATAL: Error inserting snd_pcm (/lib/modules/2.6.10-5-386/kernel/sound/core/snd-pcm.ko): Operation not permitted
WARNING: Error running install command for snd_pcm
WARNING: Error inserting snd_sb16_dsp (/lib/modules/2.6.10-5-386/kernel/sound/isa/sb/snd-sb16-dsp.ko): Operation not permitted
WARNING: Error inserting snd_opl3_lib (/lib/modules/2.6.10-5-386/kernel/sound/drivers/opl3/snd-opl3-lib.ko): Operation not permitted
WARNING: Error inserting soundcore (/lib/modules/2.6.10-5-386/kernel/sound/soundcore.ko): Operation not permitted
WARNING: Error inserting snd (/lib/modules/2.6.10-5-386/kernel/sound/core/snd.ko): Operation not permitted
WARNING: Error inserting snd_seq_device (/lib/modules/2.6.10-5-386/kernel/sound/core/seq/snd-seq-device.ko): Operation not permitted
WARNING: Error inserting snd_rawmidi (/lib/modules/2.6.10-5-386/kernel/sound/core/snd-rawmidi.ko): Operation not permitted
WARNING: Error inserting snd_mpu401_uart (/lib/modules/2.6.10-5-386/kernel/sound/drivers/mpu401/snd-mpu401-uart.ko): Operation not permitted
WARNING: Error inserting snd_hwdep (/lib/modules/2.6.10-5-386/kernel/sound/core/snd-hwdep.ko): Operation not permitted
WARNING: Error inserting snd_sb_common (/lib/modules/2.6.10-5-386/kernel/sound/isa/sb/snd-sb-common.ko): Operation not permitted
WARNING: Error inserting snd_sb16_csp (/lib/modules/2.6.10-5-386/kernel/sound/isa/sb/snd-sb16-csp.ko): Operation not permitted
WARNING: Error inserting snd_page_alloc (/lib/modules/2.6.10-5-386/kernel/sound/core/snd-page-alloc.ko): Operation not permitted
WARNING: Error inserting snd_timer (/lib/modules/2.6.10-5-386/kernel/sound/core/snd-timer.ko): Operation not permitted
WARNING: Error inserting snd_page_alloc (/lib/modules/2.6.10-5-386/kernel/sound/core/snd-page-alloc.ko): Operation not permitted
WARNING: Error inserting soundcore (/lib/modules/2.6.10-5-386/kernel/sound/soundcore.ko): Operation not permitted
WARNING: Error inserting snd (/lib/modules/2.6.10-5-386/kernel/sound/core/snd.ko): Operation not permitted
WARNING: Error inserting snd_timer (/lib/modules/2.6.10-5-386/kernel/sound/core/snd-timer.ko): Operation not permitted
FATAL: Error inserting snd_pcm (/lib/modules/2.6.10-5-386/kernel/sound/core/snd-pcm.ko): Operation not permitted
WARNING: Error running install command for snd_pcm
WARNING: Error inserting snd_sb16_dsp (/lib/modules/2.6.10-5-386/kernel/sound/isa/sb/snd-sb16-dsp.ko): Operation not permitted
WARNING: Error inserting snd_opl3_lib (/lib/modules/2.6.10-5-386/kernel/sound/drivers/opl3/snd-opl3-lib.ko): Operation not permitted
FATAL: Error inserting snd_sbawe (/lib/modules/2.6.10-5-386/kernel/sound/isa/sb/snd-sbawe.ko): Operation not permitted
FATAL: Error running install command for snd_sbawe

cedar 06-11-2005 09:24 PM

I apologize for that, in most distros you become root by typing su, then your root password when prompted. I forgot that in ubuntu/kubuntu you have to use sudo. Put sudo in front of the modprobe and try it again, if you didn't.

PadreFabuloso 06-11-2005 09:28 PM

I typed sudo modprobe snd-sbawe

It asked for my password, which I typed in, and then it returned with another prompt (not quite immediately).

Does that mean that nothing's installed?

cedar 06-11-2005 09:30 PM

that's good...try something that uses sound

cedar 06-11-2005 09:30 PM

that's good...all those errors before were because you needed to be root...now try something that uses sound to check it out

PadreFabuloso 06-11-2005 09:37 PM

Alright ... here's what I did.

Control Center -> Sound & Maintenance -> System Notifications -> Actions -> play a sound

I selected a sound and pressed the play button. Nothing happened (soundwise, that is....)

-Ray

cedar 06-11-2005 09:40 PM

start kmix and check your volume level

PadreFabuloso 06-11-2005 09:43 PM

In Kmix, the current mixer is blank. (And how am I finding everything so easily? I love this!!!)

cedar 06-11-2005 09:48 PM

in a terminal
sudo kwrite /etc/modules

when the document opens, add snd-sbawe to it
save it, close it and reboot
I don't understand why it's not working already, but we'll get it figured out


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