View previous topic :: View next topic |
Author |
Message |
huw Apprentice
Joined: 13 May 2002 Posts: 220 Location: UK
|
Posted: Thu Apr 15, 2004 7:18 pm Post subject: |
|
|
I have: Code: |
Device Drivers --->
Sound --->
<M> Sound card support
Advanced Linux Sound Architecture --->
<M> Advanced Linux Sound Architecture
PCI devices --->
<M> ESS Allegro/Maestro3 |
HTH |
|
Back to top |
|
|
dok n00b
Joined: 30 Mar 2004 Posts: 39
|
Posted: Thu Apr 15, 2004 9:00 pm Post subject: |
|
|
alright.. compiling now
also - any reason as to why my emerge of the actual device drivers didn't work back there? i'd like to understand what went wrong and what bzImage has to do w/ it.. just for my own knowledge |
|
Back to top |
|
|
dok n00b
Joined: 30 Mar 2004 Posts: 39
|
Posted: Thu Apr 15, 2004 9:17 pm Post subject: |
|
|
ok.. i'm using the alsa guide.. as i've done in past
alsa is loaded boot level and it prompts me that it needs unmuted.. good thing that amixer is the next command / step.. but i get this..
bash-2.05b# amixer
amixer: Mixer attach default error: No such file or directory
bash-2.05b# alsamixer
alsamixer: function snd_ctl_open failed for default: No such file or directory
i'm a pain i know.. |
|
Back to top |
|
|
Will Scarlet Apprentice
Joined: 19 Mar 2004 Posts: 239
|
Posted: Thu Apr 15, 2004 9:42 pm Post subject: |
|
|
My reason for asking if those files were present was that I was begining to suspect something wrong with your kernel setup. If neither file was present, unless you moved the files, that would suggest that the kernel source was uncompiled, had issues during compilation, or maybe there was file corruption and they were just missing (along with other files). All of which could cause the alsa-driver to fail during the compile.
Another possibility is that you emerge-ed a newer kernel, which would also cause alsa-driver to fail during the compile.
With bzImage, for x86 architecture, not being there confused me. It should have been there, again, unless you moved it.
So, that was my thought.
Anyway, here's hope that this works... |
|
Back to top |
|
|
Will Scarlet Apprentice
Joined: 19 Mar 2004 Posts: 239
|
Posted: Thu Apr 15, 2004 9:44 pm Post subject: |
|
|
Pain is good...
Or so, I'm told...
Anyway, what is the output of lsmod? |
|
Back to top |
|
|
dok n00b
Joined: 30 Mar 2004 Posts: 39
|
Posted: Thu Apr 15, 2004 9:47 pm Post subject: |
|
|
bash-2.05b# lsmod
Module Size Used by
snd_ac97_codec 62852 0
snd_pcm 87844 0
snd_page_alloc 9476 0
snd_timer 23172 0
bash-2.05b# |
|
Back to top |
|
|
Will Scarlet Apprentice
Joined: 19 Mar 2004 Posts: 239
|
Posted: Thu Apr 15, 2004 9:52 pm Post subject: |
|
|
The reason alsamixer is not working is because the snd_maestro3 module is not loaded.
What happens when you do a "modprobe snd_maestro3"? |
|
Back to top |
|
|
dok n00b
Joined: 30 Mar 2004 Posts: 39
|
Posted: Thu Apr 15, 2004 10:12 pm Post subject: |
|
|
bash-2.05b# modprobe snd_maestro3
WARNING: Error inserting snd (/lib/modules/2.6.5-mm1/kernel/sound/core/snd.ko): Input/output error
FATAL: Module snd_maestro3 already in kernel. |
|
Back to top |
|
|
dok n00b
Joined: 30 Mar 2004 Posts: 39
|
Posted: Thu Apr 15, 2004 10:18 pm Post subject: |
|
|
what's the for sure module i naeed to have loaded. ?
in /etc/modules.d/alsa i have maestro3
but sometimes it seems like it's trying to find snd_maestro3 or snd-maestro3 or even maestro3
which is it? |
|
Back to top |
|
|
Will Scarlet Apprentice
Joined: 19 Mar 2004 Posts: 239
|
Posted: Thu Apr 15, 2004 10:40 pm Post subject: |
|
|
The correct module is snd_maestro3.
From the error message of modprobe, you already have it compiled in the kernel. You did not compile it as a module.
I would change /etc/module.d/alsa to reflect the correct module.
You might want to look into genkernel for building your kernel. I myself have never used it. But, from what I understand, it will take the task of you figuring out what modules to use. I believe it make modules out of everything, simular to what redhat does with their standard kernel.
Of course Gentoo has a guide for it at:
http://www.gentoo.org/doc/en/genkernel.xml
The only crevet to genkernel is it will not boot from lvm2/evms2 partitions. If you do not understand what thoes terms are, you should be in the clear.
Anyway, I would give it a try and see what happens... |
|
Back to top |
|
|
dok n00b
Joined: 30 Mar 2004 Posts: 39
|
Posted: Thu Apr 15, 2004 11:42 pm Post subject: |
|
|
i was looking over this command and the errors it gave out :
bash-2.05b# /etc/init.d/alsasound start
* Loading ALSA drivers...
* Using ALSA OSS emulation
* Loading: snd_maestro3
WARNING: Error inserting snd (/lib/modules/2.6.5-mm1/kernel/sound/core/snd.ko): Input/output error
FATAL: Module snd_maestro3 already in kernel.
* Loading: snd-seq
WARNING: Error inserting snd (/lib/modules/2.6.5-mm1/kernel/sound/core/snd.ko): Input/output error
FATAL: Error inserting snd_seq (/lib/modules/2.6.5-mm1/kernel/sound/core/seq/snd-seq.ko): Device or resource busy
* Running card-dependent scripts
* Restoring Mixer Levels
* No mixer config in /etc/asound.state, you have to unmute your card! [ !! ]
[ ok ]
so i re-did the kernel and added sound sequencing support as a module.. stil didn't change it at all.. could this have something to do w/ the problems?
i've used genkernel on prev. attempts on a 2.4 kernel and i'd really like to not have to use it since it basically loads everything you might need.. and i really don't want to have to resort to that.. |
|
Back to top |
|
|
Will Scarlet Apprentice
Joined: 19 Mar 2004 Posts: 239
|
Posted: Fri Apr 16, 2004 3:49 pm Post subject: |
|
|
Did you also make snd_maestro3 a module?
Is Sound card support a module?
If not, I would do that for both. With Sound card support as a module, everything for your sound card will be a module. This way you won't have to worry about :
Code: | FATAL: Module snd_maestro3 already in kernel. |
In addition, I would also add OSS API emulation support and the two modules OSS Mixer API and OSS PCM (digital audio) API, which will show up once you enable OSS API emulation. This way programs that only use OSS (Open Sound System) will be suppported.
Also make sure that the Open Sound System under Sound Card Support is not enabled.
So, in essence, try making the kernel one more time...
dok wrote: | i've used genkernel on prev. attempts on a 2.4 kernel and i'd really like to not have to use it since it basically loads everything you might need.. and i really don't want to have to resort to that.. |
Well, I can understand your reservations about genkernel then.
Well, on to more fun... |
|
Back to top |
|
|
dok n00b
Joined: 30 Mar 2004 Posts: 39
|
Posted: Sat Apr 17, 2004 12:52 pm Post subject: |
|
|
ok.. did all that and back to square 1.. upon running :
bash-2.05b# /etc/init.d/alsasound start
* Loading ALSA drivers...
* Using ALSA OSS emulation
* Loading: snd-mixer-oss
WARNING: Error inserting snd (/lib/modules/2.6.5-mm1/kernel/sound/core/snd.ko): Input/output error
* Loading: snd-pcm-oss
WARNING: Error inserting snd (/lib/modules/2.6.5-mm1/kernel/sound/core/snd.ko): Input/output error
* Loading: snd-seq-oss
WARNING: Error inserting snd (/lib/modules/2.6.5-mm1/kernel/sound/core/snd.ko): Input/output error
WARNING: Error inserting snd_seq (/lib/modules/2.6.5-mm1/kernel/sound/core/seq/snd-seq.ko): Device or resource busy
FATAL: Error inserting snd_seq_oss (/lib/modules/2.6.5-mm1/kernel/sound/core/seq/oss/snd-seq-oss.ko): Device or resource busy
* Loading: snd_maestro3
WARNING: Error inserting snd (/lib/modules/2.6.5-mm1/kernel/sound/core/snd.ko): Input/output error
FATAL: Module snd_maestro3 already in kernel.
* Loading: snd-seq
WARNING: Error inserting snd (/lib/modules/2.6.5-mm1/kernel/sound/core/snd.ko): Input/output error
FATAL: Error inserting snd_seq (/lib/modules/2.6.5-mm1/kernel/sound/core/seq/snd-seq.ko): Device or resource busy
* Running card-dependent scripts
* Restoring Mixer Levels
* No mixer config in /etc/asound.state, you have to unmute your card! [ !! ]
[ ok ]
frustrating |
|
Back to top |
|
|
dok n00b
Joined: 30 Mar 2004 Posts: 39
|
Posted: Sun Apr 18, 2004 1:37 am Post subject: |
|
|
just in case this is relevant.. and in fact the snd_maestro3 mod. is not the one i need.. .:
bash-2.05b# grep audio /proc/pci
Multimedia audio controller: ESS Technology ES1983S Maestro-3i PCI Audio Accelerator (rev 16). |
|
Back to top |
|
|
dok n00b
Joined: 30 Mar 2004 Posts: 39
|
Posted: Sun Apr 18, 2004 7:28 pm Post subject: |
|
|
does anyone have any further expertise to lend to this problem?? |
|
Back to top |
|
|
huw Apprentice
Joined: 13 May 2002 Posts: 220 Location: UK
|
Posted: Mon Apr 19, 2004 12:12 pm Post subject: |
|
|
snd_maestro3 is the module you want.
It works perfectly for me and I have the same soundcard as you
Code: | grep audio /proc/pci
Multimedia audio controller: ESS Technology ES1983S Maestro-3i PCI Audio Accelerator (rev 16).
|
You still don't seem to have snd_maestro3 built as a module. Rebuild your kernel: Copy the config, do a make clean and make mrproper, do make menuconfig and make sure maestro3 support is built as a module and that the line in your .config reads
Code: | CONFIG_SND_MAESTRO3=m |
|
|
Back to top |
|
|
dok n00b
Joined: 30 Mar 2004 Posts: 39
|
Posted: Tue Apr 20, 2004 8:34 pm Post subject: |
|
|
alright - here's the news.. i finally gave in and had genkernal build for me.. now it seems to find sound alright ( i think so far.. not sure as kde isn't back up yet )
but my resolution is some crazy setting now.. something like 1280X1024.. i'm wondering what made it default to such a high setting.. i'm emerging kde as i type this so i won't know how the performance will be.. but i worry.. will give more details soon.. |
|
Back to top |
|
|
|