How can attach mini2440 buzzer in linux? Thanks.
Buzzer in linux
This driver will (besides many other adaptions) be in my next customized 2.6.33 kernel. I have edited and added some code so linux will handle it like a "normal" pc-speaker device (not only as a PWM-device). It will be useful for e.g. system sounds and playing melodies. At this time, my git repository "only" contains a customized USB-upload-tool for linux with progress bar, time elapsed, estimated remaining time and such nice stuff. If you would like to download this or look whether there were changes made (e.g. when I added the kernel sources), please visit the web-interface at http://git.programmers-projects.de/?p=mini2440-dev.git;a=summary You also are welcome to join to develop the kernel and/or make some things better.
Finally, the buzzer driver is working in my kernel tree. You can hear it e.g. as hint beeps in the console or at shutdown. I have removed the code that played a beep melody at the beginning because to much beeping isn't good ;)
Hello, I have compiled your kernel, and I managed to get going on mini2440, but I do not hear any beeps when it starts, how can I use the driver? Thanks
I hope this helps, it works in mini2440 too. http://www.friendlyarm.net/forum/topic/2564?lang=de Cheers
I've compiled my own Linux using the kernel from the downloads page, but the system don't have a /dev/pwm. I searched in the whole system for pwm, and I've fount the following results: /sys/devices/virtual/misc/pwm /sys/class/misc/pwm How I manipulate it?
Here is the new repository URL under my 2.6.33 mini2440 kernel fork: http://git.comif.de/?p=mini2440/kernel/kernel-2.6.33-mini2440.git;a=blob...
And there another version: http://git.comif.de/?p=mini2440/kernel/kernel-2.6.34-mini2440.git;a=blob... Please tell me if something has to be fixed or what I can make better. Thanks!
Current Linux revision is 3.10. If someone starts a new project she/he should start with the most recent kernel (to be sure to get help in case of trouble). Noone from the kernel developers is interested in supporting (very) old kernels. So why do you stay at the 2.6.33/34 kernel?