Letux Kernel

Issue 228: Add driver for Charging

Reported by Nikolaus Schaller, Apr 30, 2011

Apparently, USB or AC charging needs a driver in the Linux kernel to 
handle plug in/out events and read the voltage etc.

It appears that there can be a driver in drivers/power/twl4030.c but 
we don't have it in our 2.6.32 kernel.

Here is a patch:

http://lwn.net/Articles/364310/

Maybe, this driver is available in newer kernels and may have had 
bugs. So we will consider it with care...

Comment 1 by Nikolaus Schaller, May 8, 2011

According to

http://groups.google.com/group/beagleboard/browse_thread/thread/dbfbb
fa25dae709a?hl=en

we may even need a patch to enable charging of the RTC backup 
battery!

Comment 2 by Nikolaus Schaller, May 8, 2011

According to

http://groups.google.com/group/beagleboard/browse_thread/thread/dbfbb
fa25dae709a?hl=en

we may even need a patch to enable charging of the RTC backup 
battery!

Comment 3 by Nikolaus Schaller, Jul 5, 2011

http://www.mail-archive.com/linux-omap@vger.kernel.org/msg03590.html

shows a twl4030_bci_battery module which appears to be missing in 
our kernel.

Comment 4 by Nikolaus Schaller, Jul 26, 2011

after digging a little into the codes it appears that the driver 
http://lwn.net/Articles/364310/ is the newer one. So we try to 
integrate it into our kernel code. It may need some backporting 
because it may be quite newer than 2.6.32.

Comment 5 by Nikolaus Schaller, Oct 6, 2011

Finally works using the old driver.
Status: Fixed
Owner: hns

Created: 13 years 5 months ago by Nikolaus Schaller

Updated: 13 years 7 days ago

Status: Fixed

Owner: Nikolaus Schaller

Labels:
Type:Defect
Priority:Medium