[alsa-devel] 2.6.26-rc6 snd-pcsp: "Timer resolution is not sufficient"
Hi Stas.
What's this? 2.6.26-rc6:
=== input: PC Speaker as /class/input/input5 PCSP: Timer resolution is not sufficient (4000250nS) PCSP: Make sure you have HPET and ACPI enabled. PC-Speaker initialization failed. pcspkr: probe of pcspkr failed with error -5 ===
A HPET I do not have, ACPI is enabled and the driver worked fine on a previous -rc.
Rene.
Hi.
Rene Herman wrote:
What's this? 2.6.26-rc6:
input: PC Speaker as /class/input/input5 PCSP: Timer resolution is not sufficient (4000250nS) PCSP: Make sure you have HPET and ACPI enabled. PC-Speaker initialization failed. pcspkr: probe of pcspkr failed with error -5 === A HPET I do not have, ACPI is enabled and the driver worked fine on a previous -rc.
That means that the high-res timer mode is not available. See cat /proc/timer_list It should contain the lines like .resolution: 1 nsecs 1 nsecs means a high-res mode. Some large values (like 4000250) means low-res. Try adding the hrtimers people to CC if this is a problem.
On 20-06-08 05:57, Stas Sergeev wrote:
CCed onto linux-kernel to possibly help future googlers...
Rene Herman wrote:
What's this? 2.6.26-rc6:
input: PC Speaker as /class/input/input5 PCSP: Timer resolution is not sufficient (4000250nS) PCSP: Make sure you have HPET and ACPI enabled. PC-Speaker initialization failed. pcspkr: probe of pcspkr failed with error -5 === A HPET I do not have, ACPI is enabled and the driver worked fine on a previous -rc.
That means that the high-res timer > mode is not available. See cat /proc/timer_list It should contain the lines like .resolution: 1 nsecs 1 nsecs means a high-res mode. Some large values (like 4000250) means low-res. Try adding the hrtimers people to CC if this is a problem.
In this case the problem was the ACPI PM-Timer (CONFIG_X86_PM_TIMER) got disabled. Re-enabling it, snd-pcsp is working fine again.
It does seem a bit off that you needs something as (relatively) modern as an ACPI timing source (or HPET, or ...) to drive something quite as legacy as the PC speaker, but oh well.
Rene.
On 20-06-08 05:57, Stas Sergeev wrote:
CCed onto linux-kernel to possibly help future googlers...
Rene Herman wrote:
What's this? 2.6.26-rc6:
input: PC Speaker as /class/input/input5 PCSP: Timer resolution is not sufficient (4000250nS) PCSP: Make sure you have HPET and ACPI enabled. PC-Speaker initialization failed. pcspkr: probe of pcspkr failed with error -5 === A HPET I do not have, ACPI is enabled and the driver worked fine on a previous -rc.
That means that the high-res timer > mode is not available. See cat /proc/timer_list It should contain the lines like .resolution: 1 nsecs 1 nsecs means a high-res mode. Some large values (like 4000250) means low-res. Try adding the hrtimers people to CC if this is a problem.
In this case the problem was the ACPI PM-Timer (CONFIG_X86_PM_TIMER) got disabled. Re-enabling it, snd-pcsp is working fine again.
It does seem a bit off that you needs something as (relatively) modern as an ACPI timing source (or HPET, or ...) to drive something quite as legacy as the PC speaker, but oh well.
Rene.
participants (2)
-
Rene Herman
-
Stas Sergeev