webcam working in cheese but not in zoneminder or xawtv

Forum for questions and support relating to the 1.24.x releases only.
Locked
doubleoseverin
Posts: 6
Joined: Fri Feb 27, 2009 10:46 am

webcam working in cheese but not in zoneminder or xawtv

Post by doubleoseverin »

hi there again.

Using Opensuse 11.0 and Logitech Quickcam E3500.

As I say I can get the webcam to work in cheese after I have loaded the prerequisite rpms of UVC and the kernel webcam + the logitech webcam drivers (although I think this is for a different model of logitech quickcam than the one I'm using; and, anyway, it worked in cheese before I installed it)

Here are some logs to help clarify the situation:

First dmesg:


Code: Select all

# dmesg|grep usb
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
usb usb1: configuration #1 chosen from 1 choice
 sda:<6>usb usb1: New USB device found, idVendor=1d6b, idProduct=0001
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: UHCI Host Controller
usb usb1: Manufacturer: Linux 2.6.25.20-0.1-default uhci_hcd
usb usb1: SerialNumber: 0000:00:10.0
usb usb2: configuration #1 chosen from 1 choice
usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb2: Product: EHCI Host Controller
usb usb2: Manufacturer: Linux 2.6.25.20-0.1-default ehci_hcd
usb usb2: SerialNumber: 0000:00:10.3
usb usb3: configuration #1 chosen from 1 choice
usb usb3: New USB device found, idVendor=1d6b, idProduct=0001
usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb3: Product: UHCI Host Controller
usb usb3: Manufacturer: Linux 2.6.25.20-0.1-default uhci_hcd
usb usb3: SerialNumber: 0000:00:10.1
usb 2-4: new high speed USB device using ehci_hcd and address 2
usb 2-4: configuration #1 chosen from 1 choice
usb 2-4: New USB device found, idVendor=046d, idProduct=09a4
usb 2-4: New USB device strings: Mfr=0, Product=0, SerialNumber=2
usb 2-4: SerialNumber: AB663A20
usbcore: registered new interface driver snd-usb-audio
usbcore: registered new interface driver uvcvideo
ALSA sound/usb/usbaudio.c:1294: 2:3:1: cannot set freq 16000 to ep 0x86
ALSA sound/usb/usbmixer.c:803: cannot get current value for control 1 master ch: err = -22
Just as an aside, how do I get the sound to work on the camera? Sound detection and recording by zoneminder, would, I consider, be a potent force and add-on to zoneminder because an intruder you wish to detect may be disguised with a motorbike helmet or balaclaver and you could possibly recognize their voice if sound was also recorded.

Anyway, the camera is detected in the usb port:

Code: Select all

# lsusb
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 046d:09a4 Logitech, Inc. 
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Another dmesg log. This time to make sure the camera was found:

Code: Select all

 # dmesg | grep uvc
uvcvideo: Found UVC 1.00 device <unnamed> (046d:09a4)
usbcore: registered new interface driver uvcvideo
Finally a hwscan of xawtv, to make sure v4l is installed and being used as well as to make sure the camera is being picked up, which it is, so I can't see anything wrong.

Code: Select all

# xawtv -hwscan
This is xawtv-3.95, running on Linux/i686 (2.6.25.20-0.1-default)
looking for available devices
port 64-64
    type : Xvideo, image scaler
    name : Savage Streams Engine

/dev/video0: OK                         [ -device /dev/video0 ]
    type : v4l2
    name : UVC Camera (046d:09a4)
    flags:  capture  
Apart from the sound issue, I can't see what I'm doing wrong! Any help is much appreciated and thank you beforehand...
Locked