Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/guysoft/OctoPi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuy Sheffer <guysoft@gmail.com>2018-03-05 12:21:16 +0300
committerGitHub <noreply@github.com>2018-03-05 12:21:16 +0300
commit91380e2a12b96f5bcbf9314fcaf1f0c04b830f49 (patch)
tree266bac7d56518b6881947fabcce2d8b99eca7860
parent4d2e66eed3d08b114f27088b878da1c3783ea31f (diff)
parent87708f0ea553035832ea4d29d93c61eec5c987d9 (diff)
Merge pull request #498 from foosel/fix/broken-webcams
Fix definition of some broken webcams
-rw-r--r--src/modules/octopi/filesystem/boot/octopi.txt11
-rwxr-xr-xsrc/modules/octopi/filesystem/home/root/bin/webcamd2
2 files changed, 9 insertions, 4 deletions
diff --git a/src/modules/octopi/filesystem/boot/octopi.txt b/src/modules/octopi/filesystem/boot/octopi.txt
index 9440cd5..b09fa8b 100644
--- a/src/modules/octopi/filesystem/boot/octopi.txt
+++ b/src/modules/octopi/filesystem/boot/octopi.txt
@@ -36,16 +36,21 @@
#
# By default, this is done for the following devices:
# Logitech C170 (046d:082b)
+# GEMBIRD (1908:2310)
+# Genius F100 (0458:708c)
+# Cubeternet GL-UPC822 UVC WebCam (1e4e:0102)
#
# Using the following option it is possible to add additional devices. If
# your webcam happens to show above symptoms, try determining your cam's
# vendor and product id via lsusb, activating the line below by removing # and
-# adding it as shown examplatory.
+# adding it, e.g. for two broken cameras "aabb:ccdd" and "aabb:eeff"
+#
+# additional_brokenfps_usb_devices=("aabb:ccdd" "aabb:eeff")
#
# If this fixes your problem, please report it back so we can include the device
-# out of the box.
+# out of the box: https://github.com/guysoft/OctoPi/issues
#
-#additional_brokenfps_usb_devices=("046d:082b" "1908:2310" "1e4e:0102" "aabb:ccdd")
+#additional_brokenfps_usb_devices=()
### Additional options to supply to MJPG Streamer for the RasPi Cam
#
diff --git a/src/modules/octopi/filesystem/home/root/bin/webcamd b/src/modules/octopi/filesystem/home/root/bin/webcamd
index b4fc612..0a32aba 100755
--- a/src/modules/octopi/filesystem/home/root/bin/webcamd
+++ b/src/modules/octopi/filesystem/home/root/bin/webcamd
@@ -27,7 +27,7 @@ if [ -e "/boot/octopi.txt" ]; then
source "/boot/octopi.txt"
fi
-brokenfps_usb_devices=("046d:082b" "1908:2310" "0458:708c" "${additional_brokenfps_usb_devices[@]}")
+brokenfps_usb_devices=("046d:082b" "1908:2310" "0458:708c" "1e4e:0102" "${additional_brokenfps_usb_devices[@]}")
# check if array contains a string
function containsString() {