LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 06-11-2005, 10:05 PM   #16
PadreFabuloso
LQ Newbie
 
Registered: Jun 2005
Location: Dolton, IL
Distribution: kubuntu 5.04
Posts: 16

Original Poster
Rep: Reputation: 0

I did as you asked, rebooted, and was greeted by a lovely little song once I re-logged in. Sound seems to work.

AND NOW I'M PLAYING AN AUDIO CD!!

Thank you SO INCREDIBLY MUCH for your help!!
 
Old 06-11-2005, 10:08 PM   #17
cedar
Member
 
Registered: Feb 2004
Location: Colorado Springs, CO
Distribution: Ubuntu, Fedora, PCLinux, MEPIS, still miss Libranet
Posts: 162

Rep: Reputation: 30
sweet...
I love it when a plan comes together.

Have fun and welcome to Linux!
 
Old 07-01-2005, 10:19 PM   #18
jmiter
LQ Newbie
 
Registered: Jul 2005
Posts: 12

Rep: Reputation: 0
I'd like to jump in on this thread for some help.

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.

lsmod | grep snd results in..
snd_sb_common 14848 0
snd_seq_device 8332 0
snd_mixer_oss 16768 0
snd_timer 23300 0
snd_page_alloc 9604 0
snd 50276 4 snd_sb_common,snd_seq_device,snd_mixer_oss,snd_timer
soundcore 9824 1 snd

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!
 
Old 07-03-2005, 11:57 AM   #19
cedar
Member
 
Registered: Feb 2004
Location: Colorado Springs, CO
Distribution: Ubuntu, Fedora, PCLinux, MEPIS, still miss Libranet
Posts: 162

Rep: Reputation: 30
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)

Last edited by cedar; 07-03-2005 at 12:02 PM.
 
Old 07-03-2005, 09:12 PM   #20
jmiter
LQ Newbie
 
Registered: Jul 2005
Posts: 12

Rep: Reputation: 0
Yes, snd-nn256 is the name of the module (at least that what it seems from alsa-project.org.) The link below is what I used...

http://www.alsa-project.org/alsa-doc...0&module=nm256

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?

Thanks, Tim
 
Old 07-04-2005, 09:38 AM   #21
cedar
Member
 
Registered: Feb 2004
Location: Colorado Springs, CO
Distribution: Ubuntu, Fedora, PCLinux, MEPIS, still miss Libranet
Posts: 162

Rep: Reputation: 30
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.
 
Old 07-04-2005, 09:57 AM   #22
jmiter
LQ Newbie
 
Registered: Jul 2005
Posts: 12

Rep: Reputation: 0
Thanks- I'll recompile today and post the results.

I appreciate the guidence. Enjoy your vacation!

Thanks, Tim
 
Old 07-05-2005, 05:26 PM   #23
LordSurvivoR
Member
 
Registered: Jul 2005
Location: Serbia
Distribution: Gentoo
Posts: 46

Rep: Reputation: 15
Same problem at me

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

lsmod | grep snd - no output

Info about Sound Device - it's built in sound card (not on PCI) Via Motherboard
http://img232.imageshack.us/img232/6945/sound28vu.png

And branch Sound from KInfoCenter
http://img232.imageshack.us/img232/5963/sound10dv.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.

Thx for help
Regards,
Daniel
 
Old 07-06-2005, 01:01 AM   #24
cedar
Member
 
Registered: Feb 2004
Location: Colorado Springs, CO
Distribution: Ubuntu, Fedora, PCLinux, MEPIS, still miss Libranet
Posts: 162

Rep: Reputation: 30
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)
 
Old 07-06-2005, 07:32 AM   #25
jmiter
LQ Newbie
 
Registered: Jul 2005
Posts: 12

Rep: Reputation: 0
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

3. Then (just for fun), "modprobe snd-nm256", and "lsmod | grep snd" produced:
snd_nm256 68448 0
snd_ac97_codec 70264 1 snd_nm256
snd_pcm_oss 47008 0
snd_mixer_oss 16512 1 snd_pcm_oss
snd_pcm 82952 3 snd_nm256,snd_ac97_codec,snd_pcm_oss
snd_timer 23684 1 snd_pcm
snd_page_alloc 9604 1 snd_pcm
snd 51972 6 snd_nm256,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
soundcore 10080 1 snd

Restarting the sound system (via KDE control pannel) I still get the .../dev/dsp can't be opened... error

I'm stumped!

I dont' mind re-compiling too much. I'll usually set it up to compile over night. Its done by morning.

Regards.
 
Old 07-06-2005, 07:44 AM   #26
LordSurvivoR
Member
 
Registered: Jul 2005
Location: Serbia
Distribution: Gentoo
Posts: 46

Rep: Reputation: 15
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?
 
Old 07-06-2005, 11:01 AM   #27
cedar
Member
 
Registered: Feb 2004
Location: Colorado Springs, CO
Distribution: Ubuntu, Fedora, PCLinux, MEPIS, still miss Libranet
Posts: 162

Rep: Reputation: 30
jmiter--
run alsaconf and let us know what happens
 
Old 07-06-2005, 12:13 PM   #28
LordSurvivoR
Member
 
Registered: Jul 2005
Location: Serbia
Distribution: Gentoo
Posts: 46

Rep: Reputation: 15
@cedar: what should I do? what should be checked in kernel .config? And afer recompiling kernel, is there any pocket that must be installed?
 
Old 07-06-2005, 12:41 PM   #29
jmiter
LQ Newbie
 
Registered: Jul 2005
Posts: 12

Rep: Reputation: 0
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

Put them into /usr/src, and unzipped each to its own directory. Followed directions for each section: http://www.alsa-project.org/alsa-doc...0&module=nm256

!!! 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



Thanks,
 
Old 07-06-2005, 06:01 PM   #30
cedar
Member
 
Registered: Feb 2004
Location: Colorado Springs, CO
Distribution: Ubuntu, Fedora, PCLinux, MEPIS, still miss Libranet
Posts: 162

Rep: Reputation: 30
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.
 
  


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: /dev/dsp could not be opened webzila Linux - Hardware 3 11-25-2005 04:40 PM
No sound, /dev/dsp can't be opened. DarkDrive Linux - Hardware 23 12-04-2004 08:13 PM
Sound driver problem... SGFHK321 Linux - Newbie 4 07-09-2004 09:20 PM
No sound > device /dev/dsp can't be opened DarkGhost Linux - Hardware 1 12-25-2002 06:36 PM
Sound driver problem Stephanie Linux - General 5 05-18-2002 12:45 AM


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