webcam support

Bug #1068672 reported by Jani Monoses
52
This bug affects 9 people
Affects Status Importance Assigned to Milestone
ubuntu-nexus7
Triaged
Medium
Paolo Pisati

Bug Description

The image sensor driver in our kernel is not a V4L2 driver. Android uses it via its CameraService but on Linux we need to implement V4L2 functionality for it in the kernel so it is compatible with most apps.

Alex Chiang (achiang)
Changed in newark:
importance: Undecided → Medium
Matt Fischer (mfisch)
tags: added: nexus7
Chris Wayne (cwayne)
Changed in newark:
status: New → Confirmed
Matt Fischer (mfisch)
information type: Proprietary → Public
affects: newark → ubuntu-nexus7
tags: added: mobile
Revision history for this message
Kaustubh Purandare (kpurandare) wrote :

We have prototupe V4L2 driver working on Linux for Tegra 3 which supports USB WebCam. Its hooks to the GST-V4l2 plugin and uses Gstreamer accelerated encoder plugins for Tegra. Let me know if we provide any help regarding this issue.

Revision history for this message
Alex Chiang (achiang) wrote :

Hi Kaustubh,

That would be great. Is your driver available in a git tree anywhere?

Thanks!

Revision history for this message
Kaustubh Purandare (kpurandare) wrote :

Hi,

I will have to check with NVIDIA legal to release the V4l2 driver (as this is under development and is prototype implementation). Secondly the implementation will be part of the Linux for Tegra distribution, anyway I will check and confirm the release of the source code.

Thanks,
Kaustubh

Alex Chiang (achiang)
tags: added: tegra3
Revision history for this message
Bryan Wu (cooloney) wrote :

Hi Alex,

Please find the code here and prob
https://git.chromium.org/git/chromiumos/third_party/kernel.git, branch chromeos-2.6.38
(gitweb: http://git.chromium.org/gitweb/?p=chromiumos/third_party/kernel.git;a=summary)

Camera host driver - drivers/media/video/tegra_v4l2_camera.c
NVMAP videobuf driver - drivers/media/video/videobuf-dma-nvmap.c
Aptina mt9m114 image sensor driver - drivers/media/video/mt9m114.c

And we have 3.1 kernel based v4l2 tegra driver, if we are going to use the patches on newer kernel, probably needs some porting work.

-Bryan

Alex Chiang (achiang)
Changed in ubuntu-nexus7:
assignee: nobody → Jani Monoses (jani)
tags: added: nexus7-kernel
Changed in ubuntu-nexus7:
status: Confirmed → Triaged
Alex Chiang (achiang)
tags: added: sensors
Revision history for this message
Jani Monoses (jani) wrote :

This will land when/if there's upstream support for it in Nvidia's branch.

Changed in ubuntu-nexus7:
assignee: Jani Monoses (jani) → nobody
Revision history for this message
Bryan Wu (cooloney) wrote :

Hi alls,

We've already have a stable release L4T R16.3 [1] which contains some V4L2 code. But to get V4L2 fully working we need more patches.

We can provide those patches to you and you guys can try that on the kernel for Nexus 7.

Our V4L2 driver are basically for YUV sensor and Nexus 7 is using mt9d115 YUV sensor. We can Google for it's Linux driver [2]. We might need some porting and enabling it with V4L2 patch I attached here.

There is a README file in the release zip file. Please read it before use our patches.

Thanks,
-Bryan

[1] git://nv-tegra.nvidia.com/linux-2.6.git, branch l4t-r16-r2, tag tegra-l4t-r16r3-rc
[2] http://searchco.de/codesearch/view/26358856

Revision history for this message
Bryan Wu (cooloney) wrote :

Hi alls,

We've already have a stable release L4T R16.3 [1] which contains some V4L2 code. But to get V4L2 fully working we need more patches.

We can provide those patches to you and you guys can try that on the kernel for Nexus 7.

Our V4L2 driver are basically for YUV sensor and Nexus 7 is using mt9d115 YUV sensor. We can Google for it's Linux driver [2]. We might need some porting and enabling it with V4L2 patch I attached here.

There is a README file in the release zip file. Please read it before use our patches.

Thanks,
-Bryan

[1] git://nv-tegra.nvidia.com/linux-2.6.git, branch l4t-r16-r2, tag tegra-l4t-r16r3-rc
[2] http://searchco.de/codesearch/view/26358856

Bryan Wu (cooloney)
Changed in ubuntu-nexus7:
assignee: nobody → Paolo Pisati (p-pisati)
Revision history for this message
João Miguel Lopes Moreira (jmlm-1970) wrote :

also it is missing a bridge from video devices, like the easycap, to webcam; because if one connects an av camera to the easycap cannot use it on many software, like the flash player plugin, because only accepts video from webcam, not video1 or video2 devices...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.