View previous topic :: View next topic |
Author |
Message |
dok n00b
Joined: 30 Mar 2004 Posts: 39
|
Posted: Sat Apr 10, 2004 4:40 am Post subject: Kernel 2.6.5 w/ ALSA drv's for a ESS Maestro 3 - not working |
|
|
when i run :
env ALSA_cards='ES1983S' emerge \>=media-sound/alsa-driver-1.0.2c
i get: ( last few lines )
LD [M] /var/tmp/portage/alsa-driver-1.0.3/work/alsa-driver-1.0.3/kbuild/../drivers/snd-serial-u16550.o
LD [M] /var/tmp/portage/alsa-driver-1.0.3/work/alsa-driver-1.0.3/kbuild/../drivers/snd-mtpav.o
LD [M] /var/tmp/portage/alsa-driver-1.0.3/work/alsa-driver-1.0.3/kbuild/../drivers/vx/snd-vx-lib.o
make[1]: *** [/var/tmp/portage/alsa-driver-1.0.3/work/alsa-driver-1.0.3/kbuild] Error 2
make[1]: Leaving directory `/var/tmp/portage/alsa-driver-1.0.3/temp/linux'
make: *** [compile] Error 2
therefore i think i'm not getting the whole alsa package in..
i've emerged allt he utils / libs / tools/ ect. for alsa.. and alsamixer will not run... any suggestions? |
|
Back to top |
|
|
Will Scarlet Apprentice
Joined: 19 Mar 2004 Posts: 239
|
Posted: Mon Apr 12, 2004 8:03 pm Post subject: |
|
|
Actually, unless you need something specific from alsa-driver (something that's not included in the kernel), I would use the kernel driver. It is listed under Device Drivers:Sound:Advanced Linux Sound Archetecture:PCI devices.
If you need alsa-driver 1.0.2c then in /etc/make.conf I would add the following line at the end of the file:
ALSA_CARDS="maestro3"
This way you don't have to worry about setting the environment variable every time you emerge alsa-driver.
Also make sure you edit /etc/modules.d/alsa to reflect you card. After you edit /etc/modules.d/alsa run the update-modules command to reflect the changes in /etc/modules.conf. |
|
Back to top |
|
|
dok n00b
Joined: 30 Mar 2004 Posts: 39
|
Posted: Wed Apr 14, 2004 6:45 pm Post subject: |
|
|
ok.. i'vemodified both of those files and i've returned to the ALSA installation inst. and i'm to the point where i need to run "amixer" or is it now "alsamixer"
either way.. it comes back w/this :
bash-2.05b# alsamixer
alsamixer: function snd_ctl_open failed for default: No such device |
|
Back to top |
|
|
Will Scarlet Apprentice
Joined: 19 Mar 2004 Posts: 239
|
Posted: Wed Apr 14, 2004 7:10 pm Post subject: |
|
|
Did you set the alsasound service to come up in the boot runlevel?
If not, as an interum, you can run the alsasound service from the command line:
Code: | /etc/init.d/alsasound start |
If you haven't done so already.
Anyway, when you run alsasound, are there any errors? |
|
Back to top |
|
|
dok n00b
Joined: 30 Mar 2004 Posts: 39
|
Posted: Wed Apr 14, 2004 7:17 pm Post subject: |
|
|
yup.. here is the series of code to describe this problem
bash-2.05b# /etc/init.d/alsasound start
* WARNING: "alsasound" has already been started.
bash-2.05b# /etc/init.d/alsasound stop
* WARNING: you are stopping a boot service.
* Unloading ALSA...
* Storing ALSA Mixer Levels
/usr/sbin/alsactl: save_state:1061: No soundcards found...
* Unloading modules [ ok ]
bash-2.05b# /etc/init.d/alsasound start
* Loading ALSA drivers...
* Using ALSA OSS emulation
* Loading: maestro3
FATAL: Module maestro3 not found.
* Loading: snd-seq
FATAL: Module snd_seq not found.
* Running card-dependent scripts
* Restoring Mixer Levels
* No mixer config in /etc/asound.state, you have to unmute your card! [ !! ]
[ ok ]
bash-2.05b# |
|
Back to top |
|
|
Will Scarlet Apprentice
Joined: 19 Mar 2004 Posts: 239
|
Posted: Wed Apr 14, 2004 7:51 pm Post subject: |
|
|
I think I see your error
Quote: | * Loading: maestro3
FATAL: Module maestro3 not found. |
I believe the correct sound module shoud be snd-maestro3. Check /lib/modules/"your kernel version here"/kernel/sound/pci to see what modules are listed.
Once you know what the correct sound modules is, modify /etc/modules.d/alsa to reflect. |
|
Back to top |
|
|
dok n00b
Joined: 30 Mar 2004 Posts: 39
|
Posted: Wed Apr 14, 2004 8:08 pm Post subject: |
|
|
there is no pci directory.. and under sound there is only
soundcore.ko
any suggestions? |
|
Back to top |
|
|
Will Scarlet Apprentice
Joined: 19 Mar 2004 Posts: 239
|
Posted: Wed Apr 14, 2004 8:28 pm Post subject: |
|
|
After checking the Alsa Project website at :
http://www.alsa-project.org/alsa-doc/doc-php/template.php?company=ESS+Technology&card=ES1988&chip=ES1988&module=maestro3
I found the module name should be snd-maestro3. I would change /etc/modules.d/alsa to reflect that.
Also, from /lib/modules/"your kernel version", do a search for that module (snd-maestro3.ko). If it is not there, check that /usr/src/linux points to your current kernel version. Otherwise, even though you built the alsa-driver, it will not show up in you current kernel's module directory. |
|
Back to top |
|
|
dok n00b
Joined: 30 Mar 2004 Posts: 39
|
Posted: Wed Apr 14, 2004 9:05 pm Post subject: |
|
|
ok.. that module isn't anywhere to be found.. and my linux dir. does in fact point to my current kernel config..
soo.. how do i go about getting this module? |
|
Back to top |
|
|
Will Scarlet Apprentice
Joined: 19 Mar 2004 Posts: 239
|
Posted: Wed Apr 14, 2004 9:20 pm Post subject: |
|
|
Check in the file /var/db/pkg/media-sound/alsa-driver-"your alsa driver version"/CONTENTS to see where and what it installed. If this file/directory does not exist, then you have two choices.
1. Re-emerge the alsa-driver package. This would be the easiest.
2. Redo you kernel and add the modules you need for alsa. Unless you are using a 2.4 series kernel or have a specific need for the alsa-driver package (ie their is a driver in it that you need that is not in the kernel), this is the one I would suggest. It is a little more involved, but you do not have to worry about re-emerge-ing alsa-driver package every time you load a new kernel.
If the file does exist, where did it install the modules? |
|
Back to top |
|
|
dok n00b
Joined: 30 Mar 2004 Posts: 39
|
Posted: Wed Apr 14, 2004 9:37 pm Post subject: |
|
|
alright.. during my emerge process it errors out w/ this :
make[3]: *** [/var/tmp/portage/alsa-driver-1.0.3/work/alsa-driver-1.0.3/kbuild/../acore/memalloc.o] Error 1
make[2]: *** [/var/tmp/portage/alsa-driver-1.0.3/work/alsa-driver-1.0.3/kbuild/../acore] Error 2
make[1]: *** [/var/tmp/portage/alsa-driver-1.0.3/work/alsa-driver-1.0.3/kbuild] Error 2
make[1]: Leaving directory `/var/tmp/portage/alsa-driver-1.0.3/temp/linux'
make: *** [compile] Error 2
!!! ERROR: media-sound/alsa-driver-1.0.3 failed.
!!! Function src_compile, Line 88, Exitcode 2
!!! Parallel Make Failed
wonderful ehh? |
|
Back to top |
|
|
Will Scarlet Apprentice
Joined: 19 Mar 2004 Posts: 239
|
Posted: Wed Apr 14, 2004 11:35 pm Post subject: |
|
|
Although that is somewhat helpful, I need more detail.
Change the MAKEOPTS in /etc/make.conf to be -j1. This way there is no parallel make. Then re-emerge alsa-driver. When it fails, you will see exactly where and why it is failing. That will be the detail that I need. |
|
Back to top |
|
|
dok n00b
Joined: 30 Mar 2004 Posts: 39
|
Posted: Thu Apr 15, 2004 12:16 am Post subject: |
|
|
i changed the makeopts to =j1 and when i re-emerged and got same msg about parallel make failed.
how do i make that take effect? |
|
Back to top |
|
|
dok n00b
Joined: 30 Mar 2004 Posts: 39
|
Posted: Thu Apr 15, 2004 3:23 am Post subject: |
|
|
this is the error again when i emerge.. i've modified make.conf and have rebooted.. need i do anything else to make that active?
make[3]: *** [/var/tmp/portage/alsa-driver-1.0.3/work/alsa-driver-1.0.3/kbuild/../acore/memalloc.o] Error 1
make[2]: *** [/var/tmp/portage/alsa-driver-1.0.3/work/alsa-driver-1.0.3/kbuild/../acore] Error 2
make[1]: *** [/var/tmp/portage/alsa-driver-1.0.3/work/alsa-driver-1.0.3/kbuild] Error 2
make[1]: Leaving directory `/var/tmp/portage/alsa-driver-1.0.3/temp/linux'
make: *** [compile] Error 2
!!! ERROR: media-sound/alsa-driver-1.0.3 failed.
!!! Function src_compile, Line 88, Exitcode 2
!!! Parallel Make Failed |
|
Back to top |
|
|
dok n00b
Joined: 30 Mar 2004 Posts: 39
|
Posted: Thu Apr 15, 2004 1:15 pm Post subject: |
|
|
/tag
any help?
do i need to recompile if i make changes to make.conf? |
|
Back to top |
|
|
Will Scarlet Apprentice
Joined: 19 Mar 2004 Posts: 239
|
Posted: Thu Apr 15, 2004 2:48 pm Post subject: |
|
|
No, you do not need to recompile. Not for this instance anyway.
Did you take the comment (#) from infront of MAKEOPTS out. Otherwise it will use the default of "-j2". The code should look as follows:
The whole line should look exactly like that, nothing more, nothing less. |
|
Back to top |
|
|
dok n00b
Joined: 30 Mar 2004 Posts: 39
|
Posted: Thu Apr 15, 2004 2:56 pm Post subject: |
|
|
yup that's what i did. |
|
Back to top |
|
|
Will Scarlet Apprentice
Joined: 19 Mar 2004 Posts: 239
|
Posted: Thu Apr 15, 2004 4:22 pm Post subject: |
|
|
Ok, lets try this from another angle.
Does /usr/src/linux/System.map exist?
Does /usr/src/linux/arch/i386/boot/bzImage exist? |
|
Back to top |
|
|
dok n00b
Joined: 30 Mar 2004 Posts: 39
|
Posted: Thu Apr 15, 2004 4:56 pm Post subject: |
|
|
Does /usr/src/linux/System.map exist? yes
Does /usr/src/linux/arch/i386/boot/bzImage exist? no
progress? heh.. |
|
Back to top |
|
|
dok n00b
Joined: 30 Mar 2004 Posts: 39
|
Posted: Thu Apr 15, 2004 5:13 pm Post subject: |
|
|
on a side note.. i want to thank everyone who has been helping me w/ this problem thus far... i know it can be annoying helping people who aren't proficient w/ linux yet
again thank you |
|
Back to top |
|
|
huw Apprentice
Joined: 13 May 2002 Posts: 220 Location: UK
|
Posted: Thu Apr 15, 2004 5:34 pm Post subject: |
|
|
Hi
I've got my ESS maestro 3 running using ALSA and Kernel 2.6.5-gentoo. I just enabled the correct ALSA module in the kernel (relevant .config lines below)
Code: | CONFIG_SND=m
CONFIG_SND_TIMER=m
CONFIG_SND_PCM=m
CONFIG_SND_AC97_CODEC=m
CONFIG_SND_MAESTRO3=m
|
Then followed the gentoo ALSA guide from the point where you emerge alsa-utils. I didn't use alsa-drivers at all. Next I added alsa to my USE variables and remerged XMMS, Mplayer etc. All seems to work fine - apart from the GNOME volume control - gnome-alsamixer works though... Recompiling gnome-media atm.
HTH, feel free to ask questions!
Huw |
|
Back to top |
|
|
Will Scarlet Apprentice
Joined: 19 Mar 2004 Posts: 239
|
Posted: Thu Apr 15, 2004 5:42 pm Post subject: |
|
|
I might be missing something here, which at this point I'm sure of.
But anyway, I'm assuming that you are on and x86 system because I don't know of anyother system that the maestro3 sound card is on. I'm also assuming that you are using a 2.4 series kernel since you want to emerge alsa-driver.
bzImage should exist in the location I mentioned, unless you moved it to /boot instead of copying it to there. Or you used some other method of generating you kernel (genkernel?).
The only other suggestion I can make now is remaking you kernel following the suggestions withing the Gentoo Alsa Guide. Edit you Makefile and add a -1 to EXTRAVERSION so that you don't stomp over your current build. Make, install, configure your boot loader, then reboot into that kernel. Then re-emerge alsa-dirvers, again following the Gentoo Alsa Guide.
The Gentoo Alsa Guide is at:
http://www.gentoo.org/doc/en/alsa-guide.xml
I hope the guide points you in the right direction to get Alsa working. |
|
Back to top |
|
|
huw Apprentice
Joined: 13 May 2002 Posts: 220 Location: UK
|
Posted: Thu Apr 15, 2004 6:09 pm Post subject: |
|
|
I kind've thought that the thread title
Quote: | Kernel 2.6.5 w/ ALSA drv's for a ESS Maestro 3 - not working
|
suggested dok wasn't using a 2.4.XX kernel, but was trying to use alsa-drivers - the ALSA doc isn't entirely clear that you only need to do this if you don't want to use the kernel ALSA at all. I think it's probably easier to use kernel alsa as then you don't have to rebuild alsa drivers every time you update the kernel. |
|
Back to top |
|
|
Will Scarlet Apprentice
Joined: 19 Mar 2004 Posts: 239
|
Posted: Thu Apr 15, 2004 6:43 pm Post subject: |
|
|
huw wrote: | I kind've thought that the thread title
Quote: | Kernel 2.6.5 w/ ALSA drv's for a ESS Maestro 3 - not working
|
suggested dok wasn't using a 2.4.XX kernel, but was trying to use alsa-drivers - the ALSA doc isn't entirely clear that you only need to do this if you don't want to use the kernel ALSA at all. I think it's probably easier to use kernel alsa as then you don't have to rebuild alsa drivers every time you update the kernel. |
I've been repling to this thread for a while now, and as a result have ignored the title. My bad...
Thanks for catching that.
And you are right, in the long run, it is easier to use the kernel alsa drivers.
Also, if you look earlier on, I did suggest that he compile the Alsa driver within a 2.6 series kernel.
Will Scarlet wrote: | Check in the file /var/db/pkg/media-sound/alsa-driver-"your alsa driver version"/CONTENTS to see where and what it installed. If this file/directory does not exist, then you have two choices.
1. Re-emerge the alsa-driver package. This would be the easiest.
2. Redo you kernel and add the modules you need for alsa. Unless you are using a 2.4 series kernel or have a specific need for the alsa-driver package (ie their is a driver in it that you need that is not in the kernel), this is the one I would suggest. It is a little more involved, but you do not have to worry about re-emerge-ing alsa-driver package every time you load a new kernel. |
|
|
Back to top |
|
|
dok n00b
Joined: 30 Mar 2004 Posts: 39
|
Posted: Thu Apr 15, 2004 7:00 pm Post subject: |
|
|
yes i am using kernel 2.6.5-mm1
i had problems initially getting ALSA to work w/ the default kernel drivers and therefore tried to dl'd them to see if that fixed my problem but w/ the steps that have i done so far perhaps i can retry w/ the default kernel drivers. when i go into my menuconfig program and setup which drivers i actually want to have installed ( the install guide is a bit confusing on this part ) what do i want to actually select to be included for the compile? |
|
Back to top |
|
|
|