Bug 13162 - hda_beep beeps with wrong frequencys
Summary: hda_beep beeps with wrong frequencys
Status: RESOLVED CODE_FIX
Alias: None
Product: Drivers
Classification: Unclassified
Component: Sound(ALSA) (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: Takashi Iwai
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-24 23:26 UTC by Sebastian Dalfuß
Modified: 2009-05-19 10:57 UTC (History)
1 user (show)

See Also:
Kernel Version: 2.6.30-rc3
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description Sebastian Dalfuß 2009-04-24 23:26:39 UTC
hda_beep beeps with wrong frequencys, e.g. when it should beep with 100KHz, a very low pitched tone sounds, and when it should output 100Hz a very high pitched tone is audible.
The scale isn't just reverse, it seems to be non-linear, e.g. a sound that should be 2KHz (but isn't) and a sound that should be 3KHz (isn't either) do not sound like a difference of 1KHz.
This was tested with "beep" http://johnath.com/beep/beep.c which works correct with a real hardware system-speaker.
Comment 1 Takashi Iwai 2009-05-19 10:57:18 UTC
Fixed in sound git tree now.
   commit fa7979663190240b838ab8c8bad7f59e618bf77c
   Author: Takashi Iwai <tiwai@suse.de>
   Date:   Tue May 19 12:50:04 2009 +0200

Thanks for reporting.

Note You need to log in before you can comment on or make changes to this bug.