[QT Extended Improved] patch: 0001-using-uevent-to-get-kernel-notifications-for-usb-cable-changed.txt
Franky Van Liedekerke
liedekef at telenet.be
Thu Apr 2 09:48:14 CEST 2009
Hmm ... I'm pretty sure I saw my phone suspending while connected ... I will
test this more.
On Thu, Apr 2, 2009 at 9:31 AM, Filip Onkelinx <filip at linux4.be> wrote:
> battery starts charging as well, cableChanged is also being used for
> changing powermanagment scheme.
> On Thu, 02 Apr 2009 09:22:33 +0200, Franky Van Liedekerke
> <liedekef at telenet.be> wrote:
> > On Wed, Apr 1, 2009 at 8:48 AM, Filip Onkelinx <filip at linux4.be> wrote:
> >> Hi,
> >> attached is a patch to use uevent to get kernel notifications for
> >> 'usb-cable-changed' in QtExtended on recent kernels (>=2.6.28).
> >> On 'older' kernels (<2.6.28), this information was comming in trough
> >> /dev/input/event4 but this is no longer working (there is a ticket for
> >> this
> >> at https://docs.openmoko.org/trac/ticket/2254 ).
> >> With this patch my FR switches correctly from battery power savings
> >> scheme
> >> to online pwoer scheme, and usb networking goes up/down as expected.
> >> Same mechanism could be used to re-implement an event based neobattery.
> > Filip,
> > does this mean the 2.6.28 based system detects usb cable changed, just
> > for
> > networking? Or does the battery start charging as well?
> > Franky
> Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
> Openmoko community mailing list
> community at lists.openmoko.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the community