[comp.sys.hp] gpio bugs on HP 9000/840

eik@os.is (Einar Kjartansson) (02/08/88)

xxxx

Does anyone know of a way to get exclusive use of the 27114A
general purpose interface on HP 9000/840 .

I have tried several ways, such as 

afi = open("/dev/gpio0",O_CREAT,O_EXCL) ;

and

gpio_control.type = GPIO_LOCK ;
ioctl(afi,IO_CONTROL,&gpio_control) ;

According to my reading of the manuals either method should do the
job, but neither makes any difference.
I have also been unable to get the interface to function in 8 bit mode
( I can get it to report back that is configured as 8 bits, but it
always sends 16 bits out.) As the device on the other end (a Versatek plotter)
has an 8 bit interface this means that I must send double the amount of
data to the interface.

With this as well the numerous other software errors that we have run into,
talking to HP support has been a waste of time. The symptoms did not change 
when ve upgraded from HP-UX 1.04 to 1.20.

Einar Kjartansson 				eik@geysir.UUCP 
Orkustofnun 					eik@OS.IS
(National Energy Authority of Iceland)		mcvax!hafro!geysir!eik	
Grensasvegi 9					geysir!eik@hafro.uucp
IS-105 Reykjvik, Iceland
Telehpone:   354-1-83600  or  354-1-16407

jeffh@weycord.WEYCO.COM (02/13/88)

> we upgraded from HP-UX 1.04 to 1.20...

If the s300 I/O is an example of I/O in HP-UX you've got a few more
updates to go. The s300 HP-UX op/sys is at 6.01 and it still has
problems.

I've not worked with the s800 much so I cannot be a judge. The one
thing I can say is IT'S NOT THE SAME.  WHY ?



Jeff Harrell
hpubvwa!weycord!jeffh