V4L2 not worklin with linux-omap-psp-2.6.32

Hello,

I use linux-omap-psp-2.6.32 and have no /dev/video* files.
If I build the omap-vout driver as module, I get this message:
"omap_vout omap_vout: probed for an unknown device"
after an insmod.
The Beagleboard is a rev C4.

How do I get the v4l2 driver running?

Thanks in advance

Sandro

From: beagleboard@googlegroups.com [mailto:beagleboard@googlegroups.com] On
Behalf Of Sandro
Sent: Monday, August 09, 2010 7:07 PM
To: Beagle Board
Subject: [beagleboard] V4L2 not worklin with linux-omap-psp-2.6.32

Hello,

I use linux-omap-psp-2.6.32 and have no /dev/video* files.
If I build the omap-vout driver as module, I get this message:
"omap_vout omap_vout: probed for an unknown device"
after an insmod.
The Beagleboard is a rev C4.

How do I get the v4l2 driver running?

[Hiremath, Vaibhav] Please make sure that, you configure CONFIG_FB_OMAP2_NUM_FBS=1

This will allow V4L2 driver to create 2 instances for Video1 & Video2 respectively.

Also make sure that you have platform registration code inside "arch/arm/mach-omap2/devices.c" file, since the this part of code got enrolled into later kernel version (2.6.35 merge window)

Thanks,
Vaibhav

Hiremath, Vaibhav <hvaibhav@...> writes:

> From: beagleboard@…
[mailto:beagleboard@…] On
> Behalf Of Sandro
> Sent: Monday, August 09, 2010 7:07 PM
> To: Beagle Board
> Subject: [beagleboard] V4L2 not worklin with linux-omap-psp-2.6.32
>
> Hello,
>
> I use linux-omap-psp-2.6.32 and have no /dev/video* files.
> If I build the omap-vout driver as module, I get this message:
> "omap_vout omap_vout: probed for an unknown device"
> after an insmod.
> The Beagleboard is a rev C4.
>
> How do I get the v4l2 driver running?

[Hiremath, Vaibhav] Please make sure that, you configure

CONFIG_FB_OMAP2_NUM_FBS=1

This will allow V4L2 driver to create 2 instances for Video1 & Video2

respectively.

Also make sure that you have platform registration code

inside "arch/arm/mach-omap2/devices.c" file,

since the this part of code got enrolled into later kernel version (2.6.35

merge window)

Thanks,
Vaibhav

>
> Thanks in advance
>
> Sandro
>
> --
> You received this message because you are subscribed to the Google Groups
> "Beagle Board" group.
> To post to this group, send email to beagleboard@...
> To unsubscribe from this group, send email to
> beagleboard+unsubscribe@...
> For more options, visit this group at
> http://groups.google.com/group/beagleboard?hl=en.

Hi Vaibhav,

I am new to linux and currently facing the same problem as Sandro in linux-
omap-psp. You mentioned the need to create platform register at "arch/arm/mach-
omap2/devices.c". May I know how should I do a platform register for a
TVP5147? Also, I couldnt find anything related to CONFIG_FB_OMAP2_NUM_FBS
on "arch/arm/mach-omap2/devices.c".

Hope to hear from you soon.

Mark