Re: popping noise when switching tracks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 05/17/2013 03:04 PM, Torstein Hegge wrote:
> On Fri, May 17, 2013 at 09:16:49 +0200, B. Zhang wrote:
>> I have two alsa-info output for kernel 3.1 and 3.9. Attached.
>> A diff show me :
>> =======
>>   !!Module: snd_usb_audio
>> -    async_unlink : Y
>> ===========
>> I found there was a change https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/commit/sound/usb/card.c?id=20d32022a8d8639a33d0e429f2d3c51b527ea362
>> after kernel 3.4
>>
>> How you think about this ?
> That isn't related to the pops you are hearing, the commit just removes
> a module parameter, and the module parameter was set to the default
> value.

Yes ! I just made two tests.
- kernel 3.9.2 + "async_unlink", the problem still exists
- kernel 3.5.7, no "pops" noise,  and I see "feedback format = 8.16", so 
the noises are not caused by it.
> There is quite a bit of changes both in sound/usb and drivers/usb
> between 3.4 and 3.9. You could try to test with a 3.5 kernel and a 3.8
> kernel to narrow down where the problem is coming from. Testing with 3.6
> and 3.7 would require that you apply the fix for the "atomic DMA
> coherent pool is too small" issue.

I'll try 3.6 (and 3.7). Maybe it is caused by a drivers/usb change in 
kernel 3.6.

Thanks,
Bin
>
> You could also try to reproduce the issue with 3.9 on a different USB
> host, perhaps on x86 or something that isn't ARM.
>
>
> Torstein
>
>> upload=true&script=true&cardinfo=
>> !!################################
>> !!ALSA Information Script v 0.4.61
>> !!################################
>>
>> !!Script ran on: Tue Feb  5 23:07:26 UTC 2013
>>
>>
>> !!Linux Distribution
>> !!------------------
>>
>> Arch Linux \r (\l) NAME="Arch Linux ARM" ID=archarm ID_LIKE=arch PRETTY_NAME="Arch Linux ARM" HOME_URL="http://archlinuxarm.org/"; SUPPORT_URL="https://archlinuxarm.org/forum"; BUG_REPORT_URL="https://github.com/archlinuxarm/PKGBUILDs/issues";
>>
>>
>> !!DMI Information
>> !!---------------
>>
>> Manufacturer:
>> Product Name:
>> Product Version:
>> Firmware Version:
>>
>>
>> !!Kernel Information
>> !!------------------
>>
>> Kernel release:    3.1.10-15-ARCH
>> Operating System:  GNU/Linux
>> Architecture:      armv5tel
>> Processor:         unknown
>> SMP Enabled:       No
>>
>>
>> !!ALSA Version
>> !!------------
>>
>> Driver version:     1.0.24
>> Library version:    1.0.26
>> Utilities version:  1.0.26
>>
>>
>> !!Loaded ALSA modules
>> !!-------------------
>>
>> snd_usb_audio
>>
>>
>> !!Sound Servers on this system
>> !!----------------------------
>>
>> Jack:
>>        Installed - Yes (/usr/bin/jackd)
>>        Running - No
>>
>>
>> !!Soundcards recognised by ALSA
>> !!-----------------------------
>>
>>   0 [M20            ]: USB-Audio - M2Tech USB Audio 2.0
>>                        M2Tech M2Tech USB Audio 2.0 at usb-orion-ehci.0-1, high speed
>>
>>
>> !!PCI Soundcards installed in the system
>> !!--------------------------------------
>>
>>
>>
>> !!Advanced information - PCI Vendor/Device/Subsystem ID's
>> !!-------------------------------------------------------
>>
>>
>>
>> !!Loaded sound module options
>> !!---------------------------
>>
>> !!Module: snd_usb_audio
>> 	async_unlink : Y
>> 	device_setup : 0,0,0,0,0,0,0,0
>> 	enable : Y,Y,Y,Y,Y,Y,Y,Y
>> 	id : (null),(null),(null),(null),(null),(null),(null),(null)
>> 	ignore_ctl_error : N
>> 	index : -1,-1,-1,-1,-1,-1,-1,-1
>> 	nrpacks : 8
>> 	pid : -1,-1,-1,-1,-1,-1,-1,-1
>> 	vid : -1,-1,-1,-1,-1,-1,-1,-1
>>
>>
>> !!USB Mixer information
>> !!---------------------
>> --startcollapse--
>>
>> USB Mixer: usb_id=0x249c930b, ctrlif=0, ctlerr=0
>> Card: M2Tech M2Tech USB Audio 2.0 at usb-orion-ehci.0-1, high speed
>>    Unit: 10
>>      Control: name="M2Tech Clock Selector Playback Volume", index=1
>>      Info: id=10, control=2, cmask=0x0, channels=1, type="S16"
>>      Volume: min=-32512, max=0, dBmin=-12700, dBmax=0
>>    Unit: 10
>>      Control: name="M2Tech Clock Selector Playback Volume", index=0
>>      Info: id=10, control=2, cmask=0x3, channels=2, type="S16"
>>      Volume: min=-32512, max=0, dBmin=-12700, dBmax=0
>>    Unit: 10
>>      Control: name="M2Tech Clock Selector Playback Switch", index=1
>>      Info: id=10, control=1, cmask=0x0, channels=1, type="INV_BOOLEAN"
>>      Volume: min=0, max=1, dBmin=0, dBmax=0
>>    Unit: 10
>>      Control: name="M2Tech Clock Selector Playback Switch", index=0
>>      Info: id=10, control=1, cmask=0x3, channels=2, type="INV_BOOLEAN"
>>      Volume: min=0, max=1, dBmin=0, dBmax=0
>> --endcollapse--
>>
>>
>> !!ALSA/HDA dmesg
>> !!--------------
>>
>>
>>
>> upload=true&script=true&cardinfo=
>> !!################################
>> !!ALSA Information Script v 0.4.61
>> !!################################
>>
>> !!Script ran on: Fri May 17 06:20:10 UTC 2013
>>
>>
>> !!Linux Distribution
>> !!------------------
>>
>> Arch Linux \r (\l) NAME="Arch Linux ARM" ID=archarm ID_LIKE=arch PRETTY_NAME="Arch Linux ARM" HOME_URL="http://archlinuxarm.org/"; SUPPORT_URL="https://archlinuxarm.org/forum"; BUG_REPORT_URL="https://github.com/archlinuxarm/PKGBUILDs/issues";
>>
>>
>> !!DMI Information
>> !!---------------
>>
>> Manufacturer:
>> Product Name:
>> Product Version:
>> Firmware Version:
>>
>>
>> !!Kernel Information
>> !!------------------
>>
>> Kernel release:    3.9.2-3-ARCH
>> Operating System:  GNU/Linux
>> Architecture:      armv5tel
>> Processor:         unknown
>> SMP Enabled:       No
>>
>>
>> !!ALSA Version
>> !!------------
>>
>> Driver version:     k3.9.2-3-ARCH
>> Library version:    1.0.27
>> Utilities version:  1.0.27
>>
>>
>> !!Loaded ALSA modules
>> !!-------------------
>>
>> snd_usb_audio
>>
>>
>> !!Sound Servers on this system
>> !!----------------------------
>>
>> Jack:
>>        Installed - Yes (/usr/bin/jackd)
>>        Running - No
>>
>>
>> !!Soundcards recognised by ALSA
>> !!-----------------------------
>>
>>   0 [M20            ]: USB-Audio - M2Tech USB Audio 2.0
>>                        M2Tech M2Tech USB Audio 2.0 at usb-orion-ehci.0-1, high speed
>>
>>
>> !!PCI Soundcards installed in the system
>> !!--------------------------------------
>>
>>
>>
>> !!Advanced information - PCI Vendor/Device/Subsystem ID's
>> !!-------------------------------------------------------
>>
>>
>>
>> !!Loaded sound module options
>> !!---------------------------
>>
>> !!Module: snd_usb_audio
>> 	device_setup : 0,0,0,0,0,0,0,0
>> 	enable : Y,Y,Y,Y,Y,Y,Y,Y
>> 	id : (null),(null),(null),(null),(null),(null),(null),(null)
>> 	ignore_ctl_error : N
>> 	index : -1,-1,-1,-1,-1,-1,-1,-1
>> 	nrpacks : 8
>> 	pid : -1,-1,-1,-1,-1,-1,-1,-1
>> 	vid : -1,-1,-1,-1,-1,-1,-1,-1
>>
>>
>> !!USB Mixer information
>> !!---------------------
>> --startcollapse--
>>
>> USB Mixer: usb_id=0x249c930b, ctrlif=0, ctlerr=0
>> Card: M2Tech M2Tech USB Audio 2.0 at usb-orion-ehci.0-1, high speed
>>    Unit: 10
>>      Control: name="M2Tech Clock Selector Playback Volume", index=1
>>      Info: id=10, control=2, cmask=0x0, channels=1, type="S16"
>>      Volume: min=-32512, max=0, dBmin=-12700, dBmax=0
>>    Unit: 10
>>      Control: name="M2Tech Clock Selector Playback Volume", index=0
>>      Info: id=10, control=2, cmask=0x3, channels=2, type="S16"
>>      Volume: min=-32512, max=0, dBmin=-12700, dBmax=0
>>    Unit: 10
>>      Control: name="M2Tech Clock Selector Playback Switch", index=1
>>      Info: id=10, control=1, cmask=0x0, channels=1, type="INV_BOOLEAN"
>>      Volume: min=0, max=1, dBmin=0, dBmax=0
>>    Unit: 10
>>      Control: name="M2Tech Clock Selector Playback Switch", index=0
>>      Info: id=10, control=1, cmask=0x3, channels=2, type="INV_BOOLEAN"
>>      Volume: min=0, max=1, dBmin=0, dBmax=0
>> --endcollapse--
>>
>>
>> !!ALSA Device nodes
>> !!-----------------
>>
>> crw-rw---- 1 root audio 116,  0 May 17 01:39 /dev/snd/controlC0
>> crw-rw---- 1 root audio 116, 16 May 17 03:00 /dev/snd/pcmC0D0p
>> crw-rw---- 1 root audio 116,  1 May 17 01:39 /dev/snd/seq
>> crw-rw---- 1 root audio 116, 33 May 17 01:39 /dev/snd/timer
>>
>> /dev/snd/by-id:
>> total 0
>> drwxr-xr-x 2 root root  60 May 17 01:39 .
>> drwxr-xr-x 4 root root 160 May 17 01:39 ..
>> lrwxrwxrwx 1 root root  12 May 17 01:39 usb-M2Tech_M2Tech_USB_Audio_2.0_0000-00 -> ../controlC0
>>
>> /dev/snd/by-path:
>> total 0
>> drwxr-xr-x 2 root root  60 May 17 01:39 .
>> drwxr-xr-x 4 root root 160 May 17 01:39 ..
>> lrwxrwxrwx 1 root root  12 May 17 01:39 platform-orion-ehci.0-usb-0:1:1.0 -> ../controlC0
>>
>>
>> !!ALSA configuration files
>> !!------------------------
>>
>> !!System wide config file (/etc/asound.conf)
>>
>> pcm.!default {
>>          type hw
>>          card 0
>> }
>>
>> ctl.!default {
>>          type hw
>>          card 0
>> }
>>
>>
>> !!Aplay/Arecord output
>> !!--------------------
>>
>> APLAY
>>
>> **** List of PLAYBACK Hardware Devices ****
>> card 0: M20 [M2Tech USB Audio 2.0], device 0: USB Audio [USB Audio]
>>    Subdevices: 0/1
>>    Subdevice #0: subdevice #0
>>
>> ARECORD
>>
>> **** List of CAPTURE Hardware Devices ****
>>
>> !!Amixer output
>> !!-------------
>>
>> !!-------Mixer controls for card 0 [M20]
>>
>> Card hw:0 'M20'/'M2Tech M2Tech USB Audio 2.0 at usb-orion-ehci.0-1, high speed'
>>    Mixer name	: 'USB Mixer'
>>    Components	: 'USB249c:930b'
>>    Controls      : 4
>>    Simple ctrls  : 2
>> Simple mixer control 'M2Tech Clock Selector',0
>>    Capabilities: pvolume pswitch
>>    Playback channels: Front Left - Front Right
>>    Limits: Playback 0 - 127
>>    Mono:
>>    Front Left: Playback 127 [100%] [0.00dB] [on]
>>    Front Right: Playback 127 [100%] [0.00dB] [on]
>> Simple mixer control 'M2Tech Clock Selector',1
>>    Capabilities: pvolume pvolume-joined pswitch pswitch-joined
>>    Playback channels: Mono
>>    Limits: Playback 0 - 127
>>    Mono: Playback 127 [100%] [0.00dB] [on]
>>
>>
>> !!Alsactl output
>> !!--------------
>>
>> --startcollapse--
>> state.M20 {
>> 	control.1 {
>> 		iface MIXER
>> 		name 'M2Tech Clock Selector Playback Switch'
>> 		value.0 true
>> 		value.1 true
>> 		comment {
>> 			access 'read write'
>> 			type BOOLEAN
>> 			count 2
>> 		}
>> 	}
>> 	control.2 {
>> 		iface MIXER
>> 		name 'M2Tech Clock Selector Playback Switch'
>> 		index 1
>> 		value true
>> 		comment {
>> 			access 'read write'
>> 			type BOOLEAN
>> 			count 1
>> 		}
>> 	}
>> 	control.3 {
>> 		iface MIXER
>> 		name 'M2Tech Clock Selector Playback Volume'
>> 		value.0 127
>> 		value.1 127
>> 		comment {
>> 			access 'read write'
>> 			type INTEGER
>> 			count 2
>> 			range '0 - 127'
>> 			dbmin -12700
>> 			dbmax 0
>> 			dbvalue.0 0
>> 			dbvalue.1 0
>> 		}
>> 	}
>> 	control.4 {
>> 		iface MIXER
>> 		name 'M2Tech Clock Selector Playback Volume'
>> 		index 1
>> 		value 127
>> 		comment {
>> 			access 'read write'
>> 			type INTEGER
>> 			count 1
>> 			range '0 - 127'
>> 			dbmin -12700
>> 			dbmax 0
>> 			dbvalue.0 0
>> 		}
>> 	}
>> }
>> --endcollapse--
>>
>>
>> !!All Loaded Modules
>> !!------------------
>>
>> Module
>> snd_usb_audio
>> snd_usbmidi_lib
>> snd_hwdep
>> snd_pcm
>> snd_page_alloc
>> snd_rawmidi
>> snd_seq_device
>> snd_timer
>> snd
>> soundcore
>>
>>
>> !!ALSA/HDA dmesg
>> !!--------------
>>
>>
>>


------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user




[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux