Hi Tomi,
I am trying to set up HDMI on my OMAP5 uevm in parallel to our MIPI panel
before I try to debug the Pyra hardware (where MIPI already works but HDMI
has still to be tested).
It basically works with our 4.2 kernel and I can turn the HDMI connector on by
echo 1 >/sys/devices/platform/omapdss/display1/enabled
and see these timings:
cat /sys/devices/platform/omapdss/display1/timings
25175000,640/16/48/96,480/11/31/2
The image is just 480x640 although my HDMI beamer can do more…
And it is completely black and not related to /dev/fb0 contents.
/dev/fb1 and /dev/fb2 can’t be written:
root@gta04:/sys/devices/platform/omapdss# ls -l /dev/fb*
crw-rw---T 1 root video 29, 0 Jan 1 00:00 /dev/fb0
crw-rw---T 1 root video 29, 1 Jan 1 00:00 /dev/fb1
crw-rw---T 1 root video 29, 2 Jan 1 00:00 /dev/fb2
root@gta04:/sys/devices/platform/omapdss# cat /dev/urandom >/dev/fb2
cat: write error: No such deviceroot@gta04:/sys/devices/platform/omapdss# fbset -fb /dev/fb0
mode "720x1280-60"
# D: 76.728 MHz, H: 86.406 kHz, V: 60.004 Hz
geometry 720 1280 720 1280 32
timings 13033 158 5 50 50 5 60
rgba 8/16,8/8,8/0,0/0
endmode
root@gta04:/sys/devices/platform/omapdss# fbset -fb /dev/fb1
mode "0x0"
geometry 0 0 0 0 0
timings 0 0 0 0 0 0 0
rgba 0/0,0/0,0/0,0/0
endmode
root@gta04:/sys/devices/platform/omapdss# fbset -fb /dev/fb2
mode "0x0"
geometry 0 0 0 0 0
timings 0 0 0 0 0 0 0
rgba 0/0,0/0,0/0,0/0
endmode
So is there a recent description how to set up all these frame buffers, overlays,
managers and displays? E.g. how do I connect /dev/fb0 to the LCD and in
parallel /dev/fb1 to the HDMI device and have different resolutions?
And can I somehow communicate with the HDMI monitor through I2C, e.g.
query the model string? This would be nice to verify our I2C hardware.
HDMI audio also has some problem:
root@gta04:~# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: H58040000encode [HDMI 58040000.encoder], device 0: HDMI 58040000.encoder snd-soc-dummy-dai-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: PyraHandheld [Pyra-Handheld], device 0: TWL6040 twl6040-legacy-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
root@gta04:~# aplay -q /usr/share/sounds/alsa/Front_Center.wav
[ 689.693332] omapdss_hdmi5 58040000.encoder: ASoC: can't open interface 58040000.encoder: -1
aplay: main:682: audio open error: Operation not permitted
root@gta04:~#
BR and thanks,
Nikolaus