Description of problem: On Fedora 16 and Fedora 15 wit the latest updates the microphone on Samsung N110 netbook does not work. Both the internal microphone and an external one record just noise. This is a regression from Fedora 15 with its initial kernel 2.6.38.6-26.rc1, where internal microphone just works. Version-Release number of selected component (if applicable): Fedora kernels starting at least from 2.6.41.1-1. How reproducible: Always. Steps to Reproduce: 1. Start Fedora 16 as a live disk, or install it and get all the updates. Alternatively install Fedora 15 and update it to the latest updates. 2. Run gnome-sound-recorder. Click the record button, tell something into microphone. Click the stop button. 3. Click the play button. Actual results: Only noise is heard. Expected results: The original sound should be recorded with reasonable quality. Additional info: On Fedora 15 booting with the original kernel fixes the problem. So it is clearly the kernel problem.
Created attachment 536861 [details] alsa-info ouput for working configuration (2.6.38 kernel) This is alsa-info output on Samsung N110 with Fedora 15 with all updates as of 2011-11-26 booted using the kernel 2.6.38.6-26.rc1 This configuration works.
Created attachment 536862 [details] alsa-info ouput with not working microphone configuration (2.6.41 kernel) This is alsa-info from Fedora 15 with all updates as of 2011-11-26 booted with 2.6.41.1-1.fc15 kernel. In this case on Samsung N110 the microphone record just noise.
For references here is a diff u output that compares working and not-working configs: @@ -3,7 +3,7 @@ !!ALSA Information Script v 0.4.60 !!################################ -!!Script ran on: Sat Nov 26 18:08:16 UTC 2011 +!!Script ran on: Sat Nov 26 18:01:25 UTC 2011 !!Linux Distribution @@ -23,7 +23,7 @@ !!Kernel Information !!------------------ -Kernel release: 2.6.38.6-26.rc1.fc15.i686 +Kernel release: 2.6.41.1-1.fc15.i686 Operating System: GNU/Linux Architecture: i686 Processor: i686 @@ -33,7 +33,7 @@ !!ALSA Version !!------------ -Driver version: 1.0.23 +Driver version: 1.0.24 Library version: 1.0.24 Utilities version: 1.0.24.1 @@ -164,11 +164,12 @@ Power: setting=D0, actual=D0 Node 0x07 [Vendor Defined Widget] wcaps 0xf00000: Mono Node 0x08 [Audio Input] wcaps 0x10051b: Stereo Amp-In - Control: name="Capture Switch", index=1, device=0 - Control: name="Capture Volume", index=1, device=0 + Control: name="Capture Switch", index=0, device=0 + Control: name="Capture Volume", index=0, device=0 + Device: name="ALC272 Analog", type="Audio", device=0 Amp-In caps: ofs=0x0b, nsteps=0x1f, stepsize=0x05, mute=1 - Amp-In vals: [0x8b 0x8b] - Converter: stream=0, channel=0 + Amp-In vals: [0x1f 0x1f] + Converter: stream=1, channel=0 SDI-Select: 0 PCM: rates [0x560]: 44100 48000 96000 192000 @@ -179,12 +180,9 @@ Connection: 1 0x23 Node 0x09 [Audio Input] wcaps 0x10051b: Stereo Amp-In - Control: name="Capture Switch", index=0, device=0 - Control: name="Capture Volume", index=0, device=0 - Device: name="ALC272 Analog", type="Audio", device=0 Amp-In caps: ofs=0x0b, nsteps=0x1f, stepsize=0x05, mute=1 - Amp-In vals: [0x1f 0x1f] - Converter: stream=1, channel=0 + Amp-In vals: [0x80 0x80] + Converter: stream=0, channel=0 SDI-Select: 0 PCM: rates [0x560]: 44100 48000 96000 192000 @@ -456,18 +454,18 @@ !!ALSA Device nodes !!----------------- -crw-rw----+ 1 root audio 116, 5 Nov 26 19:06 /dev/snd/controlC0 -crw-rw----+ 1 root audio 116, 4 Nov 26 19:06 /dev/snd/hwC0D0 -crw-rw----+ 1 root audio 116, 3 Nov 26 19:06 /dev/snd/pcmC0D0c -crw-rw----+ 1 root audio 116, 2 Nov 26 19:06 /dev/snd/pcmC0D0p -crw-rw----+ 1 root audio 116, 1 Nov 26 19:06 /dev/snd/seq -crw-rw----+ 1 root audio 116, 33 Nov 26 19:06 /dev/snd/timer +crw-rw----+ 1 root audio 116, 5 Nov 26 18:52 /dev/snd/controlC0 +crw-rw----+ 1 root audio 116, 4 Nov 26 18:52 /dev/snd/hwC0D0 +crw-rw----+ 1 root audio 116, 3 Nov 26 18:53 /dev/snd/pcmC0D0c +crw-rw----+ 1 root audio 116, 2 Nov 26 18:54 /dev/snd/pcmC0D0p +crw-rw----+ 1 root audio 116, 1 Nov 26 18:52 /dev/snd/seq +crw-rw----+ 1 root audio 116, 33 Nov 26 18:52 /dev/snd/timer /dev/snd/by-path: total 0 -drwxr-xr-x 2 root root 60 Nov 26 19:06 . -drwxr-xr-x 3 root root 180 Nov 26 19:06 .. -lrwxrwxrwx 1 root root 12 Nov 26 19:06 pci-0000:00:1b.0 -> ../controlC0 +drwxr-xr-x 2 root root 60 Nov 26 18:52 . +drwxr-xr-x 3 root root 180 Nov 26 18:52 .. +lrwxrwxrwx 1 root root 12 Nov 26 18:52 pci-0000:00:1b.0 -> ../controlC0 !!ALSA configuration files @@ -515,8 +513,8 @@ Card hw:0 'Intel'/'HDA Intel at 0xf0340000 irq 44' Mixer name : 'Realtek ALC272' Components : 'HDA:10ec0272,144dca00,00100001' - Controls : 19 - Simple ctrls : 11 + Controls : 17 + Simple ctrls : 10 Simple mixer control 'Master',0 Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum Playback channels: Mono @@ -570,12 +568,6 @@ Limits: Capture 0 - 31 Front Left: Capture 31 [100%] [30.00dB] [on] Front Right: Capture 31 [100%] [30.00dB] [on] -Simple mixer control 'Capture',1 - Capabilities: cvolume cswitch penum - Capture channels: Front Left - Front Right - Limits: Capture 0 - 31 - Front Left: Capture 11 [35%] [0.00dB] [off] - Front Right: Capture 11 [35%] [0.00dB] [off] Simple mixer control 'Internal Mic',0 Capabilities: pvolume pswitch penum Playback channels: Front Left - Front Right @@ -750,18 +742,6 @@ } control.12 { iface MIXER - name 'Capture Switch' - index 1 - value.0 false - value.1 false - comment { - access 'read write' - type BOOLEAN - count 2 - } - } - control.13 { - iface MIXER name 'Capture Volume' value.0 31 value.1 31 @@ -776,24 +756,7 @@ dbvalue.1 3000 } } - control.14 { - iface MIXER - name 'Capture Volume' - index 1 - value.0 11 - value.1 11 - comment { - access 'read write' - type INTEGER - count 2 - range '0 - 31' - dbmin -1650 - dbmax 3000 - dbvalue.0 0 - dbvalue.1 0 - } - } - control.15 { + control.13 { iface MIXER name 'Beep Playback Volume' value.0 23 @@ -809,7 +772,7 @@ dbvalue.1 0 } } - control.16 { + control.14 { iface MIXER name 'Beep Playback Switch' value.0 false @@ -820,7 +783,7 @@ count 2 } } - control.17 { + control.15 { iface MIXER name 'Master Playback Volume' value 44 @@ -834,7 +797,7 @@ dbvalue.0 -2000 } } - control.18 { + control.16 { iface MIXER name 'Master Playback Switch' value true @@ -844,7 +807,7 @@ count 1 } } - control.19 { + control.17 { iface MIXER name 'PCM Playback Volume' value.0 255 @@ -872,8 +835,8 @@ fuse cpufreq_ondemand acpi_cpufreq -8021q mperf +8021q garp stp llc @@ -882,36 +845,39 @@ nf_defrag_ipv6 ip6table_filter ip6_tables -sco +nf_conntrack_ipv4 +nf_defrag_ipv4 +xt_state +nf_conntrack bnep -l2cap bluetooth -arc4 snd_hda_codec_realtek snd_hda_intel -iwlagn snd_hda_codec snd_hwdep +arc4 snd_seq snd_seq_device -iwlcore -uvcvideo -mac80211 snd_pcm -i2c_i801 +iwlagn +mac80211 iTCO_wdt -sky2 -iTCO_vendor_support -videodev +cfg80211 snd_timer +samsung_laptop +iTCO_vendor_support snd -cfg80211 +rfkill +sky2 +uvcvideo +videodev soundcore +i2c_i801 snd_page_alloc -rfkill -serio_raw +media microcode joydev +serio_raw ipv6 i915 drm_kms_helper @@ -950,26 +916,25 @@ !!ALSA/HDA dmesg !!------------------ -[ 19.460240] iwlagn 0000:02:00.0: irq 43 for MSI/MSI-X -[ 19.460701] HDA Intel 0000:00:1b.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22 -[ 19.460829] HDA Intel 0000:00:1b.0: irq 44 for MSI/MSI-X -[ 19.460892] HDA Intel 0000:00:1b.0: setting latency timer to 64 -[ 19.497649] iwlagn 0000:02:00.0: loaded firmware version 9.221.4.1 build 25532 +[ 19.282586] ieee80211 phy0: Selected rate control algorithm 'iwl-agn-rs' +[ 19.312716] snd_hda_intel 0000:00:1b.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22 +[ 19.312843] snd_hda_intel 0000:00:1b.0: irq 44 for MSI/MSI-X +[ 19.312915] snd_hda_intel 0000:00:1b.0: setting latency timer to 64 +[ 19.382197] ALSA sound/pci/hda/patch_realtek.c:1212 SKU: Nid=0x1d sku_cfg=0x40168e0d +[ 19.382209] ALSA sound/pci/hda/patch_realtek.c:1214 SKU: port_connectivity=0x1 +[ 19.382219] ALSA sound/pci/hda/patch_realtek.c:1215 SKU: enable_pcbeep=0x1 +[ 19.382228] ALSA sound/pci/hda/patch_realtek.c:1216 SKU: check_sum=0x00000006 +[ 19.382237] ALSA sound/pci/hda/patch_realtek.c:1217 SKU: customization=0x0000008e +[ 19.382247] ALSA sound/pci/hda/patch_realtek.c:1218 SKU: external_amp=0x1 +[ 19.382256] ALSA sound/pci/hda/patch_realtek.c:1219 SKU: platform_type=0x1 +[ 19.382265] ALSA sound/pci/hda/patch_realtek.c:1220 SKU: swap=0x0 +[ 19.382274] ALSA sound/pci/hda/patch_realtek.c:1221 SKU: override=0x1 +[ 19.394730] input: HDA Intel Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input8 +[ 19.395127] input: HDA Intel Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input9 +[ 19.494262] Adding 2094076k swap on /dev/sda2. Priority:0 extents:1 across:2094076k -- -[ 19.545682] cfg80211: (5490000 KHz - 5710000 KHz @ 40000 KHz), (N/A, 2700 mBm) -[ 19.623927] ALSA sound/pci/hda/patch_realtek.c:1528: SKU: Nid=0x1d sku_cfg=0x40168e0d -[ 19.623941] ALSA sound/pci/hda/patch_realtek.c:1530: SKU: port_connectivity=0x1 -[ 19.623950] ALSA sound/pci/hda/patch_realtek.c:1531: SKU: enable_pcbeep=0x1 -[ 19.623960] ALSA sound/pci/hda/patch_realtek.c:1532: SKU: check_sum=0x00000006 -[ 19.623969] ALSA sound/pci/hda/patch_realtek.c:1533: SKU: customization=0x0000008e -[ 19.623978] ALSA sound/pci/hda/patch_realtek.c:1534: SKU: external_amp=0x1 -[ 19.623987] ALSA sound/pci/hda/patch_realtek.c:1535: SKU: platform_type=0x1 -[ 19.623997] ALSA sound/pci/hda/patch_realtek.c:1536: SKU: swap=0x0 -[ 19.624048] ALSA sound/pci/hda/patch_realtek.c:1537: SKU: override=0x1 -[ 19.636366] input: HDA Intel Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input8 -[ 19.696404] ieee80211 phy0: Selected rate control algorithm 'iwl-agn-rs' -[ 20.046954] EXT4-fs (sda3): mounted filesystem with ordered data mode. Opts: (null) -[ 20.480961] alsactl[651]: Found hardware: "HDA-Intel" "Realtek ALC272" "HDA:10ec0272,144dca00,00100001" "0x144d" "0xca00" -[ 20.481055] alsactl[651]: Hardware is initialized using a generic method +[ 19.785430] EXT4-fs (sda3): mounted filesystem with ordered data mode. Opts: (null) +[ 20.139531] alsactl[656]: Found hardware: "HDA-Intel" "Realtek ALC272" "HDA:10ec0272,144dca00,00100001" "0x144d" "0xca00" +[ 20.139572] alsactl[656]: Hardware is initialized using a generic method
Let me know if alsa-info output for Fedora 16 Live CD image is necessary - when I tried it I got the same behavior as with 2.6.41 kernel on Fedora 15. That is, the microphone recorded just static noise.
I confirm this bug. I have the same problem on F15 (latest updates) and F16 live, both x86_64, using a Pleomax webcam, which I think is a Samsung brand. When I record sounds (arecord -d 5 -D "plughw:4,0" -f S16_LE test-mic.wav) from the webcam, the green LED is on and sound is recorded with kernels up to 2.6.38.6-26.rc1.fc15.x86_64. Doing the same thing with kernels from 2.6.40.6-0.fc15.x86_64 and up, there's no LED and no sound recorded. Well, something is recorded but it's just a big 'thump' in the beginning continuing with some slight static noise. Pleomax webcam device: Bus 001 Device 002: ID 04f2:a13b Chicony Electronics Co., Ltd Please let me know if you need more information about my hardware or anything else. Thanks
[mass update] kernel-3.3.0-4.fc16 has been pushed to the Fedora 16 stable repository. Please retest with this update.
(In reply to comment #8) > [mass update] > kernel-3.3.0-4.fc16 has been pushed to the Fedora 16 stable repository. > Please retest with this update. I didn't test kernel-3.3.0-4.fc16 but I did test the current F16 kernel (3.3.1-3.fc16.x86_64) and unfortunately the behavior is the same as before. Here are the tests I did: F16 initial kernel: [nils@localhost ~]$ arecord -l **** List of CAPTURE Hardware Devices **** card 0: M1010 [M Audio Delta 1010], device 0: ICE1712 multi [ICE1712 multi] Subdevices: 1/1 Subdevice #0: subdevice #0 card 1: Webcam [PLEOMAX 1.3MP UVC Webcam], device 0: USB Audio [USB Audio] Subdevices: 1/1 Subdevice #0: subdevice #0 card 2: Intel [HDA Intel], device 0: ALC889A Analog [ALC889A Analog] Subdevices: 1/1 Subdevice #0: subdevice #0 card 2: Intel [HDA Intel], device 1: ALC889A Digital [ALC889A Digital] Subdevices: 1/1 Subdevice #0: subdevice #0 card 2: Intel [HDA Intel], device 2: ALC889A Analog [ALC889A Analog] Subdevices: 2/2 Subdevice #0: subdevice #0 Subdevice #1: subdevice #1 [nils@localhost ~]$ arecord -d 5 -D "plughw:1,0" -f S16_LE test-mic_`uname -r`.wav Recording WAVE 'test-mic_3.1.0-7.fc16.x86_64.wav' : Signed 16 bit Little Endian, Rate 8000 Hz, Mono [nils@localhost ~]$ aplay -D plug:dmix test-mic_3.1.0-7.fc16.x86_64.wav Playing WAVE 'test-mic_3.1.0-7.fc16.x86_64.wav' : Signed 16 bit Little Endian, Rate 8000 Hz, Mono F16 kernel 3.3.1-3.fc16.x86_64: [nils@localhost ~]$ arecord -d 5 -D "plughw:1,0" -f S16_LE test-mic_`uname -r`.wav Recording WAVE 'test-mic_3.3.1-3.fc16.x86_64.wav' : Signed 16 bit Little Endian, Rate 8000 Hz, Mono [nils@localhost ~]$ aplay -D plug:dmix test-mic_3.3.1-3.fc16.x86_64.wav Playing WAVE 'test-mic_3.3.1-3.fc16.x86_64.wav' : Signed 16 bit Little Endian, Rate 8000 Hz, Mono
For a different need (music recording), I've built a minimal RT kernel from 3.2.15 for my F16 installation. I found out that with this kernel the sound from my webcam works! So this seems now to be a Fedora distribution issue. At the moment I don't have much more information to provide about this but please let me know if there's any information about my kernel configuration that could be of any interest.
In F16 with all the updates and in in F17 the microphone works.