"zmu -d <device_path> -q -v" error

Forum for questions and support relating to the 1.24.x releases only.
Locked
dmizer
Posts: 2
Joined: Thu Jun 25, 2009 8:33 am

"zmu -d <device_path> -q -v" error

Post by dmizer »

Hello,

My server is Ubuntu Hardy 8.04 with kernel 2.6.24-24-server. My cam is a Logitech QuickCam Communicate STX which is listed in the supported hardware here: http://www.zoneminder.com/wiki/index.ph ... d_hardware as well as in the Ubuntu supported hardware.

I first attempted to install the older zoneminder version available in the Ubuntu repositories, but I ran into this error when running zmu -d <device_path> -q -v as follows:

Code: Select all

# zmu -d /dev/video0 -q -v
Error, failed to get channel 0 attributes: Invalid argument
I assume that unless the above command completes correctly, that the camera will not work with zoneminder.

I was going to post in the forum for the older version, but I figured that the suggestion would be to try an upgraded version of zoneminder, so I compiled and installed the 1.24.1 version. Everything compiled perfectly, and the site works, but I still get the above error when running zmu -d <device_path> -q -v and I cannot see any images from the camera.

ffmpeg records video fine with the following command:

Code: Select all

ffmpeg -f video4linux2 -s 320x240 -i /dev/video0 out.mpg
I am sure that there is something basic I'm missing here, but I don't know what.
blindvic
Posts: 11
Joined: Thu Nov 13, 2008 3:56 pm

The same here

Post by blindvic »

dmizer
Posts: 2
Joined: Thu Jun 25, 2009 8:33 am

Error output

Post by dmizer »

Well, I think I may have some relevant error output.

Upon attempting to run zmc --device <device>, I found this in dmesg:

Code: Select all

Jul 12 23:34:04 cam-server zmdc[4910]: INF [Starting pending process, zmc -d /dev/video0] 
Jul 12 23:34:04 cam-server zmdc[5016]: INF ['zmc -d /dev/video0' started at 09/07/12 23:34:04] 
Jul 12 23:34:04 cam-server zmdc[4910]: INF ['zmc -d /dev/video0' starting at 09/07/12 23:34:04, pid = 5016] 
Jul 12 23:34:04 cam-server zmc_dvideo0[5016]: INF [Debug Level = 0, Debug Log = <none>]
Jul 12 23:34:04 cam-server zmc_dvideo0[5016]: INF [Starting Capture]
Jul 12 23:34:04 cam-server zmc_dvideo0[5016]: INF [Got signal 6 (Aborted), exiting and forcing backtrace]
Jul 12 23:34:04 cam-server zmc_dvideo0[5016]: INF [Backtrace complete, please execute the following command for more information]
Jul 12 23:34:04 cam-server zmc_dvideo0[5016]: INF [addr2line -e /usr/local/bin/zmc(__gxx_personality_v0+0x2f1) 0xb7ee6410 0xb7ee6410 0xb7923085 0xb7924a01 0x8055225 0x806590f 0x8065f34 0x804c1c2 0xb790e450 0x804bc71]
The only other relevant log entry is located in /tmp/zmdc.log but it's not very helpful:

Code: Select all

07/12/2009 23:36:44.075339 zmdc[4910].INF [Starting pending process, zmc -d /dev/video0]
07/12/2009 23:36:44.103387 zmdc[4910].INF ['zmc -d /dev/video0' starting at 09/07/12 23:36:44, pid = 5077]
07/12/2009 23:36:44.189140 zmdc[4910].ERR ['zmc -d /dev/video0' exited abnormally, exit status 6]
Locked