From: <sup...@wo...> - 2013-05-14 09:05:07
|
Hi, I'm a maintainer of dpf-ax, the tools for hacking AX206 Digital Photo Frames. I've noticed some problems with the current DPF-driver for lcd4linux: 1. Does not compile with recent dpf-ax library. 2. Property "Backlight" supports only on/off instead of values from 0..7. 3. No support for the "Orientation" property. 4. *VERY* cumbersome to get this to work because you have to get & compile dpf-ax's library separately, rename the header file *AND* copy the library/header to a special location (which is documented nowhere.) :-( There is a patch by Ondrej Wisniewski on the mailing list that fixes point 1 and 2. Thx Ondrej! Point 3 is also fixed by Ondrej - but I dropped support for this property in the latest dpf-ax version. :-o I'm currently thinking about re-writing the driver for lcd4linux to fix all these issues. To address point 1 and 4 I would like to include all dpf-access routines into the driver. So no more need for external headers/libraries - and no more problems. :-) Point 2 ist already fixed by Ondrej and point 3 I'm planning to re-implement in software. It would be the cleanest approach to split the driver in 3 files, e.g.: drv_dpf.c, drv_dpflib.c and drv_dpflib.h. So my question: Is it possible / allowed / welcome for a driver to have more than one file? As far as I can see all current drivers have only one file (drv_XXXX.c.) Greetings superelchi |