On Sun, Mar 26, 2017 at 03:26:41PM +0100, Hazel Russman wrote:
> On Sun, 26 Mar 2017 13:59:36 +0200
> "Michael D. L." <[email protected]> wrote:
> 
> > On 03/26/2017 01:44 PM, Hazel Russman wrote:
> > > I have installed alsa and alsa-utils together with the mp3 reader mpg123. 
> > > This program works in Debian but I have not yet got it to work in LFS.
> > >
> > > [src/libout123/modules/oss.c:174] error: Can't open default sound device!
> > > [src/libout123/libout123.c:432] error: Found no driver out of [alsa,oss] 
> > > working with device <default>.
> > > main: [src/mpg123.c:333] error: out123 error 3: failure loading driver 
> > > module
> > >
> > > Here is the lsmod output:
> > > snd_intel8x0           25599  0
> > > snd_ac97_codec        105260  1 snd_intel8x0
> > > ac97_bus                1502  1 snd_ac97_codec
> > > pcspkr                  2035  0
> > > snd_hda_intel          17882  0
> > > snd_hda_codec          72742  1 snd_hda_intel
> > > snd_hda_core           42362  2 snd_hda_intel,snd_hda_codec
> > >
> > > lspci -v says:
> > > 00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio 
> > > Controller (rev 02)
> > >    Subsystem: Hewlett-Packard Company 82801I (ICH9 Family) HD Audio 
> > > Controller
> > >
> > > It looks like I am missing a kernel module, but I've built and loaded all 
> > > the relevant-looking ones that I found in the Debian lsmod output.  
> > Hi Hazel,
> > 
> > I think you need a additional module:
> > 
> > Device Drivers --->
> >      Sound card support --->
> >          Advanced Linux Sound Architecture --->
> >              HD-Audio --->
> >                  <M> Enable generic HD-audio codec parser
> > 
> > Best regards
> >   Michael
> > -- 
> That's already included in the config menu as a compulsory module. Kernel 
> Help doesn't say what the module is called but I'm guessing it's 
> snd_hda_codec.
> 
Hi Hazel,

I think you need CONFIG_SND_HDA_INTEL (the module is snd-hda-intel,
which you seem to have loaded), and probably you will need to enable
most of the codecs listed below it in menuconfig.

Unfortunately, for those of us who use analogue sound and alsa, this
driver is a bit of a pain on some machines.  On my two most recent
desktop machines, and one previously, alsa gives error messages, e.g.
when trying to use alsamixer.  For those I have to use ~/.asoundrc -
my current version is attached.  Interestingly, one of those two
machines is an AMD A10 Kaveri which replaced a previous one where
the mobo died - much was similar, but the previous one had working
sound without the ~/.asoundrc.

Also, if you need that ~/.asoundrc then analogue sound is probably
quiet - maybe not a problem for you, but it is for me, I have to
turn the amplifier up to 11 - at least I use headphones, so it's
only me, and not my neighbours, who gets hurt if I leave the amp
turned up and use a differnet machine ;-)

Surprisingly, building Pulse Audio for firefox-52 has rectified
the volume, at least for youtube.

ĸen
-- 
`I shall take my mountains', said Lu-Tze. `The climate will be good
for them.'     -- Small Gods
pcm.!default {
        type hw
        card 1
}

ctl.!default {
        type hw
        card 1
}


# from gentoo
pcm.!default {
         type asym
         playback.pcm {
                 type plug
                 slave.pcm "dmixer"
         }
}

pcm.dmixer  {
        type dmix
        ipc_key 1024
        slave {
                pcm "hw:1,0"
                period_time 0
                period_size 1024
                buffer_size 4096
                rate 44100
        }
        bindings {
                0 0
                1 1
        }
}

ctl.dmixer {
        type hw
        card 1
}


-- 
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to