In usb camera moniterZoneminder master 1.35.12~20201101103027-focal brightness settings can not be changed using the settings button .
This shortcoming is in zoneminder 1.34.22-focal1 also.
The brightness settings works correctly only in zoneminder old versions ( 1.32 etc)
No error logs indicated pertaining to this problem
Zoneminder master 1.35.12~20201101103027-focal usb camera monitor brightness settings can't be adjusted
- bkjaya1952
- Posts: 282
- Joined: Sat Aug 25, 2018 3:24 pm
- Location: Sri Lanka
Zoneminder master 1.35.12~20201101103027-focal usb camera monitor brightness settings can't be adjusted
Last edited by bkjaya1952 on Sat Nov 14, 2020 6:05 am, edited 1 time in total.
- knight-of-ni
- Posts: 2404
- Joined: Thu Oct 18, 2007 1:55 pm
- Location: Shiloh, IL
Re: Zoneminder master 1.35.12~20201101103027-focal usb camera monitor brightness settings can't be ajusted
I don't have any local usb cameras, so you will need to test for me.
Insert the following debug statement into line 42 of settings.php:
https://github.com/ZoneMinder/zoneminde ... gs.php#L42
The add the following, after line 43:
https://github.com/ZoneMinder/zoneminde ... gs.php#L43
Try to change a value in settings and then post what shows up in your logs.
Insert the following debug statement into line 42 of settings.php:
https://github.com/ZoneMinder/zoneminde ... gs.php#L42
Code: Select all
ZM\Warning('About to execute this command: '.$zmuCommand);
https://github.com/ZoneMinder/zoneminde ... gs.php#L43
Code: Select all
ZM\Warning('The command result was: '.$zmuOutput);
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
All of these can be found at https://zoneminder.blogspot.com/
- bkjaya1952
- Posts: 282
- Joined: Sat Aug 25, 2018 3:24 pm
- Location: Sri Lanka
Re: Zoneminder master 1.35.12~20201101103027-focal usb camera monitor brightness settings can't be ajusted
Dear Sirknight-of-ni wrote: ↑Mon Nov 02, 2020 6:50 pm I don't have any local usb cameras, so you will need to test for me.
Insert the following debug statement into line 42 of settings.php:
https://github.com/ZoneMinder/zoneminde ... gs.php#L42
The add the following, after line 43:Code: Select all
ZM\Warning('About to execute this command: '.$zmuCommand);
https://github.com/ZoneMinder/zoneminde ... gs.php#L43
Try to change a value in settings and then post what shows up in your logs.Code: Select all
ZM\Warning('The command result was: '.$zmuOutput);
After editing the settings.php at /usr/share/zoneminder/www/includes/actions/settings.php
For the code at first link
log file is below
For the code at second link
log file is below
The brightness settings didn't work for both occasions
- knight-of-ni
- Posts: 2404
- Joined: Thu Oct 18, 2007 1:55 pm
- Location: Shiloh, IL
Re: Zoneminder master 1.35.12~20201101103027-focal usb camera monitor brightness settings can't be ajusted
At what point do the warnings appear in the first screenshot...when you first click the settings button, when you make a change to one of the parameters, when you click save, something else?
I don't see either of the warnings I had you insert into settings.php.
What I'm looking to see is what appeared in the log, immediately after clicking the save button.
I don't see either of the warnings I had you insert into settings.php.
What I'm looking to see is what appeared in the log, immediately after clicking the save button.
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
All of these can be found at https://zoneminder.blogspot.com/
- knight-of-ni
- Posts: 2404
- Joined: Thu Oct 18, 2007 1:55 pm
- Location: Shiloh, IL
Re: Zoneminder master 1.35.12~20201101103027-focal usb camera monitor brightness settings can't be ajusted
Oh, and it looks like $zmuOutput is an array so change the second warning to:
Code: Select all
ZM\Warning('The command result was: '.print_r($zmuOutput,true));
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
All of these can be found at https://zoneminder.blogspot.com/
- bkjaya1952
- Posts: 282
- Joined: Sat Aug 25, 2018 3:24 pm
- Location: Sri Lanka
Re: Zoneminder master 1.35.12~20201101103027-focal usb camera monitor brightness settings can't be ajusted
Dear Sirknight-of-ni wrote: ↑Tue Nov 03, 2020 1:50 pm Oh, and it looks like $zmuOutput is an array so change the second warning to:
Code: Select all
ZM\Warning('The command result was: '.print_r($zmuOutput,true));
According to the first link there are no warnings in the log
For the second link when you change brightness and save there is an error indicated in the log as follows
The brightness can't be adjusted in both cases
The page source of the monitor settings popup window is annexed below
https://www.dropbox.com/s/501emt14lurbt ... p.txt?dl=0
According to the above page source , the brightness setting file may not be the settings.php at /usr/share/zoneminder/www/includes/actions/