Description of problem:
Logitech Orbicam (046d:0896) only works with Cheese when cheese is started multiple consecutive times. To my totally untrained eye it seems that the wrong video device is created/released.
Version-Release number of selected component (if applicable):
2.6.35.6-43.fc14.x86_64
How reproducible:
Start cheese, quit cheese, start cheese again, quit again etc. Continue this until the cam led lights up and the cam starts working.
Steps to Reproduce:
1. modprobe -v gspca_vc032x
2. start cheese - green led on cam does not light up and no images from cam
3. stop cheese and start cheese again (cam led may light up & cam may work) or stop cheese again and start cheese again (cam led may light up & cam works)
Actual results:
Cam does not work when cheese is started for the first time
Expected results:
Cam led lights up & the cam works
Additional info:
Steps I did to reproduce this with output. Please note the messages were gspca creates video0 but releases video1 or creates video1 and releases video0 when cheese is terminated (and the cam did not work).
Manually insert gspca_vc032x
===============================================================================
Oct 17 15:45:12 luna kernel: [10579.920588] Linux video capture interface: v2.00
Oct 17 15:45:12 luna kernel: [10579.923621] gspca: main v2.9.0 registered
Oct 17 15:45:12 luna kernel: [10579.925051] gspca: probing 046d:0896
Oct 17 15:45:12 luna kernel: [10579.925055] vc032x: Sensor POxxxx
Oct 17 15:45:12 luna kernel: [10579.927710] gspca: video0 created
Oct 17 15:45:12 luna kernel: [10579.927733] usbcore: registered new interface driver vc032x
Oct 17 15:45:12 luna kernel: [10579.927736] vc032x: registered
Start cheese - green cam led does not light up, cam does not work
===============================================================================
Oct 17 15:45:21 luna kernel: [10588.479761] usb 1-7: USB disconnect, address 10
Oct 17 15:45:21 luna kernel: [10588.480195] gspca: video0 disconnect
Oct 17 15:45:22 luna kernel: [10590.052229] gspca: set alt 0 err -19
Oct 17 15:45:22 luna kernel: [10590.052239] gspca: usb_submit_urb alt 7 err -19
Oct 17 15:45:23 luna kernel: [10590.258171] usb 1-7: new high speed USB device using ehci_hcd and address 11
Oct 17 15:45:23 luna kernel: [10590.414303] usb 1-7: New USB device found, idVendor=046d, idProduct=0896
Oct 17 15:45:23 luna kernel: [10590.414312] usb 1-7: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Oct 17 15:45:23 luna kernel: [10590.414320] usb 1-7: Product: Camera
Oct 17 15:45:23 luna kernel: [10590.414324] usb 1-7: Manufacturer: OEM
Oct 17 15:45:23 luna kernel: [10590.417140] gspca: probing 046d:0896
Oct 17 15:45:23 luna kernel: [10590.417147] vc032x: Sensor POxxxx
Oct 17 15:45:23 luna kernel: [10590.419179] gspca: video1 created
Oct 17 15:45:38 luna kernel: [10605.581941] gspca: video0 released
Quit cheese with menu Cheese -> Quit
Start cheese 2nd time - green cam led does not light up, cam does not work
===============================================================================
Oct 17 15:45:49 luna kernel: [10616.396640] usb 1-7: USB disconnect, address 11
Oct 17 15:45:49 luna kernel: [10616.397215] gspca: video1 disconnect
Oct 17 15:45:50 luna kernel: [10617.969170] gspca: set alt 0 err -19
Oct 17 15:45:50 luna kernel: [10617.969180] gspca: usb_submit_urb alt 7 err -19
Oct 17 15:45:50 luna kernel: [10618.175144] usb 1-7: new high speed USB device using ehci_hcd and address 12
Oct 17 15:45:51 luna kernel: [10618.331444] usb 1-7: New USB device found, idVendor=046d, idProduct=0896
Oct 17 15:45:51 luna kernel: [10618.331453] usb 1-7: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Oct 17 15:45:51 luna kernel: [10618.331461] usb 1-7: Product: Camera
Oct 17 15:45:51 luna kernel: [10618.331465] usb 1-7: Manufacturer: OEM
Oct 17 15:45:51 luna kernel: [10618.334395] gspca: probing 046d:0896
Oct 17 15:45:51 luna kernel: [10618.334402] vc032x: Sensor POxxxx
Oct 17 15:45:51 luna kernel: [10618.336454] gspca: video0 created
Oct 17 15:45:55 luna kernel: [10623.018118] gspca: video1 released
Quit cheese with Cheese -> Quit
Start cheese 3rd time - green cam led lights up, cam works
===============================================================================
No output in /var/log/messages
Output from lsusb
===============================================================================
# lsusb
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 002: ID 147e:2016 Upek Biometric Touchchip/Touchstrip Fingerprint Sensor
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 046d:c016 Logitech, Inc. Optical Wheel Mouse
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 007: ID 046d:0896 Logitech, Inc. OrbiCam
Bus 001 Device 006: ID 1234:5678
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Output from v4l-info
===============================================================================
# v4l-info /dev/video1
### v4l2 device info [/dev/video1] ###
general info
VIDIOC_QUERYCAP
driver : "vc032x"
card : "Camera"
bus_info : "usb-0000:00:1d.7-7"
version : 2.9.0
capabilities : 0x5000001 [VIDEO_CAPTURE,READWRITE,STREAMING]
standards
inputs
VIDIOC_ENUMINPUT(0)
index : 0
name : "vc032x"
type : CAMERA
audioset : 0
tuner : 0
std : 0x0 []
status : 0x0 []
Description of problem:
Logitech Orbicam (046d:0896) only works with Cheese when cheese is started multiple consecutive times. To my totally untrained eye it seems that the wrong video device is created/released.
Version-Release number of selected component (if applicable): 6-43.fc14. x86_64
2.6.35.
How reproducible:
Start cheese, quit cheese, start cheese again, quit again etc. Continue this until the cam led lights up and the cam starts working.
Steps to Reproduce:
1. modprobe -v gspca_vc032x
2. start cheese - green led on cam does not light up and no images from cam
3. stop cheese and start cheese again (cam led may light up & cam may work) or stop cheese again and start cheese again (cam led may light up & cam works)
Actual results:
Cam does not work when cheese is started for the first time
Expected results:
Cam led lights up & the cam works
Additional info:
Steps I did to reproduce this with output. Please note the messages were gspca creates video0 but releases video1 or creates video1 and releases video0 when cheese is terminated (and the cam did not work).
Manually insert gspca_vc032x ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ==
=======
Oct 17 15:45:12 luna kernel: [10579.920588] Linux video capture interface: v2.00
Oct 17 15:45:12 luna kernel: [10579.923621] gspca: main v2.9.0 registered
Oct 17 15:45:12 luna kernel: [10579.925051] gspca: probing 046d:0896
Oct 17 15:45:12 luna kernel: [10579.925055] vc032x: Sensor POxxxx
Oct 17 15:45:12 luna kernel: [10579.927710] gspca: video0 created
Oct 17 15:45:12 luna kernel: [10579.927733] usbcore: registered new interface driver vc032x
Oct 17 15:45:12 luna kernel: [10579.927736] vc032x: registered
Start cheese - green cam led does not light up, cam does not work ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ==
=======
Oct 17 15:45:21 luna kernel: [10588.479761] usb 1-7: USB disconnect, address 10
Oct 17 15:45:21 luna kernel: [10588.480195] gspca: video0 disconnect
Oct 17 15:45:22 luna kernel: [10590.052229] gspca: set alt 0 err -19
Oct 17 15:45:22 luna kernel: [10590.052239] gspca: usb_submit_urb alt 7 err -19
Oct 17 15:45:23 luna kernel: [10590.258171] usb 1-7: new high speed USB device using ehci_hcd and address 11
Oct 17 15:45:23 luna kernel: [10590.414303] usb 1-7: New USB device found, idVendor=046d, idProduct=0896
Oct 17 15:45:23 luna kernel: [10590.414312] usb 1-7: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Oct 17 15:45:23 luna kernel: [10590.414320] usb 1-7: Product: Camera
Oct 17 15:45:23 luna kernel: [10590.414324] usb 1-7: Manufacturer: OEM
Oct 17 15:45:23 luna kernel: [10590.417140] gspca: probing 046d:0896
Oct 17 15:45:23 luna kernel: [10590.417147] vc032x: Sensor POxxxx
Oct 17 15:45:23 luna kernel: [10590.419179] gspca: video1 created
Oct 17 15:45:38 luna kernel: [10605.581941] gspca: video0 released
Quit cheese with menu Cheese -> Quit
Start cheese 2nd time - green cam led does not light up, cam does not work ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ==
=======
Oct 17 15:45:49 luna kernel: [10616.396640] usb 1-7: USB disconnect, address 11
Oct 17 15:45:49 luna kernel: [10616.397215] gspca: video1 disconnect
Oct 17 15:45:50 luna kernel: [10617.969170] gspca: set alt 0 err -19
Oct 17 15:45:50 luna kernel: [10617.969180] gspca: usb_submit_urb alt 7 err -19
Oct 17 15:45:50 luna kernel: [10618.175144] usb 1-7: new high speed USB device using ehci_hcd and address 12
Oct 17 15:45:51 luna kernel: [10618.331444] usb 1-7: New USB device found, idVendor=046d, idProduct=0896
Oct 17 15:45:51 luna kernel: [10618.331453] usb 1-7: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Oct 17 15:45:51 luna kernel: [10618.331461] usb 1-7: Product: Camera
Oct 17 15:45:51 luna kernel: [10618.331465] usb 1-7: Manufacturer: OEM
Oct 17 15:45:51 luna kernel: [10618.334395] gspca: probing 046d:0896
Oct 17 15:45:51 luna kernel: [10618.334402] vc032x: Sensor POxxxx
Oct 17 15:45:51 luna kernel: [10618.336454] gspca: video0 created
Oct 17 15:45:55 luna kernel: [10623.018118] gspca: video1 released
Quit cheese with Cheese -> Quit
Start cheese 3rd time - green cam led lights up, cam works ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ==
=======
No output in /var/log/messages
Output from lsusb ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ==
=======
# lsusb Touchstrip Fingerprint Sensor
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 002: ID 147e:2016 Upek Biometric Touchchip/
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 046d:c016 Logitech, Inc. Optical Wheel Mouse
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 007: ID 046d:0896 Logitech, Inc. OrbiCam
Bus 001 Device 006: ID 1234:5678
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Output from v4l-info ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ==
=======
# v4l-info /dev/video1
### v4l2 device info [/dev/video1] ### 00:1d.7- 7" CAPTURE, READWRITE, STREAMING]
general info
VIDIOC_QUERYCAP
driver : "vc032x"
card : "Camera"
bus_info : "usb-0000:
version : 2.9.0
capabilities : 0x5000001 [VIDEO_
standards
inputs ENUMINPUT( 0)
VIDIOC_
index : 0
name : "vc032x"
type : CAMERA
audioset : 0
tuner : 0
std : 0x0 []
status : 0x0 []
video capture ENUM_FMT( 0,VIDEO_ CAPTURE) G_FMT(VIDEO_ CAPTURE) pixelformat : 0x55595659 [YVYU] bytesperline : 640
VIDIOC_
index : 0
type : VIDEO_CAPTURE
flags : 0
description : "YVYU"
pixelformat : 0x55595659 [YVYU]
VIDIOC_
type : VIDEO_CAPTURE
fmt.pix.width : 640
fmt.pix.height : 480
fmt.pix.
fmt.pix.field : NONE
fmt.pix.
fmt.pix.sizeimage : 614400
fmt.pix.colorspace : SRGB
fmt.pix.priv : 0
controls QUERYCTRL( BASE+0) QUERYCTRL( BASE+1) QUERYCTRL( BASE+2)
VIDIOC_
id : 9963776
type : INTEGER
name : "Brightness"
minimum : 0
maximum : 255
step : 1
default_value : 128
flags : 0
VIDIOC_
id : 9963777
type : INTEGER
name : "Contrast"
minimum : 0
maximum : 255
step : 1
default_value : 127
flags : 0
VIDIOC_
id : 9963778
type : INTEGER
name : "Saturation"
minimum : 1
maximum : 127
step : 1
default_value : 63
flags : 0
### video4linux device info [/dev/video1] ###
general info
VIDIOCGCAP
name : "Camera"
type : 0x1 [CAPTURE]
channels : 1
audios : 0
maxwidth : 640
maxheight : 480
minwidth : 48
minheight : 32
channels
VIDIOCGCHAN(0)
channel : 0
name : "vc032x"
tuners : 0
flags : 0x0 []
type : CAMERA
norm : 0
tuner
ioctl VIDIOCGTUNER: Invalid argument
audio
VIDIOCGAUDIO
audio : 0
volume : 0
bass : 0
treble : 0
picture
VIDIOCGPICT
brightness : 32896
hue : 0
colour : 32247
contrast : 32639
whiteness : 0
depth : 8
palette : unknown
buffer
ioctl VIDIOCGFBUF: Invalid argument
window
VIDIOCGWIN
x : 0
y : 0
width : 640
height : 480
chromakey : 0
flags : 0
Please let me know if you need more info. Thanks!