LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 07-30-2005, 02:17 PM   #1
set235
Member
 
Registered: Oct 2003
Location: asheville usa
Distribution: ubuntu
Posts: 39

Rep: Reputation: 15
sound not working with new gentoo install (fixed!)


got gentoo 2005.0 stage1 tarball, kernel 2.6.12r6, kde 3.4.1
running on
athlonxp 2000
nvidia geforce fx 5700 ultra 128mb
soyo dragon kt-333 lite mother with built in sound (cmedia 8738)
1 gig mixed ddr (all pc 2700)

i have alsa support for cmedia 8738 compiled into kernel
kernel options for alsa are exactly as shows in gentoo linux guide
i have followed the gentoo linux alsa guide for the kernel provided method
i get the no pnp or pci supported cards found when i run alsaconf
upon boot into x i get a pop error saying couldnt start sound /dev/dsp not a valid device
(or something similiar)

no sound, any ideas? i'm sure i am missing something

Last edited by set235; 08-04-2005 at 06:20 PM.
 
Old 07-30-2005, 02:36 PM   #2
racethesun
Member
 
Registered: Jul 2005
Distribution: ubuntu
Posts: 52

Rep: Reputation: 15
if you have no /dev/dsp file then alsa didnt configure and install properly, can you run ./snddevices in the alsa folder? that would give you all the /dev sound files you need
 
Old 07-31-2005, 11:52 PM   #3
set235
Member
 
Registered: Oct 2003
Location: asheville usa
Distribution: ubuntu
Posts: 39

Original Poster
Rep: Reputation: 15
any idea where the alsa folder might b?
also, i do see a dsp file in the /dev folder

Last edited by set235; 07-31-2005 at 11:54 PM.
 
Old 08-01-2005, 01:15 AM   #4
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
Do not run snddevices. Also alsaconf will not help, so do not use it. As root type `modprobe snd-cmipci`. Linux should then made /dev/dsp.

Its directory not folder.
 
Old 08-01-2005, 02:34 AM   #5
set235
Member
 
Registered: Oct 2003
Location: asheville usa
Distribution: ubuntu
Posts: 39

Original Poster
Rep: Reputation: 15
i tried the modprobe snd-cmipci and get the error that the module was not found. how can i load this module? my modules.conf file does not show an entry for snd-cmipci
 
Old 08-01-2005, 03:07 AM   #6
Razze
Member
 
Registered: Dec 2004
Location: Espoo, Finland
Distribution: Gentoo, 2.6.16-gentoo-r11
Posts: 108

Rep: Reputation: 15
Hello!

I believe that the module snd_cmipci is not supported in the kernel, so you need to follow the instructions in the Gentoo Alsa howto and install alsa-driver separately.

Razze
 
Old 08-02-2005, 02:07 AM   #7
set235
Member
 
Registered: Oct 2003
Location: asheville usa
Distribution: ubuntu
Posts: 39

Original Poster
Rep: Reputation: 15
well, i followed the directions for the alsa-drivers from the gentoo alsa configuration manual.
still no sound. i think i am getting closer.....hehe..
alsaconf works until last step the alsa configurator, here i hit ok and get

Running modules-update...
Loading driver...
Setting default volumes...
Saving the mixer setup used for this in /etc/asound.state.
/usr/sbin/alsactl: save_state:1163: No soundcards found...
even though i picked my card from list in the last step.


if i run "/etc/init.d/alsasound start" i get
* Loading ALSA modules ...
* Loading: snd-card-0 ...
WARNING: Error inserting snd_seq_device (/lib/modules/2.6.12-gentoo-r6/alsa-driver/acore/seq/snd-seq-device.ko): Unknown symbol in module, or unknown parameter (see dmesg).................etc..........etc
followed by a whole list of errors inserting devices


if i run "modprobe snd-cmipci" i get the exact same set of errors




 
Old 08-02-2005, 04:36 AM   #8
Razze
Member
 
Registered: Dec 2004
Location: Espoo, Finland
Distribution: Gentoo, 2.6.16-gentoo-r11
Posts: 108

Rep: Reputation: 15
I also ran into the same sort of error messages onec. It turned out that I had been messing with the power saving settings in the kernel, and that I had some inconsistencies there. If i remember correctly I had selected APM but no modules. I suggest you check your kernel settings to make sure they are OK.
 
Old 08-02-2005, 08:17 AM   #9
webdevel
Member
 
Registered: Jan 2005
Location: Moldova
Distribution: Gentoo / Athlon 3200 / RAM 512
Posts: 60

Rep: Reputation: 15
Quote:
Originally posted by set235

* Loading: snd-card-0 ...
WARNING: Error inserting snd_seq_device (/lib/modules/2.6.12-gentoo-r6/alsa-driver/acore/seq/snd-seq-device.ko): Unknown symbol in module, or unknown parameter (see dmesg).................etc..........etc
"Unknown symbol" means that some kernel dependency is required. Try to build experimental kernel with almost all options turned on, after that try to insmod again. Also you should explore log files to understand which symbol is unknown and to understand which feature of kernel you should turn on before building kernel.
 
Old 08-02-2005, 10:16 AM   #10
set235
Member
 
Registered: Oct 2003
Location: asheville usa
Distribution: ubuntu
Posts: 39

Original Poster
Rep: Reputation: 15
checking dmesg the only thing i can find is

Advanced Linux Sound Architecture Driver Version 1.0.9rc2 (Thu Mar 24 10:33:39$
ALSA device list:
No soundcards found.



Last edited by set235; 08-02-2005 at 11:47 AM.
 
Old 08-02-2005, 08:12 PM   #11
set235
Member
 
Registered: Oct 2003
Location: asheville usa
Distribution: ubuntu
Posts: 39

Original Poster
Rep: Reputation: 15
any ideas?
 
Old 08-03-2005, 01:20 AM   #12
set235
Member
 
Registered: Oct 2003
Location: asheville usa
Distribution: ubuntu
Posts: 39

Original Poster
Rep: Reputation: 15

please.................
 
Old 08-03-2005, 02:27 AM   #13
webdevel
Member
 
Registered: Jan 2005
Location: Moldova
Distribution: Gentoo / Athlon 3200 / RAM 512
Posts: 60

Rep: Reputation: 15
Quote:
Originally posted by set235
Advanced Linux Sound Architecture Driver Version 1.0.9rc2 (Thu Mar 24 10:33:39$
ALSA device list:
No soundcards found.
I think your sound card support is not included in kernel or kernel can't find/probe module during boot up.
 
Old 08-03-2005, 02:50 AM   #14
Razze
Member
 
Registered: Dec 2004
Location: Espoo, Finland
Distribution: Gentoo, 2.6.16-gentoo-r11
Posts: 108

Rep: Reputation: 15
I still think you don't have your kernel settings correct:

For the alsa-driver you only need to make sure that you enable "device drivers --> sound --> sound card support" as module and leave the rest of the sound settings off (neither M nor Y)

Please also make sure that you have disabled the power management support (I got the same error when I had enabled power management support but did not have any modules to go with it).

After that save your new kernel configurations and run
Code:
# make modules modules_install
# emerge alsa-driver alsa-utils
If you don't want to compile support for every possible soundcard, please make sure you have the line
Code:
ALSA_CARDS="cmipci"
in your /etc/make.conf before you emerge the alsa-driver.
 
Old 08-03-2005, 10:34 AM   #15
set235
Member
 
Registered: Oct 2003
Location: asheville usa
Distribution: ubuntu
Posts: 39

Original Poster
Rep: Reputation: 15
power management support is definitely disabled
sound module loaded in kernel, no other sound options selected
did
# make modules modules_install
# emerge alsa-driver alsa-utils
with ALSA_CARDS="cmipci" in make.conf

still get no soundcards found error on boot, using alsaconf, and in dmesg

just so you know.... my sound works fine on windows partition, and i have had 5 other flavors of linux installed in same machine with same sound card and all worked with no trouble.
 
  


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
New SuSE install, sound not working trempel Linux - Hardware 8 02-05-2005 12:32 PM
sound not working under slackware install blackgenesis Linux - Newbie 4 01-05-2005 12:56 AM
Sound not working after nvidia install SteelWheel Linux - Hardware 3 07-03-2004 12:45 PM
sound card not working in Gentoo/KDE GryphonTech Linux - Distributions 2 09-18-2003 12:06 PM
Sound still not working after alsa driver install Alf829 Linux - Newbie 12 08-06-2003 07:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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

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
Open Source Consulting | Domain Registration