View previous topic :: View next topic |
Author |
Message |
suicideducky Apprentice
Joined: 29 Jan 2007 Posts: 208
|
Posted: Fri Feb 16, 2007 6:35 am Post subject: [SOLVED] sound output. [solved]ALSA soundcard config. |
|
|
ok ive just installed gentoo for the 6th time (kept configuring the install over and over again until it was as perfect as i could get it, also broke it ) but now its working, exactly how i want it to.
excepy my soundcard, and when i installed gentoo i set one of the USE flags in /etc/make.conf to 'alsa' and used genkernel, and now i just followed the guide at
http://gentoo-wiki.com/HOWTO_ALSA
and after it, i type in
Code: | cat /proc/asound/cards |
and it comes up with
Code: | --- no soundcards --- |
so obviously i didnt do it right... i think its because im unsure of what driver to choose from inside genkernel.
i choose the soundblaster 16 or something close, because i saw that my soundcard on my laptop meet sounblaster 16 pro standards or something.
i have a toshiba satellite pro 4600 with all the factory standard parts plus a lil extra ram.
i also have ubuntu 6.10 installed on a different partition, is there anything i can do to steal the soundcard settings from ubuntu? (which had them by default) and import them into gentoo? if not where would i find what driver to use?
thanks again, ducky.
any help is greatly apprechiated
Last edited by suicideducky on Mon Feb 19, 2007 6:52 am; edited 3 times in total |
|
Back to top |
|
|
PaulBredbury Watchman
Joined: 14 Jul 2005 Posts: 7310
|
Posted: Fri Feb 16, 2007 7:15 am Post subject: |
|
|
In Ubuntu, to see which kernel modules are being used for sound, run:
Code: | sudo lsmod | grep snd |
|
|
Back to top |
|
|
suicideducky Apprentice
Joined: 29 Jan 2007 Posts: 208
|
Posted: Fri Feb 16, 2007 7:16 am Post subject: |
|
|
thanks man, will do and hope it works.
thanks yet again, Ducky. |
|
Back to top |
|
|
suicideducky Apprentice
Joined: 29 Jan 2007 Posts: 208
|
Posted: Fri Feb 16, 2007 8:08 am Post subject: |
|
|
i tried the command (in ubuntu 6.10)
Code: | sudo lsmod | grep snd |
and i got the following output
Code: | chris@chris-laptop:~$ sudo lsmod | grep snd
Password:
snd_intel8x0 34844 1
snd_ac97_codec 97696 1 snd_intel8x0
snd_ac97_bus 3456 1 snd_ac97_codec
snd_pcm_oss 47360 0
snd_mixer_oss 19584 1 snd_pcm_oss
snd_pcm 84612 3 snd_intel8x0,snd_ac97_codec,snd_pcm_oss
snd_timer 25348 1 snd_pcm
snd 58372 8 snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
soundcore 11232 1 snd
snd_page_alloc 11400 2 snd_intel8x0,snd_pcm
chris@chris-laptop:~$ |
but i cant seem to find the actual driver. im using genkernel.
any help is greatly apprechiated, Ducky. |
|
Back to top |
|
|
K T A Apprentice
Joined: 25 Feb 2005 Posts: 210 Location: Europe
|
Posted: Fri Feb 16, 2007 3:13 pm Post subject: |
|
|
Hello,
what does say? Something like:
Code: | Multimedia audio controller: Intel Corporation: Unknown device | ?
I'm almost sure it is some kind of a Yamaha soundchip which should work with the snd_intel8x0 ALSA module...
KTA
Last edited by K T A on Fri Feb 16, 2007 3:58 pm; edited 1 time in total |
|
Back to top |
|
|
defenderBG l33t
Joined: 20 Jun 2006 Posts: 817
|
Posted: Fri Feb 16, 2007 3:53 pm Post subject: |
|
|
suicideducky wrote: | but i cant seem to find the actual driver. im using genkernel. |
try:
genkernel --menuconfig all
follow this guide, i find it better than the other one: http://www.gentoo.org/doc/en/alsa-guide.xml |
|
Back to top |
|
|
skwang Tux's lil' helper
Joined: 12 May 2004 Posts: 149 Location: Chicago, IL
|
Posted: Fri Feb 16, 2007 4:59 pm Post subject: |
|
|
suicideducky,
"snd_intel8x0" is the kernel module that you need to compile, according to your lsmod output.
I'm not 100% sure about your setup, but one thing you could do is compile the kernel using genkernel. Reboot, go to /usr/src/linux-<version>/, type 'make xconfig', and manually select the correct ALSA modules to install. (Disclaimer: I don't use genkernel.) |
|
Back to top |
|
|
suicideducky Apprentice
Joined: 29 Jan 2007 Posts: 208
|
Posted: Sat Feb 17, 2007 4:59 am Post subject: |
|
|
K T A wrote: | Hello,
what does say? Something like:
Code: | Multimedia audio controller: Intel Corporation: Unknown device | ?
I'm almost sure it is some kind of a Yamaha soundchip which should work with the snd_intel8x0 ALSA module...
KTA |
ok i did that command and it came out with.
Code: | gentoo-tux ~ # lspci -v | grep -i audio
00:1f.5 Multimedia audio controller: Intel Corporation 82801BA/BAM AC'97 Audio (rev 03)
gentoo-tux ~ #
|
now im confussed as. |
|
Back to top |
|
|
Maedhros Bodhisattva
Joined: 14 Apr 2004 Posts: 5511 Location: Durham, UK
|
Posted: Sat Feb 17, 2007 3:07 pm Post subject: |
|
|
Moved from Installing Gentoo to Multimedia. _________________ No-one's more important than the earthworm. |
|
Back to top |
|
|
suicideducky Apprentice
Joined: 29 Jan 2007 Posts: 208
|
Posted: Mon Feb 19, 2007 4:40 am Post subject: |
|
|
skwang wrote: | suicideducky,
"snd_intel8x0" is the kernel module that you need to compile, according to your lsmod output.
I'm not 100% sure about your setup, but one thing you could do is compile the kernel using genkernel. Reboot, go to /usr/src/linux-<version>/, type 'make xconfig', and manually select the correct ALSA modules to install. (Disclaimer: I don't use genkernel.) |
but i actually cannot find "snd_intel8x0" on the list, or anything really close.... |
|
Back to top |
|
|
suicideducky Apprentice
Joined: 29 Jan 2007 Posts: 208
|
Posted: Mon Feb 19, 2007 4:42 am Post subject: |
|
|
suicideducky wrote: | skwang wrote: | suicideducky,
"snd_intel8x0" is the kernel module that you need to compile, according to your lsmod output.
I'm not 100% sure about your setup, but one thing you could do is compile the kernel using genkernel. Reboot, go to /usr/src/linux-<version>/, type 'make xconfig', and manually select the correct ALSA modules to install. (Disclaimer: I don't use genkernel.) |
but i actually cannot find "snd_intel8x0" on the list, or anything really close.... |
i found something that is compiled as "snd-intel8x0" so im using that one... hope this works |
|
Back to top |
|
|
suicideducky Apprentice
Joined: 29 Jan 2007 Posts: 208
|
Posted: Mon Feb 19, 2007 5:53 am Post subject: |
|
|
my sound card is working!
well my system reconizises it....
but i cant seem to play anything through programs that where compiled before the soundcard. so do i have to recompile my entire system?
Code: | gentoo-tux ~ # cat /proc/asound/cards
0 [I82801BAICH2 ]: ICH - Intel 82801BA-ICH2
Intel 82801BA-ICH2 with YMF743 at 0xce00, irq 11
gentoo-tux ~ #
| see it works!, but nothing comes out of things like VLC and mplayer.
ill post start that conversation elsewhere.
thanks for your help all, got it working |
|
Back to top |
|
|
martigan80 n00b
Joined: 31 Aug 2005 Posts: 46
|
Posted: Mon Feb 19, 2007 6:04 am Post subject: |
|
|
suicideducky wrote: | my sound card is working!
well my system reconizises it....
but i cant seem to play anything through programs that where compiled before the soundcard. so do i have to recompile my entire system?
Code: | gentoo-tux ~ # cat /proc/asound/cards
0 [I82801BAICH2 ]: ICH - Intel 82801BA-ICH2
Intel 82801BA-ICH2 with YMF743 at 0xce00, irq 11
gentoo-tux ~ #
| see it works!, but nothing comes out of things like VLC and mplayer.
ill post start that conversation elsewhere.
thanks for your help all, got it working |
And unmute master and pcm.
Well if you try to play something that shows the VU bar does it move? If so I would say emerge alsa-util and then run |
|
Back to top |
|
|
suicideducky Apprentice
Joined: 29 Jan 2007 Posts: 208
|
Posted: Mon Feb 19, 2007 6:10 am Post subject: |
|
|
yes the bar still moves, and they no longer complain about no output thingy but no sound comes out.
i was thinking of running
Code: | emerge --update --deep --newuse world |
would that work?
P.S. ive got this in a new topic just above (or belowish) this one.
thanks again, Ducky. |
|
Back to top |
|
|
suicideducky Apprentice
Joined: 29 Jan 2007 Posts: 208
|
Posted: Mon Feb 19, 2007 6:18 am Post subject: |
|
|
martigan80 wrote: | suicideducky wrote: | my sound card is working!
well my system reconizises it....
but i cant seem to play anything through programs that where compiled before the soundcard. so do i have to recompile my entire system?
Code: | gentoo-tux ~ # cat /proc/asound/cards
0 [I82801BAICH2 ]: ICH - Intel 82801BA-ICH2
Intel 82801BA-ICH2 with YMF743 at 0xce00, irq 11
gentoo-tux ~ #
| see it works!, but nothing comes out of things like VLC and mplayer.
ill post start that conversation elsewhere.
thanks for your help all, got it working |
And unmute master and pcm.
Well if you try to play something that shows the VU bar does it move? If so I would say emerge alsa-util and then run |
ok the command
did nothing, couldnt find command.
and it cant find alsa-util to emerge so im doing a search for it now.
did i mention that i compiled the alsa thingy as a module?
if that makes any different then woops...
thanks again, Ducky |
|
Back to top |
|
|
suicideducky Apprentice
Joined: 29 Jan 2007 Posts: 208
|
Posted: Mon Feb 19, 2007 6:54 am Post subject: |
|
|
it works. everything jsut wokrs.
ill explain what i did.
i ran the commands below
-hadnt done for a few days:D just for the sake of doing it....
but the command that did it where
Code: | emerge alsa-utils
alsaconf
alsamixer |
so i followed part of the guide at
http://www.gentoo.org/doc/en/alsa-guide.xml
man i love gentoo!
thanks for all your help, everyone.
thanks again, for making gentoo that much better, Ducky. |
|
Back to top |
|
|
|