Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
QuickCam Pro 4000 [Solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
Tintamarre
n00b
n00b


Joined: 11 Jun 2007
Posts: 63
Location: Belgium

PostPosted: Mon May 03, 2010 8:02 am    Post subject: QuickCam Pro 4000 [Solved] Reply with quote

Hello,

I want to set up my QuickCam pro 4000 in order to work with ZoneMinder.

I never set up a video cam under Linux so I don't really know where to start.

Could you help me ?

Code:
# lsusb | grep QuickCam
Bus 003 Device 002: ID 046d:08b2 Logitech, Inc. QuickCam Pro 4000


No drivers seems to be working since tab button doesn't return any instance in /dev/video

Thank you in advance ...
_________________
Martin Erpicum


Last edited by Tintamarre on Mon May 03, 2010 7:02 pm; edited 1 time in total
Back to top
View user's profile Send private message
MotivatedTea
Apprentice
Apprentice


Joined: 06 Nov 2006
Posts: 269
Location: Toronto, Canada

PostPosted: Mon May 03, 2010 8:34 am    Post subject: Reply with quote

That camera has an old Philips webcam chipset. In your kernel configuration, the driver you need is at Device Drivers > Multimedia devices > Video capture adapters > V4L USB devices > USB Philips Cameras (USB_PWC). This is a V4L (version 1) device, so you'll also need Video for Linux enabled, as well as "Enable Video For Linux 1 API (deprecated)". That should get you the /dev/video0 device. If you want to use the built-in mic, add the generic USB audio support to your ALSA config (and compile the "USB Audio/MIDI driver" kernel module -- SND_USB_AUDIO).

Because the camera doesn't support V4L2, it may not work with some newer programs. There are supposed to be ways to use a V4L2 wrapper for V4L1 devices, but I've never looked into that. You should be able to find info on that online if you need it, though.
Back to top
View user's profile Send private message
Tintamarre
n00b
n00b


Joined: 11 Jun 2007
Posts: 63
Location: Belgium

PostPosted: Mon May 03, 2010 12:24 pm    Post subject: Reply with quote

Hello MotivatedTea,

Thanks for your help. I checked the configuration of my kernel. I had the followings.

Code:
geraldine linux-2.6.32-gentoo-r7 # cat .config | grep PWC
CONFIG_USB_PWC=m
CONFIG_USB_PWC_DEBUG=y
CONFIG_USB_PWC_INPUT_EVDEV=y


Code:
geraldine linux-2.6.32-gentoo-r7 # cat .config | grep VIDEO
# CONFIG_IEEE1394_VIDEO1394 is not set
CONFIG_VIDEO_DEV=m
CONFIG_VIDEO_V4L2_COMMON=m
CONFIG_VIDEO_ALLOW_V4L1=y
CONFIG_VIDEO_V4L1_COMPAT=y
CONFIG_VIDEO_MEDIA=m
CONFIG_VIDEO_V4L2=m
CONFIG_VIDEO_V4L1=m
CONFIG_VIDEO_CAPTURE_DRIVERS=y
# CONFIG_VIDEO_ADV_DEBUG is not set
# CONFIG_VIDEO_FIXED_MINOR_RANGES is not set
CONFIG_VIDEO_HELPER_CHIPS_AUTO=y
# CONFIG_VIDEO_VIVI is not set
# CONFIG_VIDEO_CPIA is not set
# CONFIG_VIDEO_CPIA2 is not set
# CONFIG_VIDEO_STRADIS is not set
# CONFIG_USB_VIDEO_CLASS is not set
CONFIG_USB_VIDEO_CLASS_INPUT_EVDEV=y
# CONFIG_VIDEO_HDPVR is not set
CONFIG_VIDEO_USBVIDEO=m
# CONFIG_VIDEO_OUTPUT_CONTROL is not set


I double checked, rebuild the kernel and reboot but /dev/video doesn't appear ... Can I try something else ?
_________________
Martin Erpicum
Back to top
View user's profile Send private message
MotivatedTea
Apprentice
Apprentice


Joined: 06 Nov 2006
Posts: 269
Location: Toronto, Canada

PostPosted: Mon May 03, 2010 2:20 pm    Post subject: Reply with quote

That should do it. It works for me. Have you rebooted since updating your kernel configuration? The device that will get created is "/dev/video0" (for your first camera, /dev/video1 for your second, etc.) not "/dev/video".

Try the following. Unplug your camera, plug it back in, wait a few seconds, and then check the output of dmesg or the end of /var/log/messages. If nothing happens, try "modprobe pwc". I get the following from dmesg when I plug it in:
Code:
usb 4-2: new full speed USB device using ohci_hcd and address 4
usb 4-2: New USB device found, idVendor=046d, idProduct=08b2
usb 4-2: New USB device strings: Mfr=0, Product=0, SerialNumber=0
usb 4-2: configuration #1 chosen from 1 choice
Linux video capture interface: v2.00
pwc: Philips webcam module version 10.0.13 loaded.
pwc: Supports Philips PCA645/646, PCVC675/680/690, PCVC720[40]/730/740/750 & PCVC830/840.
pwc: Also supports the Askey VC010, various Logitech Quickcams, Samsung MPC-C10 and MPC-C30,
pwc: the Creative WebCam 5 & Pro Ex, SOTEC Afina Eye and Visionite VCS-UC300 and VCS-UM100.
pwc: Logitech QuickCam 4000 Pro USB webcam detected.
pwc: Registered as /dev/video0.
input: PWC snapshot button as /devices/pci0000:00/0000:00:1e.0/0000:02:00.1/0000:07:00.0/usb4/4-2/input/input13
usbcore: registered new interface driver Philips webcam
Back to top
View user's profile Send private message
Tintamarre
n00b
n00b


Joined: 11 Jun 2007
Posts: 63
Location: Belgium

PostPosted: Mon May 03, 2010 2:50 pm    Post subject: Reply with quote

Yes I rebooted. I tried to unplug and put it back. Here is the output of /var/log/messages

Code:
May  3 16:46:59 geraldine kernel: usb 3-1: USB disconnect, address 2
May  3 16:47:01 geraldine kernel: usb 3-1: new full speed USB device using uhci_hcd and address 3
May  3 16:47:01 geraldine kernel: usb 3-1: New USB device found, idVendor=046d, idProduct=08b2
May  3 16:47:01 geraldine kernel: usb 3-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
May  3 16:47:01 geraldine kernel: usb 3-1: configuration #1 chosen from 1 choice


(nothing more)


Here is the output of modprobe ...
Code:
modprobe pwc
FATAL: Could not load /lib/modules/2.6.32-gentoo-r7/modules.dep: No such file or directory

_________________
Martin Erpicum
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54304
Location: 56N 3W

PostPosted: Mon May 03, 2010 3:19 pm    Post subject: Reply with quote

Tintamarre,

Two things ...
Turn off CONFIG_USB_PWC_DEBUG=y thats for developers only. It may stop the module working properly.

Your error
Code:
 modprobe pwc
FATAL: Could not load /lib/modules/2.6.32-gentoo-r7/modules.dep: No such file or directory
suggests that you omitted the
Code:
make modules_install
step or that you made one kernel and are running another.

Compare the output of
Code:
uname -a
with
Code:
readlink /usr/src/linux

Incidently, the date/time in uname -a is the build date/time of the running kernel. Thats normally a dead giveaway for running the wrong kernel.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Tintamarre
n00b
n00b


Joined: 11 Jun 2007
Posts: 63
Location: Belgium

PostPosted: Mon May 03, 2010 7:02 pm    Post subject: Reply with quote

Hello,

Thank you very much for your help.

As you wrote, i forgot to make modules_install ... In fact, I never used modules before.

I also turned off CONFIG_USB_PWC_DEBUG=y :wink:
_________________
Martin Erpicum
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum