[Bug 1330] GTA02: LEDs are not individually controllable
bugzilla-daemon at bugzilla.openmoko.org
bugzilla-daemon at bugzilla.openmoko.org
Thu Apr 10 00:28:30 CEST 2008
http://bugzilla.openmoko.org/cgi-bin/bugzilla/show_bug.cgi?id=1330
------- Additional Comments From zecke at selfish.org 2008-04-10 00:28 -------
I posted a patch for review on the openmoko kernel mailinglist. Basicly due the
LED connection you can not set any pin individually on the GPIO Bank the LEDs
are connected to. This is because on write the current state is read, the bit to
change masked out, ored into. On reading the LED state is 'lost'/0.
So every write access to the GPIO bank B needs to add the LED state before
writing out the value. Otherwise your LEDs would go off when you start the
vibrator or turn on the modem.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the openmoko-kernel
mailing list