LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices

Reply
 
LinkBack Search this Thread
Old 04-24-2007, 05:35 AM   #1
Dark_Oppressor
Member
 
Registered: Apr 2005
Location: Oklahoma, USA
Distribution: Arch Linux
Posts: 41

Rep: Reputation: 15
Unable to use laptop's built in webcam


I recently formatted my laptop's hard drive in a fit of rage and installed openSuse 10.2 for the heck of it. I have been able to get most of my hardware to work(actually, almost everything worked right off the bat). I've even been able to get most of the games I play working this first day(Guild Wars, Counter-Strike, Garry's Mod, good stuff) Anyway, my laptop has a built in webcam, but I can't figure out how to get it running. I got this laptop from Cyberpower, an online computer company. After finding and perusing the original order email, all I could learn about the webcam is that it is a "1.3 megapixel webcam." Real helpful. Anyway, I have loaded up all the firewire modules and whatnot, but after doing so nothing can see the camera, so I figure it isn't a firewire type camera(but it was worth a shot). Has anyone got any idea what I could do to enable this thing?
 
Old 04-24-2007, 09:39 AM   #2
GrapefruiTgirl
Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542
First you will need to get more info on the make/model/ID of the camera. Google is a good place to start. Look up the Laptop itself, determine who actually made it and what's the motherboard is (Intel, Via, etc) and find out some specs on the parts (namely the camera).

Now, I'm not sure if it's going to be considered a USB camera or a PCI camera, but for either, try these commands in a console (probably as root): 'lsusb' and 'lspci' and if the camera shows up there somewhere, post all information it shows (like the BusID and any numbers or codes it gives).

The main ingredients to getting a camera working is the Vendor ID, the Product ID, and what controller chip is used inside the thing. This information is what will determine which driver you will be looking for. The needed information will look *something* like: "0x0453:0c3214 and spca5xxx or gspca/le" or something like this. If you see anything resembling this, please post it.
There are literally hundreds of webcams supported by Linux, but it can be a teensy bit of experimentation getting it working perfectly. Another place to start looking for the correct driver is http://mxhaard.free.fr/spca5xx.html
which provides a long list over several pages of identified cameras, drivers, and if/how they work with Linux.

Last edited by GrapefruiTgirl; 04-24-2007 at 09:43 AM.
 
Old 04-24-2007, 04:59 PM   #3
Dark_Oppressor
Member
 
Registered: Apr 2005
Location: Oklahoma, USA
Distribution: Arch Linux
Posts: 41

Original Poster
Rep: Reputation: 15
Upon running lsusb I noticed this entry:
Bus 005 Device 002: ID 0c45:624f Microdia

I googled Microdia and found that they do make webcams. Then I checked out that link you gave me, and found a camera with the same 0c45 vendor id, and under Pseudo it said Microdia, so I figure this may well be my camera. Under Driver, it gives me <a href="http://linux-uvc.berlios.de/">this link</a>, to a driver page, where I learned that the driver appears to be in an early alpha stage. I obtained the source via SVN, and tried to compile it, but it looks like I might need to set it up to compile using the kernel source somehow, but I am unsure how to do this. Is it a very complicated procedure?
 
Old 04-24-2007, 05:30 PM   #4
GrapefruiTgirl
Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542
http://svn.berlios.de/svnroot/repos/...nux-uvc/trunk/

OK, Im not totally sure what you're looking at for the driver. The link I put here claims to be the svn/trunk for the C files to make the driver. If you were to download or copy and save all these files, then the procedure would be to enter the folder where they are saved, and just do 'make' and 'make install'.
Compiling stuff is very easy, but with something like this (svn or un-released) stuff, there's no guarantee that it will work.
I cannot locate anywhere that claims that your exact camera is supported.
What happened exactly when you tried to compile what you have? Were there errors, or...?
I also have a Microdia camera and I got mine working using the spca5xx driver and v4l-2 kernel support. There's no guarantee this would also work for your camera, but it may be worth a try.
Anyhow, if it's a different link you have than the one I posted here, please give the one you have.
NOTE: Both the vendor ID AND the product ID must match for any reasonable degree of certainty, meaning both halves of the 0x1234:0x1234 code.

Last edited by GrapefruiTgirl; 04-24-2007 at 05:31 PM.
 
Old 04-25-2007, 01:40 AM   #5
Dark_Oppressor
Member
 
Registered: Apr 2005
Location: Oklahoma, USA
Distribution: Arch Linux
Posts: 41

Original Poster
Rep: Reputation: 15
Yes, I tried to compile but received this error: make[1]: *** No rule to make target `modules'. Stop.
Both my vendor and product IDs do not match, so perhaps this driver wouldn't work anyway.

EDIT: I installed the linux kernel sources and now I can run make and make install without incident. Still not showing the camera though :/
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to access laptop's built in memory card reader? Ckradjia Linux - Hardware 4 04-07-2006 08:46 PM
Problem with laptop's lid Panagiotis_IOA Linux - Laptop and Netbook 2 03-19-2006 09:23 AM
Unable to install driver for Creative PD1120 webcam on Redhat9 savior Linux - Hardware 0 12-08-2005 11:13 AM
built-to-order PC or ready-built PC from well-known companies? kpachopoulos General 6 11-03-2004 03:14 PM
if i get an nforce mobo with built-in VGA... will the built in vga work in linux? kublador Linux - Hardware 2 11-10-2003 08:26 PM


All times are GMT -5. The time now is 05:18 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration