On Thursday 18 December 2003 07:03 am, Mark Gray wrote:
Dylan <dylan@dylan.me.uk> writes: <SNIP>
Secondly, /dev/ttyS0 has group uucp, and group rw privelidge by default (at least that's how I found it). My user is also in group uucp, but I recieved read/write permission denied on the device until I set it to rw-rw-rw- Cound this be because I'm distributing login with NIS? All boxes are runninf SuSE8.2, so I figure the user IDs will be the same...
The NIS does not matter. The problem is that /dev/ttyS0 expects to have a modem connected to it and the driver is waiting for a call-in, so if a naive program trys to talk to that device nothing is going to happen until the modem "rings". What program are you using to talk to your telescope? If you have the source I can tell you what initializations you have to give to /dev/ttyS0 in order for your computer to initiate the data exchange.
I'm using xephem, which supplies a driver. It works - I had to set the baud rate to match between the serial port and the 'scope and then everything went fine. It's always the simple things. After I'd got it working with rw-rw-rw- I tried setting it back to rw-rw---- and got the error again. Dylan -- Sweet moderation Heart of this nation Desert us not We are between the wars - Billy Bragg