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 ?? |
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? |
[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]# |
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) |
[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? |
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.. |
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]# |
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]# |
I've had a quick look at a Mandrake 10.1 box and it's the same, modules gzipped..
I'll do some tests.. |
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. |
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? |
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 |
[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]# |
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.. |
[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.? |
You're back to the old 2.4 config now.. which uses OSS rather than alsa.
You will need to install the alsa-2.4 packages to get it to work.. Sound devices should work if they use /dev/dsp It is an oss device.. |
What you have now is a 2.6 installation using a 2.4 kernel..
Be prepared for lots of strange things to not work. You may have packages built for alsa in the 2.6 kernel, and the only way to get them to work is to install either the 2.4-alsa packages or the 2.4 version of the package.. It's going to be easier overall to make another 2.6 kernel.. (it would be my personal choice). |
THANKS.
|
All times are GMT -5. The time now is 11:47 PM. |