That's great......Now QtEI should work better on kernel 2.6.28. I will do a test soon.
On Wed, Apr 1, 2009 at 2:48 PM, Filip Onkelinx <[email protected]> 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. > > This patch should not break 2.6.24 compatibility. > > Cheers, > > Filip. > > _______________________________________________ > Openmoko community mailing list > [email protected] > http://lists.openmoko.org/mailman/listinfo/community > > -- Best Regards HouYu Li, Karajan karajan_ii (at) hotmail.com karadog (at) gmail.com lihouyu (at) phpex.net PHP Developer Red Hat Certified Engineer Shanghai, China
_______________________________________________ Openmoko community mailing list [email protected] http://lists.openmoko.org/mailman/listinfo/community

