I've tried 5 different webcams, all of them do work in XawTV, but when I try
Code: Select all
zmu -d /dev/video0 -q -v
Code: Select all
Error, failed to get channel 0 attributes: Invalid argument
I'm a bit confused with that. I know I could share cam to zm using stream software but I'd prefer to use more direct way...
My primary cam for those experiments is i-sight one on my mbp, shared to ubuntu using parallels usb sharing.
Code: Select all
root@ZSU94:~# lsusb
Bus 001 Device 004: ID 05ac:8507 Apple, Inc.
I have the following in /var/log/messages:
Code: Select all
Nov 28 21:53:58 ZSU94 zmwatch[24947]: INF [Restarting capture daemon for New, shared memory not valid]
Nov 28 21:53:58 ZSU94 zmdc[24745]: INF ['zmc -d /dev/video0' stopping at 09/11/28 21:53:58]
Nov 28 21:53:58 ZSU94 zmwatch[24947]: INF ['zmc -d /dev/video0' stopping at 09/11/28 21:53:58]
Code: Select all
echo 134217728 >/proc/sys/kernel/shmall && echo 134217728 >/proc/sys/kernel/shmmax
Code: Select all
sudo chmod 4755 /usr/bin/zmfix
zmfix -a
sudo chown www-data.www-data /usr/share/zoneminder/temp