Skip to contentSkip to conversation

DSS2 & V4L2

DISCUSSION Gary Thomas 3 participants 4 messages Apr 19, 2010 – Apr 20, 2010

lore
Share & tools
lore
#0 lore raw

I'm trying to get the DVSDK (3.01.00.03) working. It uses 2.6.32 + DSS2 + V4L2.

What I'm having trouble with is how to configure/create/setup a video overlay such that I get V4L2 device for the display. In particular, what magic is required to create /dev/video1?

Note: I'd be glad to send this question to a more targeted list, but the only one mentioned in the DVSDK documentation does not really exist :-(

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
#1 lore raw

Op 19 apr 2010, om 14:29 heeft Gary Thomas het volgende geschreven:

Quoted 6 lines

I'm trying to get the DVSDK (3.01.00.03) working. It uses 2.6.32 + DSS2 + V4L2.

What I'm having trouble with is how to configure/create/setup a video overlay such that I get V4L2 device for the display. In particular, what magic is required to create /dev/video1?

The trick is usually "do not create >2 framebuffers". My understanding is that an overlay can either be a framebuffer or a v4l device, but not both.

regards,

Koen

#2 lore raw
Quoted 11 lines · Koen Kooi

Op 19 apr 2010, om 14:29 heeft Gary Thomas het volgende geschreven:

Quoted 6 lines

I'm trying to get the DVSDK (3.01.00.03) working. It uses 2.6.32 + DSS2 + V4L2.

What I'm having trouble with is how to configure/create/setup a video overlay such that I get V4L2 device for the display. In particular, what magic is required to create /dev/video1?

The trick is usually "do not create>2 framebuffers". My understanding is that an overlay can either be a framebuffer or a v4l device, but not both.

That was it, thanks!

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
#3 lore raw
In reply to Gary Thomas
Quoted 8 lines

-----Original Message-----
From: Gary Thomas [mailto:[email protected]]
Sent: Monday, April 19, 2010 6:00 PM
To: [email protected]
Cc: Tomi Valkeinen; Hiremath, Vaibhav
Subject: DSS2 & V4L2

Quoted 7 lines

I'm trying to get the DVSDK (3.01.00.03) working. It uses 2.6.32 + DSS2 + V4L2.

What I'm having trouble with is how to configure/create/setup a video overlay such that I get V4L2 device for the display. In particular, what magic is required to create /dev/video1?

[Hiremath, Vaibhav] No magic required here, you just need to configure number of Fb's less than 2.
We have created one config option CONFIG_FB_OMAP2_NUM_FBS, which controls number of Fb nodes and rest goes to V4L2, out of total 3 (number of overlays).

Hope this helps you to understand this.

Thanks,
Vaibhav

Quoted 9 lines

Note: I'd be glad to send this question to a more targeted list, but the only one mentioned in the DVSDK documentation does not really exist :-(

--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------