Warning: Can't synchronize with repository "(default)" (No changeset 96d22ec3fa3ef6de3ea8dc0d7d398adc9aa071cf in the repository). Look in the Trac log for more information.

Ticket #396 (new enhancement)

Opened 4 years ago

Last modified 10 months ago

Interface to force fast charge

Reported by: avanc Owned by: mickey
Priority: major Milestone: cornucopia-0.13
Component: framework/odeviced Version: milestone5
Keywords: Cc: seba.dos1@…

Description

With the current 2.6.28 kernel the device can be forced to charge the battery:

/sys/class/i2c-adapter/i2c-0/0-0073/pcf50633-mbc/force_usb_limit_dangerous

And the actual current can be read:

/sys/class/i2c-adapter/i2c-0/0-0073/pcf50633-mbc/usb_curlim

A DBus interface would be very handy.

Change History

comment:1 Changed 4 years ago by daniel

  • Milestone set to milestone7

comment:2 Changed 4 years ago by dos

  • Cc seba.dos1@… added

comment:3 Changed 4 years ago by PaulFertser

Since aa6f5ffbdba45aa8e19e5048648fc6c7b25376d3 (Jan 22 kernels) the second path (usb_curlim) should be used to both get and set usb current limit.

comment:4 Changed 11 months ago by morphis

  • Milestone changed from 0.11 to 0.12

comment:5 Changed 10 months ago by morphis

  • Milestone changed from cornucopia-0.12 to cornucopia-0.13
Note: See TracTickets for help on using tickets.