1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Memory
  5. Motherboards
  6. Processors
  7. Software
  8. Storage
  9. Operating Systems


Facebook RSS Twitter Twitter Google Plus


Phoronix Test Suite

OpenBenchmarking Benchmarking Platform
Phoromatic Test Orchestration

Linux 2.6.40/3.0 Kernel Has New Microsoft Kinect Driver

Linux Kernel

Published on 25 May 2011 09:58 AM EDT
Written by Michael Larabel in Linux Kernel
1 Comment

Here's another change for the Linux 3.0 Kernel (or Linux 2.6.40 if the kernel versioning change doesn't end up happening for this cycle)... Microsoft Kinect support as a new V4L kernel driver.

Since last November there's been an open-source Linux driver for Microsoft's Kinect 3D sensor to take advantage of its RGB camera and depth-sensing functionality. With the next Linux kernel release, there's now a new Linux driver that's been integrated into the mainline tree. As part of the 3.0-rc1 Video 4 Linux pull request, there's a Kinect color camera driver. Additionally, there's other new drivers, support for new remote controls, driver enhancements, and DVB API support for the DVB-T2 standard. The Kinect driver though is what's most interesting.

This current GSPCA dirver for the Microsoft Kinect hardware is based upon the code from the OpenKinect project. For now it just takes advantage of the RGBA sensor or the output from the mono-chrome sensor, but it doesn't handle the processed depth stream yet. Basically, in its current form you can use your Microsoft Kinect as a web-camera or an IR camera with the "Linux 3.0" kernel.

The Kinect driver related commits can be found from this Git web search. Here's the commit adding in the driver. Below is the commit message with more details.
[media] gspca - kinect: New subdriver for Microsoft Kinect

The Kinect sensor is a device used by Microsoft for its Kinect project, which is a system for controller-less Human-Computer interaction targeted for Xbox 360.

In the Kinect device, RGBD data is captured from two distinct sensors: a regular RGB sensor and a monochrome sensor which, with the aid of a IR structured light, captures what is finally exposed as a depth map; so what we have is basically a Structured-light 3D scanner.

The Kinect gspca subdriver just supports the video stream for now, exposing the output from the RGB sensor or the unprocessed output from the monochrome sensor; it does not deal with the processed depth stream yet, but it allows using the sensor as a Webcam or as an IR camera (an external source of IR light might be needed for this use).

The low level implementation is based on code from the OpenKinect project (http://openkinect.org).

About The Author
Michael Larabel is the principal author of Phoronix.com and founded the web-site in 2004 with a focus on enriching the Linux hardware experience and being the largest web-site devoted to Linux hardware reviews, particularly for products relevant to Linux gamers and enthusiasts but also commonly reviewing servers/workstations and embedded Linux devices. Michael has written more than 10,000 articles covering the state of Linux hardware support, Linux performance, graphics hardware drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated testing software. He can be followed via and or contacted via .
Latest Articles & Reviews
  1. Sub-$20 802.11n USB WiFi Adapter That's Linux Friendly
  2. The Lenovo T450s Is Working Beautifully With Linux
  3. Linux 4.0 SSD EXT4 / Btrfs / XFS / F2FS Benchmarks
  4. Linux 4.0 Hard Drive Comparison With Six File-Systems
  5. Lenovo ThinkPad T450s Broadwell Preview
  6. How Open-Source Allowed Valve To Implement VULKAN Much Faster On The Source 2 Engine
Latest Linux News
  1. AMD Releases New "AMDGPU" Linux Kernel Driver & Mesa Support
  2. A Gigabyte Sandy/Ivy Bridge Motherboard Now Handled By Coreboot
  3. Linux 3.16 Through Linux 4.0 Performance Benchmarks
  4. Intel's Windows Driver Now Supports OpenGL 4.4, Linux Driver Still With OpenGL 3.3
  5. DRM Graphics Updates Sent In For The Linux 4.1 Kernel
  6. More eBPF Improvements Heading To Linux 4.1
  7. LLDB Is Getting Into Shape For Linux 64-bit Debugging
  8. Wine-Staging 1.7.41 Works On Improved Debugging Support
  9. GNOME 3.18 Release Schedule: 23 September Release
  10. Library Operating System (LibOS) For Linux Still Being Pursued
Most Viewed News This Week
  1. Nouveau: NVIDIA's New Hardware Is "VERY Open-Source Unfriendly"
  2. Linux 4.1 Brings Many Potentially Risky x86/ASM Changes
  3. Microsoft Announces An LLVM-Based Compiler For .NET
  4. LibreOffice 4.5 Bumped To Become LibreOffice 5.0
  5. Linux Audio Is Being Further Modernized With The 4.1 Kernel
  6. KDBUS Is Taking A Lot Of Heat, Might Be Delayed From Mainline Linux Kernel
  7. VirtualBox 5.0 Beta 2 Released
  8. Mozilla Start Drafting Plans To Deprecate Insecure HTTP