Page 1 of 1

SuSE 10 Installation problem?

Posted: Mon May 22, 2006 3:19 pm
by byte
Well i followed this how to...

http://www.zoneminder.com/forums/viewto ... light=suse

and have installed but I get a blue screen or fuzzy dots on the zm box as well as on the XawTV. I'm at a loss at the moment as the logs "appear" to show no error's, I'm using from lspci...

Brooktree Corporation Bt848 Video Capture

The zmaudit logs show...

05/22/06 16:01:00.449145 zmaudit[9508].DBG [Found database monitor '3']
05/22/06 16:01:00.467923 zmaudit[9508].DBG [Got 0 events]
05/22/06 16:01:00.468576 zmaudit[9508].DBG [Found filesystem monitor '3']
05/22/06 16:01:00.468952 zmaudit[9508].DBG [Got 0 events]


which shows me it's found one on ID 3

05/22/06 16:02:33.267791 zmdc[9711].INF ['zmc -d /dev/video' started at 06/05/22 16:02:33]
05/22/06 16:02:33.273414 zmdc[9476].INF ['zmc -d /dev/video' starting at 06/05/22 16:02:33, pid = 9711]

Which seems ok to me?!

the /var/log/message's log show's some problems...

May 22 16:02:22 linux zmwatch[9513]: INF [Restarting capture daemon for NewCam, shared memory not valid]
May 22 16:02:22 linux zmdc[9476]: INF ['zmc -d /dev/video' starting at 06/05/22 16:02:22, pid = 9689]
May 22 16:02:22 linux zmdc[9689]: INF ['zmc -d /dev/video' started at 06/05/22 16:02:22]
May 22 16:02:22 linux zmc_dvideo[9689]: INF [Debug Level = 0, Debug Log = <none>]
May 22 16:02:22 linux zmc_dvideo[9689]: ERR [Failed to set picture attributes: Invalid argument]
May 22 16:02:22 linux zmdc[9476]: ERR ['zmc -d /dev/video' exited abnormally, exit status 255]
May 22 16:02:22 linux zmwatch[9513]: INF ['zmc -d /dev/video' starting at 06/05/22 16:02:22, pid = 9689]
May 22 16:02:24 linux zmu[9692]: ERR [Shared memory not initialised by capture daemon]
May 22 16:02:28 linux zmu[9700]: ERR [Shared memory not initialised by capture daemon]
May 22 16:02:32 linux zmwatch[9513]: INF [Restarting capture daemon for NewCam, shared memory not valid]
May 22 16:02:33 linux zmdc[9711]: INF ['zmc -d /dev/video' started at 06/05/22 16:02:33]
May 22 16:02:33 linux zmdc[9476]: INF ['zmc -d /dev/video' starting at 06/05/22 16:02:33, pid = 9711]
May 22 16:02:33 linux zmc_dvideo[9711]: INF [Debug Level = 0, Debug Log = <none>]
May 22 16:02:33 linux zmc_dvideo[9711]: INF [Starting Capture]
May 22 16:02:33 linux zmwatch[9513]: INF ['zmc -d /dev/video' started at 06/05/22 16:02:33]

Not sure about those Memory one's as I did enter those in /etc/sysctl.conf

and running zmu -d /dev/video0 -q -v

pc-00192:/ # zmu -d /dev/video0 -q -v
Video Capabilities
Name: BT848A video (Hauppauge (bt848)
Type: 171
Can capture
Can tune
Overlay onto frame buffer
Can clip
Scalable
Video Channels: 4
Audio Channels: 1
Maximum Width: 924
Maximum Height: 576
Minimum Width: 48
Minimum Height: 32
Window Attributes
X Offset: 0
Y Offset: 0
Width: 320
Height: 240
Picture Attributes
Palette: 6 - 555 15bit RGB
Colour Depth: 16
Brightness: 32768
Hue: 32768
Colour :32768
Contrast: 32768
Whiteness: 0
Channel 0 Attributes
Name: Television
Channel: 0
Flags: 3
Channel has a tuner
Channel has audio
Type: 1 - TV
Format: 0 - PAL
Channel 1 Attributes
Name: Composite1
Channel: 1
Flags: 2
Channel has audio
Type: 2 - Camera
Format: 0 - PAL
Channel 2 Attributes
Name: S-Video
Channel: 2
Flags: 2
Channel has audio
Type: 2 - Camera
Format: 0 - PAL
Channel 3 Attributes
Name: Composite3
Channel: 3
Flags: 2
Channel has audio
Type: 2 - Camera
Format: 0 - PAL


Thanks for any pointers!

Posted: Mon May 22, 2006 4:07 pm
by zoneminder
The error about failing to set picture attributes is important and you should check you are using sensible monitor sizes and/or turn off strict video config. See the FAQ for more information on this.

However this will not affect why you can't see anything in xawtv. You should probably concentrate on getting a decent picutre in this before turning ZM on. It appears you are using /dev/video for the input, do you get the same if you use /dev/video0 or one of the other devices? What card/camera are you using?

Posted: Mon May 22, 2006 5:02 pm
by byte
Thanks for replying Phil, yes I am using 320x240 even tried 160x120.

Yes I did notice that it was using /dev/video rather than /dev/video0 how would I get it to use /dev/video to /dev/video0? symlinking?

I'm using a BT848A video (Hauppauge (bt848) and the camera via composite phono lead.

Thanks again for any tips :)

Posted: Mon May 22, 2006 5:19 pm
by jameswilson
you need to edit the path in your monitor settings a restart zm to add the 0

Posted: Wed May 24, 2006 10:04 am
by byte
Thanks for your replies found once I had set the correct path and channel it worked. (That was once I changed my video cable over as it was dodgy :roll: ) Great Project!!