* [gentoo-user] Alsa Question
@ 2013-05-17 18:30 Silvio Siefke
2013-05-17 18:34 ` [gentoo-user] " the guard
` (2 more replies)
0 siblings, 3 replies; 8+ messages in thread
From: Silvio Siefke @ 2013-05-17 18:30 UTC (permalink / raw
To: gentoo-user
Hello,
i have build the kernel without modules, all what i need i built in Kernel
fix. All Howto i see for alsa from Gentoo is with modules, but what i must
do, when i have fix in Kernel. The Sound with VLC goes without Problems,
but for example mplayer give no sound and when i visit Youtube or so i have
no sound.
Can help me someone or have a link what i must do?
Thanks for help. Nice weekend.
Silvio
<alsa.conf> (generated by alsaconf)
gentoo-mobile siefke # cat /root/alsa.conf
# Alsa kernel modules' configuration file.
# ALSA portion
alias char-major-116 snd
# OSS/Free portion
alias char-major-14 soundcore
##
## 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
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
## 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.
options snd cards_limit=1
</alsa.conf>
^ permalink raw reply [flat|nested] 8+ messages in thread
* [gentoo-user] Re: [gentoo-user] Alsa Question
2013-05-17 18:30 [gentoo-user] Alsa Question Silvio Siefke
@ 2013-05-17 18:34 ` the guard
2013-05-18 6:28 ` Mick
2013-05-18 11:37 ` Silvio Siefke
2013-05-18 8:39 ` [gentoo-user] Alsa Question (alsaconf R.I.P.) Samuli Suominen
2013-05-18 12:34 ` [gentoo-user] Alsa Question Silvio Siefke
2 siblings, 2 replies; 8+ messages in thread
From: the guard @ 2013-05-17 18:34 UTC (permalink / raw
To: gentoo-user
Пятница, 17 мая 2013, 20:30 +02:00 от Silvio Siefke <siefke_listen@web.de>:
> Hello,
>
>
> i have build the kernel without modules, all what i need i built in Kernel
> fix. All Howto i see for alsa from Gentoo is with modules, but what i must
> do, when i have fix in Kernel.
I beleive that if you build the sound card driver into kernel alsa cann have problems
detecting the card. but once alsa has detected the card it should have no difference
weather you built it into kernel or not.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] Re: [gentoo-user] Alsa Question
2013-05-17 18:34 ` [gentoo-user] " the guard
@ 2013-05-18 6:28 ` Mick
2013-05-18 11:37 ` Silvio Siefke
1 sibling, 0 replies; 8+ messages in thread
From: Mick @ 2013-05-18 6:28 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: Text/Plain, Size: 1146 bytes --]
On Friday 17 May 2013 19:34:17 the guard wrote:
> Пятница, 17 мая 2013, 20:30 +02:00 от Silvio Siefke <siefke_listen@web.de>:
> > Hello,
> >
> >
> > i have build the kernel without modules, all what i need i built in
> > Kernel fix. All Howto i see for alsa from Gentoo is with modules, but
> > what i must do, when i have fix in Kernel.
>
> I beleive that if you build the sound card driver into kernel alsa cann
> have problems detecting the card. but once alsa has detected the card it
> should have no difference weather you built it into kernel or not.
I was having problems detecting all the sound devices of my card (as shown in
alsamixer) when I had alsa built in the kernel. This was particularly
problematic for capture devices - external microphones were not showing up.
From what I recall the devs advised that alsaconf and alsactl require alsa
drivers to be built as modules so that they can probe the soundcard with
different options as they load these modules.
That advice made me build alsa driver as modules from then on and my problems
were resolved for good.
--
Regards,
Mick
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 490 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] Alsa Question (alsaconf R.I.P.)
2013-05-17 18:30 [gentoo-user] Alsa Question Silvio Siefke
2013-05-17 18:34 ` [gentoo-user] " the guard
@ 2013-05-18 8:39 ` Samuli Suominen
2013-05-18 15:54 ` Mick
2013-05-18 12:34 ` [gentoo-user] Alsa Question Silvio Siefke
2 siblings, 1 reply; 8+ messages in thread
From: Samuli Suominen @ 2013-05-18 8:39 UTC (permalink / raw
To: gentoo-user
On 17/05/13 21:30, Silvio Siefke wrote:
> <alsa.conf> (generated by alsaconf)
Gentoo's alsa-guide.xml is outdated and is incorrectly suggesting the
use of alsaconf
When in reality alsaconf doesn't work at all with sys-apps/kmod because
it doesn't generate 'modules.pcimap' and 'modules.usbmap' files anymore
And in version 1.0.27 of alsa-utils in ~arch the command is no longer
being installed
So whatever you do, forget about `alsaconf` right from the start, since
it's no longer required with modern PCI, USB, ... cards because
sys-fs/udev automatically loads the required drivers
The `alsaconf` command has been useful only for old PCMCIA and ISA cards
for years already
Instead you don't do anything else than unmute the mixers using
alsamixer, and leave the module loading to udev
As in, edit/write /etc/modprobe.d/alsa.conf by hand only if you need to
pass some options to the modules
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] Re: [gentoo-user] Alsa Question
2013-05-17 18:34 ` [gentoo-user] " the guard
2013-05-18 6:28 ` Mick
@ 2013-05-18 11:37 ` Silvio Siefke
1 sibling, 0 replies; 8+ messages in thread
From: Silvio Siefke @ 2013-05-18 11:37 UTC (permalink / raw
To: gentoo-user
Hello,
On Fri, 17 May 2013 22:34:17 +0400 the guard <the.guard@mail.ru> wrote:
> I beleive that if you build the sound card driver into kernel alsa
> cann have problems detecting the card. but once alsa has detected the
> card it should have no difference weather you built it into kernel or
> not.
That's my kernel config, the relevant stuff:
siefke@gentoo-mobile : ~ $ cat /usr/src/linux/.config | grep CONFIG_SND
CONFIG_SND=y
CONFIG_SND_TIMER=y
CONFIG_SND_PCM=y
CONFIG_SND_HWDEP=y
CONFIG_SND_RAWMIDI=y
CONFIG_SND_JACK=y
CONFIG_SND_SEQUENCER=y
CONFIG_SND_OSSEMUL=y
CONFIG_SND_PCM_OSS=y
CONFIG_SND_PCM_OSS_PLUGINS=y
CONFIG_SND_HRTIMER=y
CONFIG_SND_SEQ_HRTIMER_DEFAULT=y
CONFIG_SND_DYNAMIC_MINORS=y
CONFIG_SND_SUPPORT_OLD_API=y
CONFIG_SND_VERBOSE_PROCFS=y
CONFIG_SND_VMASTER=y
CONFIG_SND_KCTL_JACK=y
CONFIG_SND_DMA_SGBUF=y
CONFIG_SND_RAWMIDI_SEQ=y
CONFIG_SND_OPL3_LIB_SEQ=y
CONFIG_SND_OPL4_LIB_SEQ=y
CONFIG_SND_SBAWE_SEQ=y
CONFIG_SND_MPU401_UART=y
CONFIG_SND_OPL3_LIB=y
CONFIG_SND_OPL4_LIB=y
CONFIG_SND_AC97_CODEC=y
CONFIG_SND_DRIVERS=y
CONFIG_SND_PCSP=y
CONFIG_SND_DUMMY=y
CONFIG_SND_ALOOP=y
CONFIG_SND_VIRMIDI=y
CONFIG_SND_AC97_POWER_SAVE=y
CONFIG_SND_AC97_POWER_SAVE_DEFAULT=0
CONFIG_SND_WSS_LIB=y
CONFIG_SND_SB_COMMON=y
CONFIG_SND_SB8_DSP=y
CONFIG_SND_SB16_DSP=y
CONFIG_SND_ISA=y
CONFIG_SND_ADLIB=y
CONFIG_SND_AD1816A=y
CONFIG_SND_AD1848=y
CONFIG_SND_ALS100=y
CONFIG_SND_AZT1605=y
CONFIG_SND_AZT2316=y
CONFIG_SND_AZT2320=y
CONFIG_SND_CMI8330=y
CONFIG_SND_CS4231=y
CONFIG_SND_CS4236=y
CONFIG_SND_ES1688=y
CONFIG_SND_ES18XX=y
CONFIG_SND_SC6000=y
CONFIG_SND_GUSCLASSIC=y
CONFIG_SND_GUSEXTREME=y
CONFIG_SND_GUSMAX=y
CONFIG_SND_INTERWAVE=y
CONFIG_SND_INTERWAVE_STB=y
CONFIG_SND_JAZZ16=y
CONFIG_SND_OPL3SA2=y
CONFIG_SND_OPTI92X_AD1848=y
CONFIG_SND_OPTI92X_CS4231=y
CONFIG_SND_OPTI93X=y
CONFIG_SND_MIRO=y
CONFIG_SND_SB8=y
CONFIG_SND_SB16=y
CONFIG_SND_SBAWE=y
CONFIG_SND_SB16_CSP=y
CONFIG_SND_SSCAPE=y
CONFIG_SND_WAVEFRONT=y
CONFIG_SND_MSND_PINNACLE=y
CONFIG_SND_MSND_CLASSIC=y
CONFIG_SND_PCI=y
CONFIG_SND_HDA_INTEL=y
CONFIG_SND_HDA_PREALLOC_SIZE=64
CONFIG_SND_HDA_HWDEP=y
CONFIG_SND_HDA_RECONFIG=y
CONFIG_SND_HDA_INPUT_BEEP=y
CONFIG_SND_HDA_INPUT_BEEP_MODE=0
CONFIG_SND_HDA_INPUT_JACK=y
CONFIG_SND_HDA_PATCH_LOADER=y
CONFIG_SND_HDA_CODEC_REALTEK=y
CONFIG_SND_HDA_ENABLE_REALTEK_QUIRKS=y
CONFIG_SND_HDA_CODEC_ANALOG=y
CONFIG_SND_HDA_CODEC_SIGMATEL=y
CONFIG_SND_HDA_CODEC_VIA=y
CONFIG_SND_HDA_CODEC_HDMI=y
CONFIG_SND_HDA_CODEC_CIRRUS=y
CONFIG_SND_HDA_CODEC_CONEXANT=y
CONFIG_SND_HDA_CODEC_CA0110=y
CONFIG_SND_HDA_CODEC_CA0132=y
CONFIG_SND_HDA_CODEC_CMEDIA=y
CONFIG_SND_HDA_CODEC_SI3054=y
CONFIG_SND_HDA_GENERIC=y
CONFIG_SND_INTEL8X0=y
CONFIG_SND_SPI=y
CONFIG_SND_USB=y
CONFIG_SND_USB_AUDIO=y
CONFIG_SND_USB_UA101=y
CONFIG_SND_USB_USX2Y=y
CONFIG_SND_USB_CAIAQ=y
CONFIG_SND_USB_CAIAQ_INPUT=y
CONFIG_SND_USB_US122L=y
CONFIG_SND_SOC=y
CONFIG_SND_SOC_I2C_AND_SPI=y
CONFIG_SND_SOC_ALL_CODECS=y
CONFIG_SND_SOC_88PM860X=y
CONFIG_SND_SOC_WM_HUBS=y
CONFIG_SND_SOC_AD1836=y
CONFIG_SND_SOC_AD193X=y
CONFIG_SND_SOC_AD73311=y
CONFIG_SND_SOC_ADAU1373=y
CONFIG_SND_SOC_ADAV80X=y
CONFIG_SND_SOC_ADS117X=y
CONFIG_SND_SOC_AK4104=y
CONFIG_SND_SOC_AK4535=y
CONFIG_SND_SOC_AK4641=y
CONFIG_SND_SOC_AK4642=y
CONFIG_SND_SOC_AK4671=y
CONFIG_SND_SOC_ALC5623=y
CONFIG_SND_SOC_ALC5632=y
CONFIG_SND_SOC_CS42L51=y
CONFIG_SND_SOC_CS42L73=y
CONFIG_SND_SOC_CS4270=y
CONFIG_SND_SOC_CS4271=y
CONFIG_SND_SOC_CX20442=y
CONFIG_SND_SOC_JZ4740_CODEC=y
CONFIG_SND_SOC_L3=y
CONFIG_SND_SOC_DA7210=y
CONFIG_SND_SOC_DFBMCS320=y
CONFIG_SND_SOC_MAX98088=y
CONFIG_SND_SOC_MAX98095=y
CONFIG_SND_SOC_MAX9850=y
CONFIG_SND_SOC_PCM3008=y
CONFIG_SND_SOC_RT5631=y
CONFIG_SND_SOC_SGTL5000=y
CONFIG_SND_SOC_SPDIF=y
CONFIG_SND_SOC_SSM2602=y
CONFIG_SND_SOC_STA32X=y
CONFIG_SND_SOC_TLV320AIC23=y
CONFIG_SND_SOC_TLV320AIC26=y
CONFIG_SND_SOC_TLV320AIC32X4=y
CONFIG_SND_SOC_TLV320AIC3X=y
CONFIG_SND_SOC_TLV320DAC33=y
CONFIG_SND_SOC_UDA134X=y
CONFIG_SND_SOC_UDA1380=y
CONFIG_SND_SOC_WM1250_EV1=y
CONFIG_SND_SOC_WM2000=y
CONFIG_SND_SOC_WM2200=y
CONFIG_SND_SOC_WM5100=y
CONFIG_SND_SOC_WM8350=y
CONFIG_SND_SOC_WM8510=y
CONFIG_SND_SOC_WM8523=y
CONFIG_SND_SOC_WM8580=y
CONFIG_SND_SOC_WM8711=y
CONFIG_SND_SOC_WM8727=y
CONFIG_SND_SOC_WM8728=y
CONFIG_SND_SOC_WM8731=y
CONFIG_SND_SOC_WM8737=y
CONFIG_SND_SOC_WM8741=y
CONFIG_SND_SOC_WM8750=y
CONFIG_SND_SOC_WM8753=y
CONFIG_SND_SOC_WM8770=y
CONFIG_SND_SOC_WM8776=y
CONFIG_SND_SOC_WM8782=y
CONFIG_SND_SOC_WM8804=y
CONFIG_SND_SOC_WM8900=y
CONFIG_SND_SOC_WM8903=y
CONFIG_SND_SOC_WM8904=y
CONFIG_SND_SOC_WM8940=y
CONFIG_SND_SOC_WM8955=y
CONFIG_SND_SOC_WM8960=y
CONFIG_SND_SOC_WM8961=y
CONFIG_SND_SOC_WM8962=y
CONFIG_SND_SOC_WM8971=y
CONFIG_SND_SOC_WM8974=y
CONFIG_SND_SOC_WM8978=y
CONFIG_SND_SOC_WM8983=y
CONFIG_SND_SOC_WM8985=y
CONFIG_SND_SOC_WM8988=y
CONFIG_SND_SOC_WM8990=y
CONFIG_SND_SOC_WM8991=y
CONFIG_SND_SOC_WM8993=y
CONFIG_SND_SOC_WM8994=y
CONFIG_SND_SOC_WM8995=y
CONFIG_SND_SOC_WM8996=y
CONFIG_SND_SOC_WM9081=y
CONFIG_SND_SOC_WM9090=y
CONFIG_SND_SOC_LM4857=y
CONFIG_SND_SOC_MAX9768=y
CONFIG_SND_SOC_MAX9877=y
CONFIG_SND_SOC_TPA6130A2=y
So in VLC i have sound, i have set in option in audio/device
HDA Intel, ALC272 Analog Default Audio. The Problem is mplayer
and Opera/Browser. What i must do there? Must i let run alsa in
runlevel default?
Thank you & Greetings
Silvio
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] Alsa Question
2013-05-17 18:30 [gentoo-user] Alsa Question Silvio Siefke
2013-05-17 18:34 ` [gentoo-user] " the guard
2013-05-18 8:39 ` [gentoo-user] Alsa Question (alsaconf R.I.P.) Samuli Suominen
@ 2013-05-18 12:34 ` Silvio Siefke
2 siblings, 0 replies; 8+ messages in thread
From: Silvio Siefke @ 2013-05-18 12:34 UTC (permalink / raw
To: gentoo-user
Hello,
i have found the problem, i has create the .asoundrc with content:
siefke@gentoo-mobile : ~ $ cat .asoundrc
pcm.!default {
type hw
card Intel
}
ctl.!default {
type hw
card Intel
}
Now have sound in Opera and in Mplayer. I have read the Howto from
Arch.
Thanks all & Nice weekend
Silvio
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] Alsa Question (alsaconf R.I.P.)
2013-05-18 8:39 ` [gentoo-user] Alsa Question (alsaconf R.I.P.) Samuli Suominen
@ 2013-05-18 15:54 ` Mick
2013-05-18 21:03 ` covici
0 siblings, 1 reply; 8+ messages in thread
From: Mick @ 2013-05-18 15:54 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: Text/Plain, Size: 1404 bytes --]
On Saturday 18 May 2013 09:39:36 Samuli Suominen wrote:
> On 17/05/13 21:30, Silvio Siefke wrote:
> > <alsa.conf> (generated by alsaconf)
>
> Gentoo's alsa-guide.xml is outdated and is incorrectly suggesting the
> use of alsaconf
>
> When in reality alsaconf doesn't work at all with sys-apps/kmod because
> it doesn't generate 'modules.pcimap' and 'modules.usbmap' files anymore
>
> And in version 1.0.27 of alsa-utils in ~arch the command is no longer
> being installed
>
> So whatever you do, forget about `alsaconf` right from the start, since
> it's no longer required with modern PCI, USB, ... cards because
> sys-fs/udev automatically loads the required drivers
> The `alsaconf` command has been useful only for old PCMCIA and ISA cards
> for years already
>
> Instead you don't do anything else than unmute the mixers using
> alsamixer, and leave the module loading to udev
>
> As in, edit/write /etc/modprobe.d/alsa.conf by hand only if you need to
> pass some options to the modules
I am still running media-sound/alsa-utils-1.0.26-r2 here and a couple of
months or so ago I tried rebuilding all sound modules in the kernel, only to
confirm that some devices were again no longer available. Building them as
modules restored them back as they were. So for my setting at least I have
stayed with sound built separately as modules.
--
Regards,
Mick
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 490 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] Alsa Question (alsaconf R.I.P.)
2013-05-18 15:54 ` Mick
@ 2013-05-18 21:03 ` covici
0 siblings, 0 replies; 8+ messages in thread
From: covici @ 2013-05-18 21:03 UTC (permalink / raw
To: gentoo-user
Mick <michaelkintzios@gmail.com> wrote:
> On Saturday 18 May 2013 09:39:36 Samuli Suominen wrote:
> > On 17/05/13 21:30, Silvio Siefke wrote:
> > > <alsa.conf> (generated by alsaconf)
> >
> > Gentoo's alsa-guide.xml is outdated and is incorrectly suggesting the
> > use of alsaconf
> >
> > When in reality alsaconf doesn't work at all with sys-apps/kmod because
> > it doesn't generate 'modules.pcimap' and 'modules.usbmap' files anymore
> >
> > And in version 1.0.27 of alsa-utils in ~arch the command is no longer
> > being installed
> >
> > So whatever you do, forget about `alsaconf` right from the start, since
> > it's no longer required with modern PCI, USB, ... cards because
> > sys-fs/udev automatically loads the required drivers
> > The `alsaconf` command has been useful only for old PCMCIA and ISA cards
> > for years already
> >
> > Instead you don't do anything else than unmute the mixers using
> > alsamixer, and leave the module loading to udev
> >
> > As in, edit/write /etc/modprobe.d/alsa.conf by hand only if you need to
> > pass some options to the modules
>
> I am still running media-sound/alsa-utils-1.0.26-r2 here and a couple of
> months or so ago I tried rebuilding all sound modules in the kernel, only to
> confirm that some devices were again no longer available. Building them as
> modules restored them back as they were. So for my setting at least I have
> stayed with sound built separately as modules.
Also, I had to use the install feature of modprobe to get the modules to
load correctly as udev did not load all the required modules. Before it
was done by an init script.
--
Your life is like a penny. You're going to lose it. The question is:
How do
you spend it?
John Covici
covici@ccs.covici.com
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2013-05-18 21:04 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-17 18:30 [gentoo-user] Alsa Question Silvio Siefke
2013-05-17 18:34 ` [gentoo-user] " the guard
2013-05-18 6:28 ` Mick
2013-05-18 11:37 ` Silvio Siefke
2013-05-18 8:39 ` [gentoo-user] Alsa Question (alsaconf R.I.P.) Samuli Suominen
2013-05-18 15:54 ` Mick
2013-05-18 21:03 ` covici
2013-05-18 12:34 ` [gentoo-user] Alsa Question Silvio Siefke
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox