Jump to content


Photo

Topic: Installing libUVC


  • Please log in to reply
2 replies to this topic

#1 jim

jim

    Advanced Member

  • Administrators
  • 3,385 posts

Posted 13 February 2015 - 10:52 PM

I am attempting to build a stereo vision system using two Microsoft HD 5000 LifeCam webcams. These are UVC cams that I use regularly under Ubuntu 12.10. It seems the Lubuntu image on the pcDuino does not include libUVC so I have tried to install it without success. Per the instructions on http://www.ideasonboard.org/uvc/ I have gone tohttp://www.linuxtv.o..._Device_Drivers and followed the '"Basic" Approach' instructions. I had to install a number of other programs and Perl packages but I have hit a dead end. When I execute the build script I receive the following error:


******************
* Start building *
******************
make -C /home/ubuntu/media_build/v4l allyesconfig
make[1]: Entering directory `/home/ubuntu/media_build/v4l'
make[2]: Entering directory `/home/ubuntu/media_build/linux'
Applying patches for kernel 3.0.8+
patch -s -f -N -p1 -i ../backports/api_version.patch
patch -s -f -N -p1 -i ../backports/pr_fmt.patch
patch -s -f -N -p1 -i ../backports/v3.1_no_export_h.patch
patch -s -f -N -p1 -i ../backports/v3.1_no_dma_buf_h.patch
patch -s -f -N -p1 -i ../backports/v3.1_no_pm_qos.patch
patch -s -f -N -p1 -i ../backports/no_atomic_include.patch
patch -s -f -N -p1 -i ../backports/v4l2-compat-timespec.patch
Patched drivers/media/dvb-core/dvbdev.c
Patched drivers/media/v4l2-core/v4l2-dev.c
Patched drivers/media/rc/rc-main.c
make[2]: Leaving directory `/home/ubuntu/media_build/linux'
./scripts/make_kconfig.pl /lib/modules/3.0.8+/build /lib/modules/3.0.8+/build 1
Preparing to compile for kernel version 3.0.8
File not found: /lib/modules/3.0.8+/build/.config at ./scripts/make_kconfig.pl line 33, <IN> line 4.
make[1]: *** [allyesconfig] Error 2
make[1]: Leaving directory `/home/ubuntu/media_build/v4l'
make: *** [allyesconfig] Error 2
can't select all drivers at ./build line 451.

From what I have read I need to install the Linux headers and source. The common approach seems to be to execute the command:

sudo apt-get install linux-headers-`uname -r` linux-source

which resolves to:

sudo apt-get install linux-headers-3.0.8 linux-source

or:

sudo apt-get install linux-headers-3.0.8+ linux-source

I'm not really sure which. Regardless linux-headers-3.0.8 nor linux-headers-3.0.8+ exist in the repository. I noticed, however, when I installed the linux-source package that 3.2.0.38.46 was installed so I installed linux-headers-3.2.0-38 but it did not solve the problem.

Can anyone point me in the right direction?



#2 jim

jim

    Advanced Member

  • Administrators
  • 3,385 posts

Posted 13 February 2015 - 10:53 PM

We will release the kernel supported UVC early next week. Please stay tuned.

 

 

This is an old post. All pcDuino image has this drivers already. 



#3 alicechan11

alicechan11

    Newbie

  • Members
  • Pip
  • 3 posts

Posted 30 January 2017 - 10:16 AM

 

I am attempting to build a stereo vision system using two event management Microsoft HD 5000 LifeCam webcams. These are UVC cams that I use regularly under Ubuntu 12.10. It seems the Lubuntu image on the pcDuino does not include libUVC so I have tried to install it without success. Per the instructions on http://www.ideasonboard.org/uvc/ I have gone tohttp://www.linuxtv.o..._Device_Drivers and followed the '"Basic" Approach' instructions. I had to install a number of other programs and Perl packages but I have hit a dead end. When I execute the build script I receive the following error:


******************
* Start building *
******************
make -C /home/ubuntu/media_build/v4l allyesconfig
make[1]: Entering directory `/home/ubuntu/media_build/v4l'
make[2]: Entering directory `/home/ubuntu/media_build/linux'
Applying patches for kernel 3.0.8+
patch -s -f -N -p1 -i ../backports/api_version.patch
patch -s -f -N -p1 -i ../backports/pr_fmt.patch
patch -s -f -N -p1 -i ../backports/v3.1_no_export_h.patch
patch -s -f -N -p1 -i ../backports/v3.1_no_dma_buf_h.patch
patch -s -f -N -p1 -i ../backports/v3.1_no_pm_qos.patch
patch -s -f -N -p1 -i ../backports/no_atomic_include.patch
patch -s -f -N -p1 -i ../backports/v4l2-compat-timespec.patch
Patched drivers/media/dvb-core/dvbdev.c
Patched drivers/media/v4l2-core/v4l2-dev.c
Patched drivers/media/rc/rc-main.c
make[2]: Leaving directory `/home/ubuntu/media_build/linux'
./scripts/make_kconfig.pl /lib/modules/3.0.8+/build /lib/modules/3.0.8+/build 1
Preparing to compile for kernel version 3.0.8
File not found: /lib/modules/3.0.8+/build/.config at ./scripts/make_kconfig.pl line 33, <IN> line 4.
make[1]: *** [allyesconfig] Error 2
make[1]: Leaving directory `/home/ubuntu/media_build/v4l'
make: *** [allyesconfig] Error 2
can't select all drivers at ./build line 451.

From what I have read I need to install the Linux headers and source. The common approach seems to be to execute the command:

sudo apt-get install linux-headers-`uname -r` linux-source

which resolves to:

sudo apt-get install linux-headers-3.0.8 linux-source

or:

sudo apt-get install linux-headers-3.0.8+ linux-source

I'm not really sure which. Regardless linux-headers-3.0.8 nor linux-headers-3.0.8+ exist in the repository. I noticed, however, when I installed the linux-source package that 3.2.0.38.46 was installed so I installed linux-headers-3.2.0-38 but it did not solve the problem.

Can anyone point me in the right direction?

 

thanks for sharing






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users