LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 08-23-2005, 08:26 AM   #1
bruse
Member
 
Registered: Feb 2005
Location: internet
Distribution: Debian
Posts: 821

Rep: Reputation: 30
sound problem!


mandrake10.0

problem with sound.

[root@localhost root]# alsamixer

alsamixer: function snd_ctl_open failed for default: No such device
[root@localhost root]#

[root@localhost root]# ll /dev/ds*
lrwxrwxrwx 1 root root 4 Apr 14 13:58 /dev/dsp -> dsp0
crw------- 1 student audio 14, 3 Apr 14 13:58 /dev/dsp0
crw------- 1 student audio 14, 19 Apr 14 13:58 /dev/dsp1
crw------- 1 student audio 14, 35 Apr 14 13:58 /dev/dsp2
crw------- 1 student audio 14, 51 Apr 14 13:58 /dev/dsp3
crw------- 1 student audio 55, 0 Apr 14 13:58 /dev/dsp56k
[root@localhost root]#

root@localhost root]# lsmod
Module Size Used by Not tainted
soundcore 3812 0 (autoclean)
agpgart 36928 6 (autoclean)
parport_pc 15716 1 (autoclean)
lp 8168 0 (autoclean)
parport 27080 1 (autoclean) [parport_pc lp]
nfsd 71440 8 (autoclean)
lockd 50416 1 (autoclean) [nfsd]
sunrpc 66080 1 (autoclean) [nfsd lockd]
ide-cd 30784 0 (autoclean)
cdrom 30624 0 (autoclean) [ide-cd]
8139too 14440 1 (autoclean)
mii 2480 0 (autoclean) [8139too]
crc32 2912 0 (autoclean) [8139too]
ohci1394 24880 0 (unused)
ieee1394 45956 0 [ohci1394]
nls_iso8859-1 2844 1 (autoclean)
nls_cp850 3580 1 (autoclean)
vfat 10924 1 (autoclean)
fat 34072 0 (autoclean) [vfat]
ntfs 53824 0 (autoclean)
ehci-hcd 18508 0 (unused)
usb-uhci 22960 0 (unused)
usbcore 65260 1 [ehci-hcd usb-uhci]
[root@localhost root]#




pls help me how to enable sound ??
 
Old 08-23-2005, 08:56 AM   #2
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
Looks like the modules for your sound card haven't loaded..

Do you have a file /etc/init.d/alsa ?
Is it set to start at boot?

What's in /etc/modules.conf ? Is your sound card correct there?

Last edited by peter_robb; 08-23-2005 at 09:02 AM.
 
Old 08-23-2005, 09:07 AM   #3
bruse
Member
 
Registered: Feb 2005
Location: internet
Distribution: Debian
Posts: 821

Original Poster
Rep: Reputation: 30
[root@localhost root]# cat /etc/modules.conf

probeall usb-interface usb-uhci ehci-hcd
alias ieee1394-controller ohci1394
alias eth0 8139too
above snd-intel8x0 snd-pcm-oss
alias sound-slot-0 snd-intel8x0
[root@localhost root]# /etc/init.d/alsa restart
ALSA driver isn't running.
Starting ALSA version none:modprobe: Can't locate module snd
(intel8x0) [ OK ]
[root@localhost root]#
 
Old 08-23-2005, 10:26 AM   #4
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
In a terminal, do dmesg and look for the sound card..

Then modprobe snd-intel8x0
and do dmesg again..

It's a worry that the snd module can't be found..
do depmod -a and post if there are any errors pls.. (shouldn't be)
 
Old 08-24-2005, 06:31 AM   #5
bruse
Member
 
Registered: Feb 2005
Location: internet
Distribution: Debian
Posts: 821

Original Poster
Rep: Reputation: 30
[root@linux1 student]# modprobe snd-intel8x0
modprobe: Can't locate module snd-intel8x0
[root@linux1 student]# dmesg | grep snd-intel8x0
[root@linux1 student]# locate snd-intel8x0
/lib/modules/2.6.3-7mdk/kernel/sound/pci/snd-intel8x0.ko.gz


[root@linux1 student]# cd /lib/modules/2.6.3-7mdk/kernel/sound/pci/
[root@linux1 pci]# ls
ac97/ echoaudio/ mixart/ snd-als4000.ko.gz snd-cs4281.ko.gz snd-es1968.ko.gz snd-rme32.ko.gz trident/
ali5451/ emu10k1/ nm256/ snd-azt3328.ko.gz snd-ens1370.ko.gz snd-fm801.ko.gz snd-rme96.ko.gz vx222/
au88x0/ ice1712/ pdplus/ snd-bt87x.ko.gz snd-ens1371.ko.gz snd-intel8x0.ko.gz snd-sonicvibes.ko.gz ymfpci/
cs46xx/ korg1212/ rme9652/ snd-cmipci.ko.gz snd-es1938.ko.gz snd-maestro3.ko.gz snd-via82xx.ko.gz
[root@linux1 pci]# modprobe snd-intel8x0
modprobe: Can't locate module snd-intel8x0
[root@linux1 pci]# modprobe snd-intel8x0.ko.gz
modprobe: Can't locate module snd-intel8x0.ko.gz
[root@linux1 pci]#

now what is the problem how to load the module?
 
Old 08-24-2005, 06:35 AM   #6
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
That's mighty strange having the modules compressed with gzip!

Are all the modules in the /lib/modules directories like this, .gz ?

do gunzip /lib/modules/2.6.3-7mdk/kernel/sound/pci/snd-intel8x0.ko.gz
and try loading it again..
 
Old 08-24-2005, 06:52 AM   #7
bruse
Member
 
Registered: Feb 2005
Location: internet
Distribution: Debian
Posts: 821

Original Poster
Rep: Reputation: 30
i have thiserror.


[root@localhost pci]# ls
ac97/ echoaudio/ mixart/ snd-als4000.ko snd-cs4281.ko.gz snd-es1968.ko.gz snd-rme32.ko.gz trident/
ali5451/ emu10k1/ nm256/ snd-azt3328.ko.gz snd-ens1370.ko.gz snd-fm801.ko.gz snd-rme96.ko.gz vx222/
au88x0/ ice1712/ pdplus/ snd-bt87x.ko.gz snd-ens1371.ko.gz snd-intel8x0.ko snd-sonicvibes.ko.gz ymfpci/
cs46xx/ korg1212/ rme9652/ snd-cmipci.ko.gz snd-es1938.ko.gz snd-maestro3.ko.gz snd-via82xx.ko.gz

[root@localhost pci]# modprobe snd-intel8x0.ko
modprobe: Can't locate module snd-intel8x0.ko

[root@localhost pci]# depmod -a
[root@localhost pci]#
 
Old 08-24-2005, 06:54 AM   #8
bruse
Member
 
Registered: Feb 2005
Location: internet
Distribution: Debian
Posts: 821

Original Poster
Rep: Reputation: 30
root@localhost pci]# insmod snd-intel8x0.ko -v
Using snd-intel8x0.ko
Symbol version prefix ''
snd-intel8x0.ko: couldn't find the kernel version the module was compiled for
[root@localhost pci]#
 
Old 08-24-2005, 06:56 AM   #9
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
I've had a quick look at a Mandrake 10.1 box and it's the same, modules gzipped..
I'll do some tests..
 
Old 08-24-2005, 07:00 AM   #10
bruse
Member
 
Registered: Feb 2005
Location: internet
Distribution: Debian
Posts: 821

Original Poster
Rep: Reputation: 30
i am very sorry i am having different kernal.

[root@linux1 kernel]# updatedb
[root@linux1 kernel]# locate snd-intel8x0
/lib/modules/2.6.3-7mdk/kernel/sound/pci/snd-intel8x0.ko.gz
[root@linux1 kernel]# uname -a
Linux linux1 2.4.26-openmosix1 #1 Fri Nov 19 22:13:56 CET 2004 i686 unknown unknown GNU/Linux
[root@linux1 kernel]#

so how can i compile my snd-intel8x0.ko.gz for openmosix kernal.
 
Old 08-24-2005, 07:04 AM   #11
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
My one loaded ok and added these as well..
snd-ac97-codec snd-pcm snd-timer gameport snd-page-alloc snd-mpu401-uart snd-rawmidi snd-seq-device snd soundcore

Do uname -r pls..
Got to be sure the kernel and modules match..
Did you compile another kernel?
 
Old 08-24-2005, 07:07 AM   #12
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
Ok.. you will have a /lib/modules/2.4.26-openmosix1/ directory as well..

If not, go back to your kernel source directory and do make modules_install
and reboot..
The module will have a different name, so make sure it's in /etc/modules.conf

Last edited by peter_robb; 08-24-2005 at 07:08 AM.
 
Old 08-24-2005, 07:14 AM   #13
bruse
Member
 
Registered: Feb 2005
Location: internet
Distribution: Debian
Posts: 821

Original Poster
Rep: Reputation: 30
[root@localhost sound]# ls
ac97_codec.o ali5455.o emu10k1/ mad16.o msnd_pinnacle.o rme96xx.o sscape.o wavefront.o
ac97.o awe_wave.o es1370.o maestro3.o nm256_audio.o sb_lib.o trident.o ymfpci.o
aci.o btaudio.o es1371.o maestro.o opl3.o sb.o trix.o
ad1816.o cmpci.o esssolo1.o maui.o opl3sa2.o sgalaxy.o uart401.o
ad1848.o cs4232.o forte.o mpu401.o opl3sa.o sonicvibes.o uart6850.o
adlib_card.o cs4281/ gus.o msnd_classic.o pas2.o soundcore.o via82cxxx_audio.o
aedsp16.o cs46xx.o i810_audio.o msnd.o pss.o sound.o v_midi.o
[root@localhost sound]# pwd
/lib/modules/2.4.26-openmosix1/kernel/drivers/sound
[root@localhost sound]# make sound.o
make: Nothing to be done for `sound.o'.
[root@localhost sound]#
 
Old 08-24-2005, 07:20 AM   #14
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
Ok.. the module you need is i810_audio
do modprobe i810_audio
then look at dmesg again..
if it works ok and loads a whole lot more modules, you should be closer..

Usually, the start scripts for 2.6 kernels are different for 2.4 kernels, so I'd recommend doing the openmosix patch with a 2.6 kernel..
The alsa scripts are different for sure..

Last edited by peter_robb; 08-24-2005 at 07:23 AM.
 
Old 08-24-2005, 07:38 AM   #15
bruse
Member
 
Registered: Feb 2005
Location: internet
Distribution: Debian
Posts: 821

Original Poster
Rep: Reputation: 30
[root@linux1 tcptraceroute-1.4]# modprobe i810_audio
[root@linux1 tcptraceroute-1.4]#


[root@linux1 tcptraceroute-1.4]# dmesg | grep i810_audio
i810_audio: Primary codec has ID 0
i810_audio: Audio Controller supports 6 channels.
i810_audio: Defaulting to base 2 channel mode.
i810_audio: Resetting connection 0
i810_audio: Connection 0 with codec id 0
i810_audio: AC'97 codec 0 Unable to map surround DAC's (or DAC's not present), total channels = 2
[root@linux1 tcptraceroute-1.4]#

[root@linux1 tcptraceroute-1.4]# /etc/init.d/alsa start
Starting ALSA version none:modprobe: Can't locate module snd
(intel8x0) [ OK ]
[root@linux1 tcptraceroute-1.4]#



it seems loaded.
that is all or should install further modules.
should i reboot my computer.?
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Sound Problem: ESS (ES1869F-Chipset) No Sound computer_kid Slackware 9 08-02-2006 08:41 PM
Other problem with the sound in Mandrake - onboard sound card Swetko Linux - Hardware 24 06-19-2006 03:27 PM
5.1 sound problem (sound blaster live and suse) shadout Linux - Hardware 11 06-24-2005 12:46 AM
Sound problem with intel8x0 sound card. ivopz Linux - Hardware 2 03-28-2005 05:01 AM
Sound problem after installing/uninstalling JACK sound server bastupungen Linux - Software 1 02-28-2004 12:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:14 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