Menu

Help with Sound on Old HP Mini 1000

Help
pK
2020-01-15
2020-01-16
  • pK

    pK - 2020-01-15

    Hi,
    I'm trying to resurrect an old Hewlett Packard Mini 1000 laptop that I have but wasn't using.  I'd like to turn it into a tiny internet radio media box, but I'm struggling to get sound working on it.  This is a Gentoo install with alsa-utils 1.1.8

    Any assistance with this would be greatly appreciated.  I'm about to lose my mind as I've been working to resolve the sound issue for at least two weeks now.
    Sound works if I boot from a Debian live DVD, but it's also using an kernel 4.19.67-2+deb10u1.  "dmesg |grep snd" with the Debian live DVD looks different than my Gentoo boot.  Here's the Debian boot where sound works:[   21.525307] snd_hda_codec_idt hdaudioC0D0: autoconfig for 92HD75B2X5: line_outs=1 (0xd/0x0/0x0/0x0/0x0) type:speaker
    [   21.525318] snd_hda_codec_idt hdaudioC0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
    [   21.525326] snd_hda_codec_idt hdaudioC0D0:    hp_outs=1 (0xa/0x0/0x0/0x0/0x0)
    [   21.525331] snd_hda_codec_idt hdaudioC0D0:    mono: mono_out=0x0
    [   21.525336] snd_hda_codec_idt hdaudioC0D0:    inputs:
    [   21.525343] snd_hda_codec_idt hdaudioC0D0:      Dock Mic=0xc
    [   21.525350] snd_hda_codec_idt hdaudioC0D0:      Mic=0xb
    [   21.525356] snd_hda_codec_idt hdaudioC0D0:      Line=0xe
    It's an Atom based system and I believe the sound is integrated with the video chipset.lspci -s 00:02
    00:02.0 VGA compatible controller: Intel Corporation Mobile 945GSE Express Integrated Graphics Controller (rev 03)
    00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)
    Here's the lspci -v audio sections:
    lspci -vv -s 00:1b.0
    00:1b.0 Audio device: Intel Corporation NM10/ICH7 Family High Definition Audio Controller (rev 02)
        Subsystem: Hewlett-Packard Company NM10/ICH7 Family High Definition Audio Controller
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <tabort- <mabort-="">SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 32 bytes
        Interrupt: pin A routed to IRQ 16
        Region 0: Memory at fe938000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: [50] Power Management version 2
            Flags: PMEClk- DSI- D1- D2- AuxCurrent=55mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
            Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [60] MSI: Enable- Count=1/1 Maskable- 64bit+
            Address: 0000000000000000  Data: 0000
        Capabilities: [70] Express (v1) Root Complex Integrated Endpoint, MSI 00
            DevCap:    MaxPayload 128 bytes, PhantFunc 0
                ExtTag- RBE-
            DevCtl:    Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
                RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop+
                MaxPayload 128 bytes, MaxReadReq 128 bytes
            DevSta:    CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr+ TransPend-
        Capabilities: [100 v1] Virtual Channel
            Caps:    LPEVC=0 RefClk=100ns PATEntryBits=1
            Arb:    Fixed- WRR32- WRR64- WRR128-
            Ctrl:    ArbSelect=Fixed
            Status:    InProgress-
            VC0:    Caps:    PATOffset=00 MaxTimeSlots=1 RejSnoopTrans-
                Arb:    Fixed- WRR32- WRR64- WRR128- TWRR128- WRR256-
                Ctrl:    Enable+ ID=0 ArbSelect=Fixed TC/VC=01
                Status:    NegoPending- InProgress-
            VC1:    Caps:    PATOffset=00 MaxTimeSlots=1 RejSnoopTrans-
                Arb:    Fixed- WRR32- WRR64- WRR128- TWRR128- WRR256-
                Ctrl:    Enable- ID=0 ArbSelect=Fixed TC/VC=00
                Status:    NegoPending- InProgress-
        Capabilities: [130 v1] Root Complex Link
            Desc:    PortNumber=0f ComponentID=02 EltType=Config
            Link0:    Desc:    TargetPort=00 TargetComponent=02 AssocRCRB- LinkType=MemMapped LinkValid+
                Addr:    00000000fed1c000
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel
    I'm using kernel 5.4.8 and here's the sound section from my kernel config excluding all lines with "is not set":CONFIG_SND=m
    CONFIG_SND_TIMER=m
    CONFIG_SND_PCM=m
    CONFIG_SND_HWDEP=m
    CONFIG_SND_SEQ_DEVICE=m
    CONFIG_SND_RAWMIDI=m
    CONFIG_SND_JACK=y
    CONFIG_SND_JACK_INPUT_DEV=y
    CONFIG_SND_OSSEMUL=y
    CONFIG_SND_MIXER_OSS=m
    CONFIG_SND_PCM_OSS=m
    CONFIG_SND_PCM_OSS_PLUGINS=y
    CONFIG_SND_PCM_TIMER=y
    CONFIG_SND_HRTIMER=m
    CONFIG_SND_DYNAMIC_MINORS=y
    CONFIG_SND_MAX_CARDS=32
    CONFIG_SND_PROC_FS=y
    CONFIG_SND_VERBOSE_PROCFS=y
    CONFIG_SND_DEBUG=y
    CONFIG_SND_VMASTER=y
    CONFIG_SND_DMA_SGBUF=y
    CONFIG_SND_SEQUENCER=m
    CONFIG_SND_SEQ_DUMMY=m
    CONFIG_SND_SEQUENCER_OSS=m
    CONFIG_SND_SEQ_HRTIMER_DEFAULT=y
    CONFIG_SND_SEQ_MIDI_EVENT=m
    CONFIG_SND_SEQ_MIDI=m
    CONFIG_SND_PCI=y
    CONFIG_SND_HDA=m
    CONFIG_SND_HDA_INTEL=m
    CONFIG_SND_HDA_INTEL_DETECT_DMIC=y
    CONFIG_SND_HDA_HWDEP=y
    CONFIG_SND_HDA_RECONFIG=y
    CONFIG_SND_HDA_INPUT_BEEP=y
    CONFIG_SND_HDA_INPUT_BEEP_MODE=1
    CONFIG_SND_HDA_CODEC_HDMI=m
    CONFIG_SND_HDA_GENERIC=m
    CONFIG_SND_HDA_POWER_SAVE_DEFAULT=0
    CONFIG_SND_HDA_CORE=m
    CONFIG_SND_HDA_COMPONENT=y
    CONFIG_SND_HDA_I915=y
    CONFIG_SND_HDA_PREALLOC_SIZE=64
    CONFIG_SND_INTEL_NHLT=m
    CONFIG_SND_USB=y
    CONFIG_SND_USB_AUDIO=m
    CONFIG_SND_SOC=m
    CONFIG_SND_SOC_I2C_AND_SPI=m
    CONFIG_SND_SOC_SIMPLE_AMPLIFIER=m
    Here's the sound section of dmesg:[   11.806666] udevd[560]: starting eudev-3.2.9
    [   12.119140] snd_hda_codec_generic hdaudioC0D0: autoconfig for Generic: line_outs=1 (0xd/0x0/0x0/0x0/0x0) type:speaker
    [   12.119150] snd_hda_codec_generic hdaudioC0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
    [   12.119157] snd_hda_codec_generic hdaudioC0D0:    hp_outs=1 (0xa/0x0/0x0/0x0/0x0)
    [   12.119162] snd_hda_codec_generic hdaudioC0D0:    mono: mono_out=0x0
    [   12.119166] snd_hda_codec_generic hdaudioC0D0:    inputs:
    [   12.119174] snd_hda_codec_generic hdaudioC0D0:      Dock Mic=0xc
    [   12.119181] snd_hda_codec_generic hdaudioC0D0:      Internal Mic=0xe
    [   12.119187] snd_hda_codec_generic hdaudioC0D0:      Mic=0xb
    [   12.126925] input: HDA Intel Dock Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input15
    [   12.127190] input: HDA Intel Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input16
    [   12.127444] input: HDA Intel Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input17
    Here's aplay -l* List of PLAYBACK Hardware Devices *
    card 0: Intel [HDA Intel], device 0: Generic Analog [Generic Analog]
      Subdevices: 1/1
      Subdevice #0: subdevice #0
    And finally aplay -Lnull
        Discard all samples (playback) or generate zero samples (capture)
    default:CARD=Intel
        HDA Intel, Generic Analog
        Default Audio Device
    sysdefault:CARD=Intel
        HDA Intel, Generic Analog
        Default Audio Device
    front:CARD=Intel,DEV=0
        HDA Intel, Generic Analog
        Front speakers
    surround21:CARD=Intel,DEV=0
        HDA Intel, Generic Analog
        2.1 Surround output to Front and Subwoofer speakers
    surround40:CARD=Intel,DEV=0
        HDA Intel, Generic Analog
        4.0 Surround output to Front and Rear speakers
    surround41:CARD=Intel,DEV=0
        HDA Intel, Generic Analog
        4.1 Surround output to Front, Rear and Subwoofer speakers
    surround50:CARD=Intel,DEV=0
        HDA Intel, Generic Analog
        5.0 Surround output to Front, Center and Rear speakers
    surround51:CARD=Intel,DEV=0
        HDA Intel, Generic Analog
        5.1 Surround output to Front, Center, Rear and Subwoofer speakers
    surround71:CARD=Intel,DEV=0
        HDA Intel, Generic Analog
        7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
    I've got Master, Headphone, Speaker, PCM, Auto-Mute Mode and Dock Mic Boost in alsamixer.  Nothing is muted, everything is set to a level in the 80s and "Auto-Mute Mode" is disabled.
    Aplay and mpg123 appear to be playing files when I try but I don't get any sound.
    Here's my /etc/modprobe.d/alsa.conf
    alias char-major-116 snd
    alias char-major-14 soundcore
    alias snd-card-0 snd-hda-intel
    alias sound-slot-0 snd-hda-intel
    options snd-hda-intel model=auto </tabort->

    options snd-hda-intel model=ref  <----tried but doesn't help

    options snd-hda-intel model=hp-m4 <----tried but doesn't help#options snd-hda-intel model=dell-m4-1 <----tried but doesn't help

    Here's the output of lsmod:Module                  Size  Used by
    b43                   122880  0
    input_leds             16384  0
    led_class              16384  1 input_leds
    snd_hda_codec_generic    61440  1
    snd_hda_intel          32768  0
    snd_intel_nhlt         16384  1 snd_hda_intel
    snd_hda_codec          90112  2 snd_hda_intel,snd_hda_codec_generic
    snd_hwdep              16384  1 snd_hda_codec
    snd_hda_core           57344  3 snd_hda_intel,snd_hda_codec,snd_hda_codec_generic
    snd_pcm                81920  3 snd_hda_intel,snd_hda_codec,snd_hda_core
    snd_timer              28672  1 snd_pcm
    snd                    57344  6 snd_hda_intel,snd_hwdep,snd_hda_codec,snd_timer,snd_hda_codec_generic,snd_pcm

     
  • pK

    pK - 2020-01-16

    I finally resoled this issue. I had to enable "Build IDT/Sigmatel HD-audio codec support" under:
    │ -> Device Drivers │
    │ -> Sound card support (SOUND [=y]) │
    │ -> Advanced Linux Sound Architecture (SND [=m]) │
    │ -> HD-Audio

    I had previously been avoiding it because it never mentions snd_hda_codec_idt but rather snd_hda_codec_sigmatel. Would be great if the description in "make menuconfig's" help section also mentioned SND_HDA_CODEC_IDT for the symbol instead of just SND_HDA_CODEC_SIGMATEL.

     

Log in to post a comment.