Thread: Writing code for a Logitech Quickcam pro 3000

  1. #1
    Registered User
    Join Date
    Aug 2008
    Posts
    26

    Writing code for a Logitech Quickcam pro 3000

    Hello all,

    I am new to Linux. I am however, quite familiar with C. The other day, a good friend and me were looking through his basement when we found an old computer that was running Linux (reason why i installed it on my computer now.) We then decided to make a little surveillance program (taking a picture at an interval for however long) using his webcam. The webcam is a Logitech Quickcam Pro 3000 and from the system monitor it is running Linux kernel 2.4.19 (old.) From what I did read it seems as though I need to find a correct distribution package for this kernel version. I have found two libraries; PWC and V4L. Can someone step me through the steps of how I would go about finding the correct release for this web cam? I am going to be using Kdevelop to write the code on my computer here and use a cross compiler to get the code to work on his computer. I appreciate all help!

    Thanks,
    Chris

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  3. #3
    Registered User
    Join Date
    Aug 2008
    Posts
    26
    Thanks Salem. We ended up getting the correct device driver. My friend downloaded a version of the PWC library (not sure which one) and tried to get it to work but when he ran his code, it kept taking rapid images of the same picture instead of what the camera was actually pointing at. I haven't seen the code yet but if the code is correct I believe it is the PWC version. What is the difference between the Kernel releases? For example, since we are running Kernel 2.4.19, can I use the PWC release for 2.4.28 and expect it to work?

    Chris

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Writing C code to control I/O of 8051 chip
    By Unregistered in forum C Programming
    Replies: 2
    Last Post: 08-12-2002, 07:28 PM
  2. Newbie - How do I know if I'm writing C code?
    By dfinner in forum C Programming
    Replies: 4
    Last Post: 07-31-2002, 04:17 PM
  3. Interface Question
    By smog890 in forum C Programming
    Replies: 11
    Last Post: 06-03-2002, 05:06 PM
  4. << !! Posting Code? Read this First !! >>
    By biosx in forum C++ Programming
    Replies: 1
    Last Post: 03-20-2002, 12:51 PM
  5. Replies: 0
    Last Post: 02-21-2002, 06:05 PM