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

Support and queries relating to all previous versions of ZoneMinder
Locked
somepdguy
Posts: 43
Joined: Thu Jun 24, 2004 8:35 am

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

Post 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
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post 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.
Phil
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post 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
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

Ok, 0-15 it is then!!
Phil
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

well i had onther card that had /dev/video0 - 103 but..... only kidding mate! sorry couldnt resist
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
somepdguy
Posts: 43
Joined: Thu Jun 24, 2004 8:35 am

My card is an x-guard grandtec 9 camera

Post 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
Hogface
Posts: 70
Joined: Wed Oct 05, 2005 1:52 am
Location: Arkansas

Post by Hogface »

I have the same problem.
How do you update the database to take to 0-15?
________
make a vaporizer
Last edited by Hogface on Thu Feb 03, 2011 1:14 pm, edited 1 time in total.
somepdguy
Posts: 43
Joined: Thu Jun 24, 2004 8:35 am

Post 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
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

or use webmin the you can have a gui for mysql
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Hogface
Posts: 70
Joined: Wed Oct 05, 2005 1:52 am
Location: Arkansas

Post 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
Last edited by Hogface on Thu Feb 03, 2011 1:14 pm, edited 1 time in total.
Hogface
Posts: 70
Joined: Wed Oct 05, 2005 1:52 am
Location: Arkansas

Post by Hogface »

Thanks! I reinstalled today and noticed the additional ranges!
Thanks for the quick fix.
________
herbalaire
Locked