Eeepc hotel room monitoring works with these settings still:
https://digitalsatori2015.blogspot.com/2016/07/zoneminder-on-1001x-eepc.html
5fps is a bit much for the eepc so set it to 2. model name : Intel(R) Atom(TM) CPU N455 @ 1.66GHz
Doesn't work with selinux enabled. Disabled auditd for speed.
Works with same GUI settings from before in earlier blog post.
HOWEVER sometimes image is very dim now. Setting to capture more than 1 frame at a time seems to help but problem keeps coming back. Goes away for awhile after changing frame settings.
└─# lsb_release -a
No LSB modules are available.
Distributor ID: Kali
Description: Kali GNU/Linux Rolling
Release: 2023.1
Codename: kali-rolling
└─# uname -a
Linux node17 6.1.0-kali7-686-pae #1 SMP PREEMPT_DYNAMIC Debian 6.1.20-2kali1 (2023-04-18) i686 GNU/Linux
└─# /etc/init.d/zoneminder status
● zoneminder.service - ZoneMinder CCTV recording and surveillance system
Loaded: loaded (/lib/systemd/system/zoneminder.service; enabled; preset: disabled)
Active: active (running) since Fri 2023-05-05 13:51:01 PDT; 3h 24min ago
Docs: http://zoneminder.readthedocs.org/en/latest/
Main PID: 2819 (zmdc.pl)
Tasks: 11 (limit: 4650)
Memory: 866.9M
CPU: 17min 53.616s
CGroup: /system.slice/zoneminder.service
├─2819 /usr/bin/perl -wT /usr/bin/zmdc.pl startup
├─2852 /usr/bin/perl -wT /usr/bin/zmfilter.pl --filter_id=1 --daemon
├─2856 /usr/bin/perl -wT /usr/bin/zmfilter.pl --filter_id=2 --daemon
├─2859 /usr/bin/perl -wT /usr/bin/zmwatch.pl
├─2865 /usr/bin/perl -wT /usr/bin/zmtelemetry.pl
├─2869 /usr/bin/perl -wT /usr/bin/zmstats.pl
└─3427 /usr/bin/zmc -d /dev/video0
May 05 13:50:55 node17 zmc_dvideo0[2846]: ERR [zmc_dvideo0] [Failed to set video standard 45056: 25 Inappropriate ioctl for device]
May 05 13:51:01 node17 systemd[1]: Started zoneminder.service - ZoneMinder CCTV recording and surveillance system.
May 05 13:51:09 node17 zmtelemetry[2865]: WAR [Telemetry server returned HTTP POST error code: 301]
May 05 14:34:41 node17 zmc_dvideo0[2846]: ERR [zmc_dvideo0] [Failed to stop capture stream: Bad file descriptor]
May 05 14:34:41 node17 zmc_dvideo0[2846]: ERR [zmc_dvideo0] [Failed to stop capture stream: Bad file descriptor]
May 05 14:34:41 node17 zmwatch[2859]: ERR [Memory map file '/dev/shm/zm.mmap.1' does not exist in zmMemAttach. zmc might…running.]
May 05 14:34:47 node17 zmc_dvideo0[3383]: ERR [zmc_dvideo0] [Failed to set video standard 45056: 25 Inappropriate ioctl for device]
May 05 14:35:45 node17 zmc_dvideo0[3383]: ERR [zmc_dvideo0] [Failed to stop capture stream: Bad file descriptor]
May 05 14:35:45 node17 zmc_dvideo0[3383]: ERR [zmc_dvideo0] [Failed to stop capture stream: Bad file descriptor]
May 05 14:35:47 node17 zmc_dvideo0[3427]: ERR [zmc_dvideo0] [Failed to set video standard 45056: 25 Inappropriate ioctl for device]
Hint: Some lines were ellipsized, use -l to show in full.
# zmu -d /dev/video0 -q -v
05/05/23 17:21:28.785100 zmu[5103].ERR-zm_local_camera.cpp/1551 [Failed to set video input 0: Device or resource busy]
Video Device: /dev/video0
General Capabilities
Driver: uvcvideo
Card: USB 2.0 Camera: USB Camera
Bus: usb-0000:00:1d.7-6
Version: 6.1.20
Type: 0x84a00001
Supports video capture (X)
Does not support video output
Does not support frame buffer overlay
Does not support VBI capture
Does not support VBI output
Does not support sliced VBI capture
Does not support sliced VBI output
Does not support video output overlay
Does not have tuner
Does not have audio in and/or out
Does not have radio
Does not support read/write i/o (X)
Does not support async i/o
Supports streaming i/o (X)
Standards:
Formats:
YUYV 4:2:2 (0x56595559)
Crop Capabilities
Cropping is not supported
Inputs: 1
Error, failed to switch to input 0: Device or resource busy
v4l2-ctl --all
Driver Info:
Driver name : uvcvideo
Card type : USB 2.0 Camera: USB Camera
Bus info : usb-0000:00:1d.7-6
Driver version : 6.1.20
Capabilities : 0x84a00001
Video Capture
Metadata Capture
Streaming
Extended Pix Format
Device Capabilities
Device Caps : 0x04200001
Video Capture
Streaming
Extended Pix Format
Media Driver Info:
Driver name : uvcvideo
Model : USB 2.0 Camera: USB Camera
Serial : SN0001
Bus info : usb-0000:00:1d.7-6
Media version : 6.1.20
Hardware revision: 0x00000528 (1320)
Driver version : 6.1.20
Interface Info:
ID : 0x03000002
Type : V4L Video
Entity Info:
ID : 0x00000001 (1)
Name : USB 2.0 Camera: USB Camera
Function : V4L2 I/O
Flags : default
Pad 0x01000007 : 0: Sink
Link 0x02000013: from remote pad 0x100000a of entity 'Extension 5' (Video Pixel Formatter): Data, Enabled, Immutable
Priority: 2
Video input : 0 (Input 1: ok)
Format Video Capture:
Width/Height : 640/480
Pixel Format : 'YUYV' (YUYV 4:2:2)
Field : None
Bytes per Line : 1280
Size Image : 614400
Colorspace : sRGB
Transfer Function : Rec. 709
YCbCr/HSV Encoding: ITU-R 601
Quantization : Default (maps to Limited Range)
Flags :
Crop Capability Video Capture:
Bounds : Left 0, Top 0, Width 640, Height 480
Default : Left 0, Top 0, Width 640, Height 480
Pixel Aspect: 1/1
Selection Video Capture: crop_default, Left 0, Top 0, Width 640, Height 480, Flags:
Selection Video Capture: crop_bounds, Left 0, Top 0, Width 640, Height 480, Flags:
Streaming Parameters Video Capture:
Capabilities : timeperframe
Frames per second: 30.000 (30/1)
Read buffers : 0
User Controls
brightness 0x00980900 (int) : min=-64 max=64 step=1 default=10 value=40
contrast 0x00980901 (int) : min=0 max=95 step=1 default=30 value=20
saturation 0x00980902 (int) : min=0 max=128 step=1 default=75 value=75
hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0
white_balance_automatic 0x0098090c (bool) : default=1 value=1
gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100
gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0
power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 (60 Hz)
0: Disabled
1: 50 Hz
2: 60 Hz
white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=6500 value=6500 flags=inactive
sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3
backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1