logitech orbit with 1.24.2?
Posted: Tue Jul 20, 2010 3:30 am
I'm having some issues getting this thing to work on an OpenSuse 11.3 laptop (kernel 2.6.34-12) , ZoneMinder 1.24.2 although I think I'm pretty close. The camera works with vnc, or livcview
zmu only works with the -V1 option (which is kind of odd because from what I was reading around this camera only works with v4l2) Not sure what this is about.
sudo zmu -d /dev/video1 -q -v -V 1
Video Device: /dev/video1
Video Capabilities
Name: UVC Camera (046d:08c2)
Type: 1
Can capture
Video Channels: 1
Audio Channels: 0
Maximum Width: 960
Maximum Height: 720
Minimum Width: 48
Minimum Height: 32
Window Attributes
X Offset: 0
Y Offset: 0
Width: 320
Height: 240
Picture Attributes
Palette: 0 - Unknown
Colour Depth: 0
Brightness: 32639
Hue: 0
Colour :8224
Contrast: 8224
Whiteness: 65535
Channel 0 Attributes
Name: Camera 1
Channel: 0
Flags: 0
Type: 2 - Camera
Format: 0 - PAL
I can set a monitor with it, and the source shows /dev/video1 (0) in orange, so as far as ZM is concerned it knows about the camera and has some level of communication with it.
In the source popup for the monitor, I set
Device Path: /dev/video1
Capture Method: Video for linux version 1
Device channel: 0
Device format: PAL
Capture Palette: YUV422P
Width and Height: 960x720
Orientation: Normal
The monitor window doesn't show anything, and my log keep showing me this message:
ul 19 21:11:02 linux-5s5j sudo: tpc : TTY=pts/8 ; PWD=/home/tpc/Downloads/ZoneMinder-1.24.2 ; USER=root ; COMMAND=/usr/local/bin/zmu -d /dev/video1 -q -v -V 1
Jul 19 21:12:13 linux-5s5j zmdc[8505]: INF [Starting pending process, zmc -d /dev/video1]
Jul 19 21:12:13 linux-5s5j zmdc[8505]: INF ['zmc -d /dev/video1' starting at 10/07/19 21:12:13, pid = 8679]
Jul 19 21:12:13 linux-5s5j zmdc[8679]: INF ['zmc -d /dev/video1' started at 10/07/19 21:12:13]
Jul 19 21:12:13 linux-5s5j zmc_dvideo1[8679]: INF [Debug Level = 0, Debug Log = <none>]
Jul 19 21:12:13 linux-5s5j zmc_dvideo1[8679]: INF [Starting Capture]
Jul 19 21:12:13 linux-5s5j zmc_dvideo1[8679]: ERR [Failed to set picture attributes: Invalid argument]
Jul 19 21:12:13 linux-5s5j kernel: [163602.705083] uvcvideo: Failed to query (1) UVC control 9 (unit 2) : -110 (exp. 2).
Jul 19 21:12:13 linux-5s5j zmdc[8505]: ERR ['zmc -d /dev/video1' exited abnormally, exit status 255]
If I change the capture method to v4l version 2, I get this in the log:
Jul 19 21:20:49 linux-5s5j zmdc[8505]: INF [Starting pending process, zmc -d /dev/video1]
Jul 19 21:20:49 linux-5s5j zmdc[8505]: INF ['zmc -d /dev/video1' starting at 10/07/19 21:20:49, pid = 8773]
Jul 19 21:20:49 linux-5s5j zmdc[8773]: INF ['zmc -d /dev/video1' started at 10/07/19 21:20:49]
Jul 19 21:20:49 linux-5s5j zmc_dvideo1[8773]: INF [Debug Level = 0, Debug Log = <none>]
Jul 19 21:20:49 linux-5s5j zmc_dvideo1[8773]: INF [Starting Capture]
Jul 19 21:20:49 linux-5s5j zmc_dvideo1[8773]: FAT [Failed to set video format: Invalid argument]
Jul 19 21:20:49 linux-5s5j zmc_dvideo1[8773]: INF [Got signal 6 (Aborted), exiting and forcing backtrace]
Jul 19 21:20:49 linux-5s5j zmc_dvideo1[8773]: ERR [Signal address is (nil), from 0xffffe424]
Jul 19 21:20:49 linux-5s5j zmc_dvideo1[8773]: ERR [Backtrace: [0xffffe424]]
Jul 19 21:20:49 linux-5s5j zmc_dvideo1[8773]: ERR [Backtrace: [0xffffe424]]
Jul 19 21:20:49 linux-5s5j zmc_dvideo1[8773]: ERR [Backtrace: /lib/libc.so.6(gsignal+0x4f) [0xb621a7ff]]
Jul 19 21:20:49 linux-5s5j zmc_dvideo1[8773]: ERR [Backtrace: /lib/libc.so.6(abort+0x180) [0xb621c140]]
Jul 19 21:20:49 linux-5s5j zmc_dvideo1[8773]: ERR [Backtrace: /usr/local/bin/zmc() [0x805750d]]
Jul 19 21:20:49 linux-5s5j zmc_dvideo1[8773]: ERR [Backtrace: /usr/local/bin/zmc() [0x8066b58]]
Jul 19 21:20:49 linux-5s5j zmc_dvideo1[8773]: ERR [Backtrace: /usr/local/bin/zmc() [0x806bb5b]]
.... more backtrace ...
I'm not sure where to go from there. I've tried to run zmc from the command line, but it does nothing (no error message, no nothing) no matter what argument I try to give it.
Thanks for any suggestion.
zmu only works with the -V1 option (which is kind of odd because from what I was reading around this camera only works with v4l2) Not sure what this is about.
sudo zmu -d /dev/video1 -q -v -V 1
Video Device: /dev/video1
Video Capabilities
Name: UVC Camera (046d:08c2)
Type: 1
Can capture
Video Channels: 1
Audio Channels: 0
Maximum Width: 960
Maximum Height: 720
Minimum Width: 48
Minimum Height: 32
Window Attributes
X Offset: 0
Y Offset: 0
Width: 320
Height: 240
Picture Attributes
Palette: 0 - Unknown
Colour Depth: 0
Brightness: 32639
Hue: 0
Colour :8224
Contrast: 8224
Whiteness: 65535
Channel 0 Attributes
Name: Camera 1
Channel: 0
Flags: 0
Type: 2 - Camera
Format: 0 - PAL
I can set a monitor with it, and the source shows /dev/video1 (0) in orange, so as far as ZM is concerned it knows about the camera and has some level of communication with it.
In the source popup for the monitor, I set
Device Path: /dev/video1
Capture Method: Video for linux version 1
Device channel: 0
Device format: PAL
Capture Palette: YUV422P
Width and Height: 960x720
Orientation: Normal
The monitor window doesn't show anything, and my log keep showing me this message:
ul 19 21:11:02 linux-5s5j sudo: tpc : TTY=pts/8 ; PWD=/home/tpc/Downloads/ZoneMinder-1.24.2 ; USER=root ; COMMAND=/usr/local/bin/zmu -d /dev/video1 -q -v -V 1
Jul 19 21:12:13 linux-5s5j zmdc[8505]: INF [Starting pending process, zmc -d /dev/video1]
Jul 19 21:12:13 linux-5s5j zmdc[8505]: INF ['zmc -d /dev/video1' starting at 10/07/19 21:12:13, pid = 8679]
Jul 19 21:12:13 linux-5s5j zmdc[8679]: INF ['zmc -d /dev/video1' started at 10/07/19 21:12:13]
Jul 19 21:12:13 linux-5s5j zmc_dvideo1[8679]: INF [Debug Level = 0, Debug Log = <none>]
Jul 19 21:12:13 linux-5s5j zmc_dvideo1[8679]: INF [Starting Capture]
Jul 19 21:12:13 linux-5s5j zmc_dvideo1[8679]: ERR [Failed to set picture attributes: Invalid argument]
Jul 19 21:12:13 linux-5s5j kernel: [163602.705083] uvcvideo: Failed to query (1) UVC control 9 (unit 2) : -110 (exp. 2).
Jul 19 21:12:13 linux-5s5j zmdc[8505]: ERR ['zmc -d /dev/video1' exited abnormally, exit status 255]
If I change the capture method to v4l version 2, I get this in the log:
Jul 19 21:20:49 linux-5s5j zmdc[8505]: INF [Starting pending process, zmc -d /dev/video1]
Jul 19 21:20:49 linux-5s5j zmdc[8505]: INF ['zmc -d /dev/video1' starting at 10/07/19 21:20:49, pid = 8773]
Jul 19 21:20:49 linux-5s5j zmdc[8773]: INF ['zmc -d /dev/video1' started at 10/07/19 21:20:49]
Jul 19 21:20:49 linux-5s5j zmc_dvideo1[8773]: INF [Debug Level = 0, Debug Log = <none>]
Jul 19 21:20:49 linux-5s5j zmc_dvideo1[8773]: INF [Starting Capture]
Jul 19 21:20:49 linux-5s5j zmc_dvideo1[8773]: FAT [Failed to set video format: Invalid argument]
Jul 19 21:20:49 linux-5s5j zmc_dvideo1[8773]: INF [Got signal 6 (Aborted), exiting and forcing backtrace]
Jul 19 21:20:49 linux-5s5j zmc_dvideo1[8773]: ERR [Signal address is (nil), from 0xffffe424]
Jul 19 21:20:49 linux-5s5j zmc_dvideo1[8773]: ERR [Backtrace: [0xffffe424]]
Jul 19 21:20:49 linux-5s5j zmc_dvideo1[8773]: ERR [Backtrace: [0xffffe424]]
Jul 19 21:20:49 linux-5s5j zmc_dvideo1[8773]: ERR [Backtrace: /lib/libc.so.6(gsignal+0x4f) [0xb621a7ff]]
Jul 19 21:20:49 linux-5s5j zmc_dvideo1[8773]: ERR [Backtrace: /lib/libc.so.6(abort+0x180) [0xb621c140]]
Jul 19 21:20:49 linux-5s5j zmc_dvideo1[8773]: ERR [Backtrace: /usr/local/bin/zmc() [0x805750d]]
Jul 19 21:20:49 linux-5s5j zmc_dvideo1[8773]: ERR [Backtrace: /usr/local/bin/zmc() [0x8066b58]]
Jul 19 21:20:49 linux-5s5j zmc_dvideo1[8773]: ERR [Backtrace: /usr/local/bin/zmc() [0x806bb5b]]
.... more backtrace ...
I'm not sure where to go from there. I've tried to run zmc from the command line, but it does nothing (no error message, no nothing) no matter what argument I try to give it.
Thanks for any suggestion.