How to install.tar files?

Asked by Titan

I'm using zebronics web-cam in ubuntu 10.04. i have downloaded its driver in .rar format, it contains .tar files and i don't know how to install it. Need help, i'm new to UBUNTU.
Thanks in advance.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu file-roller Edit question
Assignee:
No assignee Edit question
Solved by:
Eliah Kagan
Solved:
Last query:
Last reply:
Revision history for this message
Eliah Kagan (degeneracypressure) said :
#1

If there is documentation on the website where you downloaded the .rar file, or inside the .rar file alongside the .tar files contained within it, then you should use that.

You can extract a tar file by right-clicking on it in Nautilus (the file manager) and clicking Extract... or Extract Here. Alternatively, you can extract it in the Terminal with the tar command, like "tar xf <filename>" where <filename> is the name of the .tar file (including the .tar extension). The file may contain help, telling you how to install its contents. Its contents may be source code for you to compile, or binaries for you to install, but either way there should be instructions.

If there are no instructions and the driver is publicly available to download, then please provide the URL. So long as I don't have to sign an NDA or anything nasty like that, I'll then go ahead and download the driver and examine it.

If there are no instructions and the driver is not publicly available, then let me know, and I'll ask you for a whole bunch of additional information to help you figure out how to install it.

If you don't know which .tar file to use, and they are named names that contains i386 and amd64 (or i386 and EM64T, or i386 and x86_64), then you can open a Terminal window (Applications > Accessories > Terminal) and run the command "uname -m" (without the quotes). If the output is i386, use the .tar file with that in its name. If the output is x86_64, use the one with amd64, EM64T, or x86_64 in its name. If the .tar files are not named like that, then please provide the exact names of the .tar files.

Revision history for this message
Titan (firuzvanquisher) said :
#2
Revision history for this message
Eliah Kagan (degeneracypressure) said :
#3

You have posted a comment, rather than reopening this question by indicating that you need further assistance. Do you still need help? If so, did you try all the things I suggested in my previous post?

Revision history for this message
Titan (firuzvanquisher) said :
#4

when i run the command "uname-m" the output is i686 . I don't know what to do now.

the URL from where i downloaded the driver is http://www.zebronics.info/downloads/Webcam/Bluemoon_and_sphere/Linux/

Revision history for this message
mycae (mycae) said :
#5

I am unable to extract the contents of that archive -- it appears corrupt.

Revision history for this message
Eliah Kagan (degeneracypressure) said :
#6

@Titan: If the output of "uname -m" is i686, and there are only two .tar files inside the .rar file, and one of the .tar files says "i386" or "i686", and the other says "amd64" or "EM64T" or "x86_64", then the .tar file that says "i386" or "i686" is the one for your computer. Otherwise, **please provide the exact names of the .tar files.**

@Titan: If that doesn't solve your problem, please post again.

@mycae: What archive are you unable to extract? Are you unable to extract the .rar archive (which clearly Titan has been able to extract)? Or are you unable to extract the .tar archives contained within it?

Revision history for this message
Titan (firuzvanquisher) said :
#7

The name of .tar file is " uvcvideo.tar ".
I have extracted it but don't know how to configure it onto the machine so that the web-cam works properly.

Revision history for this message
Eliah Kagan (degeneracypressure) said :
#8

This answer is based, in part, on a Google Translator translation of the PDF manual from Chinese to English.

I have downloaded and extracted the .rar file. As you had said, it contains two .tar files. One of them is called "uvcvideo.tar". The other one is called "uvcvideo开发包.tar".

I don't know Chinese, but Google Translator says that "开发包" means "Development Kit", so the "uvcvideo.tar" file (without the Chinese characters in the name) is most likely the one you want to use.

Extracting that file creates a folder called uvcvideo_cur. Open up a Terminal window (Applications > Accessories > Terminal) and type "cd " (without the quotes, but with the space at the end). Then drag the uvcvideo_cur folder from Nautilus (the file manager) into the Terminal window. That pastes its absolute path into the Terminal window. Then press enter to execute this command.

Now run these commands (by typing or pasting them in, then pressing enter), but stop if any commands appear to fail (for example, if they print out error messages). One or more of the commands that start with "sudo" may ask for your password, in which case you should type it in and press enter. As you are typing your password in the Terminal, you will not see any placeholder characters (like *)--that's OK. I recommend you paste these commands, but if you choose to type them, please take note that "uname -r" is enclosed in backticks (the key you press with shift to produce ~ on a US/English keyboard), not single-quotes.

sudo apt-get update
sudo apt-get install build-essential linux-headers-`uname -r`
make
sudo make install
modprobe v4l1-compat
modprobe v4l2-common
modprobe videodev
modprobe uvcvideo

If any of those steps appears to fail, please post again, pasting all the text from the Terminal (*all* of it, starting with the "cd " command at the beginning). If all the steps succeeded then, at this point, the webcam's drivers should be installed and running.

The driver distribution comes with a utility called LUVCview, which you can use to test your webcam. According to the documentation, this utility supports displaying the output of your webcam at two resolutions: 640x480, and 320x240. To test your webcam, displaying its output at 640x480, run the command:

./luvcview -d /dev/video0 -f yuv -s 640x480

To test it at 320x240, run the command:

./luvcview -d /dev/video0 -f yuv -s 320x240

If neither of those works, then your webcam driver installation probably didn't work. In that case, please feel free to post again for more assistance (and please paste *all* the text from the Terminal, when you do).

Revision history for this message
Titan (firuzvanquisher) said :
#9

The following error message appear-
firuz@firuz-desktop:~$ cd '/home/firuz/Downloads/334 linux driver 090320/uvcvideo_cur'
firuz@firuz-desktop:~/Downloads/334 linux driver 090320/uvcvideo_cur$ sudo apt-get update
[sudo] password for firuz:
Hit http://ubuntuarchive.hnsdc.com lucid Release.gpg
Hit http://archive.canonical.com lucid Release.gpg
Ign http://archive.canonical.com/ubuntu/ lucid/partner Translation-en_IN
Get:1 http://ppa.launchpad.net lucid Release.gpg [316B]
Ign http://ppa.launchpad.net/kubuntu-ppa/backports/ubuntu/ lucid/main Translation-en_IN
Ign http://ubuntuarchive.hnsdc.com/ubuntu/ lucid/main Translation-en_IN
Hit http://archive.canonical.com lucid Release
Get:2 http://ppa.launchpad.net lucid Release [57.3kB]
Get:3 http://deb.playonlinux.com jaunty Release.gpg [197B]
Ign http://ppa.launchpad.net lucid Release
Ign http://ubuntuarchive.hnsdc.com/ubuntu/ lucid/restricted Translation-en_IN
Ign http://deb.playonlinux.com/ jaunty/main Translation-en_IN
Hit http://ppa.launchpad.net lucid/main Packages
Hit http://archive.canonical.com lucid/partner Packages
Get:4 http://deb.playonlinux.com jaunty Release [1,723B]
Ign http://deb.playonlinux.com jaunty Release
Hit http://archive.canonical.com lucid/partner Sources
Ign http://ubuntuarchive.hnsdc.com/ubuntu/ lucid/universe Translation-en_IN
Ign http://deb.playonlinux.com jaunty/main Packages
Ign http://ubuntuarchive.hnsdc.com/ubuntu/ lucid/multiverse Translation-en_IN
Ign http://deb.playonlinux.com jaunty/main Packages
Hit http://ubuntuarchive.hnsdc.com lucid-updates Release.gpg
Hit http://deb.playonlinux.com jaunty/main Packages
Ign http://ubuntuarchive.hnsdc.com/ubuntu/ lucid-updates/main Translation-en_IN
Ign http://ubuntuarchive.hnsdc.com/ubuntu/ lucid-updates/restricted Translation-en_IN
Ign http://ubuntuarchive.hnsdc.com/ubuntu/ lucid-updates/universe Translation-en_IN
Ign http://ubuntuarchive.hnsdc.com/ubuntu/ lucid-updates/multiverse Translation-en_IN
Hit http://ubuntuarchive.hnsdc.com lucid-security Release.gpg
Ign http://ubuntuarchive.hnsdc.com/ubuntu/ lucid-security/main Translation-en_IN
Ign http://ubuntuarchive.hnsdc.com/ubuntu/ lucid-security/restricted Translation-en_IN
Ign http://ubuntuarchive.hnsdc.com/ubuntu/ lucid-security/universe Translation-en_IN
Ign http://ubuntuarchive.hnsdc.com/ubuntu/ lucid-security/multiverse Translation-en_IN
Hit http://ubuntuarchive.hnsdc.com lucid-backports Release.gpg
Ign http://ubuntuarchive.hnsdc.com/ubuntu/ lucid-backports/restricted Translation-en_IN
Ign http://ubuntuarchive.hnsdc.com/ubuntu/ lucid-backports/main Translation-en_IN
Ign http://ubuntuarchive.hnsdc.com/ubuntu/ lucid-backports/multiverse Translation-en_IN
Ign http://ubuntuarchive.hnsdc.com/ubuntu/ lucid-backports/universe Translation-en_IN
Hit http://ubuntuarchive.hnsdc.com lucid Release
Hit http://ubuntuarchive.hnsdc.com lucid-updates Release
Hit http://ubuntuarchive.hnsdc.com lucid-security Release
Hit http://ubuntuarchive.hnsdc.com lucid-backports Release
Hit http://ubuntuarchive.hnsdc.com lucid/main Packages
Hit http://ubuntuarchive.hnsdc.com lucid/restricted Packages
Hit http://ubuntuarchive.hnsdc.com lucid/main Sources
Hit http://ubuntuarchive.hnsdc.com lucid/restricted Sources
Hit http://ubuntuarchive.hnsdc.com lucid/universe Packages
Hit http://ubuntuarchive.hnsdc.com lucid/universe Sources
Hit http://ubuntuarchive.hnsdc.com lucid/multiverse Packages
Hit http://ubuntuarchive.hnsdc.com lucid/multiverse Sources
Hit http://ubuntuarchive.hnsdc.com lucid-updates/main Packages
Hit http://ubuntuarchive.hnsdc.com lucid-updates/restricted Packages
Hit http://ubuntuarchive.hnsdc.com lucid-updates/main Sources
Hit http://ubuntuarchive.hnsdc.com lucid-updates/restricted Sources
Hit http://ubuntuarchive.hnsdc.com lucid-updates/universe Packages
Hit http://ubuntuarchive.hnsdc.com lucid-updates/universe Sources
Hit http://ubuntuarchive.hnsdc.com lucid-updates/multiverse Packages
Hit http://ubuntuarchive.hnsdc.com lucid-updates/multiverse Sources
Hit http://ubuntuarchive.hnsdc.com lucid-security/main Packages
Hit http://ubuntuarchive.hnsdc.com lucid-security/restricted Packages
Hit http://ubuntuarchive.hnsdc.com lucid-security/main Sources
Hit http://ubuntuarchive.hnsdc.com lucid-security/restricted Sources
Hit http://ubuntuarchive.hnsdc.com lucid-security/universe Packages
Hit http://ubuntuarchive.hnsdc.com lucid-security/universe Sources
Hit http://ubuntuarchive.hnsdc.com lucid-security/multiverse Packages
Hit http://ubuntuarchive.hnsdc.com lucid-security/multiverse Sources
Hit http://ubuntuarchive.hnsdc.com lucid-backports/restricted Packages
Hit http://ubuntuarchive.hnsdc.com lucid-backports/main Packages
Hit http://ubuntuarchive.hnsdc.com lucid-backports/multiverse Packages
Hit http://ubuntuarchive.hnsdc.com lucid-backports/universe Packages
Fetched 515B in 20s (26B/s)
Reading package lists... Done
W: GPG error: http://ppa.launchpad.net lucid Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 2836CB0A8AC93F7A
W: GPG error: http://deb.playonlinux.com jaunty Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY E0F72778C4676186
firuz@firuz-desktop:~/Downloads/334 linux driver 090320/uvcvideo_cur$

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#10

Open a Terminal from the menu Applications → Accessories → Terminal and type or copy and paste, one row a time then press enter:

Then add this repository gpg key copy and paste this row into terminal and then press enter:

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 2836CB0A8AC93F7A

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E0F72778C4676186

give your user password when requested, you don't see nothing when you type it, then press enter

Then update your system type:

sudo apt-get update
sudo apt-get dist-upgrade

Hope this helps

Revision history for this message
Titan (firuzvanquisher) said :
#11

Thanks for taking so much of burden Eliah Kagan.

Revision history for this message
Titan (firuzvanquisher) said :
#12

The new error message that appears is-
firuz@firuz-desktop:~$ cd '/home/firuz/Downloads/334 linux driver 090320/uvcvideo_cur'
firuz@firuz-desktop:~/Downloads/334 linux driver 090320/uvcvideo_cur$ sudo apt-get update
Hit http://ubuntuarchive.hnsdc.com lucid Release.gpg
Hit http://deb.playonlinux.com jaunty Release.gpg
Ign http://deb.playonlinux.com/ jaunty/main Translation-en_IN
Hit http://archive.canonical.com lucid Release.gpg
Ign http://archive.canonical.com/ubuntu/ lucid/partner Translation-en_IN
Ign http://ubuntuarchive.hnsdc.com/ubuntu/ lucid/main Translation-en_IN
Hit http://ppa.launchpad.net lucid Release.gpg
Ign http://ppa.launchpad.net/kubuntu-ppa/backports/ubuntu/ lucid/main Translation-en_IN
Hit http://archive.canonical.com lucid Release
Ign http://ubuntuarchive.hnsdc.com/ubuntu/ lucid/restricted Translation-en_IN
Hit http://deb.playonlinux.com jaunty Release
Hit http://ppa.launchpad.net lucid Release
Ign http://ubuntuarchive.hnsdc.com/ubuntu/ lucid/universe Translation-en_IN
Hit http://archive.canonical.com lucid/partner Packages
Ign http://deb.playonlinux.com jaunty/main Packages
Hit http://ppa.launchpad.net lucid/main Packages
Ign http://ubuntuarchive.hnsdc.com/ubuntu/ lucid/multiverse Translation-en_IN
Hit http://archive.canonical.com lucid/partner Sources
Ign http://deb.playonlinux.com jaunty/main Packages
Hit http://deb.playonlinux.com jaunty/main Packages
Hit http://ubuntuarchive.hnsdc.com lucid-updates Release.gpg
Ign http://ubuntuarchive.hnsdc.com/ubuntu/ lucid-updates/main Translation-en_IN
Ign http://ubuntuarchive.hnsdc.com/ubuntu/ lucid-updates/restricted Translation-en_IN
Ign http://ubuntuarchive.hnsdc.com/ubuntu/ lucid-updates/universe Translation-en_IN
Ign http://ubuntuarchive.hnsdc.com/ubuntu/ lucid-updates/multiverse Translation-en_IN
Hit http://ubuntuarchive.hnsdc.com lucid-security Release.gpg
Ign http://ubuntuarchive.hnsdc.com/ubuntu/ lucid-security/main Translation-en_IN
Ign http://ubuntuarchive.hnsdc.com/ubuntu/ lucid-security/restricted Translation-en_IN
Ign http://ubuntuarchive.hnsdc.com/ubuntu/ lucid-security/universe Translation-en_IN
Ign http://ubuntuarchive.hnsdc.com/ubuntu/ lucid-security/multiverse Translation-en_IN
Hit http://ubuntuarchive.hnsdc.com lucid-backports Release.gpg
Ign http://ubuntuarchive.hnsdc.com/ubuntu/ lucid-backports/restricted Translation-en_IN
Ign http://ubuntuarchive.hnsdc.com/ubuntu/ lucid-backports/main Translation-en_IN
Ign http://ubuntuarchive.hnsdc.com/ubuntu/ lucid-backports/multiverse Translation-en_IN
Ign http://ubuntuarchive.hnsdc.com/ubuntu/ lucid-backports/universe Translation-en_IN
Hit http://ubuntuarchive.hnsdc.com lucid Release
Hit http://ubuntuarchive.hnsdc.com lucid-updates Release
Hit http://ubuntuarchive.hnsdc.com lucid-security Release
Hit http://ubuntuarchive.hnsdc.com lucid-backports Release
Hit http://ubuntuarchive.hnsdc.com lucid/main Packages
Hit http://ubuntuarchive.hnsdc.com lucid/restricted Packages
Hit http://ubuntuarchive.hnsdc.com lucid/main Sources
Hit http://ubuntuarchive.hnsdc.com lucid/restricted Sources
Hit http://ubuntuarchive.hnsdc.com lucid/universe Packages
Hit http://ubuntuarchive.hnsdc.com lucid/universe Sources
Hit http://ubuntuarchive.hnsdc.com lucid/multiverse Packages
Hit http://ubuntuarchive.hnsdc.com lucid/multiverse Sources
Hit http://ubuntuarchive.hnsdc.com lucid-updates/main Packages
Hit http://ubuntuarchive.hnsdc.com lucid-updates/restricted Packages
Hit http://ubuntuarchive.hnsdc.com lucid-updates/main Sources
Hit http://ubuntuarchive.hnsdc.com lucid-updates/restricted Sources
Hit http://ubuntuarchive.hnsdc.com lucid-updates/universe Packages
Hit http://ubuntuarchive.hnsdc.com lucid-updates/universe Sources
Hit http://ubuntuarchive.hnsdc.com lucid-updates/multiverse Packages
Hit http://ubuntuarchive.hnsdc.com lucid-updates/multiverse Sources
Hit http://ubuntuarchive.hnsdc.com lucid-security/main Packages
Hit http://ubuntuarchive.hnsdc.com lucid-security/restricted Packages
Hit http://ubuntuarchive.hnsdc.com lucid-security/main Sources
Hit http://ubuntuarchive.hnsdc.com lucid-security/restricted Sources
Hit http://ubuntuarchive.hnsdc.com lucid-security/universe Packages
Hit http://ubuntuarchive.hnsdc.com lucid-security/universe Sources
Hit http://ubuntuarchive.hnsdc.com lucid-security/multiverse Packages
Hit http://ubuntuarchive.hnsdc.com lucid-security/multiverse Sources
Hit http://ubuntuarchive.hnsdc.com lucid-backports/restricted Packages
Hit http://ubuntuarchive.hnsdc.com lucid-backports/main Packages
Hit http://ubuntuarchive.hnsdc.com lucid-backports/multiverse Packages
Hit http://ubuntuarchive.hnsdc.com lucid-backports/universe Packages
Reading package lists... Done
firoz@firoz-desktop:~/Downloads/334 linux driver 090320/uvcvideo_cur$ sudo apt-get install build-essential linux-headers-`uname -r`
Reading package lists... Done
Building dependency tree
Reading state information... Done
build-essential is already the newest version.
build-essential set to manually installed.
linux-headers-2.6.32-24-generic is already the newest version.
The following packages were automatically installed and are no longer required:
  libqt4-assistant linux-headers-2.6.32-21 gcj-jre gcj-4.4-jre-lib libgcj10
  wwwconfig-common gcj-jre-headless libjs-mootools
  linux-headers-2.6.32-21-generic gcj-4.4-base libgcj-common
  libqtassistantclient4 gcj-4.4-jre gcj-4.4-jre-headless javascript-common
  libgcj10-awt virtuoso-nepomuk
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
firuz@firuz-desktop:~/Downloads/334 linux driver 090320/uvcvideo_cur$ make
Building USB Video Class driver...
make[1]: Entering directory `/usr/src/linux-headers-2.6.32-24-generic'
make[1]: *** No rule to make target `linux'. Stop.
make[1]: Leaving directory `/usr/src/linux-headers-2.6.32-24-generic'
make: *** [uvcvideo] Error 2
firuz@firuz-desktop:~/Downloads/334 linux driver 090320/uvcvideo_cur$

Revision history for this message
Eliah Kagan (degeneracypressure) said :
#13

I am able to reproduce this error ("make[1]: *** No rule to make target 'linux'. Stop.'") by putting spaces in the absolute path to uvcvideo_cur. If you get rid of the spaces in your absolute path to it, then that should solve the problem.

In other words, rename the "334 linux driver 090320" folder to something without spaces in the name. Then type "cd " (without the quotes and with the space, like before), drag uvcideo_cur (now contained in a differently-named parent folder) into the Terminal, and press enter. You'll see your present working directory (the thing between the : and the $) change from ~/Downloads/334 linux driver 090320/uvcvideo_cur into whatever the new absolute path is; that is, the "334 linux driver 090320" part will change to its new whitespace-free name. Then resume the instructions, starting with "make". If you need further help or get any errors, please feel free to post again!

Revision history for this message
Titan (firuzvanquisher) said :
#14

When space is removed the error is-
firuz@firuz-desktop:~$ cd '/home/firuz/Downloads/334linux driver090320/uvcvideo_cur'
firuz@firuz-desktop:~/Downloads/334linux driver090320/uvcvideo_cur$ sudo apt-get update
[sudo] password for firuz:
Hit http://ppa.launchpad.net lucid Release.gpg
Ign http://ppa.launchpad.net/kubuntu-ppa/backports/ubuntu/ lucid/main Translation-en_IN
Hit http://ppa.launchpad.net lucid Release
Hit http://ppa.launchpad.net lucid/main Packages
Hit http://ubuntuarchive.hnsdc.com lucid Release.gpg
Hit http://deb.playonlinux.com jaunty Release.gpg
Hit http://archive.canonical.com lucid Release.gpg
Ign http://archive.canonical.com/ubuntu/ lucid/partner Translation-en_IN
Ign http://deb.playonlinux.com/ jaunty/main Translation-en_IN
Hit http://archive.canonical.com lucid Release
Ign http://ubuntuarchive.hnsdc.com/ubuntu/ lucid/main Translation-en_IN
Hit http://deb.playonlinux.com jaunty Release
Hit http://archive.canonical.com lucid/partner Packages
Ign http://deb.playonlinux.com jaunty/main Packages
Hit http://archive.canonical.com lucid/partner Sources
Ign http://ubuntuarchive.hnsdc.com/ubuntu/ lucid/restricted Translation-en_IN
Ign http://deb.playonlinux.com jaunty/main Packages
Ign http://ubuntuarchive.hnsdc.com/ubuntu/ lucid/universe Translation-en_IN
Hit http://deb.playonlinux.com jaunty/main Packages
Ign http://ubuntuarchive.hnsdc.com/ubuntu/ lucid/multiverse Translation-en_IN
Hit http://ubuntuarchive.hnsdc.com lucid-updates Release.gpg
Ign http://ubuntuarchive.hnsdc.com/ubuntu/ lucid-updates/main Translation-en_IN
Ign http://ubuntuarchive.hnsdc.com/ubuntu/ lucid-updates/restricted Translation-en_IN
Ign http://ubuntuarchive.hnsdc.com/ubuntu/ lucid-updates/universe Translation-en_IN
Ign http://ubuntuarchive.hnsdc.com/ubuntu/ lucid-updates/multiverse Translation-en_IN
Hit http://ubuntuarchive.hnsdc.com lucid-security Release.gpg
Ign http://ubuntuarchive.hnsdc.com/ubuntu/ lucid-security/main Translation-en_IN
Ign http://ubuntuarchive.hnsdc.com/ubuntu/ lucid-security/restricted Translation-en_IN
Ign http://ubuntuarchive.hnsdc.com/ubuntu/ lucid-security/universe Translation-en_IN
Ign http://ubuntuarchive.hnsdc.com/ubuntu/ lucid-security/multiverse Translation-en_IN
Hit http://ubuntuarchive.hnsdc.com lucid-backports Release.gpg
Ign http://ubuntuarchive.hnsdc.com/ubuntu/ lucid-backports/restricted Translation-en_IN
Ign http://ubuntuarchive.hnsdc.com/ubuntu/ lucid-backports/main Translation-en_IN
Ign http://ubuntuarchive.hnsdc.com/ubuntu/ lucid-backports/multiverse Translation-en_IN
Ign http://ubuntuarchive.hnsdc.com/ubuntu/ lucid-backports/universe Translation-en_IN
Hit http://ubuntuarchive.hnsdc.com lucid Release
Hit http://ubuntuarchive.hnsdc.com lucid-updates Release
Hit http://ubuntuarchive.hnsdc.com lucid-security Release
Hit http://ubuntuarchive.hnsdc.com lucid-backports Release
Hit http://ubuntuarchive.hnsdc.com lucid/main Packages
Hit http://ubuntuarchive.hnsdc.com lucid/restricted Packages
Hit http://ubuntuarchive.hnsdc.com lucid/main Sources
Hit http://ubuntuarchive.hnsdc.com lucid/restricted Sources
Hit http://ubuntuarchive.hnsdc.com lucid/universe Packages
Hit http://ubuntuarchive.hnsdc.com lucid/universe Sources
Hit http://ubuntuarchive.hnsdc.com lucid/multiverse Packages
Hit http://ubuntuarchive.hnsdc.com lucid/multiverse Sources
Hit http://ubuntuarchive.hnsdc.com lucid-updates/main Packages
Hit http://ubuntuarchive.hnsdc.com lucid-updates/restricted Packages
Hit http://ubuntuarchive.hnsdc.com lucid-updates/main Sources
Hit http://ubuntuarchive.hnsdc.com lucid-updates/restricted Sources
Hit http://ubuntuarchive.hnsdc.com lucid-updates/universe Packages
Hit http://ubuntuarchive.hnsdc.com lucid-updates/universe Sources
Hit http://ubuntuarchive.hnsdc.com lucid-updates/multiverse Packages
Hit http://ubuntuarchive.hnsdc.com lucid-updates/multiverse Sources
Hit http://ubuntuarchive.hnsdc.com lucid-security/main Packages
Hit http://ubuntuarchive.hnsdc.com lucid-security/restricted Packages
Hit http://ubuntuarchive.hnsdc.com lucid-security/main Sources
Hit http://ubuntuarchive.hnsdc.com lucid-security/restricted Sources
Hit http://ubuntuarchive.hnsdc.com lucid-security/universe Packages
Hit http://ubuntuarchive.hnsdc.com lucid-security/universe Sources
Hit http://ubuntuarchive.hnsdc.com lucid-security/multiverse Packages
Hit http://ubuntuarchive.hnsdc.com lucid-security/multiverse Sources
Hit http://ubuntuarchive.hnsdc.com lucid-backports/restricted Packages
Hit http://ubuntuarchive.hnsdc.com lucid-backports/main Packages
Hit http://ubuntuarchive.hnsdc.com lucid-backports/multiverse Packages
Hit http://ubuntuarchive.hnsdc.com lucid-backports/universe Packages
Reading package lists... Done
firuz@firuz-desktop:~/Downloads/334linux driver090320/uvcvideo_cur$ sudo apt-get install build-essential linux-headers-`uname -r`
Reading package lists... Done
Building dependency tree
Reading state information... Done
build-essential is already the newest version.
linux-headers-2.6.32-27-generic is already the newest version.
The following packages were automatically installed and are no longer required:
  libqt4-assistant linux-headers-2.6.32-21 gcj-jre gcj-4.4-jre-lib libgcj10
  wwwconfig-common gcj-jre-headless libjs-mootools
  linux-headers-2.6.32-21-generic gcj-4.4-base libgcj-common
  libqtassistantclient4 gcj-4.4-jre gcj-4.4-jre-headless javascript-common
  libgcj10-awt virtuoso-nepomuk
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
firuz@firuz-desktop:~/Downloads/334linux driver090320/uvcvideo_cur$ make
Building USB Video Class driver...
make[1]: Entering directory `/usr/src/linux-headers-2.6.32-27-generic'
make[1]: *** No rule to make target `driver090320/uvcvideo_cur'. Stop.
make[1]: Leaving directory `/usr/src/linux-headers-2.6.32-27-generic'
make: *** [uvcvideo] Error 2
firuz@firuz-desktop:~/Downloads/334linux driver090320/uvcvideo_cur$

When name of "334 linux driver 090320" folder is changed to "12345q" the error is
firuz@firuz-desktop:~$ cd '/home/firuz/Downloads/12345q/uvcvideo_cur'
firuz@firuz-desktop:~/Downloads/12345q/uvcvideo_cur$ sudo apt-get update
Hit http://ppa.launchpad.net lucid Release.gpg
Ign http://ppa.launchpad.net/kubuntu-ppa/backports/ubuntu/ lucid/main Translation-en_IN
Hit http://ubuntuarchive.hnsdc.com lucid Release.gpg
Hit http://ppa.launchpad.net lucid Release
Hit http://deb.playonlinux.com jaunty Release.gpg
Hit http://archive.canonical.com lucid Release.gpg
Ign http://archive.canonical.com/ubuntu/ lucid/partner Translation-en_IN
Ign http://ubuntuarchive.hnsdc.com/ubuntu/ lucid/main Translation-en_IN
Ign http://deb.playonlinux.com/ jaunty/main Translation-en_IN
Hit http://ppa.launchpad.net lucid/main Packages
Hit http://archive.canonical.com lucid Release
Ign http://ubuntuarchive.hnsdc.com/ubuntu/ lucid/restricted Translation-en_IN
Hit http://archive.canonical.com lucid/partner Packages
Hit http://deb.playonlinux.com jaunty Release
Hit http://archive.canonical.com lucid/partner Sources
Ign http://deb.playonlinux.com jaunty/main Packages
Ign http://ubuntuarchive.hnsdc.com/ubuntu/ lucid/universe Translation-en_IN
Ign http://deb.playonlinux.com jaunty/main Packages
Hit http://deb.playonlinux.com jaunty/main Packages
Ign http://ubuntuarchive.hnsdc.com/ubuntu/ lucid/multiverse Translation-en_IN
Hit http://ubuntuarchive.hnsdc.com lucid-updates Release.gpg
Ign http://ubuntuarchive.hnsdc.com/ubuntu/ lucid-updates/main Translation-en_IN
Ign http://ubuntuarchive.hnsdc.com/ubuntu/ lucid-updates/restricted Translation-en_IN
Ign http://ubuntuarchive.hnsdc.com/ubuntu/ lucid-updates/universe Translation-en_IN
Ign http://ubuntuarchive.hnsdc.com/ubuntu/ lucid-updates/multiverse Translation-en_IN
Hit http://ubuntuarchive.hnsdc.com lucid-security Release.gpg
Ign http://ubuntuarchive.hnsdc.com/ubuntu/ lucid-security/main Translation-en_IN
Ign http://ubuntuarchive.hnsdc.com/ubuntu/ lucid-security/restricted Translation-en_IN
Ign http://ubuntuarchive.hnsdc.com/ubuntu/ lucid-security/universe Translation-en_IN
Ign http://ubuntuarchive.hnsdc.com/ubuntu/ lucid-security/multiverse Translation-en_IN
Hit http://ubuntuarchive.hnsdc.com lucid-backports Release.gpg
Ign http://ubuntuarchive.hnsdc.com/ubuntu/ lucid-backports/restricted Translation-en_IN
Ign http://ubuntuarchive.hnsdc.com/ubuntu/ lucid-backports/main Translation-en_IN
Ign http://ubuntuarchive.hnsdc.com/ubuntu/ lucid-backports/multiverse Translation-en_IN
Ign http://ubuntuarchive.hnsdc.com/ubuntu/ lucid-backports/universe Translation-en_IN
Hit http://ubuntuarchive.hnsdc.com lucid Release
Hit http://ubuntuarchive.hnsdc.com lucid-updates Release
Hit http://ubuntuarchive.hnsdc.com lucid-security Release
Hit http://ubuntuarchive.hnsdc.com lucid-backports Release
Hit http://ubuntuarchive.hnsdc.com lucid/main Packages
Hit http://ubuntuarchive.hnsdc.com lucid/restricted Packages
Hit http://ubuntuarchive.hnsdc.com lucid/main Sources
Hit http://ubuntuarchive.hnsdc.com lucid/restricted Sources
Hit http://ubuntuarchive.hnsdc.com lucid/universe Packages
Hit http://ubuntuarchive.hnsdc.com lucid/universe Sources
Hit http://ubuntuarchive.hnsdc.com lucid/multiverse Packages
Hit http://ubuntuarchive.hnsdc.com lucid/multiverse Sources
Hit http://ubuntuarchive.hnsdc.com lucid-updates/main Packages
Hit http://ubuntuarchive.hnsdc.com lucid-updates/restricted Packages
Hit http://ubuntuarchive.hnsdc.com lucid-updates/main Sources
Hit http://ubuntuarchive.hnsdc.com lucid-updates/restricted Sources
Hit http://ubuntuarchive.hnsdc.com lucid-updates/universe Packages
Hit http://ubuntuarchive.hnsdc.com lucid-updates/universe Sources
Hit http://ubuntuarchive.hnsdc.com lucid-updates/multiverse Packages
Hit http://ubuntuarchive.hnsdc.com lucid-updates/multiverse Sources
Hit http://ubuntuarchive.hnsdc.com lucid-security/main Packages
Hit http://ubuntuarchive.hnsdc.com lucid-security/restricted Packages
Hit http://ubuntuarchive.hnsdc.com lucid-security/main Sources
Hit http://ubuntuarchive.hnsdc.com lucid-security/restricted Sources
Hit http://ubuntuarchive.hnsdc.com lucid-security/universe Packages
Hit http://ubuntuarchive.hnsdc.com lucid-security/universe Sources
Hit http://ubuntuarchive.hnsdc.com lucid-security/multiverse Packages
Hit http://ubuntuarchive.hnsdc.com lucid-security/multiverse Sources
Hit http://ubuntuarchive.hnsdc.com lucid-backports/restricted Packages
Hit http://ubuntuarchive.hnsdc.com lucid-backports/main Packages
Hit http://ubuntuarchive.hnsdc.com lucid-backports/multiverse Packages
Hit http://ubuntuarchive.hnsdc.com lucid-backports/universe Packages
Reading package lists... Done
firuz@firuz-desktop:~/Downloads/12345q/uvcvideo_cur$ sudo apt-get install build-essential linux-headers-`uname -r`
Reading package lists... Done
Building dependency tree
Reading state information... Done
build-essential is already the newest version.
linux-headers-2.6.32-27-generic is already the newest version.
The following packages were automatically installed and are no longer required:
  libqt4-assistant linux-headers-2.6.32-21 gcj-jre gcj-4.4-jre-lib libgcj10
  wwwconfig-common gcj-jre-headless libjs-mootools
  linux-headers-2.6.32-21-generic gcj-4.4-base libgcj-common
  libqtassistantclient4 gcj-4.4-jre gcj-4.4-jre-headless javascript-common
  libgcj10-awt virtuoso-nepomuk
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
firuz@firuz-desktop:~/Downloads/12345q/uvcvideo_cur$ make
Building USB Video Class driver...
make[1]: Entering directory `/usr/src/linux-headers-2.6.32-27-generic'
  CC [M] /home/firuz/Downloads/12345q/uvcvideo_cur/uvc_driver.o
In file included from /home/firuz/Downloads/12345q/uvcvideo_cur/uvc_driver.c:44:
/home/firuz/Downloads/12345q/uvcvideo_cur/uvcvideo.h:14:1: warning: "V4L2_CID_BACKLIGHT_COMPENSATION" redefined
In file included from include/linux/videodev.h:17,
                 from /home/firuz/Downloads/12345q/uvcvideo_cur/uvc_driver.c:35:
include/linux/videodev2.h:903:1: warning: this is the location of the previous definition
In file included from /home/firuz/Downloads/12345q/uvcvideo_cur/uvc_driver.c:44:
/home/firuz/Downloads/12345q/uvcvideo_cur/uvcvideo.h:15:1: warning: "V4L2_CID_POWER_LINE_FREQUENCY" redefined
In file included from include/linux/videodev.h:17,
                 from /home/firuz/Downloads/12345q/uvcvideo_cur/uvc_driver.c:35:
include/linux/videodev2.h:894:1: warning: this is the location of the previous definition
In file included from /home/firuz/Downloads/12345q/uvcvideo_cur/uvc_driver.c:44:
/home/firuz/Downloads/12345q/uvcvideo_cur/uvcvideo.h:16:1: warning: "V4L2_CID_SHARPNESS" redefined
In file included from include/linux/videodev.h:17,
                 from /home/firuz/Downloads/12345q/uvcvideo_cur/uvc_driver.c:35:
include/linux/videodev2.h:902:1: warning: this is the location of the previous definition
In file included from /home/firuz/Downloads/12345q/uvcvideo_cur/uvc_driver.c:44:
/home/firuz/Downloads/12345q/uvcvideo_cur/uvcvideo.h:17:1: warning: "V4L2_CID_HUE_AUTO" redefined
In file included from include/linux/videodev.h:17,
                 from /home/firuz/Downloads/12345q/uvcvideo_cur/uvc_driver.c:35:
include/linux/videodev2.h:900:1: warning: this is the location of the previous definition
In file included from /home/firuz/Downloads/12345q/uvcvideo_cur/uvc_driver.c:44:
/home/firuz/Downloads/12345q/uvcvideo_cur/uvcvideo.h:19:1: warning: "V4L2_CID_FOCUS_AUTO" redefined
In file included from include/linux/videodev.h:17,
                 from /home/fiuoz/Downloads/12345q/uvcvideo_cur/uvc_driver.c:35:
include/linux/videodev2.h:1154:1: warning: this is the location of the previous definition
In file included from /home/firuz/Downloads/12345q/uvcvideo_cur/uvc_driver.c:44:
/home/firuz/Downloads/12345q/uvcvideo_cur/uvcvideo.h:20:1: warning: "V4L2_CID_FOCUS_ABSOLUTE" redefined
In file included from include/linux/videodev.h:17,
                 from /home/firuz/Downloads/12345q/uvcvideo_cur/uvc_driver.c:35:
include/linux/videodev2.h:1152:1: warning: this is the location of the previous definition
In file included from /home/firuz/Downloads/12345q/uvcvideo_cur/uvc_driver.c:44:
/home/firuz/Downloads/12345q/uvcvideo_cur/uvcvideo.h:21:1: warning: "V4L2_CID_FOCUS_RELATIVE" redefined
In file included from include/linux/videodev.h:17,
                 from /home/firuz/Downloads/12345q/uvcvideo_cur/uvc_driver.c:35:
include/linux/videodev2.h:1153:1: warning: this is the location of the previous definition
In file included from /home/firuz/Downloads/12345q/uvcvideo_cur/uvc_driver.c:44:
/home/firuz/Downloads/12345q/uvcvideo_cur/uvcvideo.h:23:1: warning: "V4L2_CID_PAN_RELATIVE" redefined
In file included from include/linux/videodev.h:17,
                 from /home/firuz/Downloads/12345q/uvcvideo_cur/uvc_driver.c:35:
include/linux/videodev2.h:1144:1: warning: this is the location of the previous definition
In file included from /home/firuz/Downloads/12345q/uvcvideo_cur/uvc_driver.c:44:
/home/firuz/Downloads/12345q/uvcvideo_cur/uvcvideo.h:24:1: warning: "V4L2_CID_TILT_RELATIVE" redefined
In file included from include/linux/videodev.h:17,
                 from /home/firuz/Downloads/12345q/uvcvideo_cur/uvc_driver.c:35:
include/linux/videodev2.h:1145:1: warning: this is the location of the previous definition
In file included from /home/firuz/Downloads/12345q/uvcvideo_cur/uvc_driver.c:44:
/home/firuz/Downloads/12345q/uvcvideo_cur/uvcvideo.h:27:1: warning: "V4L2_CID_EXPOSURE_AUTO" redefined
In file included from include/linux/videodev.h:17,
                 from /home/firuz/Downloads/12345q/uvcvideo_cur/uvc_driver.c:35:
include/linux/videodev2.h:1134:1: warning: this is the location of the previous definition
In file included from /home/firuz/Downloads/12345q/uvcvideo_cur/uvc_driver.c:44:
/home/firuz/Downloads/12345q/uvcvideo_cur/uvcvideo.h:28:1: warning: "V4L2_CID_EXPOSURE_ABSOLUTE" redefined
In file included from include/linux/videodev.h:17,
                 from /home/firuz/Downloads/12345q/uvcvideo_cur/uvc_driver.c:35:
include/linux/videodev2.h:1141:1: warning: this is the location of the previous definition
In file included from /home/firuz/Downloads/12345q/uvcvideo_cur/uvc_driver.c:44:
/home/firuz/Downloads/12345q/uvcvideo_cur/uvcvideo.h:31:1: warning: "V4L2_CID_WHITE_BALANCE_TEMPERATURE" redefined
In file included from include/linux/videodev.h:17,
                 from /home/firuz/Downloads/12345q/uvcvideo_cur/uvc_driver.c:35:
include/linux/videodev2.h:901:1: warning: this is the location of the previous definition
/home/firuz/Downloads/12345q/uvcvideo_cur/uvc_driver.c: In function ‘uvc_register_video’:
/home/firuz/Downloads/12345q/uvcvideo_cur/uvc_driver.c:1103: error: incompatible types when assigning to type ‘struct device’ from type ‘struct device *’
/home/firuz/Downloads/12345q/uvcvideo_cur/uvc_driver.c:1104: error: ‘struct video_device’ has no member named ‘type’
/home/firuz/Downloads/12345q/uvcvideo_cur/uvc_driver.c:1105: error: ‘struct video_device’ has no member named ‘type2’
/home/firuz/Downloads/12345q/uvcvideo_cur/uvc_driver.c:1106: error: ‘struct video_device’ has no member named ‘hardware’
/home/firuz/Downloads/12345q/uvcvideo_cur/uvc_driver.c:1108: warning: assignment from incompatible pointer type
make[2]: *** [/home/firuz/Downloads/12345q/uvcvideo_cur/uvc_driver.o] Error 1
make[1]: *** [_module_/home/firuz/Downloads/12345q/uvcvideo_cur] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.32-27-generic'
make: *** [uvcvideo] Error 2
firuz@firuz-desktop:~/Downloads/12345q/uvcvideo_cur$

Revision history for this message
Titan (firuzvanquisher) said :
#15

any one knows how to solve it.

Revision history for this message
Best Eliah Kagan (degeneracypressure) said :
#16

I haven't looked at the source code of the driver itself, but the build errors suggest that the driver assumes an earlier version of the Linux kernel--perhaps a much earlier version. The source of the driver appears GPL-licensed, so we could try to hack the driver to work with a modern kernel. But let's try less technical solutions first.

Starting with your version (10.04 Lucid), Ubuntu ships with a UVC video driver. Have you made sure that your webcam is not *already* supported? Some applications might not work with it (or might have to be reconfigured to work with it), even if it is supported.

You can test your webcam by running this command inside the uvcvideo_cur directory:

./luvcview -d /dev/video0 -f yuv -s 640x480

If that doesn't work, try it this way:

./luvcview -d /dev/video0 -f yuv -s 320x240

For each one, if a black window appears, wait several seconds before assuming that it hasn't worked.

If either of those commands displays the video from your webcam in real-time, then the UVC video driver in Ubuntu is already working, and there is no need to install this driver (and, in fact, installing it would not be helpful).

Otherwise, we can try other steps, like building and installing the latest Linux UVC driver from source.

In my opinion, attempting to hack this driver to get to compile should be a last resort.

Revision history for this message
Titan (firuzvanquisher) said :
#17

Thanks Eliah Kagan, that solved my question.

Revision history for this message
Eliah Kagan (degeneracypressure) said :
#18

You mean, it turns out that the webcam just works out-of-the-box in Ubuntu, without having to install any additional driver?

Revision history for this message
Titan (firuzvanquisher) said :
#19

Yes that worked.And I have installed cheese and its working. Thanks for help. Have you read the email i had sent to you.

------Original message------
From: Eliah Kagan <email address hidden>
To: <email address hidden>
Date: Thursday, January 27, 2011 9:49:57 AM GMT-0000
Subject: Re: [Question #142433]: How to install.tar files?

Your question #142433 on file-roller in ubuntu changed:
https://answers.launchpad.net/ubuntu/+source/file-roller/+question/142433

Eliah Kagan posted a new comment:
You mean, it turns out that the webcam just works out-of-the-box in
Ubuntu, without having to install any additional driver?

--
You received this question notification because you are a direct
subscriber of the question.