Report for the week 26-7-10 to 02-8-10
* I managed to modify the pcsp driver (/usr/src/linux/drivers/pcsp). It works through two files pcsp.c and pcsp_lib.c. The first one mainly initialises the alsa device and does more or less book keeping work. The second file accesses pcm data from the dma region and sets up pwm signal correspondingly as Hunyue pointed before. There is also a lot of stuff for accessing the hardware timers which I have stripped out.
I am having some compiling problems right now using this makefile ( http://pastebin.com/EnFjfNZa ) and, these files pwmsp.c(http://pastebin.com/0XS7sNxA) and pwmsp_lib.c ( http://pastebin.com/JRFfcMcU ). It gives me these errors http://pastebin.com/Byhkz4rT .
* After fixing these compiling errors, I will test this driver and make a demo for this.