View previous topic :: View next topic |
Author |
Message |
ookabooka n00b
Joined: 22 Jul 2003 Posts: 36 Location: root@localhost.localdomain
|
Posted: Fri Mar 05, 2004 9:29 pm Post subject: EMU10K1 (Audigy 2) and AMD64 |
|
|
I emerged all the alsa utils, and built in the kernel support. but in dmesg, i get :
ALSA sound/pci/ac97/ac97_codec.c:1752: AC'97 0 does not respond - RESET
ALSA sound/pci/ac97/ac97_codec.c:1760: AC'97 0 access is not valid [0xffffffff],
removing mixer.
EMU10K1_Audigy: probe of 0000:00:0a.0 failed with error -5
ALSA device list:
#0: Dummy 1
I built in dummy so i wouldnt have to see all those error messages with no /dev/dsp. I have the albatron motherboard with onboard 7.1 sound. I would prefer to use my sb, but if the onboard Via ENVY is better supported (which i doubt, it is very new), ill use that instead. Anyone know why its failing?
btw, in the rc script init, it says failed to load the snd_emu10k1 module.
edit: kernel is gentoo 2.6.3-r2 with built in alsa support, i emerged alsa utils,lib v 1.0.3 _________________ CFLAGS="-march=i386 -m64"
from root (/) : mount -t proc proc proc |
|
Back to top |
|
|
orbital n00b
Joined: 11 Dec 2003 Posts: 49 Location: Bremen, Germany
|
Posted: Fri Mar 05, 2004 10:10 pm Post subject: |
|
|
I have an emu10k1, which has been a pain to install in the past.
Might want to try:
but I have a feeling that isn't the solution.
What about alsa-drivers and alsa-tools?
Good luck,
~ Jon |
|
Back to top |
|
|
ookabooka n00b
Joined: 22 Jul 2003 Posts: 36 Location: root@localhost.localdomain
|
Posted: Fri Mar 05, 2004 10:34 pm Post subject: |
|
|
alsa-driver is useless as it is provided in the kernel. Modprobe snd gives me Invalid Module Format. . . . which i found very interesting. . . Anyone knoe what the heck that means? I am recompiling my kernel with all the module stuff enabled except versioning. . . _________________ CFLAGS="-march=i386 -m64"
from root (/) : mount -t proc proc proc |
|
Back to top |
|
|
jsc1959 n00b
Joined: 17 Sep 2003 Posts: 74 Location: Los Angeles, CA
|
Posted: Sun Mar 07, 2004 12:22 am Post subject: |
|
|
Ok...i use the audigy2 with no problems. If you followed the setup docs for ALSA http://www.gentoo.org/doc/en/alsa-guide.xml you should get it working. Make sure you are using the gentoo-dev-sources kernel as they have the alsa drivers in them already. The only difference being that you dont have to emerge the alsa-libs. Other than that it works fine. _________________ HP zv5430 Laptop
AMD64-3200
1.2 GB ram
100 GB hard drive
Nvidia grforce 440 |
|
Back to top |
|
|
ookabooka n00b
Joined: 22 Jul 2003 Posts: 36 Location: root@localhost.localdomain
|
Posted: Sun Mar 07, 2004 8:02 am Post subject: |
|
|
i cant emerge alsa-driver, because it says its already provided in the kernel. yet on that howto it isays i need to emerge it, even witha 2.6 kernel?
edit: here is a snippit of my dmesg which i find unverving. I created a genkernel to see if it was my configs, but it still isnt working. Even with genkernel configing everything as a modules, i get some error in dmesg:
AC'97 0 does not respond - RESET
AC'97 0 access is not valid [0xffffffff], removing mixer.
EMU10K1_Audigy: probe of 0000:00:0a.0 failed with error -5
what is error -5? _________________ CFLAGS="-march=i386 -m64"
from root (/) : mount -t proc proc proc |
|
Back to top |
|
|
gebner Tux's lil' helper
Joined: 01 Jan 2004 Posts: 100 Location: Wien, EU
|
Posted: Sun Mar 07, 2004 1:01 pm Post subject: |
|
|
jsc1959 wrote: | The only difference being that you dont have to emerge the alsa-libs. |
No, you don't have to emerge alsa-driver since ALSA is in the kernel.
But you still have to emerge alsa-lib and alsa-utils; alsa-oss if you want aoss; alsa-tools for some card-specific tools. _________________ clue = if 0 == 0 then clue else error "The poster didn't have any clue when he posted this." |
|
Back to top |
|
|
gebner Tux's lil' helper
Joined: 01 Jan 2004 Posts: 100 Location: Wien, EU
|
Posted: Sun Mar 07, 2004 1:03 pm Post subject: |
|
|
ookabooka wrote: | i cant emerge alsa-driver, because it says its already provided in the kernel. yet on that howto it isays i need to emerge it, even witha 2.6 kernel? |
Do what the ebuild is telling you, don't emerge alsa-driver. _________________ clue = if 0 == 0 then clue else error "The poster didn't have any clue when he posted this." |
|
Back to top |
|
|
jsc1959 n00b
Joined: 17 Sep 2003 Posts: 74 Location: Los Angeles, CA
|
Posted: Sun Mar 07, 2004 3:10 pm Post subject: |
|
|
My stupidity....gebner is right....you dont want the alsa-driver ... and you do want the alsa-libs....Im very sorry if I confused you even more...
The other thing that i can think of that is causing you problems is it looks like you have not disabled your onboard sound card. Try disabling it and see if your AC97 problems go away.
my kernel config is available at
http://jsc1959.is-a-geek.net
I'm really sorry about the mix-up....
later
jsc _________________ HP zv5430 Laptop
AMD64-3200
1.2 GB ram
100 GB hard drive
Nvidia grforce 440 |
|
Back to top |
|
|
ookabooka n00b
Joined: 22 Jul 2003 Posts: 36 Location: root@localhost.localdomain
|
Posted: Sun Mar 07, 2004 9:06 pm Post subject: |
|
|
ok. I recompiled the kernel similar to your config, so i ahve the snd-emu10k1 module now. . .etc. When the rc script for alsasound goes, it inserts snd-emu10k1, and a few oss emulation modules. However, i dont have a dsp device.
bash-2.05b# cat /proc/asound/cards
--- no soundcards ---
This also botrhers me. If i sucessfully modprobed snd-emu10k1 (ie, no errors) then shouldnt it pop up in proc?
edit: still get this in dmesg. . . i have no clue, alsa is a module now.
AC'97 0 does not respond - RESET
AC'97 0 access is not valid [0xffffffff], removing mixer.
EMU10K1_Audigy: probe of 0000:00:0a.0 failed with error -5 _________________ CFLAGS="-march=i386 -m64"
from root (/) : mount -t proc proc proc |
|
Back to top |
|
|
jsc1959 n00b
Joined: 17 Sep 2003 Posts: 74 Location: Los Angeles, CA
|
Posted: Sun Mar 07, 2004 10:27 pm Post subject: |
|
|
did you disable your on board sound card? _________________ HP zv5430 Laptop
AMD64-3200
1.2 GB ram
100 GB hard drive
Nvidia grforce 440 |
|
Back to top |
|
|
ookabooka n00b
Joined: 22 Jul 2003 Posts: 36 Location: root@localhost.localdomain
|
Posted: Sun Mar 07, 2004 11:18 pm Post subject: |
|
|
yes _________________ CFLAGS="-march=i386 -m64"
from root (/) : mount -t proc proc proc |
|
Back to top |
|
|
orbital n00b
Joined: 11 Dec 2003 Posts: 49 Location: Bremen, Germany
|
Posted: Sun Mar 07, 2004 11:34 pm Post subject: |
|
|
wait wait wait, did you say you used genkernel?
Genkernel could have royally messed stuff up, now you should start from square one.
[/code] # genkernel -menuconfig all [code]
Choose exactly what your system is, EACH setting, but specifically within the Sound Drivers. I am using kernel 2.6.3, and this is what I've got under sound:
ALSA (M)
ALSA Seq (M)
(no dummy client support!)
OSS Emulation(Built in)
OSS Mixer API (M)
OSS PCM API (M)
OSS Seq Support (built in)
No: RTC, Verbose, Debug, Generic, ISA
PCI Emu10k1 (M)
No: USB or PCMCIA support
Now the big thing with genkernel is making sure you PROPERLY configure your bootloader AND you mount your /boot directory before you build your kernel! I cannot stress this enough, because if you don't load the [initrd] it builds your going to have a lot of issues. So when the genkernel is done with everything, use the "snippit" at the end of the build, modify it and insert it into grub (that is what I use).
Good Luck,
~ Jon |
|
Back to top |
|
|
ookabooka n00b
Joined: 22 Jul 2003 Posts: 36 Location: root@localhost.localdomain
|
Posted: Mon Mar 08, 2004 2:44 am Post subject: |
|
|
actually i got rid of genkernel, i was just testing it to see if it would work under there, because i couldnt get it to work under my configs. So i compiled it with the settings you specefied, except for USB support, currently i have that enabled because i have a usb keyboard/mouse. Will enabling that cause issues with sound? or are u talking about alsa devices? What confuses me, is that I can modprobe snd, snd-emu10k1, snd-seq, and every other snd module i can find, including pcm, and oss modules, but there is still no /dev/dsp. Here is a snippit from when i run alsasound's rc srcipt:
bash-2.05b# /etc/init.d/alsasound start
* Loading ALSA drivers...
* Using ALSA OSS emulation
* Loading: snd-mixer-oss
* Loading: snd-pcm-oss
* Loading: snd-seq-oss
* Running card-dependent scripts
* Restoring Mixer Levels [ ok ]
bash-2.05b# cat /dev/dsp
cat: /dev/dsp: No such file or directory
bash-2.05b# cat /proc/asound/cards
--- no soundcards ---
and in my /etc/modules.d/alsa
## ALSA portion
alias snd-card-0 snd-emu10k1
## alias snd-card-0 snd-interwave
## alias snd-card-1 snd-ens1371
## OSS/Free portion
alias sound-slot-0 snd-card-0
## alias sound-slot-1 snd-card-1
and
alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss
and still nothing. . . . Im soo confused _________________ CFLAGS="-march=i386 -m64"
from root (/) : mount -t proc proc proc |
|
Back to top |
|
|
prttybean n00b
Joined: 23 Feb 2003 Posts: 24 Location: Wisconsin
|
Posted: Mon Mar 08, 2004 2:59 am Post subject: |
|
|
Did you say yes to mount devfs at boot time? |
|
Back to top |
|
|
ookabooka n00b
Joined: 22 Jul 2003 Posts: 36 Location: root@localhost.localdomain
|
Posted: Mon Mar 08, 2004 4:24 am Post subject: |
|
|
yes. . as i said the thing that confuses me is that after inserting all those mods, it should show up right? Why is asound's proc telling me that no sound cards are installed even after i insert those mods and/or start alsasound's rc script? I have never had a problem quite like this. . . _________________ CFLAGS="-march=i386 -m64"
from root (/) : mount -t proc proc proc |
|
Back to top |
|
|
ookabooka n00b
Joined: 22 Jul 2003 Posts: 36 Location: root@localhost.localdomain
|
Posted: Tue Mar 09, 2004 11:05 pm Post subject: YESS!! |
|
|
ok, i got it wokring. Turns out, the old issue of IRQ interupts is still at play. Got the idea when i cat /proc/pci and audigy gameport was there, but not sound hardware. Now it detects it and everything, but when I use aplay to play a sound, all i get is a loud buzzing noise. When i try to use kde or arts, i hear absolutly nothing. . . Any one have any ideas, Im sure that the speakers are plugged in right, output 3 whihc is front speakers(for a two speakersetup this is the channel u want)
edit: oh and btw i lied. i have had problems like this before, except it was with a Sound Blaster Pro on a 386. . . . IRQ issues should be gone by now. geez _________________ CFLAGS="-march=i386 -m64"
from root (/) : mount -t proc proc proc |
|
Back to top |
|
|
wgauvin n00b
Joined: 20 Feb 2004 Posts: 30 Location: Melbourne, Australia
|
Posted: Tue Mar 09, 2004 11:13 pm Post subject: |
|
|
I found that what I had my sound working with aplay and then went in to KDE I lost the sound while KDE was starting up. I searched around and found nothing. I ended up playing with kmixer and found that the Master, PCM had been muted, I set them and exited KDE. After restarting KDE I had sound. I hope that helps you |
|
Back to top |
|
|
|