Hi all, I'm afraid I have to show my stupidity in a public setting once again so please forgive me for wasting everyone's time. I set up a Measurement Computing PCI-DIO24 in Debian 6 for use with Rivendell.
I downloaded the Rivendell GPIO drivers and followed the install file. Then I ran gpitest (had to be run as root which I hope doesn't bite me later). I have a little break out board that turns the 37pin D type connector into 37 screw in terminals. For reasons I don't understand I'm getting strange results. With nothing plugged into the board gpitest shows all inputs off. If I plug in a 2metre 37pin cable (male - female) inputs 8, 14, 15 and 24 come on (24 eventually goes off by itself). If I then plug the other end of the cable into the break out board over 5 - 15minutes more inputs start coming on. So I figured maybe its a grounding issue so I earthed the breakout board with no success. I then started connecting each gpio pin to pin 21 (GND) and this does switch the inputs off (they eventually start coming back on). I then tried another test by connecting +5V (pin 20) to the inputs to fire them and it worked but for some reason certain pins fire more than one input and I'm not sure why. The pins stay on until I ground them which I assume is intended. The manual for this card says "all I/O bits are set to a high impedance input mode on power up and reset" and you should install pull up or pull down resistors to get inputs to a known state. Do I need to do this or is it a software switch somewhere? If I do, should I use pull down considering Riv seems to have grounded pins as off? There is a possibility I'm getting interference as I sit right next to the server room which makes nice patterns on old CRT monitors that get too close. Finally I figured I'd just add the gpio card to Rivendell (edit hosts -> switchers gpio -> 24 inputs using the default local_gpio). I assigned a macro to GPIO 1 (which should be A0) and fired the pins but I get nothing. My Rivendell services don't run as root due to issues with Jack, would this be why I can't seem to get any response? Anyone with any experience with these cards would be greatly appreciated (apologies for the long email). -- Wayne Merricks The Voice Asia ####################### Scanned by MailMarshal ####################### ############ Attention: The information contained in this message is confidential and intended for the addressee(s) only. If you have received this message in error or there are any problems, please notify the originator immediately. The unauthorised use, disclosure, copying or alteration of this message is strictly forbidden. Christian Vision or any of its subsidiaries will not be liable for direct, special, indirect or consequential damages arising from alteration of the contents of this message by a third party or as a result of any virus being passed on. Please note that we reserve the right to monitor and read any e-mails sent or received by the company under the Telecommunications (Lawful Business Practice) (Interception of Communications) Regulation 2000. Christian Vision is registered in England as a limited company 2842414 and as a charity 1031031 ############ _______________________________________________ Rivendell-dev mailing list [email protected] http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev
