I have tried the following settings and non worked.
"-r 640x480 -f 10" and "-r 640x480 -f 10 -y" no luck in it.
I also did lsusb
pi@octopi:~ $ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 007: ID 046d:08b2 Logitech, Inc. QuickCam Pro 4000
Bus 001 Device 003: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter
Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
You're trying to access it wrong. You need to ask it to open, or at least print the contents to the console. Try running nano /var/log/webcamd.log to open it with nano. Or you can run cat /var/log/webcamd.log to print the contents.
The way you tried to access the file was attempting to execute it, which you can't do with something that's not executable.
Linux octopi 5.4.51-v8+ #1333 SMP PREEMPT Mon Aug 10 16:58:35 BST 2020 aarch64
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Thu Dec 31 23:10:49 2020 from 192.168.1.64
I have tried as you suggest and I have tried lsusb command and you can see the result above. let me add it here again. it did detect the camera
pi@octopi:~ $ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 007: ID 046d:08b2 Logitech, Inc. QuickCam Pro 4000
Bus 001 Device 003: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter
Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub