install xps m1210 integrated webcam/mic

Asked by francesco ferroni

Hello, i was wondering where i can find (if there is one) the driver for my integrated logitech quickcam for dell xps m1210 laptop ... i can't use it and it also has a microhpone incorporated in it ... so i can't even use phone via internet. .. i use ubuntu feisty

i'm kinda new to the whole linux thing ... so please bear with me :P

francesco

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Flavius
Solved:
Last query:
Last reply:
Revision history for this message
Flavius (fcopaciu-deactivatedaccount) said :
#1

Have a look here: https://wiki.ubuntu.com/LaptopTestingTeam/DellXPSM1210

Best regards,
Flavius

Revision history for this message
francesco ferroni (eponalank) said :
#2

hm .. ok now i know that it's possible for it to work ... but the "intended audience" is developers/end users... that's not me ... i tried to find the uvc driver on synaptic but it's not there... if there's anyone willing to explain how to download it and install it even with terminal i'm very grateful ...

francesco

Revision history for this message
Best Flavius (fcopaciu-deactivatedaccount) said :
#3

Hi,

the driver development happens at http://linux-uvc.berlios.de/. There aren't many details there and the wiki page is not working for me, but you can at least check if the Device ID of your camera is on the list of supported devices.

In the Ubuntu wiki there are instructions on getting this driver to work for other webcams, I think that you can use these instructions. Have a look at https://help.ubuntu.com/community/InstallingLogitechQuickcamPro5000OnEdgy and https://help.ubuntu.com/community/MacBook (look for the section called "OPTIONAL: To make the built-in iSight camera work with Ekiga").

Additionally try to get in touch with the people who tested the Dell, their contact info is at the top of the page I mentioned in my previous message.

Best regards,
Flavius

Revision history for this message
francesco ferroni (eponalank) said :
#4

thanks for the websites...

my camera is indeed in the list (good news), so i was trying to install the driver with
https://help.ubuntu.com/community/InstallingLogitechQuickcamPro5000OnEdgy
however, when i do this command:
aptitude install libpt-plugins-v4l2 v4l2ucp subversion libsdl1.2-dev
it gets to "building tag database...done"
and then it cant open lock file /var/lib/dpkg/lock ... and it asks me if i am in root?
erhmm... hehe... how do i get in "root" XDDDD...

i hope i get better at this with time

thanks
francesco

Revision history for this message
Flavius (fcopaciu-deactivatedaccount) said :
#5

Hi,

you need proper rights in order to be able to install any programs, this page will give you a few hints on this topic : https://help.ubuntu.com/community/RootSudo.

To make a long story short, you need to add the command "sudo" before each command that installs software on your system, in this case "aptitude" and "make install", like this:

sudo aptitude install libpt-plugins-v4l2 v4l2ucp subversion libsdl1.2-dev
svn checkout svn://svn.berlios.de/linux-uvc/linux-uvc/trunk
cd trunk
make
sudo make install

Best regards,
Flavius

Revision history for this message
francesco ferroni (eponalank) said :
#6

hm ... i managed to download the driver successfully (i think)
however i can't test it if it works because i can't install luvcview XD

i download it.. i change the directory ... but this is what i get when i "make" it

francesco@xps-ubuntu:~/luvcview-20060920$ make
gcc -DUSE_SDL -O2 -DLINUX -DVERSION=\"0.1.7\" -I/usr/src/modules/linux-uvc -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DUSE_SDL -O2 -DLINUX -DVERSION=\"0.1.7\" -I/usr/src/modules/linux-uvc -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o luvcview.o luvcview.c
gcc -DUSE_SDL -O2 -DLINUX -DVERSION=\"0.1.7\" -I/usr/src/modules/linux-uvc -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DUSE_SDL -O2 -DLINUX -DVERSION=\"0.1.7\" -I/usr/src/modules/linux-uvc -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o utils.o utils.c
gcc -DUSE_SDL -O2 -DLINUX -DVERSION=\"0.1.7\" -I/usr/src/modules/linux-uvc -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DUSE_SDL -O2 -DLINUX -DVERSION=\"0.1.7\" -I/usr/src/modules/linux-uvc -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o v4l2uvc.o v4l2uvc.c
gcc -DUSE_SDL -O2 -DLINUX -DVERSION=\"0.1.7\" -I/usr/src/modules/linux-uvc -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DUSE_SDL -O2 -DLINUX -DVERSION=\"0.1.7\" -I/usr/src/modules/linux-uvc -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o gui.o gui.c
gcc -DUSE_SDL -O2 -DLINUX -DVERSION=\"0.1.7\" -I/usr/src/modules/linux-uvc -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DUSE_SDL -O2 -DLINUX -DVERSION=\"0.1.7\" -I/usr/src/modules/linux-uvc -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o avilib.o avilib.c
gcc -DUSE_SDL -O2 -DLINUX -DVERSION=\"0.1.7\" -I/usr/src/modules/linux-uvc -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DUSE_SDL -O2 -DLINUX -DVERSION=\"0.1.7\" -I/usr/src/modules/linux-uvc -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o frmfmtenum.o frmfmtenum.c
In file included from frmfmtenum.c:36:
v4l2_enumfrmfmt.h:8: error: nested redefinition of ‘enum v4l2_frmsizetypes’
v4l2_enumfrmfmt.h:8: error: redeclaration of ‘enum v4l2_frmsizetypes’
v4l2_enumfrmfmt.h:9: error: redeclaration of enumerator ‘V4L2_FRMSIZE_TYPE_DISCRETE’
/usr/include/linux/videodev2.h:282: error: previous definition of ‘V4L2_FRMSIZE_TYPE_DISCRETE’ was here
v4l2_enumfrmfmt.h:10: error: redeclaration of enumerator ‘V4L2_FRMSIZE_TYPE_CONTINUOUS
/usr/include/linux/videodev2.h:283: error: previous definition of ‘V4L2_FRMSIZE_TYPE_CONTINUOUS’ was here
v4l2_enumfrmfmt.h:11: error: redeclaration of enumerator ‘V4L2_FRMSIZE_TYPE_STEPWISE’
/usr/include/linux/videodev2.h:284: error: previous definition of ‘V4L2_FRMSIZE_TYPE_STEPWISE’ was here
v4l2_enumfrmfmt.h:14: error: nested redefinition of ‘enum v4l2_frmivaltypes’
v4l2_enumfrmfmt.h:14: error: redeclaration of ‘enum v4l2_frmivaltypes’
v4l2_enumfrmfmt.h:15: error: redeclaration of enumerator ‘V4L2_FRMIVAL_TYPE_DISCRETE’
/usr/include/linux/videodev2.h:322: error: previous definition of ‘V4L2_FRMIVAL_TYPE_DISCRETE’ was here
v4l2_enumfrmfmt.h:16: error: redeclaration of enumerator ‘V4L2_FRMIVAL_TYPE_CONTINUOUS
/usr/include/linux/videodev2.h:323: error: previous definition of ‘V4L2_FRMIVAL_TYPE_CONTINUOUS’ was here
v4l2_enumfrmfmt.h:17: error: redeclaration of enumerator ‘V4L2_FRMIVAL_TYPE_STEPWISE’
/usr/include/linux/videodev2.h:324: error: previous definition of ‘V4L2_FRMIVAL_TYPE_STEPWISE’ was here
v4l2_enumfrmfmt.h:24: error: redefinition of ‘struct v4l2_frmsize_discrete’
v4l2_enumfrmfmt.h:32: error: redefinition of ‘struct v4l2_frmsize_stepwise’
v4l2_enumfrmfmt.h:52: error: redefinition of ‘struct v4l2_frmsizeenum’
v4l2_enumfrmfmt.h:73: error: redefinition of ‘struct v4l2_frmival_stepwise’
v4l2_enumfrmfmt.h:84: error: redefinition of ‘struct v4l2_frmivalenum’
In file included from frmfmtenum.c:36:
v4l2_enumfrmfmt.h:116:1: warning: "VIDIOC_ENUM_FRAMESIZES" redefined
In file included from /usr/include/linux/videodev.h:15,
                 from frmfmtenum.c:34:
/usr/include/linux/videodev2.h:1243:1: warning: this is the location of the previous definition
In file included from frmfmtenum.c:36:
v4l2_enumfrmfmt.h:117:1: warning: "VIDIOC_ENUM_FRAMEINTERVALS" redefined
In file included from /usr/include/linux/videodev.h:15,
                 from frmfmtenum.c:34:
/usr/include/linux/videodev2.h:1244:1: warning: this is the location of the previous definition
make: *** [frmfmtenum.o] Error 1

i think that when i installed the driver ... the v4l2 thing was missing ... because it's just giving problems related to that ... i think ...
dunnoo

francesco

Revision history for this message
francesco ferroni (eponalank) said :
#7

this is what i got when i tried to reinstall the driver...

francesco@xps-ubuntu:~$ sudo aptitude install libpt-plugins-v4l2 v4l2ucp subversion libsdl1.2-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initialising package states... Done
Building tag database... Done
Couldn't find any package whose name or description matched "v4l2ucp" ??????????
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Writing extended state information... Done
francesco@xps-ubuntu:~$

Revision history for this message
Flavius (fcopaciu-deactivatedaccount) said :
#8

Did you managed to successfully execute the sequence of commands that I posted in my previous post?

If YES, then instead of lucview try the following (inspired from http://ubuntuforums.org/showthread.php?t=225621):

1. Load the module
$ sudo modprobe uvcvideo

2.EKIGA TEST - Install prerequisites
$ sudo apt-get install ekiga libpt-plugins-v4l2

3. Launch Ekiga, via menus or
$ ekiga

4.Configure Ekigs. You may have to select the Logitech device.
Edit > Preferences > Devices > Video Devices >
- Video plugin: V4L2
- Input device: Logitech or something like it.

I cant help you with those compile errors. Sorry.

Best regards,
Flavius

Revision history for this message
Flavius (fcopaciu-deactivatedaccount) said :
#9

You are right, the package "v4l2ucp" is not in the Ubuntu repositories. But I have seen it for Debian, maybe you can install it. I have to do some more research on this topic.

Revision history for this message
francesco ferroni (eponalank) said :
#10

hooray i managed to make it work ... but that's because in the ubuntu wiki guide the type of luvcviw is a bit old ...
http://www.keasoft.it/blog/notebook/
it shows you the same process but with a slighly different version of luvcview

$ wget http://mxhaard.free.fr/spca50x/Investigation/uvc/luvcview-20070512.tar.gz
$ tar xzf luvcview-20070512.tar.gz
$ cd luvcview-20070512
$ make
$ ./luvcview

note -20070512 instead of 2006...

thanks flavius

francesco

Revision history for this message
francesco ferroni (eponalank) said :
#11

Thanks Flavius, that solved my question.