Jump to content

Which kernel mod needs to be loaded to get battrey support on cubietruck?


Recommended Posts

Posted

Hi Pet,

 

The axp209 modules should already be loaded by default, if not then they should at least be included in the kernel. This is the pmic onboard the cubietruck. Are you using a lipo or coin cell for rtc? You can check the current state by look at '/sys/bus/i2c/devices/i2c-x/x-0034/battery. Replace x with the i2c bus that the axp209 is assigned to. Normally this should be 0 but not always the case. For example this it what it looks like on my device:

[    2.973703] axp20x-i2c 1-0034: AXP20x variant AXP209 found
[    2.981221] input: axp20x-pek as /devices/platform/soc/1c2ac00.i2c/i2c-1/1-0034/axp20x-pek/input/input0
[    3.000378] axp20x-i2c 1-0034: Backup (RTC) battery charging is disabled
[    3.000562] axp20x-i2c 1-0034: AXP20X driver loaded
[    5.367992] axp20x-gpio axp20x-gpio: DMA mask not set
[    5.382424] axp20x-gpio axp20x-gpio: AXP209 pinctrl and GPIO driver loaded
[   21.124944] axp20x-adc axp20x-adc: DMA mask not set

 

best of luck

 

Ryzer

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines