Skip to content
Leon Cheung edited this page Mar 9, 2017 · 3 revisions

Welcome to the esys-pbi wiki!

pupil labs notes

See pupil-labs-code for coding notes

webcam information

output from dmesg, so we're using a Microsoft LifeCam HD-6000.

[ 8004.637882] input: Microsoft® LifeCam HD-6000 for as /devices/pci0000:00/0000:00:14.0/usb2/2-1/2-1:1.0/input/input20
[ 8629.860926] usb 2-1: USB disconnect, device number 6
[ 8630.902693] usb 2-1: new high-speed USB device number 7 using xhci_hcd
[ 8636.372689] usb 2-1: new high-speed USB device number 8 using xhci_hcd
[ 8636.486051] usb 2-1: Device not responding to setup address.
[ 8636.692670] usb 2-1: Device not responding to setup address.
[ 8636.899300] usb 2-1: device not accepting address 8, error -71
[ 8637.202639] usb 2-1: new high-speed USB device number 10 using xhci_hcd
[ 8637.351791] uvcvideo: Found UVC 1.00 device Microsoft® LifeCam HD-6000 for Notebooks (045e:076f)
[ 8637.351793] uvcvideo: Forcing device quirks to 0x80 by module parameter for testing purpose.
[ 8637.351794] uvcvideo: Please report required quirks to the linux-uvc-devel mailing list.
[ 8637.356870] uvcvideo 2-1:1.0: Entity type for entity Extension 5 was not initialized!
[ 8637.356874] uvcvideo 2-1:1.0: Entity type for entity Processing 4 was not initialized!
[ 8637.356877] uvcvideo 2-1:1.0: Entity type for entity Selector 3 was not initialized!
[ 8637.356879] uvcvideo 2-1:1.0: Entity type for entity Camera 1 was not initialized!
[ 8637.357021] input: Microsoft® LifeCam HD-6000 for as /devices/pci0000:00/0000:00:14.0/usb2/2-1/2-1:1.0/input/input21
[flaum@retrecal: uvcdynctrl]$ ./uvcdynctrl -c
[libwebcam] Unsupported V4L2_CID_EXPOSURE_AUTO control with a non-contiguous 
  range of choice IDs found
[libwebcam] Invalid or unsupported V4L2 control encountered: ctrl_id = 0x009A0901, name = 'Exposure, Auto'
[libwebcam] Unsupported V4L2_CID_EXPOSURE_AUTO control with a non-contiguous 
  range of choice IDs found
[libwebcam] Invalid or unsupported V4L2 control encountered: ctrl_id = 0x009A0901, name = 'Exposure, Auto'
Listing available controls for device video0:
  Exposure, Auto Priority
  Exposure (Absolute)
  Backlight Compensation
  Sharpness
  White Balance Temperature
  Power Line Frequency
  Gamma
  White Balance Temperature, Auto
  Hue
  Saturation
  Contrast
  Brightness

fix on uvc properties

hotfix for uvc_backend.py

[flaum@retrecal: video_capture]$ git diff uvc_backend.py
diff --git a/pupil_src/shared_modules/video_capture/uvc_backend.py b/pupil_src/shared_modules/video_capture/uvc_backend.py
index 4c84e3eb..3639d4b3 100644
--- a/pupil_src/shared_modules/video_capture/uvc_backend.py
+++ b/pupil_src/shared_modules/video_capture/uvc_backend.py
@@ -98,6 +98,10 @@ class UVC_Source(Base_Source):
         self.frame_rate = frame_rate
         for c in self.uvc_capture.controls:
             try:
+                if c.display_name == 'White Balance temperature':
+                    c.display_name = 'White Balance Temperature'
+                elif c.display_name == 'White Balance temperature,Auto':
+                    c.display_name = 'White Balance Temperature, Auto'
                 c.value = uvc_controls[c.display_name]
             except KeyError:
                 logger.debug('No UVC setting "{}" found from settings.'.format(c.display_name))
Clone this wiki locally