I suspect most of this applies to other routers, but this is focusing on the Edimax:

http://linux-adm5120.sourceforge.net/openwrt/i2c/