Re: Nokia N9: fun with camera

Pavel Machek
2017-11-01T06:36:55Z

[-- Attachment #1: Type: text/plain, Size: 1065 bytes --]

Hi!

> Sakari, I am actually playing with N9 camera, not N950. That comes
> next.
>
> And the clock error I mentioned ... seems to be
> -EPROBE_DEFER. So... not an issue.

Hmm, and with similar config, I got N950 to work. ... which should
give me enough clues to get N9 to work. I guess I forgot to reset the
pipeline between the tries, or something.

For the record, this got me some data on n950:

m.media_ctl( [ '-f', '"OMAP3 ISP CSI2a":0 [fmt:%s/%dx%d]' % (m.fmt, m.cap_x, m.cap_y) ] )
m.media_ctl( [ '-l', '"OMAP3 ISP CSI2a":1 -> "OMAP3 ISP CSI2a output":0[1]' ] )

# WORKS!!!!
# pavel@n900:~/g/tui/camera$ sudo /my/tui/yavta/yavta
# --capture=8 --skip 0 --format SGRBG10 --size 4272x3016 /dev/video1 --file=/tmp/delme#

...ouch. It only worked twice :-(. Either driver gets confused by my
attempts, or it relied on some other initialization code. Strange.

Best regards,