LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 02-05-2005, 07:46 PM   #1
MikeOliveri
LQ Newbie
 
Registered: Feb 2005
Distribution: Slackware
Posts: 11

Rep: Reputation: 0
Webcam module installed, recognized, but not working


I've got a Logitech QuickCam Pro 4000 that I'm installing on Slackware 10 with kernel 2.4.28. I successfully compiled and installed the pcwx (version 9) modules, and it's showing up in lsmod (see below) and appears to be recognized by the kernel, but it doesn't appear to be attaching to the camera, judging by lsmod.

I'm primarily trying to get it run with xcam when testing, but have also tried it with AYTTM, which is supposed to support webcam chatting. The error I get from xcam is "Failed to start scanner, invalid argument." Exiting xcam turns off the webcam, and restarting the program turns the camera back on. I just get no picture.

Strangely, the camera works great under QNext. Any insight would be greatly appreciated!

Log and command output:

# lsmod

Module Size Used by Tainted: PF
pwcx 88992 0 (autoclean)
audio 41784 0 (unused)
pwc 45840 0 [pwcx]
videodev 5760 1 [pwc]
i810_rng 2528 0 (unused)
ohci1394 23888 0 (unused)
ieee1394 41604 0 [ohci1394]
eepro100 18836 1
mii 2272 0 [eepro100]
orinoco_cs 4244 1
orinoco 32372 0 [orinoco_cs]
hermes 5668 0 [orinoco_cs orinoco]
ds 6548 2 [orinoco_cs]
yenta_socket 10436 2
pcmcia_core 39140 0 [orinoco_cs ds yenta_socket]
ide-scsi 9104 0
maestro3 25040 1
ac97_codec 11924 0 [maestro3]
soundcore 3396 4 [audio maestro3]
acm 5504 0 (unused)
usb-uhci 21936 0 (unused)
usbcore 58828 1 [audio pwc acm usb-uhci]
agpgart 45092 0 (unused)
apm 9452 2


# lsusb

Bus 001 Device 001: ID 0000:0000
Bus 001 Device 003: ID 046d:08b2 Logitech, Inc. QuickCam Pro 4000

# tail /var/log/messages (everything after plugging in the device)

Feb 5 18:31:59 greyswandir kernel: hub.c: new USB device 00:1f.2-1, assigned address 3
Feb 5 18:31:59 greyswandir kernel: pwc Logitech QuickCam 4000 Pro USB webcam detected.
Feb 5 18:31:59 greyswandir kernel: pwc Registered as /dev/video0.
Feb 5 18:32:00 greyswandir kernel: usbaudio: device 3 audiocontrol interface 1 has 1 input and 0 output AudioStreaming interfaces
Feb 5 18:32:00 greyswandir kernel: usbaudio: valid input sample rate 44100
Feb 5 18:32:00 greyswandir kernel: usbaudio: device 3 interface 2 altsetting 1: format 0x00000010 sratelo 44100 sratehi 44100 attributes 0x00
Feb 5 18:32:00 greyswandir kernel: usbaudio: valid input sample rate 22050
Feb 5 18:32:00 greyswandir kernel: usbaudio: device 3 interface 2 altsetting 2: format 0x00000010 sratelo 22050 sratehi 22050 attributes 0x00
Feb 5 18:32:00 greyswandir kernel: usbaudio: valid input sample rate 11025
Feb 5 18:32:00 greyswandir kernel: usbaudio: device 3 interface 2 altsetting 3: format 0x00000010 sratelo 11025 sratehi 11025 attributes 0x00
Feb 5 18:32:00 greyswandir kernel: usbaudio: valid input sample rate 8000
Feb 5 18:32:00 greyswandir kernel: usbaudio: device 3 interface 2 altsetting 4: format 0x00000010 sratelo 8000 sratehi 8000 attributes 0x00
Feb 5 18:32:00 greyswandir kernel: usbaudio: registered dsp 14,19
Feb 5 18:32:00 greyswandir kernel: usbaudio: assuming the channel found is the master channel (got a Philips camera?). Should be fine.
Feb 5 18:32:00 greyswandir kernel: usbaudio: registered mixer 14,16

# cat /etc/modules.conf (culled from various web pages)

# Video driver for Philips webcam
#
alias char-major-81 videodev
above videodev pwc
alias char-major-81-0 pwc
#alias /dev/video pwc
options pwc size=vga fps=25 mbufs=3 compression=0 # leds=250,250
#options pwc siz=sif fps=30 mbufs=2 compression=0
post-install pwc /sbin/insmod --force -k /lib/modules/2.4.28/kernel/drivers/usb/pwcx.o >/dev/null 2>&1 || :

Device Permissions (note my user is part of the video group, and I've also tried this under root):

lrwxrwxrwx 1 root root 6 2004-08-09 20:03 /dev/video -> video0
crw-rw---- 1 root video 81, 0 2003-03-09 11:28 /dev/video0
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mercury: webcam not recognized odiseo77 Linux - Software 1 08-31-2005 07:34 PM
wireless card not recognized? drivers installed using ndiswrapper jmroach Linux - Wireless Networking 3 03-04-2005 12:49 PM
Ethernet card not recognized in xp after driver installed in red hat? Jawbreaker4Fs Linux - Networking 7 05-03-2004 07:28 AM
bash / sh not working (not recognized?) hallamigo Linux - Newbie 5 04-12-2004 07:08 PM
USB Webcam Howto? Problems with OV511 module... Goeland86 Linux - Hardware 14 02-16-2004 12:17 PM


All times are GMT -5. The time now is 04:01 AM.

Main Menu
Advertisement
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