GPIO control and triggers

Anything you want added or changed in future versions of ZoneMinder? Post here and there's a chance it will get in! Search to make sure it hasn't already been requested.
Post Reply
johndpar
Posts: 6
Joined: Wed Mar 11, 2009 1:44 pm

GPIO control and triggers

Post by johndpar » Thu Mar 19, 2009 11:23 pm

Some capture cards have GPIO pins from the Bt8xx chips connected to pin headers.

It would be great if ZM could include a tool to configure these and use them as trigger inputs or signal outputs for controlling external systems.

The v4l kernel modules have exposed functions for this but I've not yet delved far enough into this area to know know easy it would be to implement.

Also, knowledge of each specific card would be necessary as they all seem to use different GPIO pins and some are used for controlling on card resources.

Any ideas?

Regards

John
John Parker

User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle
Contact:

Post by cordel » Sat Mar 21, 2009 7:52 pm

You have to put the request into the kernel developers, as the kernel is not able to handle the GPIO on capture cards yet or at least it didn't the last time I checked.

toliva
Posts: 2
Joined: Sat Jun 10, 2006 12:01 pm

GPIO on 878A Cards

Post by toliva » Sun May 31, 2009 2:43 pm

This would be an excellent feature as I've several 4ch 878A cads with three relays and three inputs - it'd be grat to waggle those pins - if anybosy has trod this route I'd be grateful for some directions.....

Tom

marcodefreitas
Posts: 21
Joined: Wed Oct 21, 2009 6:45 pm

Re: GPIO control and triggers

Post by marcodefreitas » Wed Feb 01, 2012 3:13 pm

Did you tried GPIO pins with the new 3.x.x kernel, cordel?

User avatar
kingofkya
Posts: 1111
Joined: Mon Mar 26, 2007 6:07 am
Location: Las Vegas, Nevada

Re: GPIO control and triggers

Post by kingofkya » Fri Feb 10, 2012 2:00 am

This is kinda why it dosen't exist it would require a kernel driver as well it being very non standard between cards. A better bet would be to use zmtrigger and a serial device.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest