I have an application that controls the brightness of a screen directly by writing to "/sys/devices/platform/imx28-fb/pwm-backlight.0/backlight/pwm-backlight.0/brightness".
Since writing the application, the screen has been replaced and the kernel upgraded, so the new path does not match the path used by the application.
The application cannot be updated, so i need a dummy device driver to create the path "/sys/devices/platform/imx28-fb/pwm-backlight.0/backlight/pwm-backlight.0/brightness" , and be able to read and write a value between 0 and 4096 to the file "brightness".
The driver does not need any other function then read and write to "brightness".
The kernel version is 3.7.4.
The BSP is built using and old version of PTXDist.
What driver is the one in use? Is its source code available? I feel that all that may be required is just a ln -s somewhere that the file *actually* is, if your application depends on the path that is there.
I have 2+ year of experience on Linux programing which includes adding service to kernel, device driver, kernel porting and developed application based on systems call. I will take less time to finish