[pulseaudio-discuss] PA hal-detect and tunnels problems

Colin Guthrie gmane at colin.guthr.ie
Tue Jun 10 01:48:37 PDT 2008

Michal Sawicz wrote:
> Hi list,
> I have two problems with default openSUSE 11.0 installations:
> - hal-detect does not set the proper sample rate for my audio cards (two
> Dell laptops with Intel's audio chips), making them sound crappy.
> Setting default-sample-rate in /etc/default.conf (originally commented
> out) to 48000 makes these problems go away.

The config you mean is /etc/pulse/daemon.conf :)

> coling helped me to find the workaround, based on following logs
> (available for another month):
> http://pastebin.ca/1042852 default opensuse config with hal detection
> (http://pastebin.ca/1042853 - the config file)
> http://pastebin.ca/1042859 config with module-alsa-sink device=hw:0
> http://pastebin.ca/1042863 config with module-alsa-sink device=hw:0
> rate=48000
> The weird thing is that when I load the module with 'module-alsa-sink'
> only, pulseaudio detects that the card can't do 44.1 and sets the sample
> rate to 48.0.

It shoudl also be noted that Michal does not have alsa->pulse routing by 
default so it's highly likely that his alsa "default" device will be dmix.

It's interesting that the sample rates for the "card" is correctly set 
to 48kHz when using dmix but will use the default of 44.1kHz when using 
the hw directly.

> If there's anything more I can provide, please ask.

If you could give the lspci output of the soundcard it would be useful. 
I suspect that it's an alsa bug and as it's an intel device it's highly 
likely that it is an HDA device.

This alsa driver does have various model=xxxxx params that can be 
supplied to it which may actually help to fix the issue but I'm no 
expert here.

Lennart's thoughts here would probably help and give good ammo for an 
Alsa bug report :)

You could also give your alsa version (cat /proc/asound/version), tho' 
as Suse 0.11 is shiney and new I'd be guessing at 1.0.16.


More information about the pulseaudio-discuss mailing list