Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Noise on Mic
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
Facu
n00b
n00b


Joined: 18 Nov 2013
Posts: 47
Location: Localhost

PostPosted: Wed Jul 30, 2014 6:25 am    Post subject: Noise on Mic Reply with quote

Hi all! :)
I hope someone can help me please. I'm having issues with the microphone. I can't get this works :/
I have a realtek ALC887-VD2 sound card, and a eye PS3 cam. none of them works. I just can get an awful noise of background. I tried connecting the mic (headphones) on the back and on the front. The eye cam works fine with video, but nothing of sound :/

aplay -l
Quote:

**** List of PLAYBACK Hardware Devices ****
card 0: Dummy [Dummy], device 0: Dummy PCM [Dummy PCM]
Subdevices: 8/8
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
Subdevice #4: subdevice #4
Subdevice #5: subdevice #5
Subdevice #6: subdevice #6
Subdevice #7: subdevice #7
card 1: HDMI [HDA Intel HDMI], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: HDMI [HDA Intel HDMI], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: HDMI [HDA Intel HDMI], device 8: HDMI 2 [HDMI 2]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: PCH [HDA Intel PCH], device 0: ALC887-VD Analog [ALC887-VD Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0


lspci -v
Quote:

00:00.0 Host bridge: Intel Corporation 4th Gen Core Processor DRAM Controller (rev 06)
Subsystem: ASUSTeK Computer Inc. Device 8534
Flags: bus master, fast devsel, latency 0
Capabilities: [e0] Vendor Specific Information: Len=0c <?>

00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor PCI Express x16 Controller (rev 06) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
Capabilities: [88] Subsystem: ASUSTeK Computer Inc. Device 8534
Capabilities: [80] Power Management version 3
Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
Capabilities: [a0] Express Root Port (Slot+), MSI 00
Capabilities: [100] Virtual Channel
Capabilities: [140] Root Complex Link
Capabilities: [d94] #19
Kernel driver in use: pcieport

00:02.0 VGA compatible controller: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller (rev 06) (prog-if 00 [VGA controller])
Subsystem: ASUSTeK Computer Inc. Device 8534
Flags: bus master, fast devsel, latency 0, IRQ 43
Memory at f7800000 (64-bit, non-prefetchable) [size=4M]
Memory at e0000000 (64-bit, prefetchable) [size=256M]
I/O ports at f000 [size=64]
Expansion ROM at <unassigned> [disabled]
Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
Capabilities: [d0] Power Management version 2
Capabilities: [a4] PCI Advanced Features
Kernel driver in use: i915

00:03.0 Audio device: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller (rev 06)
Subsystem: ASUSTeK Computer Inc. Device 8534
Flags: bus master, fast devsel, latency 0, IRQ 47
Memory at f7c14000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [50] Power Management version 2
Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit-
Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
Kernel driver in use: snd_hda_intel

00:14.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI (rev 05) (prog-if 30 [XHCI])
Subsystem: ASUSTeK Computer Inc. Device 8534
Flags: bus master, medium devsel, latency 0, IRQ 46
Memory at f7c00000 (64-bit, non-prefetchable) [size=64K]
Capabilities: [70] Power Management version 2
Capabilities: [80] MSI: Enable+ Count=1/8 Maskable- 64bit+
Kernel driver in use: xhci_hcd

00:16.0 Communication controller: Intel Corporation 8 Series/C220 Series Chipset Family MEI Controller #1 (rev 04)
Subsystem: ASUSTeK Computer Inc. Device 8534
Flags: bus master, fast devsel, latency 0, IRQ 11
Memory at f7c1f000 (64-bit, non-prefetchable) [size=16]
Capabilities: [50] Power Management version 3
Capabilities: [8c] MSI: Enable- Count=1/1 Maskable- 64bit+

00:1a.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #2 (rev 05) (prog-if 20 [EHCI])
Subsystem: ASUSTeK Computer Inc. Device 8534
Flags: bus master, medium devsel, latency 0, IRQ 20
Memory at f7c1c000 (32-bit, non-prefetchable) [size=1K]
Capabilities: [50] Power Management version 2
Capabilities: [58] Debug port: BAR=1 offset=00a0
Capabilities: [98] PCI Advanced Features
Kernel driver in use: ehci-pci

00:1b.0 Audio device: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller (rev 05)
Subsystem: ASUSTeK Computer Inc. Device 8576
Flags: bus master, fast devsel, latency 0, IRQ 48
Memory at f7c10000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [50] Power Management version 2
Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
Capabilities: [100] Virtual Channel
Kernel driver in use: snd_hda_intel

00:1c.0 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #1 (rev d5) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
I/O behind bridge: 00002000-00002fff
Memory behind bridge: de200000-de3fffff
Prefetchable memory behind bridge: 00000000de400000-00000000de5fffff
Capabilities: [40] Express Root Port (Slot+), MSI 00
Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
Capabilities: [90] Subsystem: ASUSTeK Computer Inc. Device 8534
Capabilities: [a0] Power Management version 3
Kernel driver in use: pcieport

00:1c.2 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #3 (rev d5) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
I/O behind bridge: 0000e000-0000efff
Prefetchable memory behind bridge: 00000000f0000000-00000000f00fffff
Capabilities: [40] Express Root Port (Slot+), MSI 00
Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
Capabilities: [90] Subsystem: ASUSTeK Computer Inc. Device 8534
Capabilities: [a0] Power Management version 3
Kernel driver in use: pcieport

00:1d.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #1 (rev 05) (prog-if 20 [EHCI])
Subsystem: ASUSTeK Computer Inc. Device 8534
Flags: bus master, medium devsel, latency 0, IRQ 23
Memory at f7c1b000 (32-bit, non-prefetchable) [size=1K]
Capabilities: [50] Power Management version 2
Capabilities: [58] Debug port: BAR=1 offset=00a0
Capabilities: [98] PCI Advanced Features
Kernel driver in use: ehci-pci

00:1f.0 ISA bridge: Intel Corporation B85 Express LPC Controller (rev 05)
Subsystem: ASUSTeK Computer Inc. Device 8534
Flags: bus master, medium devsel, latency 0
Capabilities: [e0] Vendor Specific Information: Len=0c <?>

00:1f.2 SATA controller: Intel Corporation 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode] (rev 05) (prog-if 01 [AHCI 1.0])
Subsystem: ASUSTeK Computer Inc. Device 8534
Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 44
I/O ports at f0b0 [size=8]
I/O ports at f0a0 [size=4]
I/O ports at f090 [size=8]
I/O ports at f080 [size=4]
I/O ports at f060 [size=32]
Memory at f7c1a000 (32-bit, non-prefetchable) [size=2K]
Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
Capabilities: [70] Power Management version 3
Capabilities: [a8] SATA HBA v1.0
Kernel driver in use: ahci

00:1f.3 SMBus: Intel Corporation 8 Series/C220 Series Chipset Family SMBus Controller (rev 05)
Subsystem: ASUSTeK Computer Inc. Device 8534
Flags: medium devsel, IRQ 18
Memory at f7c19000 (64-bit, non-prefetchable) [size=256]
I/O ports at f040 [size=32]
Kernel modules: i2c_i801

03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 09)
Subsystem: ASUSTeK Computer Inc. P8H77-I Motherboard
Flags: bus master, fast devsel, latency 0, IRQ 45
I/O ports at e000 [size=256]
Memory at f0004000 (64-bit, prefetchable) [size=4K]
Memory at f0000000 (64-bit, prefetchable) [size=16K]
Capabilities: [40] Power Management version 3
Capabilities: [50] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [70] Express Endpoint, MSI 01
Capabilities: [b0] MSI-X: Enable- Count=4 Masked-
Capabilities: [d0] Vital Product Data
Capabilities: [100] Advanced Error Reporting
Capabilities: [140] Virtual Channel
Capabilities: [160] Device Serial Number 4d-00-00-00-68-4c-e0-00
Kernel driver in use: r8169


lsusb
Quote:

Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 002: ID 1415:2000 Nam Tai E&E Products Ltd. or OmniVision Technologies, Inc. Sony Playstation Eye
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 002: ID 8087:8000 Intel Corp.
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:8008 Intel Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


I don't know what other information can you give. I am an awful newbie configuring the sound, I don't even know how I made walking the speakers jaja :lol:

I hope can help me please. Thank you!!

P.D: I speak spanish, sorry for mistakes
Back to top
View user's profile Send private message
natrix
Guru
Guru


Joined: 23 Aug 2013
Posts: 556

PostPosted: Thu Jul 31, 2014 3:28 am    Post subject: Reply with quote

Hi spanish partner :wink:

If you have ALSA, check the volumen control of each device. You can run "alsamixer" in console.

If you have pulseaudio, try emerging "pavucontrol" and check each device.
Back to top
View user's profile Send private message
Facu
n00b
n00b


Joined: 18 Nov 2013
Posts: 47
Location: Localhost

PostPosted: Thu Jul 31, 2014 3:30 am    Post subject: Reply with quote

Everything is 100% and without muting. :/
Back to top
View user's profile Send private message
natrix
Guru
Guru


Joined: 23 Aug 2013
Posts: 556

PostPosted: Thu Jul 31, 2014 5:52 pm    Post subject: Reply with quote

Do You have active devices in the kernel?

Realtek is enabled with Intel-HD sound. The cam in USB and Multimedia.

What used to check the microphone? I recommend guvcview.

Show the "journalctl -b" or "dmesg" please.
Back to top
View user's profile Send private message
Facu
n00b
n00b


Joined: 18 Nov 2013
Posts: 47
Location: Localhost

PostPosted: Thu Jul 31, 2014 7:48 pm    Post subject: Reply with quote

This is the sound I can get from guvcview:

http://box.jisko.net/d/03d53847

This is the most I can show from dmesg. I have shorted the loging. (just 13k)

Quote:

[ 0.655013] usbcore: registered new interface driver usbhid
[ 0.655436] usbhid: USB HID core driver
[ 0.656222] snd_hda_intel 0000:00:03.0: irq 47 for MSI/MSI-X
[ 0.656306] snd_hda_intel 0000:00:1b.0: irq 48 for MSI/MSI-X
[ 0.660765] hda_codec: invalid CONNECT_LIST verb 5[1]:0
[ 0.661271] hda_codec: invalid CONNECT_LIST verb 6[1]:0
[ 0.661759] hda_codec: invalid CONNECT_LIST verb 7[1]:0
[ 0.671771] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input3
[ 0.675233] TCP: cubic registered
[ 0.675646] Initializing XFRM netlink socket
[ 0.676420] Bridge firewalling registered
[ 0.677234] registered taskstats version 1
[ 0.677835] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[ 0.891046] ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[ 0.892027] ata1.00: ATA-8: WDC WD10EZEX-00KUWA0, 15.01H15, max UDMA/133
[ 0.892441] ata1.00: 1953525168 sectors, multi 16: LBA48 NCQ (depth 31/32), AA
[ 0.892869] ata6: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[ 0.894012] ata1.00: configured for UDMA/133
[ 0.894545] scsi 0:0:0:0: Direct-Access ATA WDC WD10EZEX-00K 15.0 PQ: 0 ANSI: 5
[ 0.895259] sd 0:0:0:0: [sda] 1953525168 512-byte logical blocks: (1.00 TB/931 GiB)
[ 0.895418] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 0.896155] sd 0:0:0:0: [sda] 4096-byte physical blocks
[ 0.896592] sd 0:0:0:0: [sda] Write Protect is off
[ 0.896990] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 0.897005] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 0.904448] ACPI Error: [DSSP] Namespace lookup failure, AE_NOT_FOUND (20130725/psargs-359)
[ 0.904902] ACPI Error: Method parse/execution failed [\_SB_.PCI0.SAT0.SPT5._GTF] (Node ffff88011b4c6920), AE_NOT_FOUND (20130725/psparse-536)
[ 0.906231] ata6.00: ATA-8: KINGSTON SV300S37A120G, 505ABBF1, max UDMA/133
[ 0.906731] ata6.00: 234441648 sectors, multi 16: LBA48 NCQ (depth 31/32), AA
[ 0.908040] usb 1-1: new high-speed USB device number 2 using ehci-pci
[ 0.914435] ACPI Error: [DSSP] Namespace lookup failure, AE_NOT_FOUND (20130725/psargs-359)
[ 0.914944] ACPI Error: Method parse/execution failed [\_SB_.PCI0.SAT0.SPT5._GTF] (Node ffff88011b4c6920), AE_NOT_FOUND (20130725/psparse-536)
[ 0.916372] ata6.00: configured for UDMA/133
[ 0.916999] scsi 5:0:0:0: Direct-Access ATA KINGSTON SV300S3 505A PQ: 0 ANSI: 5
[ 0.917819] sd 5:0:0:0: [sdb] 234441648 512-byte logical blocks: (120 GB/111 GiB)
[ 0.917916] sd 5:0:0:0: Attached scsi generic sg1 type 0
[ 0.919006] sd 5:0:0:0: [sdb] Write Protect is off
[ 0.919569] sd 5:0:0:0: [sdb] Mode Sense: 00 3a 00 00
[ 0.919577] sd 5:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 0.920429] sdb: sdb1 sdb2 sdb3
[ 0.921302] sd 5:0:0:0: [sdb] Attached SCSI disk
[ 0.961870] sda: sda1
[ 0.962668] sd 0:0:0:0: [sda] Attached SCSI disk
[ 1.022254] usb 1-1: New USB device found, idVendor=8087, idProduct=8008
[ 1.022879] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 1.023812] hub 1-1:1.0: USB hub found
[ 1.024496] hub 1-1:1.0: 6 ports detected
[ 1.105963] psmouse serio1: alps: Unknown ALPS touchpad: E7=10 00 64, EC=10 00 64
[ 1.127904] usb 2-1: new high-speed USB device number 2 using ehci-pci
[ 1.242125] usb 2-1: New USB device found, idVendor=8087, idProduct=8000
[ 1.242770] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 1.243711] hub 2-1:1.0: USB hub found
[ 1.244367] hub 2-1:1.0: 6 ports detected
[ 1.345826] tsc: Refined TSC clocksource calibration: 3399.997 MHz
[ 1.398737] usb 3-9: new high-speed USB device number 2 using xhci_hcd
[ 1.412151] usb 3-9: New USB device found, idVendor=1415, idProduct=2000
[ 1.412801] usb 3-9: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 1.413434] usb 3-9: Manufacturer: OmniVision Technologies, Inc.
[ 1.414455] gspca_main: ov534-2.14.0 probing 1415:2000
[ 1.616777] input: ImPS/2 Generic Wheel Mouse as /devices/platform/i8042/serio1/input/input5
[ 1.727554] [drm] Enabling RC6 states: RC6 on, RC6p off, RC6pp off
[ 2.345277] Switched to clocksource tsc
[ 2.542670] ALSA device list:
[ 2.543296] #0: Dummy 1
[ 2.543913] #1: HDA Intel HDMI at 0xf7c14000 irq 47
[ 2.544539] #2: HDA Intel PCH at 0xf7c10000 irq 48
[ 2.545284] EXT3-fs (sdb2): error: couldn't mount because of unsupported optional features (240)
[ 2.545939] EXT2-fs (sdb2): error: couldn't mount because of unsupported optional features (240)
[ 2.547921] EXT4-fs (sdb2): mounted filesystem with ordered data mode. Opts: (null)
[ 2.548518] VFS: Mounted root (ext4 filesystem) readonly on device 8:18.
[ 2.549478] Freeing unused kernel memory: 920K (ffffffff81ac0000 - ffffffff81ba6000)
[ 2.550038] Write protecting the kernel read-only data: 10240k
[ 2.550806] Freeing unused kernel memory: 88K (ffff8800015ea000 - ffff880001600000)
[ 2.554395] Freeing unused kernel memory: 1856K (ffff880001830000 - ffff880001a00000)
[ 2.735051] systemd-udevd[1191]: starting version 215
[ 2.762561] ACPI: Fan [FAN0] (off)
[ 2.762598] ACPI: Fan [FAN1] (off)
[ 2.762627] ACPI: Fan [FAN2] (off)
[ 2.762653] ACPI: Fan [FAN3] (off)
[ 2.762680] ACPI: Fan [FAN4] (off)
[ 2.762763] rtc_cmos 00:06: RTC can wake from S4
[ 2.762991] rtc_cmos 00:06: rtc core: registered rtc_cmos as rtc0
[ 2.763020] rtc_cmos 00:06: alarms up to one month, y3k, 242 bytes nvram, hpet irqs
[ 2.766189] ACPI Warning: 0x000000000000f040-0x000000000000f05f SystemIO conflicts with Region \_SB_.PCI0.SBUS.SMBI 1 (20130725/utaddress-251)
[ 2.766193] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
[ 2.779478] alg: No test for __gcm-aes-aesni (__driver-gcm-aes-aesni)
[ 2.782953] systemd-udevd[1206]: renamed network interface eth0 to enp3s0
[ 4.427581] Adding 4189180k swap on /dev/sdb1. Priority:-1 extents:1 across:4189180k SSDscFS
[ 4.459481] EXT4-fs (sdb2): re-mounted. Opts: discard
[ 4.498570] EXT4-fs (sdb3): mounted filesystem with ordered data mode. Opts: discard
[ 4.534393] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
[ 4.682346] r8169 0000:03:00.0 enp3s0: unable to load firmware patch rtl_nic/rtl8168f-1.fw (-2)
[ 4.689680] r8169 0000:03:00.0 enp3s0: link down
[ 4.689709] r8169 0000:03:00.0 enp3s0: link down
[ 6.279533] r8169 0000:03:00.0 enp3s0: link up
[ 6.289085] NET: Registered protocol family 17


I can't find a "journalctl" on emerge

Thank you for help!
Back to top
View user's profile Send private message
szatox
Advocate
Advocate


Joined: 27 Aug 2013
Posts: 3131

PostPosted: Thu Jul 31, 2014 8:09 pm    Post subject: Reply with quote

I know 2 pitfalls with sound:
1) mic boost (usualy you can empower your mic by 20db) - this must be enabled in mixer controls before you can get any sensible input
2) sometimes it's nessesery to provide additional options to kernel modules. /etc/modprobe.d/alsa.conf is the good place to do so, however you would have to know what to append there. In my case I my sound device appears as 2 devices (and only 1 of those work), and I had to provide options that would make correct one selected as system default.
No idea if any of those could be of any help to you, but I though it might be worth to point those directions.

Ah, and that "awful noise of background" often comes from inputs hanging in the air. If you attach some other device, it should ground the noise for you. Otherwise, you can simply mute inputs you don't use :)
Back to top
View user's profile Send private message
Facu
n00b
n00b


Joined: 18 Nov 2013
Posts: 47
Location: Localhost

PostPosted: Fri Aug 01, 2014 5:03 am    Post subject: Reply with quote

szatox wrote:
I know 2 pitfalls with sound:
1) mic boost (usualy you can empower your mic by 20db) - this must be enabled in mixer controls before you can get any sensible input

This didn't work :/
szatox wrote:
I know 2 pitfalls with sound:
2) sometimes it's nessesery to provide additional options to kernel modules. /etc/modprobe.d/alsa.conf is the good place to do so, however you would have to know what to append there. In my case I my sound device appears as 2 devices (and only 1 of those work), and I had to provide options that would make correct one selected as system default.
No idea if any of those could be of any help to you, but I though it might be worth to point those directions.

Ah, and that "awful noise of background" often comes from inputs hanging in the air. If you attach some other device, it should ground the noise for you. Otherwise, you can simply mute inputs you don't use :)


I'm not sure what to do :P. I can't understand the alsa.conf file. :oops:

Someone that have more ideas? :roll:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
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