gkaindl / ambi-tv

a flexible ambilight clone for embedded linux
296 stars 85 forks source link

Help with drivers #2

Closed toonsdu13 closed 10 years ago

toonsdu13 commented 10 years ago

Hello,

First, thank you very much for creating and sharing this computer less Ambiligth system. I was looking for this kind of solution for a long time. However, I'm pretty new to linux systems and i'm having a hard time installing and running the drivers on my RPI running Raspbian Wheezy with Kernel 3.6.11+. I will appreciate if you can help me answering the following questions.

1-What distribution are you running on your RPI with what kernel version?

2-How did you compile and install the v4l2loopback driver? I tried following this tutorial but i'm getting a bad linux bad linux headers issue when compiling (http://lcaballero.wordpress.com/2012/09/11/dispositivo-de-video-virtual-con-v4l2loopback-en-debian-wheezy/).

3-How did you compile and install the usbtv driver?

Thank you for your time.

gkaindl commented 10 years ago
  1. I'm running Raspbian Wheezy, using the latest 3.6.11+ kernel as installed by 'rpi-update'.
  2. I do not use the v4l2loopback driver.
  3. You need to download the sources for your running kernel, as well as its module symbol file. I've recently added a script in the 'misc' folder in this repo which should install the sources for the running kernel on Raspbian (I did not write this script, I found it as a gist and added it to the repo to preserve it, since it works well for me). Then, change into the the misc/usbtv folder and run 'make'. next, make sure the 'videobuf2_core' and 'videobuf2_vmalloc' modules are loaded, then insert the usbtv module with 'sudo insmod usbtv'.