Takashi,
On Thu, 2014-01-23 at 17:29 +0100, Takashi Iwai wrote:
Which machine and codec? For example, Lenovo IdeaPad with ALC269 is known to be broken with 48kHz, so we have a fixed rate limitation in the driver.
it is a hpmini. I have this from dmesg:
[ 9.638142] hda_codec: 92HD81B1X5: Apply fix-func for HP [ 9.639859] hda-codec: Enable HP auto-muting on NID 0xb [ 9.639888] hda-codec: Enable auto-mic switch on NID 0x11/0xa/0x0 [ 9.642312] hda_codec: 92HD81B1X5: Apply fix-func for HP
Other than the hardware restriction, you may play more with position_fix or bdl_pos_adj option of snd-hda-intel driver.
thank you for the advice. I'll take a look on these params to see what they do. However, because my sound card works very well all the time except that I have underruns that happens only when wpa_supplicant is doing this:
wlan0: Control interface command 'STATUS' wlan0: State: DISCONNECTED -> SCANNING ... wlan0: No suitable network found wlan0: Setting scan request: 5 sec 0 usec wlan0: Checking for other virtual interfaces sharing same radio (phy0) in event_scan_results wlan0: Starting AP scan for wildcard SSID WPS: Building WPS IE for Probe Request WPS: * Version (hardcoded 0x10) WPS: * Request Type WPS: * Config Methods (148) WPS: * UUID-E WPS: * Primary Device Type WPS: * RF Bands (1) WPS: * Association State WPS: * Configuration Error (0) WPS: * Device Password ID (0) WPS: * Device Name P2P: * P2P IE header P2P: * Capability dev=21 group=00 P2P: * Listen Channel: Regulatory Class 81 Channel 1 nl80211: Scan SSID - hexdump_ascii(len=0): [NULL] nl80211: Scan extra IEs - hexdump(len=101): xxx Scan requested (ret=0) - scan timeout 30 seconds nl80211: Event message available nl80211: Scan trigger nl80211: Event message available nl80211: New scan results available wlan0: Event SCAN_RESULTS (3) received nl80211: Received scan results (19 BSSes) wlan0: BSS: Start scan result update 2
when wlan0 goes to connected or I just turn off the wifi, underruns go away, I'll check first what rtl8192ce's nl80211 interface implementation does when asked to perform a scan.
thank you again for your suggestions, Olivier