Page 1 of 1

only 4 channels available in Zm drop down although 8 there!

Posted: Fri May 19, 2006 3:36 pm
by somepdguy
Hi All,

I have been arguing with ZM all afternoon because I just reinstalled a new box with a grandtec x-guard 8 port and the ZM would only give me 4 channels in the Monitor channels drop down box... to get round this I had to edit the database manually and set the Channel to 4,5,6 or 7 to get the other cameras...

Why does the drop down box only go to 4?! Does ZM think my card is only 4 channels or does ZM just now only do 4?

Phil - Please perhaps put this back from a drop down box to a text field?

All working now but this may save someone hours of modprobing with different switched as that is what I thought was the problem.

Thanks

Pete

Posted: Fri May 19, 2006 9:53 pm
by zoneminder
Does you card have 8 chips on it? Otherwise you normally get 4 devices but two channels each.

Either way, I have increased the drop down range to go from 0 - 7 just in case.

Posted: Fri May 19, 2006 9:56 pm
by jameswilson
ON another card i used a 4 chip card a while ago that insisted in being /dev/video0-15 and all channel 0 as there was some mux chip on it, so just a thought

Posted: Fri May 19, 2006 9:57 pm
by zoneminder
Ok, 0-15 it is then!!

Posted: Fri May 19, 2006 10:07 pm
by jameswilson
well i had onther card that had /dev/video0 - 103 but..... only kidding mate! sorry couldnt resist

My card is an x-guard grandtec 9 camera

Posted: Sun May 21, 2006 7:10 pm
by somepdguy
My card is an x-guard grandtec 9 camera and it only has one bt878 chip, hence with all cams I don't get a great frame rate. :(

Anyway 0-15 should cover most eventualities (SP?)


Thanks alot Phil :)


Pete

Posted: Wed May 24, 2006 11:19 pm
by Hogface
I have the same problem.
How do you update the database to take to 0-15?
________
make a vaporizer

Posted: Thu May 25, 2006 8:24 am
by somepdguy
hi mate

along the lines of...

/usr/local/mysql/bin/mysql -u root -p zm
(so connect up to MySQL as root and use the zm database)
then type

use zm (if you aren't already using that DB)
update Monitors set Channel=5 where Name="Cam1";
update Monitors set Channel=6 where Name="Cam2";
update Monitors set Channel=7 where Name="Cam3";
etc etc etc...

quit out of mysql then restart ZM and away you go.

Regards

Pete

Posted: Thu May 25, 2006 8:26 am
by jameswilson
or use webmin the you can have a gui for mysql

Posted: Thu May 25, 2006 5:02 pm
by Hogface
thanks! That worked
For others:
1) if you go back into source setup menu, it will default back to 0-3
2) refresh your screen console screen to see the change
________
vapir oxygen

Posted: Tue May 30, 2006 12:35 am
by Hogface
Thanks! I reinstalled today and noticed the additional ranges!
Thanks for the quick fix.
________
herbalaire