strange buzzer problem

Fernando
Hello,

I'm having s strange buzzer problem... under vbnet, I have it working ok
under certain conditions... but if I beep it every second, after about 15
minutes it stops beeping!

Did anyone have this problem?
Thank you all.
Fernando

domodom
And if you light on a led instead of beeping the buzzer, does it work more
than 15 minutes ?

Fernando
hi domodom,

For led control I'm using your gpio driver, and yes, it works fine, I'm
using it to read the keys and it still works after this buzzer problem.

For the buzzer I'm using the pwm driver, with createfile and the other
functions...

Do you use the buzzer in another way?

Fernando
I now did the following test: I turn on a led when the buzzer beeps, and
turn it off when the buzzer is off. After a time, the led continues to
"beep", but the buzzer emits no sound.

Another thing I see, is that if I beep faster, lets say every 500ms instead
of every 1000ms, the buzzer stops beeping before.

domodom
I didn't play with the PWM driver, but you can use the buzzer with my GPIO
driver (by setting to 1 or 0 the output that drives the buzzer).
But you won't be able to modulate the power of the sound as with a pwm (but
maybe it will be ok for your application ?)
Domodom

Fernando
Tomorrow I will try to drive the buzzer with the gpio driver... if it
works, like you say, I wont be able to modulate the output, but thats wont
be a problem... still, I would like to understand what is the problem or if
there is a bug in the driver or if I'm doing something wrong.... I dont
like to have this kind of unclosed issues, you dont know when youŽll need
the PWM!    :)
Thanks a lot domodom, you are always very gentle.

Fernando

Fernando
Ok, with the GPIO driver works fine!
I dont need right now the PWM, but, what can the problem be?

domodom
Ok, it's a good news.
I didn't play with PWM, I wanted to use them to drive motors, but i
discovered that the both pwm that can be accessed on the GPIO connector are
already used : 1 for the backlight, the other one for the buzzer.
Then for me, the PWM driver is useless.
Domodom

Fernando
Oh, thats some news... I think the PWM is then useless for all.
Thank you domodom.
Fernando