ignoring the i2c stuff, there is a patchset on our bugtracker related to ambilight. I'd have to check to see what it got to. I recall I think some code changes might have been needed for acceptance, but I could be wrong. I don't have a machine to test however. I could do a build with the patch if you were willing to test for example.
http://trac.xbmc.org/ticket/4551 did you think about this? I saw it long time ago, and tried to put it in xbmc source but won't compile. Lot of code has changed i guess:)
There is some nice code but there are few problems:
- This would work only with smartxx modchips because there is 3xPWM output.
- Because data is sended to the chip, this will travel over lpc bus
- This is ambilight v1. That mean there is only one channel. I though to bulid board with 8 channels (3 for up, 2 for left, 2 for right, 1 for bottom). It's called ambilight v2 iirc.
Would be nice if you could add output over i2c bus. Then I can try it into my xbox. Would you? we need 600bps. Don't know how much traffic is there on the bus if xbox is working but 600 bytes is not a lot.
that makes things a lot easier !!! thinking about it xbmc can read the eprom details and change screen modes so it must have acces to the smbus/i2c.
an atmega shuld do?
this is quite simple would need like an lm298 or something as a driver for bigger leds but would do for playing around ?
im not game enough to start soldering to my trusty board to wire up this but i might buy a 2nd xbox and try to play.
Yes, atmega 16 is enough, even atmega 8 should be ok

Leds can be drivered by some strong transistors too. Whatever you like

This is needed because atmega can't get you lot of current at output.
I will make pcb for it soon
