Guillaume Gastebois schrieb: > Hello, > > I modified registers 10-1d with : > > {0x04, 0xd3, 0x04, 0xd3, 0x02, 0xa3, 0x20, 0x06, 0x00, 0xff, 0x24, 0x00, > 0x00, 0x04}, > > and now the led is really white (red green and blue by moving eyes). > > Led calibration seems to be good. > > But calibration is always 60s long.....
http://ggastebois.free.fr/lide90_snoop/scanimage.log says you have offset_calibration enabled. that cannot work currently. offset_calibration fiddles with the Frontend offset parameters and will make the following calibration steps fail. Comment that out in genesys_flatbed_calibration for now. Apart from that, please try to toggle the INVOP bit, that is bit2(counting from 0) of Setup Register 2. This may fix the inverted image. Looking at the Block diagram of the WM8199, the calibration may still need to be changed if INVOP=1, but it is worth a try. Regards, Pierre