Laptop Webcam + DELL XPS M1530 tips

Questions about hardware,drivers and peripherals
Forum rules
Before you post please read how to get help

Laptop Webcam + DELL XPS M1530 tips

Postby Mickoes on Mon Jan 12, 2009 2:30 pm

Hello everybody,

After hours of unsuccessful googling, I'm seeking help on a peripheral that just don't want to work correctly. I own a Dell XPS M1530 laptop with an "integrated laptop Creative Labs webcam". (Fun facts: Dell do not provide linux and XP drivers but I have both of these systems installed) I can detect it thru lsusb and can get an image/video if I use an obscure skype-like voip client which cannot records. However, I can't get an image either with cheese or every other webcam application. I'll put Skype aside even if the program doesn't work because I read that they use their own video drivers.

Since I can get an image with that osbscure voip conferencing client, I'm concluding that my webcam works under linux. My problem is that when the video-conferencing applications are accessing my webcam, they just freeze and there's a blank screen (looks like they can't fetch the image). My webcam is active because the webcam light is switching to on.

I tried to stream/record a video using gstreamer, stream, cheese, webcam and other popular program that you can find on synaptic. I do have a /device/video0 directory but it's locked. When I sudo one of these program above on the stream, the program just crash. I also tried to install the latest gspca drivers but I failed because I just couldn't install it (could not build and make it). However, I was able to get it thru Synaptic. I also tried another driver but no effect. Interesting fact, sometimes when the webcam program crashes my webcam stays active. Then, when I try to stream it using gstreamer and some other programs, I'm having colored bars (testing-like bars) and video noise on the bottom right.

Any help is greatly appreciated :).

---
For those who owns a Dell XPS M1530 like me, here's the other problems that I had.

Wireless (Intel xxxxABG wireless card) :

Not able to find the "Activate wireless devices" at first in the taskbar. I only had the wired network one. You will not see the adapter (WLAN0) in either ifconfig or iwconfig. There's a pinned topic in this same forum that will probably help you. When your wireless network is detected, you will not have anymore problem with it.

Fingerprint reader :
It will work if you install specific drivers. You can find a very complete tutorial here :
http://animeshkmr.wordpress.com/2009/01 ... -in-linux/

Ge-Force drivers :
Use 173 drivers if you are looking to use wine, it is way much faster. Also, you will get way better results if you do not use the wine installation provided by Synaptic. It makes a huge difference in COD4 for me.

This tutorial : http://www.fsckin.com/2008/02/21/how-to ... -in-linux/ is good. Just get the latest version of wine instead (it is also including the DX9 DLL file). We're talking about a 20 fps increase in my case with this version and drivers.

N.B: It is detecting the HDMI plug. Don't know if it's working though.

Sigmatel audio :
It will be installed by default and working. You may or may not hear it, I needed to open the terminal and type alsamixer. Then, you can crank up the sound manually using the arrows and the tab button. Also verify your sound driver in the sound panel. I use the OSS version, it's working fine. I did not have the time to test the headset and Mic plugs.

Touchpad :
Will not work correctly unless you follow this procedure.
http://ubuntuforums.org/showthread.php?t=894107

You can follow this guide, it will help you on various issue and provides a few tips :
https://wiki.ubuntu.com/InstallingUbuntuOnADellXPSM1530

Everything else is untested or working fine. Hope that I helped a few people.

Regards,
MIchael
Last edited by Mickoes on Mon Jan 12, 2009 6:09 pm, edited 2 times in total.
Mickoes
Level 1
Level 1
 
Posts: 7
Joined: Mon Jan 12, 2009 12:41 pm

Linux Mint is funded by ads and donations.
 

Re: Laptop Webcam - DELL XPS M1530

Postby hotweiss on Mon Jan 12, 2009 4:03 pm

This is the solution:

1)
Code: Select all
sudo  apt-get install linux-uvc-source module-assistant auto-install linux-uvc


2)
Code: Select all
modprobe uvcvideo


3) Reboot

You can read more about it here:

http://www.avalpa.com/assets/andrea/stu ... dio15.html
hotweiss
Level 4
Level 4
 
Posts: 204
Joined: Mon Jan 21, 2008 3:12 am
Location: Warsaw, Poland

Re: Laptop Webcam + DELL XPS M1530 tips

Postby Mickoes on Tue Jan 13, 2009 12:11 am

Thank you for your fast answer but unfortunately I'm experiencing a few problems with your commands. Most packages are missing or already installed and I'm having this error when I run UVCCAPTURE.

Code: Select all
ioctl querycontrol error 22
Mickoes
Level 1
Level 1
 
Posts: 7
Joined: Mon Jan 12, 2009 12:41 pm

Re: Laptop Webcam + DELL XPS M1530 tips

Postby hotweiss on Tue Jan 13, 2009 2:08 am

Try this then:

A) First we’ll need to install the files needed to build the driver by typing the following in Terminal:
sudo apt-get install build-essential subversion linux-headers-`uname -r`

B) Now we will build the driver by typing the following commands in Terminal:
Code: Select all
cd /usr/src

and then
Code: Select all
sudo svn checkout svn://svn.berlios.de/linux-uvc/linux-uvc/trunk

and then
Code: Select all
cd trunk

and then
Code: Select all
sudo make

and then
Code: Select all
sudo cp -a uvcvideo.ko /lib/modules/`uname -r`/ubuntu/media/usbvideo/


C) Reboot, and your webcam will now be working.
hotweiss
Level 4
Level 4
 
Posts: 204
Joined: Mon Jan 21, 2008 3:12 am
Location: Warsaw, Poland

Re: Laptop Webcam + DELL XPS M1530 tips

Postby Mickoes on Wed Jan 14, 2009 12:09 am

Hello and thank you for your fast answer,

Here's the output :
Code: Select all
michael@uberbox-laptop /usr/src/trunk $ sudo make
-------------------------------- WARNING ---------------------------------------
 The USB Video Class driver has moved to http://linuxtv.org/.
 Using the Berlios SVN repository is now deprecated.
 Please check http://linux-uvc.berlios.de/ for download instructions.
 If you really want to compile this historical version, run 'make uvcvideo'.
--------------------------------------------------------------------------------
michael@uberbox-laptop /usr/src/trunk $ sudo make uvcvideo
Building USB Video Class driver...
make[1]: entrant dans le répertoire « /usr/src/linux-headers-2.6.27-7-generic »
  CC [M]  /usr/src/trunk/uvc_driver.o
  CC [M]  /usr/src/trunk/uvc_queue.o
  CC [M]  /usr/src/trunk/uvc_v4l2.o
  CC [M]  /usr/src/trunk/uvc_video.o
  CC [M]  /usr/src/trunk/uvc_ctrl.o
  CC [M]  /usr/src/trunk/uvc_status.o
  CC [M]  /usr/src/trunk/uvc_isight.o
  LD [M]  /usr/src/trunk/uvcvideo.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /usr/src/trunk/uvcvideo.mod.o
  LD [M]  /usr/src/trunk/uvcvideo.ko
make[1]: quittant le répertoire « /usr/src/linux-headers-2.6.27-7-generic »
michael@uberbox-laptop /usr/src/trunk $ sudo cp -a uvcvideo.ko /lib/modules/`uname -r`/ubuntu/media/usbvideo/
[b]cp: cannot create regular file (translation) `/lib/modules/2.6.27-7-generic/ubuntu/media/usbvideo/': No file or folder of this type (translation)[/b]


This query :
sudo apt-get install build-essential subversion linux-headers-`uname -r`

The boldened characters do not work with apt, it doesn't recognize the package. However, I already have the latest version of linux-headers. I use the french canadian keyboard so maybe that somehow triggered an error. Anyways, I was able to copy the file to the specified location (needed to find it because it was the wrong path).

I rebooted and no results. I even uninstalled gspca from synaptic. Still no results :(
Mickoes
Level 1
Level 1
 
Posts: 7
Joined: Mon Jan 12, 2009 12:41 pm

Re: Laptop Webcam + DELL XPS M1530 tips

Postby hotweiss on Wed Jan 14, 2009 3:28 am

Ok, this I think will work for sure:

Code: Select all
sudo apt-get install subversion build-essential linux-headers-$(uname -r) &&
wget http://linuxtv.org/hg/~jfrancois/gspca/archive/tip.tar.bz2 &&

Code: Select all
tar xf tip.tar.bz2 &&

Code: Select all
cd gspca-* &&

Code: Select all
make &&

Code: Select all
sudo make install &&

Code: Select all
sudo depmod -ae $(uname -r)


PS-make sure to enable your backports repository
hotweiss
Level 4
Level 4
 
Posts: 204
Joined: Mon Jan 21, 2008 3:12 am
Location: Warsaw, Poland

Re: Laptop Webcam + DELL XPS M1530 tips

Postby Mickoes on Mon Jan 19, 2009 12:52 am

Hmm doesn't detect my webcam anymore :(. I do not have a device0 folder. Maybe we should clean what we installed? Maybe there's a conflict between uvc and gspaca?
Mickoes
Level 1
Level 1
 
Posts: 7
Joined: Mon Jan 12, 2009 12:41 pm

Re: Laptop Webcam + DELL XPS M1530 tips

Postby hotweiss on Mon Jan 19, 2009 10:20 pm

Mickoes wrote:Hmm doesn't detect my webcam anymore :(. I do not have a device0 folder. Maybe we should clean what we installed? Maybe there's a conflict between uvc and gspaca?


Sure, try to uninstall the gspaca drivers...
hotweiss
Level 4
Level 4
 
Posts: 204
Joined: Mon Jan 21, 2008 3:12 am
Location: Warsaw, Poland

Re: Laptop Webcam + DELL XPS M1530 tips

Postby Mickoes on Sun Feb 01, 2009 5:04 pm

Well, hmm, no success.

I don't know if that could help :
lsusb
Code: Select all
michael@uberbox-laptop ~ $ lsusb
Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 05a9:2640 OmniVision Technologies, Inc.
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 002: ID 046d:c51b Logitech, Inc.
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 004: ID 0483:2016 SGS Thomson Microelectronics Fingerprint Reader
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub


lspci
Code: Select all
00:00.0 Host bridge: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub (rev 0c)
00:01.0 PCI bridge: Intel Corporation Mobile PM965/GM965/GL960 PCI Express Root Port (rev 0c)
00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 (rev 02)
00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 02)
00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 02)
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 (rev 02)
00:1c.4 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 5 (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f2)
00:1f.0 ISA bridge: Intel Corporation 82801HEM (ICH8M) LPC Interface Controller (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) IDE Controller (rev 02)
00:1f.2 SATA controller: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) SATA AHCI Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 02)
01:00.0 VGA compatible controller: nVidia Corporation GeForce 8600M GT (rev a1)
03:09.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 05)
03:09.1 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 22)
03:09.2 System peripheral: Ricoh Co Ltd R5C843 MMC Host Controller (rev 12)
03:09.3 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 12)
03:09.4 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev ff)
09:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8040 PCI-E Fast Ethernet Controller (rev 12)
0b:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG [Golan] Network Connection (rev 02)
Mickoes
Level 1
Level 1
 
Posts: 7
Joined: Mon Jan 12, 2009 12:41 pm

Linux Mint is funded by ads and donations.
 

Return to Hardware Support

Who is online

Users browsing this forum: No registered users and 10 guests