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.
I'm not a newbie, but I'm not an expert either. I've been fiddling around with my sound card for months - have read numberous posting - can't get it to work.
Ceder, can't you provide some advice...
Running Ubuntu 5.04 on a Gateway Solo 2500. Sound card is Neomagic 256av.
Let me know if you need more info.
modprobe snd-nm256 (as root) results in a bunch of problems, thefirst few lines posted here...
FATAL: Error inserting snd_pcm (/lib/modules/2.6.10-5-386/updates/alsa/acore/snd-pcm.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error running install command for snd_pcm
WARNING: Error inserting snd_ac97_codec (/lib/modules/2.6.10-5-386/updates/alsa/pci/ac97/snd-ac97-codec.ko): Unknown symbol in module, or unknown parameter (see dmesg)
I'm stuck. Can you (or someone) point me in the right direction?
Thanks!
Distribution: Ubuntu, Fedora, PCLinux, MEPIS, still miss Libranet
Posts: 162
Rep:
is snd-nm256 the name of the module? did you go through the kernel config to get that module name or did you find it somewhere else?
edit - it appears to be the right module, but if it's not loading you may have to recompile your kernel to include support for this card...compiling a kernel isn't really all that bad with the 2.6 kernels, just time consuming (1-2 hours)
I used one of the recent alsa-drivers from the site - this is not from the kernel config . However, when I last compiled the kernel, I did select nearly all of the the sound modules (my current kernel is 2.6.10-5-386 running Ubuntu).
Recompling in the past did'nt seem to help - unless I've missed something.
I failed to mention previously that I have always received the following message upon KDE startup - no matter which Linux I run (i.e: Debian, Ubuntu, KnoppixLive CD...)
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.
As an aside: Seem like kernel compiling takes ~4-6 hours on my computer (pentium II-mmx 233mhz). Probably just the processor speed, eh?
If a re-compile is all this is needed - any suggestions for selecting the sound modules? What's up with the missing /dev/dsp? should that just appear after a recompile?
Distribution: Ubuntu, Fedora, PCLinux, MEPIS, still miss Libranet
Posts: 162
Rep:
when you compile your kernel, using make menuconfig or make xconfig go to the section Device drivers --> Sound --> Advanced Linux Sound Architecture (make this a module) --> PCI devices --> NeoMagic NM256AV/ZX (make this a module)
This will give you the ALSA driver for your card, I suspect that you have the OSS driver compiled which is not snd-nm256, but sound-nm256. If you don't feel like recompiling your kernel you can try loading that module first.
Sorry for the delay in answering, I'm on vacation.
Hello everyone,
I have the same problem, but only with compailed kernels - 2.6.11.11 and 2.6.12.2. On Slackware's 10.1 native kernel (2.4.29) sound is ok. Here is the message I got at startup of KDE: http://img179.imageshack.us/img179/4...orsound4lb.png
Is there any way to make my sound card to work without recompiling kernel? I recompiled kernel two times today therefore I don't want to compile it once again.
Distribution: Ubuntu, Fedora, PCLinux, MEPIS, still miss Libranet
Posts: 162
Rep:
about recompiling.....that depends on whether you included support for your card in the kernel or not
as for it being built-in rather than pci...it probably is pci even though it is built-in (mine is)...it may be isa though
we need more info about your card (you can google your specific computer to find out what kind of card it has) this is necessary to know what module to load (or what to put in the kernel if it comes to that)
Ok, I compiled a new kernel from kernel.org. Used 2.6.12.2
I de-selected all options from: Device drivers --> Sound --> Advanced Linux Sound Architecture (make this a module) --> PCI devices -->
Except: NeoMagic NM256AV/ZX and anything that mentoned cards AD1848 (analog devices) or OPL35A2 (Yamaha), as I read these to be relevant (I can't currently find the reference link I read that from)
Findings:
1. The sounds still doesn't work. I get the same message (as previous to compiling) as LordSurvivoR:
Sound server informational message:
Error while initializing the sound driver:
device: /dev/dsp can't be opened for playback (No such file or directory)
The sound server will continue, using the null output device.
2. lsmod | grep snd, initially produced nothing (no output). Then "modprobe snd", and "lsmod | grep snd" again produced:
snd 51972 0
soundcore 10080 1 snd
The information from screenshot above isn't enought? - VIA Technologies, Inc. VT82C686 AC97 Audio Controller (rev 50)
Google said:
Audio Output Sound card - PCI
Signal Processor VIA VT82C686B
Sound Output Mode Stereo
Compliant Standards Sound Blaster, DirectSound, AC '97, Sound Blaster Pro
information taken from http://www.ciao.co.uk/Matsonic_MS8127C__5410090/TabId/4
P.S. The motherboard is Matsonic MS8127c+(266) if the information above still isn't enaught.
Is there any way to "steal" something from 2.4.29 kernel, where sound works?
Ran alsaconf:
1. No PnP or PCI cards found
2. probed for the legacy cards next... did'nt find anything
Before your post to run alsaconf - I was trying to hack this out myself. Found some interesting information....
1. following the instructions from alsa.org for my assumed card: snd-nm256, I re-installed the alsa driver, lib, and utility from source. I used:
- source: alsa driver 1.0.8-4ubuntu4, downloaded through the synaptic package manager
- lib and utility 1.0.8, from the alsa.org ftp site
!!! Strangely, I had to use ./snddevices inorder to have the /dev/dsp and other nodes installed.
Everything else ran without errors. Inserting the modules (modprobe snd-nm256,...) had a problem that I corrected. The files modprobe searched for filed in /lib/modules/2.6.12.2/kernel/sound/core, but all the needed files were in /lib/modules/2.6.12.2/kernel/sound/acore. I just copied over the need files and modprobed without errors. Only one that did not seem to work was
So, all the nodes were made, no compile errors, and modprobe'd. Restarding alsa with either /etc/init.d/alsasound or through the KDE control pannel still did not work (Still could not open /dev/dsp).
I re-booted and all my newly made nodes were gone !! Ran ./snddevice again, just now. Ran alsaconf before and after getting the nodes back with ./snddevice. Alsaconf can't seem to find the card. After probing for legacy cards, in the terminal I get this..
modinfo: could not find module snd-opl3sa2
modinfo: could not find module snd-cs4236
modinfo: could not find module snd-cs4232
modinfo: could not find module snd-cs4231
modinfo: could not find module snd-es18xx
modinfo: could not find module snd-es1688
modinfo: could not find module snd-sb16
modinfo: could not find module snd-sb8
Distribution: Ubuntu, Fedora, PCLinux, MEPIS, still miss Libranet
Posts: 162
Rep:
LordSurvivoR-
check the .config file for the kernel you use (found in /boot ), search for CONFIG_SOUND_VIA82CXXX=m or SND_VIA82XX=m
if these are not present, you need to recompile your kernel to support your card, no other packages should need to be installed once your kernel is configured to support the hardware.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.