Purchase Linux CDs / DVDs / Flash Drives at OSDisc.com

Welcome to Our Community

While Linux.org has been around for a while, we recently changed management and had to purge most of the content (including users). If you signed up before April 23rd, 2017 please sign up again. Thanks!

Help With Getting Laptop Mic To Work :3

Discussion in 'Linux Hardware' started by blackneos940, Nov 8, 2018.

  1. blackneos940

    blackneos940 Active Member

    Joined:
    May 16, 2017
    Messages:
    139
    Likes Received:
    78
    The Laptop in question is an HP 15-bs212wm, and the Mic works fine under Windows..... :\ Anywho, here's the output of lspci:

    Code:
    hp-laptop-15-bs212wm
        description: Notebook
        product: HP Laptop 15-bs2xx (3TT16UA#ABA)
        vendor: HP
        version: Type1ProductConfigId
        serial: CND815512F
        width: 64 bits
        capabilities: smbios-3.0 dmi-3.0 smp vsyscall32
        configuration: boot=normal chassis=notebook family=103C_5335KV HP Notebook sku=3TT16UA#ABA uuid=4C3EDC85-3C64-11E8-A4C3-B4B6864990AD
      *-core
           description: Motherboard
           product: 84D4
           vendor: HP
           physical id: 0
           version: 94.21
           serial: PHGQNE31WAPW9P
           slot: Type2 - Board Chassis Location
         *-firmware
              description: BIOS
              vendor: Insyde
              physical id: 0
              version: F.42
              date: 08/06/2018
              size: 64KiB
              capacity: 3008KiB
              capabilities: pci upgrade shadowing cdboot bootselect edd int9keyboard int14serial int17printer int10video acpi usb zipboot biosbootspecification netboot
         *-cpu
              description: CPU
              product: Intel(R) Celeron(R) N4000 CPU @ 1.10GHz
              vendor: Intel Corp.
              physical id: 4
              bus info: [email protected]
              version: Intel(R) Celeron(R) N4000 CPU @ 1.10GHz
              serial: To Be Filled By O.E.M.
              slot: U3E1
              size: 1340MHz
              capacity: 2600MHz
              width: 64 bits
              clock: 100MHz
              capabilities: x86-64 fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg cx16 xtpr pdcm sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave rdrand lahf_lm 3dnowprefetch cpuid_fault cat_l2 pti cdp_l2 ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust smep erms mpx rdt_a rdseed smap clflushopt intel_pt sha_ni xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts umip rdpid arch_capabilities cpufreq
              configuration: cores=2 enabledcores=2 threads=2
            *-cache:0
                 description: L1 cache
                 physical id: 6
                 slot: L1 Cache
                 size: 32KiB
                 capacity: 32KiB
                 capabilities: synchronous internal write-back instruction
                 configuration: level=1
            *-cache:1
                 description: L2 cache
                 physical id: 7
                 slot: L2 Cache
                 size: 4MiB
                 capacity: 4MiB
                 capabilities: synchronous internal write-back unified
                 configuration: level=2
         *-cache
              description: L1 cache
              physical id: 5
              slot: L1 Cache
              size: 24KiB
              capacity: 24KiB
              capabilities: synchronous internal write-back data
              configuration: level=1
         *-memory
              description: System Memory
              physical id: 25
              slot: System board or motherboard
              size: 4GiB
            *-bank:0
                 description: SODIMM DDR4 Synchronous 2400 MHz (0.4 ns)
                 product: M471A5244BB0-CRC
                 vendor: Samsung
                 physical id: 0
                 serial: 34811210
                 slot: Bottom-slot 1(left)
                 size: 4GiB
                 width: 8 bits
                 clock: 2400MHz (0.4ns)
            *-bank:1
                 description: SODIMM DDR Synchronous [empty]
                 physical id: 1
                 slot: Bottom-slot 2(right)
         *-pci
              description: Host bridge
              product: Intel Corporation
              vendor: Intel Corporation
              physical id: 100
              bus info: [email protected]:00:00.0
              version: 03
              width: 32 bits
              clock: 33MHz
            *-generic:0 UNCLAIMED
                 description: Signal processing controller
                 product: Intel Corporation
                 vendor: Intel Corporation
                 physical id: 0.1
                 bus info: [email protected]:00:00.1
                 version: 03
                 width: 64 bits
                 clock: 33MHz
                 capabilities: pm bus_master cap_list
                 configuration: latency=0
                 resources: memory:80000000-80007fff
            *-generic:1 UNCLAIMED
                 description: System peripheral
                 product: Intel Corporation
                 vendor: Intel Corporation
                 physical id: 0.3
                 bus info: [email protected]:00:00.3
                 version: 03
                 width: 64 bits
                 clock: 33MHz
                 capabilities: msi pm bus_master cap_list
                 configuration: latency=0
                 resources: memory:a121a000-a121afff
            *-display
                 description: VGA compatible controller
                 product: Intel Corporation
                 vendor: Intel Corporation
                 physical id: 2
                 bus info: [email protected]:00:02.0
                 version: 03
                 width: 64 bits
                 clock: 33MHz
                 capabilities: pciexpress msi pm vga_controller bus_master cap_list rom
                 configuration: driver=i915 latency=0
                 resources: irq:125 memory:a0000000-a0ffffff memory:90000000-9fffffff ioport:2000(size=64) memory:c0000-dffff
            *-network
                 description: Wireless interface
                 product: Intel Corporation
                 vendor: Intel Corporation
                 physical id: c
                 bus info: [email protected]:00:0c.0
                 logical name: wlo1
                 version: 03
                 serial: 34:41:5d:dd:fb:30
                 width: 64 bits
                 clock: 33MHz
                 capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical wireless
                 configuration: broadcast=yes driver=iwlwifi driverversion=4.15.0-38-generic firmware=34.0.0 ip=192.168.1.128 latency=0 link=yes multicast=yes wireless=IEEE 802.11
                 resources: irq:44 memory:a1210000-a1213fff
            *-multimedia
                 description: Audio device
                 product: Intel Corporation
                 vendor: Intel Corporation
                 physical id: e
                 bus info: [email protected]:00:0e.0
                 version: 03
                 width: 64 bits
                 clock: 33MHz
                 capabilities: pm msi pciexpress bus_master cap_list
                 configuration: driver=snd_hda_intel latency=0
                 resources: irq:131 memory:a1214000-a1217fff memory:a1000000-a10fffff
            *-communication
                 description: Communication controller
                 product: Intel Corporation
                 vendor: Intel Corporation
                 physical id: f
                 bus info: [email protected]:00:0f.0
                 version: 03
                 width: 64 bits
                 clock: 33MHz
                 capabilities: pm msi bus_master cap_list
                 configuration: driver=mei_me latency=0
                 resources: irq:126 memory:a121b000-a121bfff
            *-storage
                 description: SATA controller
                 product: Intel Corporation
                 vendor: Intel Corporation
                 physical id: 12
                 bus info: [email protected]:00:12.0
                 version: 03
                 width: 32 bits
                 clock: 66MHz
                 capabilities: storage msi pm ahci_1.0 bus_master cap_list
                 configuration: driver=ahci latency=0
                 resources: irq:123 memory:a1218000-a1219fff memory:a121e000-a121e0ff ioport:2080(size=8) ioport:2088(size=4) ioport:2060(size=32) memory:a121c000-a121c7ff
            *-pci:0
                 description: PCI bridge
                 product: Intel Corporation
                 vendor: Intel Corporation
                 physical id: 14
                 bus info: [email protected]:00:14.0
                 version: f3
                 width: 32 bits
                 clock: 33MHz
                 capabilities: pci pciexpress msi pm normal_decode bus_master cap_list
                 configuration: driver=pcieport
                 resources: irq:120 ioport:1000(size=4096) memory:a1100000-a11fffff
               *-network
                    description: Ethernet interface
                    product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
                    vendor: Realtek Semiconductor Co., Ltd.
                    physical id: 0
                    bus info: [email protected]:01:00.0
                    logical name: eno1
                    version: 15
                    serial: b4:b6:86:49:90:ad
                    size: 10Mbit/s
                    capacity: 1Gbit/s
                    width: 64 bits
                    clock: 33MHz
                    capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
                    configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=half firmware=rtl8168h-2_0.0.2 02/26/15 latency=0 link=no multicast=yes port=MII speed=10Mbit/s
                    resources: irq:22 ioport:1000(size=256) memory:a1104000-a1104fff memory:a1100000-a1103fff
            *-pci:1
                 description: PCI bridge
                 product: Intel Corporation
                 vendor: Intel Corporation
                 physical id: 14.1
                 bus info: [email protected]:00:14.1
                 version: f3
                 width: 32 bits
                 clock: 33MHz
                 capabilities: pci pciexpress msi pm normal_decode bus_master cap_list
                 configuration: driver=pcieport
                 resources: irq:121
            *-usb
                 description: USB controller
                 product: Intel Corporation
                 vendor: Intel Corporation
                 physical id: 15
                 bus info: [email protected]:00:15.0
                 version: 03
                 width: 64 bits
                 clock: 33MHz
                 capabilities: pm msi xhci bus_master cap_list
                 configuration: driver=xhci_hcd latency=0
                 resources: irq:122 memory:a1200000-a120ffff
               *-usbhost:0
                    product: xHCI Host Controller
                    vendor: Linux 4.15.0-38-generic xhci-hcd
                    physical id: 0
                    bus info: [email protected]
                    logical name: usb1
                    version: 4.15
                    capabilities: usb-2.00
                    configuration: driver=hub slots=9 speed=480Mbit/s
                  *-usb:0
                       description: Video
                       product: HP Webcam
                       vendor: DGENE01BIAGCL4
                       physical id: 5
                       bus info: [email protected]:5
                       version: 0.13
                       serial: 200901010001
                       capabilities: usb-2.00
                       configuration: driver=uvcvideo maxpower=500mA speed=480Mbit/s
                  *-usb:1
                       description: Bluetooth wireless interface
                       vendor: Intel Corp.
                       physical id: 9
                       bus info: [email protected]:9
                       version: 0.02
                       capabilities: bluetooth usb-2.00
                       configuration: driver=btusb maxpower=100mA speed=12Mbit/s
               *-usbhost:1
                    product: xHCI Host Controller
                    vendor: Linux 4.15.0-38-generic xhci-hcd
                    physical id: 1
                    bus info: [email protected]
                    logical name: usb2
                    version: 4.15
                    capabilities: usb-3.00
                    configuration: driver=hub slots=7 speed=5000Mbit/s
            *-isa
                 description: ISA bridge
                 product: Intel Corporation
                 vendor: Intel Corporation
                 physical id: 1f
                 bus info: [email protected]:00:1f.0
                 version: 03
                 width: 32 bits
                 clock: 33MHz
                 capabilities: isa bus_master
                 configuration: latency=0
            *-serial
                 description: SMBus
                 product: Intel Corporation
                 vendor: Intel Corporation
                 physical id: 1f.1
                 bus info: [email protected]:00:1f.1
                 version: 03
                 width: 64 bits
                 clock: 33MHz
                 configuration: driver=i801_smbus latency=0
                 resources: irq:20 memory:a121d000-a121d0ff ioport:2040(size=32)
         *-scsi:0
              physical id: 1
              logical name: scsi0
              capabilities: emulated
            *-disk
                 description: ATA Disk
                 product: WDC WD5000LPCX-6
                 vendor: Western Digital
                 physical id: 0.0.0
                 bus info: [email protected]:0.0.0
                 logical name: /dev/sda
                 version: 1A01
                 serial: WD-WX31A185R7D7
                 size: 465GiB (500GB)
                 capabilities: gpt-1.00 partitioned partitioned:gpt
                 configuration: ansiversion=5 guid=ca7511bd-d679-4ecf-853e-ea0b05d574ae logicalsectorsize=512 sectorsize=4096
               *-volume:0 UNCLAIMED
                    description: Windows FAT volume
                    vendor: mkfs.fat
                    physical id: 1
                    bus info: [email protected]:0.0.0,1
                    version: FAT32
                    serial: ea4d-be18
                    size: 485MiB
                    capacity: 486MiB
                    capabilities: boot fat initialized
                    configuration: FATs=2 filesystem=fat name=EFI System Partition
               *-volume:1
                    description: EXT4 volume
                    vendor: Linux
                    physical id: 2
                    bus info: [email protected]:0.0.0,2
                    logical name: /dev/sda2
                    logical name: /
                    version: 1.0
                    serial: 898e4786-b22a-49f3-80ef-270cfc61fabb
                    size: 255GiB
                    capabilities: journaled extended_attributes large_files huge_files dir_nlink recover 64bit extents ext4 ext2 initialized
                    configuration: created=2018-10-03 23:53:09 filesystem=ext4 lastmountpoint=/ modified=2018-11-07 14:18:30 mount.fstype=ext4 mount.options=rw,relatime,errors=remount-ro,data=ordered mounted=2018-11-07 14:18:35 state=mounted
               *-volume:2
                    description: Linux swap volume
                    vendor: Linux
                    physical id: 3
                    bus info: [email protected]:0.0.0,3
                    logical name: /dev/sda3
                    version: 1
                    serial: 4d3fcff2-4e96-4b9b-a33f-5ed057b27010
                    size: 4095MiB
                    capacity: 4095MiB
                    capabilities: nofs swap initialized
                    configuration: filesystem=swap pagesize=4095
               *-volume:3
                    description: reserved partition
                    vendor: Windows
                    physical id: 4
                    bus info: [email protected]:0.0.0,4
                    logical name: /dev/sda4
                    serial: ee30992d-13ac-45d0-b565-23120e35a79f
                    capacity: 15MiB
                    capabilities: nofs precious readonly hidden nomount
                    configuration: name=Microsoft reserved partition
               *-volume:4
                    description: Windows NTFS volume
                    vendor: Windows
                    physical id: 5
                    bus info: [email protected]:0.0.0,5
                    logical name: /dev/sda5
                    version: 3.1
                    serial: 6cce6cbc-e08d-f74a-a148-0dfbfab2ee78
                    size: 205GiB
                    capacity: 205GiB
                    capabilities: ntfs initialized
                    configuration: clustersize=4096 created=2018-10-23 13:04:18 filesystem=ntfs name=Basic data partition state=clean
         *-scsi:1
              physical id: 2
              logical name: scsi1
              capabilities: emulated
            *-cdrom
                 description: DVD writer
                 product: DVDRW  DA8AESH
                 vendor: hp
                 physical id: 0.0.0
                 bus info: [email protected]:0.0.0
                 logical name: /dev/cdrom
                 logical name: /dev/cdrw
                 logical name: /dev/dvd
                 logical name: /dev/dvdrw
                 logical name: /dev/sr0
                 version: XH6M
                 capabilities: removable audio cd-r cd-rw dvd dvd-r
                 configuration: ansiversion=5 status=ready
               *-medium
                    physical id: 0
                    logical name: /dev/cdrom
      *-battery
           product: JC03031
           vendor: 133-42-6E
           physical id: 1
           version: ManufDate
           serial: 28927 03/13/2018
           slot: Primary
           capacity: 31207mWh
           configuration: voltage=10.9V
      *-power UNCLAIMED
           description: OEM Define 1
           product: OEM Define 5
           vendor: OEM Define 2
           physical id: 2
           version: OEM Define 6
           serial: OEM Define 3
           capacity: 75mWh
    The Mic is all crackly and sounds like it came from a Metal Gear game..... :< It's cool if you like that effect, but..... :3 Well, thank you for any help guys..... :3 Oh yeah, and I'm using Xubuntu with Pulseaudio..... :3


    (Log in to hide this advertisement)

     
  2. wizardfromoz

    wizardfromoz Super Moderator
    Staff Member Gold Supporter

    Joined:
    Apr 30, 2017
    Messages:
    1,704
    Likes Received:
    1,776
    G'day Adam :)

    Can you give us the outputs for the following?

    Code:
    lspci | grep -i audio
    
    # and then
    
    dmesg | grep snd
    I don't mind telling you that I fly by the seat of my Wizard's pants with audio/video, so I may not get the answer, anyone more knowledgeable can chip in at any time :D

    The problem is with the laptop's builtin mic, is that so? And what happens with a plugin mic?

    Wizard
     
    blackneos940 likes this.
  3. blackneos940

    blackneos940 Active Member

    Joined:
    May 16, 2017
    Messages:
    139
    Likes Received:
    78
    Hello good sir!..... :3 The output of lspci | grep -i audio is:

    Code:
    00:0e.0 Audio device: Intel Corporation Device 3198 (rev 03)
    And the output of dmesg | grep snd is:

    Code:
    [   16.891351] snd_hda_intel 0000:00:0e.0: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
    [   16.967061] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC3227: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
    [   16.967065] snd_hda_codec_realtek hdaudioC0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
    [   16.967067] snd_hda_codec_realtek hdaudioC0D0:    hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
    [   16.967068] snd_hda_codec_realtek hdaudioC0D0:    mono: mono_out=0x0
    [   16.967069] snd_hda_codec_realtek hdaudioC0D0:    inputs:
    [   16.967071] snd_hda_codec_realtek hdaudioC0D0:      Mic=0x19
    [   16.967073] snd_hda_codec_realtek hdaudioC0D0:      Internal Mic=0x12
    [  126.181779] snd_hda_intel 0000:00:0e.0: IRQ timing workaround is activated for card #0. Suggest a bigger bdl_pos_adj.
    Does that help.....? :3 Thank you SO much, good sir..... :3
     
  4. wizardfromoz

    wizardfromoz Super Moderator
    Staff Member Gold Supporter

    Joined:
    Apr 30, 2017
    Messages:
    1,704
    Likes Received:
    1,776
    Hey Adam I see you are online, I have some news but I will put it together and post it next 24

    Cheers and it's Friday in Oz so ...

    Avagudweegend

    Chris
     
    blackneos940 likes this.
  5. blackneos940

    blackneos940 Active Member

    Joined:
    May 16, 2017
    Messages:
    139
    Likes Received:
    78
    Yeah, it's one of those nights, up late in front of my Laptop geeking out..... :3
     
  6. blackneos940

    blackneos940 Active Member

    Joined:
    May 16, 2017
    Messages:
    139
    Likes Received:
    78
    It's liek 6:00 A.M. now..... :3
     
    wizardfromoz likes this.
  7. wizardfromoz

    wizardfromoz Super Moderator
    Staff Member Gold Supporter

    Joined:
    Apr 30, 2017
    Messages:
    1,704
    Likes Received:
    1,776
    G'day :)

    Thanks for the output. I ran the commands myself on this Linux Mint I am on, and it's worth noting similarities and differences. I have highlighted a part of yours as the most noticeable difference.

    Code:
    [email protected]:~$ lspci | grep -i audio
    00:1f.3 Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21)
    and

    Code:
    [email protected]:~$ dmesg | grep snd
    [    7.132211] snd_hda_intel 0000:00:1f.3: enabling device (0000 -> 0002)
    [    7.136796] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
    [    7.216515] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC3246: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
    [    7.216516] snd_hda_codec_realtek hdaudioC0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
    [    7.216517] snd_hda_codec_realtek hdaudioC0D0:    hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
    [    7.216518] snd_hda_codec_realtek hdaudioC0D0:    mono: mono_out=0x0
    [    7.216519] snd_hda_codec_realtek hdaudioC0D0:    inputs:
    [    7.216520] snd_hda_codec_realtek hdaudioC0D0:      Headset Mic=0x19
    [    7.216521] snd_hda_codec_realtek hdaudioC0D0:      Headphone Mic=0x1a
    [    7.216522] snd_hda_codec_realtek hdaudioC0D0:      Internal Mic=0x12
    Adam's

    Code:
    [   16.891351] snd_hda_intel 0000:00:0e.0: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
    [   16.967061] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC3227: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
    [   16.967065] snd_hda_codec_realtek hdaudioC0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
    [   16.967067] snd_hda_codec_realtek hdaudioC0D0:    hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
    [   16.967068] snd_hda_codec_realtek hdaudioC0D0:    mono: mono_out=0x0
    [   16.967069] snd_hda_codec_realtek hdaudioC0D0:    inputs:
    [   16.967071] snd_hda_codec_realtek hdaudioC0D0:      Mic=0x19
    [   16.967073] snd_hda_codec_realtek hdaudioC0D0:      Internal Mic=0x12
    [  126.181779] snd_hda_intel 0000:00:0e.0: IRQ timing workaround is activated for card #0. Suggest a bigger bdl_pos_adj.
    Now those figures for Headset Mic (in my case, "Mic" in yours) and Internal Mic, of 0x19 and 0x12 are, as I understand it, typical and normal.

    But the part, of yours, in red got me thinking.

    I ran a Google search under "linux lspci microphone" and also "IRQ timing workaround is activated for card #0. Suggest a bigger bdl_pos_adj" and found this, which also had links to two articles.

    https://unix.stackexchange.com/questions/203792/bdl-pos-adj-set-irq-timing-workaround-for-hda-intel

    Now I note you have pulseaudio rather than alsa but there might be similarities? There is also pavucontrol which you can install from Synaptic, may help.

    That's the best I can do for now.

    Cheers

    Wizard
     
    blackneos940 likes this.
  8. blackneos940

    blackneos940 Active Member

    Joined:
    May 16, 2017
    Messages:
    139
    Likes Received:
    78
    Thank you, Mr. Wizard!..... :3 I'll check the link out, and yes, it's interesting how similar our outputs are..... :3
     

Share This Page