DEVELOPMENT TESTERS NEEDED
Hi everybody.
I'm currently working on the battery driver for our htc devices and I need some people to test this driver.
The main improvement is that the battery specs are detected based on the battery ID and the phone model (the current driver only use the 2 models of battery that comes from the raphael driver). Also, this driver computes the battery level using the battery voltage and the charging current to know the real battery level. On discharge, the battery level is limited to the maximum level the battery was charged (to avoid dummy reads).
The driver is working fine on my diamond (battery level is quite close to the windows battery level). Now, I need some people to test this driver on others devices like topaz (testing the AC/USB charging detection), rhodium, raphael, ...
To test the driver, just download the zImage using the link (
http://dl.free.fr/pImNxbTxT ). Replace your zImage with this one and start using your phone as normal.
People interested in source code can have a look to the "src" folder.
The zImage was made using the latest source code of the kernel (git 741ab49).
For people who wants to help me to improve or confirm that this driver is fully working, please send me your dmesg log (if you don't know how to do it, look at the end of the thread for a quick how-to).
If this driver is fully working for all the phones, the changes will be submitted to the dev team so that they will merge it in the global project and every one will be able to use it.
For diamond users :
I've also improved the diamond panel management (especially the power on / off sequence) by analyzing the winmo drivers. As I don"t have severals diamond to test the driver, I need some peoples to test the changes (especially to test the power on / off).
The following link (
http://dl.free.fr/bMDfpL9tp ) contains the zImage that includes thoses improvements and the modified source files. This zImage also contains the battery patch above.
To test the panel driver, you will need to power on/off the screen at least 2 times because on first power on/off, the screen is not yet recognized and will not be fully power off (the actual driver already works that way).
Please, send me a dmesg log to help me improve this driver also.
How-to make a dmesg log :
1/ Go to the "
Dev tools" menu and launch the "
Terminal Emulator"
2/ type "
cd sdcard" (without the quote)
3/ type "
dmesg >dmesg.log" (without the quotes)
4/ Send me the dmesg file that will be made on the root of the SD card (either you can get it using android - don't work on my diamond - or you can get the file by rebooting the phone under winmo.
If you need some special help or want to contact me, just send me a pm.