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. Trying Out The Modern Linux Desktops With 4 Monitors + AMD/NVIDIA Graphics
  2. Turning A Basement Into A Big Linux Server Room
  3. NVIDIA's $1000+ GeForce GTX TITAN X Delivers Maximum Linux Performance
  4. OS X 10.10 vs. Ubuntu 15.04 vs. Fedora 21 Tests: Linux Sweeps The Board
  5. The New Place Where Linux Code Is Constantly Being Benchmarked
  6. 18-GPU NVIDIA/AMD Linux Comparison Of BioShock: Infinite
Latest Linux News
  1. PulseAudio 7.0 To Enable LFE Remixing By Default
  2. Features & Changes Coming For Mir 0.13
  3. How Far Valve Has Come: Three Years Ago They Needed OpenGL Linux Help
  4. Audacity 2.1 Improves Noise Reduction, Adds Real-Time Effects Preview
  5. Linux 4.0-rc6 Kernel Released
  6. Automatically Managing The Linux Benchmarks Firing Constantly
  7. The Big Features Of The Linux 4.0 Kernel
  8. Mesa's Android Support Is Currently In Bad Shape
  9. Wayland's Weston Terminal Can Now Be Minimized
  10. Phoronix - Working Towards Faster Page Loads
Most Viewed News This Week
  1. Introducing The Library Operating System For Linux
  2. Allwinner Continues Jerking Around The Open-Source Community
  3. Open-Source Driver Fans Will Love NVIDIA's New OpenGL Demo
  4. Systemd Change Allows For Stateless Systems With Tmpfs
  5. GNOME 3.16 Released: It's Their Best Release Yet
  6. GNOME Shell & Mutter 3.16.0 Released
  7. GNU Nano 2.4.0 Brings Complete Undo System, Linter Support & More
  8. Red Hat Is Rolling Out A VirtIO DRM/KMS GPU Driver