View previous topic :: View next topic |
Author |
Message |
ps2cho Apprentice
Joined: 27 Jun 2005 Posts: 196
|
Posted: Sun Jul 24, 2005 10:45 pm Post subject: Drivers |
|
|
Ok looks like my audio on gentoo doesnt work...
i have found the audio driver for it, but how do i install it ?
Thanks, ps2cho |
|
Back to top |
|
|
adsmith Veteran
Joined: 26 Sep 2004 Posts: 1386 Location: NC, USA
|
Posted: Mon Jul 25, 2005 12:50 am Post subject: |
|
|
I don't understand your question...
0) did you read the gentoo sound guide, http://www.gentoo.org/doc/en/alsa-guide.xml?
1A) did you compile ALSA support into your kernel?
OR
1B) did you emerge the alsa packages? |
|
Back to top |
|
|
ps2cho Apprentice
Joined: 27 Jun 2005 Posts: 196
|
Posted: Mon Jul 25, 2005 7:17 am Post subject: |
|
|
ok just did that and no luck.... |
|
Back to top |
|
|
UncleTom Apprentice
Joined: 20 Aug 2003 Posts: 194 Location: Bern, Switzerland
|
Posted: Mon Jul 25, 2005 8:53 am Post subject: |
|
|
ps2cho wrote: | ok just did that and no luck.... |
Please be more specific, otherwise we will not be able to help you. You did what? _________________ bug, n: A son of a glitch. |
|
Back to top |
|
|
ps2cho Apprentice
Joined: 27 Jun 2005 Posts: 196
|
Posted: Mon Jul 25, 2005 4:51 pm Post subject: |
|
|
I added all of the ALSA options in the kernel then did Quote: | make && make modules_install | , reboot and doesnt work...
Oh and my sound card is :
Analog Devices AD1918B AC'97 Compatible Audio
help |
|
Back to top |
|
|
bob_111 Apprentice
Joined: 12 Oct 2004 Posts: 155
|
Posted: Mon Jul 25, 2005 5:16 pm Post subject: |
|
|
you did copy over the new bzImage and System.map didn't you Do you have it compiled in or as a module (loaded ?).
- bob_111 |
|
Back to top |
|
|
ps2cho Apprentice
Joined: 27 Jun 2005 Posts: 196
|
Posted: Mon Jul 25, 2005 5:19 pm Post subject: |
|
|
I used genkernel and it said copying the bzImage. I dont understand the second question |
|
Back to top |
|
|
UncleTom Apprentice
Joined: 20 Aug 2003 Posts: 194 Location: Bern, Switzerland
|
Posted: Mon Jul 25, 2005 8:32 pm Post subject: |
|
|
bob_111 wrote: | you did copy over the new bzImage and System.map didn't you Do you have it compiled in or as a module (loaded ?). |
Let me translate.
In your kernel configuration, does it say
Code: | <M> Intel/SiS/nVidia/AMD/ALi AC97 Controller |
meaning the driver "is compiled as a module"
or
Code: | <*> Intel/SiS/nVidia/AMD/ALi AC97 Controller |
meaning the driver is "compiled into the kernel"?
The difference in short is that if something is not "in the kernel", it must first be loaded to take effect. But the alsasound startup script should take care of that for you and in my experience it should really work either way. The startup script assumes that your driver is compiled as a module and will complain if it isn't, so I usually do that. I also compile all the other ALSA related stuff into the kernel.
What driver did you select under Device Drivers -> Sound -> Advanced Linux Sound Architecture -> PCI Devices? The "Intel/SiS/nVidia/AMD/ALi AC97 Controller" ?
If you did, did you change the alias snd-card-0 line in your /etc/modules.d/alsa file as follows?
Code: |
alias snd-card-0 snd-intel8x0
|
If you did all that and added alsasound to your boot runlevel, than you should get some messages about loading sound drivers, etc. If you get these messages, do you also get any errors?
Sorry, a lot of questions, but I'm sure we'll get there. _________________ bug, n: A son of a glitch. |
|
Back to top |
|
|
ps2cho Apprentice
Joined: 27 Jun 2005 Posts: 196
|
Posted: Tue Jul 26, 2005 6:56 am Post subject: |
|
|
i did everything there when i followed the alsa guide.
still no work |
|
Back to top |
|
|
UncleTom Apprentice
Joined: 20 Aug 2003 Posts: 194 Location: Bern, Switzerland
|
Posted: Tue Jul 26, 2005 8:25 am Post subject: |
|
|
Did you try what the "Sound Check!" and "Issues?" sections of the ALSA Guide suggest? What was the result? _________________ bug, n: A son of a glitch. |
|
Back to top |
|
|
ps2cho Apprentice
Joined: 27 Jun 2005 Posts: 196
|
|
Back to top |
|
|
UncleTom Apprentice
Joined: 20 Aug 2003 Posts: 194 Location: Bern, Switzerland
|
Posted: Tue Jul 26, 2005 8:53 am Post subject: |
|
|
ps2cho wrote: | http://www.alsa-project.org/alsa-doc/doc-php/template.php?company=Intel&card=.&chip=440MX%2C+i810%2C+i810%2C+i810E%2C+i820%2C+i820&module=intel8x0
Thats what i followed.
How can i find out what my sound card is exactly? I wanna be 100% sure im using the right driver here... |
You should read and use the Gentoo Sound Guide http://www.gentoo.org/doc/en/alsa-guide.xml like adsmith suggested. It explains the whole process step by step and also shows how to find out what sound card you have. _________________ bug, n: A son of a glitch. |
|
Back to top |
|
|
ps2cho Apprentice
Joined: 27 Jun 2005 Posts: 196
|
Posted: Tue Jul 26, 2005 5:40 pm Post subject: |
|
|
Ok my sound card is :
Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 03)
I dont think ALSA supports it...It only supports:
Chipset(s):
i810
i810
i810E
i820
i820
Driver:
(intel8x0) (1)
Am i right?Please say no.. |
|
Back to top |
|
|
ps2cho Apprentice
Joined: 27 Jun 2005 Posts: 196
|
Posted: Tue Jul 26, 2005 7:01 pm Post subject: |
|
|
Just for the heck of it i did it and when it gets to the point where i have to start it i get this:
Quote: | Starting sound driver: snd-intel8x0 done
/usr/sbin/alsactl: load_state:1236: No soundcards found...
Setting default volumes...
===============================================================================
Now ALSA is ready to use.
For adjustment of volumes, use your favorite mixer.
Have a lot of fun!
|
Hmm |
|
Back to top |
|
|
UncleTom Apprentice
Joined: 20 Aug 2003 Posts: 194 Location: Bern, Switzerland
|
Posted: Wed Jul 27, 2005 5:41 am Post subject: |
|
|
The i8x0 driver should be right for your sound card and there are reports on the internet that people got it working.
Which alsa drivers do you use? The ones in the kernel, the ones you downloaded from the alsa site or the alsa-driver ebuild?
Do you find anything in the output of "dmesg" about alsa and the sound card? _________________ bug, n: A son of a glitch. |
|
Back to top |
|
|
ps2cho Apprentice
Joined: 27 Jun 2005 Posts: 196
|
Posted: Wed Jul 27, 2005 6:01 am Post subject: |
|
|
i just emerged alsa-drivers
it doesnt show up in the dmesg |
|
Back to top |
|
|
UncleTom Apprentice
Joined: 20 Aug 2003 Posts: 194 Location: Bern, Switzerland
|
Posted: Wed Jul 27, 2005 6:13 am Post subject: |
|
|
Sorry if I state the obvious, but you have to re-emerge alsa-drivers every time you compile your kernel. Did you do that?
Normally, you should get something like that in dmesg (I use the same driver with a slightly different chip set):
Code: |
...
Advanced Linux Sound Architecture Driver Version 1.0.8 (Thu Jan 13 09:39:32 2005 UTC).
...
intel8x0_measure_ac97_clock: measured 49913 usecs
intel8x0: clocking to 48000
ALSA device list:
#0: Intel 82801CA-ICH3 with YMF753 at 0x1c00, irq 9
...
|
_________________ bug, n: A son of a glitch. |
|
Back to top |
|
|
ps2cho Apprentice
Joined: 27 Jun 2005 Posts: 196
|
Posted: Wed Jul 27, 2005 7:05 am Post subject: |
|
|
Quote: | Linux version 2.6.12-gentoo-r6 (root@RobLaptop) (gcc version 3.3.5 (Gentoo Linux 3.3.5-r1, ssp-3.3.2-3, pie-8.7.7.1)) #1 SMP Tue Jul 26 11:18:55 Local time zone must be set--see zic
intel8x0_measure_ac97_clock: measured 49337 usecs
intel8x0: clocking to 48000
|
Ok i emerged it again and now its showing up. I dont get that ALSA Device list in it..
Still no sound either |
|
Back to top |
|
|
ps2cho Apprentice
Joined: 27 Jun 2005 Posts: 196
|
Posted: Wed Jul 27, 2005 7:20 am Post subject: |
|
|
IT WORKS !!!
I just rebooted, did alsa-mixer again as it had muted everything and it works!!!
Thank you so much Uncle_Tom.
I really appreciate it
Thanks again ! |
|
Back to top |
|
|
UncleTom Apprentice
Joined: 20 Aug 2003 Posts: 194 Location: Bern, Switzerland
|
Posted: Wed Jul 27, 2005 7:26 am Post subject: |
|
|
Yup, but that's only part of it. Somehow you only get a message from your driver, but no ALSA messages. You have disabled all the alsa stuff in the kernel, have you? You only need the basic sound card support for alsa-drivers, nothing else.
If that is not the problem, would you be willing to give the kernel drivers a go? Unmerge alsa-driver and then configure the kernel with ALSA support and the intel driver. _________________ bug, n: A son of a glitch. |
|
Back to top |
|
|
UncleTom Apprentice
Joined: 20 Aug 2003 Posts: 194 Location: Bern, Switzerland
|
Posted: Wed Jul 27, 2005 7:29 am Post subject: |
|
|
Ooops, then disregard my last post.
Glad it works! _________________ bug, n: A son of a glitch. |
|
Back to top |
|
|
ps2cho Apprentice
Joined: 27 Jun 2005 Posts: 196
|
Posted: Wed Jul 27, 2005 5:34 pm Post subject: |
|
|
Hmm one more slight problem.
Everytime i reboot, the alsamixer mutes everything and i have to go into it and unmute everythign each time.
Is there a way i can keep the settings i do ?
When i unmute i press M on the first one(forgot its name) and the PCM then i press escape. Is this the correct way to do it?
Thanks again, ps2cho |
|
Back to top |
|
|
UncleTom Apprentice
Joined: 20 Aug 2003 Posts: 194 Location: Bern, Switzerland
|
Posted: Wed Jul 27, 2005 7:54 pm Post subject: |
|
|
The newest version of alsa-utils has options in /etc/conf.d/alsasound for saving the mixer levels (SAVE_ON_STOP) and restoring them (RESTORE_ON_START). The alsasound init script should then handle this correctly. _________________ bug, n: A son of a glitch. |
|
Back to top |
|
|
ps2cho Apprentice
Joined: 27 Jun 2005 Posts: 196
|
Posted: Thu Jul 28, 2005 6:35 am Post subject: |
|
|
It's already correct...
Quote: | # ENABLE_OSS_EMUL:
# Do you want to enable in-kernel oss emulation?
# no - Do not load oss emul drivers
# yes - Load oss emul drivers if they're found
ENABLE_OSS_EMUL="yes"
# RESTORE_ON_START:
# Do you want to restore your mixer settings? If not, your cards will be
# muted.
# no - Do not restore state
# yes - Restore state
RESTORE_ON_START="yes"
# SAVE_ON_STOP:
# Do you want to save changes made to your mixer volumes when alsasound
# stops?
# no - Do not save state
SAVE_ON_STOP="yes" |
|
|
Back to top |
|
|
UncleTom Apprentice
Joined: 20 Aug 2003 Posts: 194 Location: Bern, Switzerland
|
Posted: Thu Jul 28, 2005 6:56 am Post subject: |
|
|
Do you have alsasound in your boot runlevel?
If you do, you could try to manually save the state and see if that helps:
Code: | /usr/sbin/alsactl -f /etc/asound.state store |
Oddly enough I just found that on my notebook, I don't have this, and the sound still works. _________________ bug, n: A son of a glitch. |
|
Back to top |
|
|
|