View previous topic :: View next topic |
Author |
Message |
agkbill n00b
Joined: 19 Mar 2010 Posts: 35 Location: Sweden, Uppsala
|
Posted: Mon Mar 29, 2010 8:00 pm Post subject: [SOLVED] ALSA emu10k1 problem "media-sound/alsa-firmwar |
|
|
Hi all,
I am now in the process of setting upp Gentoo for the first time. Started with a minimal install cd and do now have a working Gnome envirment.
But still a way to go to have a working MythTV setup.
Now it is sound that is the problem.
Folowing the "Gentoo Linux ALSA Guide" I am suppose to choose the soundcard in kernel settings.
But there I can not find the module I need, "Emu10k1-fpga" I do find "Emu10k1" but that is the wrong one.
I have tried to just install the firmware by.
Code: | emerge media-sound/alsa-firmware |
But no luck.
How should I do to get it to work with this modul?
Best regards,
Christer Eriksson
Sweden
Last edited by agkbill on Tue Apr 06, 2010 8:06 pm; edited 2 times in total |
|
Back to top |
|
|
audiodef Watchman
Joined: 06 Jul 2005 Posts: 6639 Location: The soundosphere
|
|
Back to top |
|
|
agkbill n00b
Joined: 19 Mar 2010 Posts: 35 Location: Sweden, Uppsala
|
Posted: Mon Apr 05, 2010 3:12 pm Post subject: module emu10k1 will not load OK. |
|
|
Thanks!
I have now tried many different ways to get it to work with emu10k1 but no luck at all.
With UBUNTU all I needed to do was to folow the instructions at alsa.org with the addition of the firmware.
But it just whant work in Gentoo, I dont understand.
Without sound I can not use Gentoo.
Well, I hope to be able to solv this.
give:
Quote: | aplay: device_list:223: no soundcards found... |
So I looked for what module I should have.
Quote: | Multimedia audio controller: Creative Labs SB Audigy (rev 03)
Subsystem: Creative Labs E-MU 1010
Flags: medium devsel, IRQ 19
I/O ports at c000 [size=32]
Capabilities: [dc] Power Management version 2
Kernel modules: snd-emu10k1
|
Then I looked for what modules I have.
Code: | find /lib/modules/`uname -r` | grep snd
|
Quote: | /lib/modules/2.6.31-gentoo-r10/kernel/sound/synth/snd-util-mem.ko
/lib/modules/2.6.31-gentoo-r10/kernel/sound/synth/emux/snd-emux-synth.ko
/lib/modules/2.6.31-gentoo-r10/kernel/sound/pci/emu10k1/snd-emu10k1-synth.ko
/lib/modules/2.6.31-gentoo-r10/kernel/sound/pci/emu10k1/snd-emu10k1.ko
/lib/modules/2.6.31-gentoo-r10/kernel/sound/pci/ac97/snd-ac97-codec.ko
/lib/modules/2.6.31-gentoo-r10/kernel/sound/core/snd-rawmidi.ko
/lib/modules/2.6.31-gentoo-r10/kernel/sound/core/oss/snd-mixer-oss.ko
/lib/modules/2.6.31-gentoo-r10/kernel/sound/core/oss/snd-pcm-oss.ko
/lib/modules/2.6.31-gentoo-r10/kernel/sound/core/snd.ko
/lib/modules/2.6.31-gentoo-r10/kernel/sound/core/seq/snd-seq-device.ko
/lib/modules/2.6.31-gentoo-r10/kernel/sound/core/seq/snd-seq-midi-event.ko
/lib/modules/2.6.31-gentoo-r10/kernel/sound/core/seq/snd-seq-midi-emul.ko
/lib/modules/2.6.31-gentoo-r10/kernel/sound/core/seq/snd-seq-midi.ko
/lib/modules/2.6.31-gentoo-r10/kernel/sound/core/seq/snd-seq.ko
/lib/modules/2.6.31-gentoo-r10/kernel/sound/core/seq/snd-seq-virmidi.ko
/lib/modules/2.6.31-gentoo-r10/kernel/sound/core/snd-pcm.ko
/lib/modules/2.6.31-gentoo-r10/kernel/sound/core/snd-hwdep.ko
/lib/modules/2.6.31-gentoo-r10/kernel/sound/core/snd-page-alloc.ko
/lib/modules/2.6.31-gentoo-r10/kernel/sound/core/snd-timer.ko
|
So I belive that I have the right modules.
Code: | modprobe snd-emu10k1
|
Give no output at all.
If I try to start alsa with
Code: | /etc/init.d/alsasound start |
Quote: | * Loading ALSA modules ... [ ok ]
* Loading: snd-card-0 ... [ ok ]
* ERROR: Failed to load necessary drivers
* Restoring Mixer Levels ...
alsactl: unrecognized option '---'
Usage: alsactl <options> command
Available global options:
-h,--help this help
-d,--debug debug mode
-v,--version print version of this program
Available state options:
-f,--file # configuration file (default /etc/asound.state)
-F,--force try to restore the matching controls as much as possible
(default mode)
-g,--ignore ignore 'No soundcards found' error
-P,--pedantic do not restore mismatching controls (old default)
-I,--no-init-fallback
don't initialize even if restore fails
-r,--runstate # save restore and init state to this file (only errors)
default settings is 'no file set'
-R,--remove remove runstate file at first, otherwise append errors
Available init options:
-E,--env #=# set environment variable for init phase (NAME=VALUE)
-i,--initfile # main configuation file for init phase (default /usr/share/alsa/init/00main)
Available commands:
store <card #> save current driver setup for one or each soundcards
to configuration file
restore <card #> load current driver setup for one or each soundcards
from configuration file
init <card #> initialize driver to a default state
names <card #> dump information about all the known present (sub-)devices
into configuration file (DEPRECATED)
* Errors while restoring defaults, ignoring [ ok ] |
Anyone who knows how to find out what have faild and maybe how to get it OK.
All sugestions are most wellcome!
Best regards!
/Christer Eriksson |
|
Back to top |
|
|
audiodef Watchman
Joined: 06 Jul 2005 Posts: 6639 Location: The soundosphere
|
|
Back to top |
|
|
agkbill n00b
Joined: 19 Mar 2010 Posts: 35 Location: Sweden, Uppsala
|
|
Back to top |
|
|
gerard27 Advocate
Joined: 04 Jan 2004 Posts: 2377 Location: Netherlands
|
Posted: Mon Apr 05, 2010 6:02 pm Post subject: |
|
|
I also use emu10k1. Code: |
/etc/modprobe.d/alsa.conf
# Alsa kernel modules' configuration file.
# ALSA portion
# OSS/Free portion
##
## IMPORTANT:
## You need to customise this section for your specific sound card(s)
## and then run `update-modules' command.
## Read alsa-driver's INSTALL file in /usr/share/doc for more info.
##
## ALSA portion
## 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
##
# OSS/Free portion - card #1
## OSS/Free portion - card #2
## alias sound-service-1-0 snd-mixer-oss
## alias sound-service-1-3 snd-pcm-oss
## alias sound-service-1-12 snd-pcm-oss
alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss
# Set this to the correct number of cards.
# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF version 1.0.20 ---
alias snd-card-0 snd-emu10k1
alias sound-slot-0 snd-emu10k1
# --- END: Generated by ALSACONF, do not edit. --- |
Notice the lines at the end.
Is yours the same?
Gerard. _________________ To install Gentoo I use sysrescuecd.Based on Gentoo,has firefox to browse Gentoo docs and mc to browse (and edit) files.
The same disk can be used for 32 and 64 bit installs.
You can follow the Handbook verbatim.
http://www.sysresccd.org/Download |
|
Back to top |
|
|
agkbill n00b
Joined: 19 Mar 2010 Posts: 35 Location: Sweden, Uppsala
|
Posted: Mon Apr 05, 2010 6:12 pm Post subject: |
|
|
Hi,
Yes my look the same.
Quote: | # Alsa kernel modules' configuration file.
# ALSA portion
# OSS/Free portion
##
## IMPORTANT:
## You need to customise this section for your specific sound card(s)
## and then run `update-modules' command.
## Read alsa-driver's INSTALL file in /usr/share/doc for more info.
##
## ALSA portion
## 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
##
# OSS/Free portion - card #1
## OSS/Free portion - card #2
## alias sound-service-1-0 snd-mixer-oss
## alias sound-service-1-3 snd-pcm-oss
## alias sound-service-1-12 snd-pcm-oss
alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss
# Set this to the correct number of cards.
# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF version 1.0.21 ---
alias snd-card-0 snd-emu10k1
alias sound-slot-0 snd-emu10k1
# --- END: Generated by ALSACONF, do not edit. ---
|
Does your card have a breakout box, do you need the ALSA firmware to get it up and running?
/Christer Eriksson |
|
Back to top |
|
|
gerard27 Advocate
Joined: 04 Jan 2004 Posts: 2377 Location: Netherlands
|
Posted: Mon Apr 05, 2010 6:29 pm Post subject: |
|
|
No.
However there's something funny about my card.
In the kernel's menuconfig I had the choice of emu10k1 dell
or just plain emu10k1.
It only works with the plain variety.
However both alsamixer and kmix (in kde) call the card SB Live!Dell OEM!
Gerard. _________________ To install Gentoo I use sysrescuecd.Based on Gentoo,has firefox to browse Gentoo docs and mc to browse (and edit) files.
The same disk can be used for 32 and 64 bit installs.
You can follow the Handbook verbatim.
http://www.sysresccd.org/Download |
|
Back to top |
|
|
agkbill n00b
Joined: 19 Mar 2010 Posts: 35 Location: Sweden, Uppsala
|
Posted: Mon Apr 05, 2010 6:49 pm Post subject: |
|
|
That is the one I am using to.
Quote: | EMU10k1 (SB Live!, Ausigy, E-mu APS)
|
/Christer Eriksson |
|
Back to top |
|
|
gerard27 Advocate
Joined: 04 Jan 2004 Posts: 2377 Location: Netherlands
|
Posted: Mon Apr 05, 2010 6:52 pm Post subject: |
|
|
No.
However there's something funny about my card.
In the kernel's menuconfig I had the choice of emu10k1 dell
or just plain emu10k1.
It only works with the plain variety.
However both alsamixer and kmix (in kde) call the card SB Live!Dell OEM!
Gerard.
The connection timed out and I repeated the submit command.
That's why there's 2x the same message.
What's with Gentoo Forums? _________________ To install Gentoo I use sysrescuecd.Based on Gentoo,has firefox to browse Gentoo docs and mc to browse (and edit) files.
The same disk can be used for 32 and 64 bit installs.
You can follow the Handbook verbatim.
http://www.sysresccd.org/Download |
|
Back to top |
|
|
gerard27 Advocate
Joined: 04 Jan 2004 Posts: 2377 Location: Netherlands
|
Posted: Mon Apr 05, 2010 7:17 pm Post subject: |
|
|
What's the output of lsmod plse.
Gerard. _________________ To install Gentoo I use sysrescuecd.Based on Gentoo,has firefox to browse Gentoo docs and mc to browse (and edit) files.
The same disk can be used for 32 and 64 bit installs.
You can follow the Handbook verbatim.
http://www.sysresccd.org/Download |
|
Back to top |
|
|
agkbill n00b
Joined: 19 Mar 2010 Posts: 35 Location: Sweden, Uppsala
|
Posted: Mon Apr 05, 2010 10:06 pm Post subject: |
|
|
Hi,
lsmod gives:
Code: | gentoo_ce ~ # lsmod
Module Size Used by
ipv6 248128 14
snd_seq 50384 0
snd_pcm_oss 36496 0
snd_mixer_oss 14728 1 snd_pcm_oss
nvidia 9609080 38
snd_emu10k1 136512 0
snd_rawmidi 22448 1 snd_emu10k1
snd_ac97_codec 112280 1 snd_emu10k1
ac97_bus 1992 1 snd_ac97_codec
snd_pcm 77872 3 snd_pcm_oss,snd_emu10k1,snd_ac97_codec
snd_seq_device 7436 3 snd_seq,snd_emu10k1,snd_rawmidi
snd_timer 21256 3 snd_seq,snd_emu10k1,snd_pcm
snd_page_alloc 9528 2 snd_emu10k1,snd_pcm
snd_util_mem 4680 1 snd_emu10k1
snd_hwdep 8000 1 snd_emu10k1
snd 61176 10 snd_seq,snd_pcm_oss,snd_mixer_oss,snd_emu10k1,snd_rawmidi,
snd_ac97_codec,snd_pcm,snd_seq_device,snd_timer,snd_hwdep
sky2 47276 0
r8169 32348 0
soundcore 7952 1 snd
floppy 55736 0
i2c_core 24336 1 nvidia
processor 37492 0
thermal 15880 0
button 6440 0
thermal_sys 14992 2 processor,thermal
tg3 103228 0
libphy 24952 1 tg3
e1000 114588 0
fuse 59360 0
jfs 153104 0
raid10 20696 0
raid456 48648 0
async_memcpy 2328 1 raid456
async_xor 3736 1 raid456
xor 5416 2 raid456,async_xor
async_tx 3768 3 raid456,async_memcpy,async_xor
raid6_pq 80680 1 raid456
raid1 20888 0
raid0 7164 0
dm_bbr 10384 0
dm_snapshot 22700 0
dm_crypt 12944 0
dm_mirror 14496 0
dm_region_hash 12184 1 dm_mirror
dm_log 9724 2 dm_mirror,dm_region_hash
dm_mod 66568 5 dm_bbr,dm_snapshot,dm_crypt,dm_mirror,dm_log
scsi_wait_scan 1416 0
sbp2 22660 0
ohci1394 29380 0
ieee1394 86480 2 sbp2,ohci1394
sl811_hcd 11016 0
usbhid 26960 0
ohci_hcd 22452 0
uhci_hcd 21600 0
usb_storage 75616 0
ehci_hcd 34696 0
usbcore 145764 7 sl811_hcd,usbhid,ohci_hcd,uhci_hcd,usb_storage,ehci_hcd
aic94xx 71148 0
libsas 44192 1 aic94xx
lpfc 360308 0
qla2xxx 214508 0
megaraid_sas 36236 0
megaraid_mbox 29432 0
megaraid_mm 9688 1 megaraid_mbox
megaraid 40488 0
aacraid 69872 0
sx8 15144 0
DAC960 67088 0
cciss 41288 0
3w_9xxx 32824 0
3w_xxxx 23808 0
mptsas 47592 0
scsi_transport_sas 30488 3 aic94xx,libsas,mptsas
mptfc 16432 0
scsi_transport_fc 47180 3 lpfc,qla2xxx,mptfc
scsi_tgt 13200 1 scsi_transport_fc
mptspi 17608 0
mptscsih 32472 3 mptsas,mptfc,mptspi
mptbase 85348 4 mptsas,mptfc,mptspi,mptscsih
atp870u 26976 0
dc395x 31508 0
qla1280 22320 0
dmx3191d 11272 0
sym53c8xx 72000 0
gdth 79368 0
advansys 55456 0
initio 17656 0
BusLogic 22976 0
arcmsr 22432 0
aic7xxx 116844 0
aic79xx 134700 0
scsi_transport_spi 24904 5 mptspi,dmx3191d,sym53c8xx,aic7xxx,aic79xx
sg 29488 0
pdc_adma 7932 0
sata_inic162x 10252 0
sata_mv 29484 0
ata_piix 26640 2
ahci 38136 0
sata_qstor 7996 0
sata_vsc 6412 0
sata_uli 5148 0
sata_sis 6316 0
sata_sx4 10748 0
sata_nv 24644 0
sata_via 11228 0
sata_svw 6348 0
sata_sil24 14428 0
sata_sil 10672 0
sata_promise 12828 0
pata_sl82c105 5608 0
pata_cs5530 6568 0
pata_cs5520 6536 0
pata_via 10816 0
pata_jmicron 3976 0
pata_marvell 4568 0
pata_sis 13180 1 sata_sis
pata_netcell 4012 0
pata_sc1200 4808 0
pata_pdc202xx_old 6472 0
pata_triflex 5036 0
pata_atiixp 5752 0
pata_opti 4764 0
pata_amd 13596 0
pata_ali 12072 0
pata_it8213 5532 0
pata_pcmcia 14536 0
pcmcia 35260 1 pata_pcmcia
pcmcia_core 37380 1 pcmcia
pata_ns87415 5196 0
pata_ns87410 4840 0
pata_serverworks 7960 0
pata_artop 6924 0
pata_it821x 11932 0
pata_optidma 6912 0
pata_hpt3x2n 7032 0
pata_hpt3x3 5404 0
pata_hpt37x 13896 0
pata_hpt366 7208 0
pata_cmd64x 7800 0
pata_efar 5404 0
pata_rz1000 4508 0
pata_sil680 7068 0
pata_radisys 4908 0
pata_pdc2027x 8940 0
pata_mpiix 5084 0
libata 176348 51 libsas,pdc_adma,sata_inic162x,sata_mv,ata_piix,ahci,sata_qstor,
sata_vsc,sata_uli,sata_sis,sata_sx4,sata_nv,sata_via,sata_svw,
sata_sil24,sata_sil,sata_promise,pata_sl82c105,pata_cs5530,
pata_cs5520,pata_via,pata_jmicron,pata_marvell,pata_sis,
pata_netcell,pata_sc1200,pata_pdc202xx_old,pata_triflex,
pata_atiixp,pata_opti,pata_amd,pata_ali,pata_it8213,pata_pcmcia,
pata_ns87415,pata_ns87410,pata_serverworks,pata_artop,
pata_it821x,pata_optidma,pata_hpt3x2n,pata_hpt3x3,
pata_hpt37x,pata_hpt366,pata_cmd64x,pata_efar,pata_rz1000,
pata_sil680,pata_radisys,pata_pdc2027x,pata_mpiix
|
regards,
/Christer Eriksson
Applied some manual line wrapping, as very long lines make for very long faces. Swapped the quote tags for code tags to allow the newly modified line wrapping to stand out more for improved readability. -- desultory |
|
Back to top |
|
|
gerard27 Advocate
Joined: 04 Jan 2004 Posts: 2377 Location: Netherlands
|
Posted: Mon Apr 05, 2010 10:33 pm Post subject: |
|
|
Well all the necessary modules are loaded alright.
And you ran alsaconf to make the configure file.
This means alsaconf found and recognized your card.
I really don't know what else it could be.
On a side note:You have many more modules than you could possibly need.
Did you use genkernel to make your kernel?
I wonder if one of these modules screws up things.
Gerard. _________________ To install Gentoo I use sysrescuecd.Based on Gentoo,has firefox to browse Gentoo docs and mc to browse (and edit) files.
The same disk can be used for 32 and 64 bit installs.
You can follow the Handbook verbatim.
http://www.sysresccd.org/Download |
|
Back to top |
|
|
gerard27 Advocate
Joined: 04 Jan 2004 Posts: 2377 Location: Netherlands
|
Posted: Mon Apr 05, 2010 10:44 pm Post subject: |
|
|
Here's my lsmod.
Module Size Used by
nvidiafb 46088 0
fb_ddc 2248 1 nvidiafb
i2c_algo_bit 6284 1 nvidiafb
vgastate 8744 1 nvidiafb
snd_emu10k1 147648 3
snd_rawmidi 22560 1 snd_emu10k1
nvidia 8117944 22
snd_ac97_codec 122648 1 snd_emu10k1
ac97_bus 2024 1 snd_ac97_codec
snd_pcm 78768 2 snd_emu10k1,snd_ac97_codec
snd_timer 22360 2 snd_emu10k1,snd_pcm
snd_page_alloc 9368 2 snd_emu10k1,snd_pcm
snd_util_mem 4152 1 snd_emu10k1
rtl8187 53596 0
snd_hwdep 8752 1 snd_emu10k1
psmouse 45460 0
snd 61848 12 snd_emu10k1,snd_rawmidi,snd_ac97_codec,snd_pcm,snd_timer,snd_hwdep
usbhid 22336 0
evdev 11456 1
pcspkr 2968 0
i2c_i801 10196 0
soundcore 7536 1 snd
eeprom_93cx6 2232 1 rtl8187
sky2 49212 0
Gerard. _________________ To install Gentoo I use sysrescuecd.Based on Gentoo,has firefox to browse Gentoo docs and mc to browse (and edit) files.
The same disk can be used for 32 and 64 bit installs.
You can follow the Handbook verbatim.
http://www.sysresccd.org/Download |
|
Back to top |
|
|
agkbill n00b
Joined: 19 Mar 2010 Posts: 35 Location: Sweden, Uppsala
|
Posted: Tue Apr 06, 2010 8:15 pm Post subject: |
|
|
Thanks gerard82 for helping!
Today I managed to get sound.
I found that in /lib/firmware were I suppose to find "emu" firmware it was none after I run
Code: | emerge media-sound/alsa-firmware
|
I dont know if I missed anything, maybe I must set something in /etc/make.conf ?
What I did was to download the package from http://www.alsa-project.org and compiled it myself.
./configure
make
make install
After that I found all the folders including emu in /lib/firmware
I did the same with "alsa-lib"
So the problem was with the firmware. I did not manage to find god information about howto do with ALSA firmware in Gentoo.
But now I have sound and can keep on my work on a MythTV setup
All the best!
/Christer Eriksson |
|
Back to top |
|
|
gerard27 Advocate
Joined: 04 Jan 2004 Posts: 2377 Location: Netherlands
|
Posted: Tue Apr 06, 2010 10:00 pm Post subject: |
|
|
In Gentoo alsa-firmware is "masked".
You could have unmasked it and it would install.
Anyway glad to hear you have sound now.
Gerard. _________________ To install Gentoo I use sysrescuecd.Based on Gentoo,has firefox to browse Gentoo docs and mc to browse (and edit) files.
The same disk can be used for 32 and 64 bit installs.
You can follow the Handbook verbatim.
http://www.sysresccd.org/Download |
|
Back to top |
|
|
agkbill n00b
Joined: 19 Mar 2010 Posts: 35 Location: Sweden, Uppsala
|
Posted: Mon Apr 12, 2010 8:47 pm Post subject: |
|
|
What I could se alsa-firware was OK to install with emerge.
But the first time I did it I did not set any USE flags, that was the reason it did not work.
If I look upp what USE flag to use for my soundcard, it worked fine after adding it in my /etc/make.conf file. |
|
Back to top |
|
|
gerard27 Advocate
Joined: 04 Jan 2004 Posts: 2377 Location: Netherlands
|
Posted: Mon Apr 12, 2010 9:29 pm Post subject: |
|
|
Emerge ufed.
Run it in aterminal as root.
It will give you all the useflags + short description.
Very good for learning.
Gerard. _________________ To install Gentoo I use sysrescuecd.Based on Gentoo,has firefox to browse Gentoo docs and mc to browse (and edit) files.
The same disk can be used for 32 and 64 bit installs.
You can follow the Handbook verbatim.
http://www.sysresccd.org/Download |
|
Back to top |
|
|
agkbill n00b
Joined: 19 Mar 2010 Posts: 35 Location: Sweden, Uppsala
|
Posted: Thu Apr 15, 2010 7:30 pm Post subject: |
|
|
God tips Gerard,
Thank you.
I am all new to Gentoo so a lot to learn, quite different from Ubuntu that I have been using the last years.
Best regards,
/Christer |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|