FS#5808 - New PCF50606 driver for X5

Attached to Project: Rockbox
Opened by Rani Hod (RaeNye) - Sunday, 13 August 2006, 17:46 GMT
Last edited by Rani Hod (RaeNye) - Monday, 28 August 2006, 19:49 GMT
Task Type Patches
Category Drivers
Status Closed
Assigned To No-one
Operating System iAudio X5
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No


Eliminated evil i2c-generic dependency (Linus, you were right!), now using CPU's I2C controller.

WorksForMe, please test and I will commit this.

[Note: if for some reason this doesn't work, you can still shutdown the device and install a working copy]
This task depends upon

Closed by  Rani Hod (RaeNye)
Monday, 23 April 2007, 08:08 GMT
Reason for closing:  Later
Additional comments about closing:  There\'s a \'new\' non-generic I2C code already, so using the controller instead of bitbanging will only save size.

The patch stays on flyspray for curious people (Mike, that\'s you :)
Comment by Linus Nielsen Feltzing (linusnielsen) - Sunday, 13 August 2006, 23:05 GMT
This does not work for me. I haven't yet investigated why.
Comment by Rani Hod (RaeNye) - Monday, 21 August 2006, 18:57 GMT
I just checked again against CVS HEAD and it works. Please check again.
(I put the patched rockbox-pcf.iaudio in / and RoLo'ed it).

to verify PCF read, have statusbar=on and you can see that the RTC clock is correct (12:00 if it's not).
to verify PCF write, wait until BL & LCD shutdown and see that BL is actually off (white screen if it's not).
Comment by Linus Nielsen Feltzing (linusnielsen) - Monday, 21 August 2006, 21:40 GMT
Well, I didn't RoLo it, I installed it and rebooted. The result was that the buttons and the backlight stopped working.
Comment by Rani Hod (RaeNye) - Monday, 28 August 2006, 19:49 GMT
Indeed this only works on RoLo. Needs investigation.
Comment by Michael Sevakis (MikeS) - Tuesday, 07 November 2006, 00:09 GMT
I wish to investigate this one now. Looks promising.