o2droid MAX17040 battery driver

Questions, answers and discussion about JetDroid

Moderator: Forum moderators

Re: Re: o2droid MAX17040 battery driver

Postby Dopi » Thu May 05, 2011 8:04 pm

crazy_worm wrote:I found a file for pmu driver. I hope you benefit from our work.

Thanks for your input. We actually have a driver for our PMU ( Maxim MAX8906 ) but the driver is functionally incomplete.

Cheers,
Dopi
Ad banners support the JetDroid forum. Please consider clicking them once in a while.
User avatar
Dopi
Dev Team
Dev Team
 
Posts: 926
Joined: Sun Aug 22, 2010 9:47 pm

Advertisement

Re: Re: o2droid MAX17040 battery driver

Postby crazy_worm » Thu May 05, 2011 9:11 pm

Dopi wrote:
crazy_worm wrote:I found a file for pmu driver. I hope you benefit from our work.

Thanks for your input. We actually have a driver for our PMU ( Maxim MAX8906 ) but the driver is functionally incomplete.

Cheers,
Dopi



Sorry Dopi. İ found two file for max8906 but i am not a coder. They don't like similar. They looks like different. May be help us? And when i did make zImage i have a error on my ubuntu :( İ want to help this project. And i don't know how i can make module only driver.c and driver.h files

Good luck

http://code.google.com/p/omlaxy/source/ ... 8906.c?r=5
http://o2droid.phj.hu/trac/browser/kern ... /max8906.h
crazy_worm
Junior member
Junior member
 
Posts: 23
Joined: Wed Apr 13, 2011 12:58 am

Re: Re: o2droid MAX17040 battery driver

Postby Dopi » Thu May 05, 2011 9:59 pm

crazy_worm wrote:Sorry Dopi. İ found two file for max8906 but i am not a coder. They don't like similar. They looks like different. May be help us? And when i did make zImage i have a error on my ubuntu :( İ want to help this project. And i don't know how i can make module only driver.c and driver.h files

Good luck

http://code.google.com/p/omlaxy/source/ ... 8906.c?r=5
http://o2droid.phj.hu/trac/browser/kern ... /max8906.h

You are right, the files are different. However, they do belong to the same driver, the one we already use. Making a driver from the souces is a complex task. Basically you need to compile the whole kernel again. We have some howto in the development section of the forum.

Cheers,
Dopi
Ad banners support the JetDroid forum. Please consider clicking them once in a while.
User avatar
Dopi
Dev Team
Dev Team
 
Posts: 926
Joined: Sun Aug 22, 2010 9:47 pm

Re: Re: o2droid MAX17040 battery driver

Postby crazy_worm » Thu May 05, 2011 10:26 pm

Dopi wrote:
crazy_worm wrote:Sorry Dopi. İ found two file for max8906 but i am not a coder. They don't like similar. They looks like different. May be help us? And when i did make zImage i have a error on my ubuntu :( İ want to help this project. And i don't know how i can make module only driver.c and driver.h files

Good luck

http://code.google.com/p/omlaxy/source/ ... 8906.c?r=5
http://o2droid.phj.hu/trac/browser/kern ... /max8906.h

You are right, the files are different. However, they do belong to the same driver, the one we already use. Making a driver from the souces is a complex task. Basically you need to compile the whole kernel again. We have some howto in the development section of the forum.

Cheers,
Dopi


Thank you for the reply. As far as I understand it used almost the same functions. define only one of the address information specified with the command. another, such as the address information is automatically taken. the same pin names. Do not try to run the driver file into the other? pmu drive is doing the general operations of our electric power operations only need to enter a specially commissioned seems to be happening. I wish I can do these operations: (I'm sorry for the bad English is
crazy_worm
Junior member
Junior member
 
Posts: 23
Joined: Wed Apr 13, 2011 12:58 am

Re: o2droid MAX17040 battery driver

Postby Carlos_Manuel » Fri May 06, 2011 1:17 pm

So... Shall we need s3c6410 BATTERY DRIVER?

I tried to find s3c6410 Battery Driver and I didn't find....

And If we need s3c6410 battery driver/module then Does Battery Driver need to be for: 1080mAh battery...?
JétDroid ROMs, stuff... http://code.google.com/p/android-for-jet/
My YT Channel: http://www.youtube.com/user/CarlosJacksonHD
Github: manumanfred
XDA-Devs: Carlos_Manuel

Galaxy Nexus:
ROM: My own ROM 'Dreams', (KTU84P) KitKat 4.4.4
User avatar
Carlos_Manuel
Dev Team
Dev Team
 
Posts: 883
Joined: Tue Mar 29, 2011 11:50 am
Location: Estonia / Finland

Re: Re: o2droid MAX17040 battery driver

Postby Dopi » Fri May 06, 2011 8:55 pm

Carlos_Manuel wrote:So... Shall we need s3c6410 BATTERY DRIVER?

As far as i know we need a battery driver for max8906.

Cheers,
Dopi
Ad banners support the JetDroid forum. Please consider clicking them once in a while.
User avatar
Dopi
Dev Team
Dev Team
 
Posts: 926
Joined: Sun Aug 22, 2010 9:47 pm

Re: o2droid MAX17040 battery driver

Postby crazy_worm » Sat May 07, 2011 12:24 am

hi guys,
is it working for with our pmu driver?
and is it necessary to driver for baseband? do you have baseband driver? we want to working jetdroid :) but only 2-3 person works with kernel :( we need a few more people to work with kernel :(
good luck

http://lxr.linux.no/linux/drivers/power ... _battery.c
crazy_worm
Junior member
Junior member
 
Posts: 23
Joined: Wed Apr 13, 2011 12:58 am

Re: Re: o2droid MAX17040 battery driver

Postby Carlos_Manuel » Sat May 07, 2011 12:31 am

Dopi wrote:
Carlos_Manuel wrote:So... Shall we need s3c6410 BATTERY DRIVER?

As far as i know we need a battery driver for max8906.

Cheers,
Dopi


Ok Thank you... :)

I will try to find max8906 battery files, drivers, modules.... :)
JétDroid ROMs, stuff... http://code.google.com/p/android-for-jet/
My YT Channel: http://www.youtube.com/user/CarlosJacksonHD
Github: manumanfred
XDA-Devs: Carlos_Manuel

Galaxy Nexus:
ROM: My own ROM 'Dreams', (KTU84P) KitKat 4.4.4
User avatar
Carlos_Manuel
Dev Team
Dev Team
 
Posts: 883
Joined: Tue Mar 29, 2011 11:50 am
Location: Estonia / Finland

Re: o2droid MAX17040 battery driver

Postby Carlos_Manuel » Mon Jun 06, 2011 12:47 pm

I found Samsung Galaxy Spica Battery Driver!
I don't believe that work because their battery is something 1500 mAh
http://forum.samdroid.net/f55/spica-bat ... step-2648/ s3c6410_battery.c-1.0.tar.gz
This maybe works much better with SpicaJetgen mod :) (Spicagen mod for Jet)
I tried it but I added it into wrong folder! :D
JétDroid ROMs, stuff... http://code.google.com/p/android-for-jet/
My YT Channel: http://www.youtube.com/user/CarlosJacksonHD
Github: manumanfred
XDA-Devs: Carlos_Manuel

Galaxy Nexus:
ROM: My own ROM 'Dreams', (KTU84P) KitKat 4.4.4
User avatar
Carlos_Manuel
Dev Team
Dev Team
 
Posts: 883
Joined: Tue Mar 29, 2011 11:50 am
Location: Estonia / Finland

Re: o2droid MAX17040 battery driver

Postby MadRocker » Wed Jun 08, 2011 3:51 am

This battery driver needs to go in the KB kernel files and then you make a new zImage, can not just add a .c file to android /ext3 files = will not work.

Also you will need to edit Makefile and kconfig in the ?? power subfolder or the same folder as the other fake battery to add this to the build list or similar.
MadRocker
Dev Team
Dev Team
 
Posts: 528
Joined: Sun Dec 12, 2010 7:15 am

PreviousNext

Return to JetDroid Questions / Discussion

Who is online

Users browsing this forum: No registered users and 1 guest

  • Advertisement
cron