Ludovico Fischer wrote:
1.If I do dispcal -r with a connected instrument it asks to measure patches; problem solved. dispread - prints usage information.
Right, but the usage information lists the instruments that it thinks are available, and I was interested in whether and what serial ports are on your system, and whether your instrument is USB connected or not.
2.I have been unclear, sorry. I do supply a basename for the .ti1 file (it's called "Schermo.ti1"). Here, I just managed to reproduce this behaviour again: ludovico@gogo:~/Desktop/Targets/display$ dispread -k schermetto.cal Schermo dispread: Error - tcgetattr failed with 'Input/output error' ludovico@gogo:~/Desktop/Targets/display$ dispread -kschermetto.cal Schermo Place the instrument on its reflective white reference Serial no. 310345, and then hit any key to continue, or hit Esc, ^C or Q to abort:
Well, I'm guessing you're using an Eye-One Pro, since otherwise you'd need to supply a -y flag. Unfortunately I can't reproduce your problem. The command line parser doesn't care whether there is a space or not between a flag and it's argument, so the connection with the tty error is unclear. It would help to know whether you have serial ports or not (hence my request that you show what dispread -? returns). I instrumented all the calls to tcgetattr, and could see no difference in the calls with or without a space. Note that if for some reason the communications to a USB instrument breaks down (ie. killing the program with the device open does this for some instruments), then it may not be seen until the instrument is physically disconnected and reconnected. This will cause the program to look for instruments on serial ports, which (depending on your system), could explain tcgetattr failures. Graeme Gill.