Re: [iPAQ] [Serial programming]read(fd,buf, 0) doesn't return zero ...

From: Paulo Marques <pmarques.a.t.grupopie.com>
Date: Wed Mar 24 2004 - 09:19:32 EST

Valentin Longchamp wrote:

> Quoting Toby Gray <toby@yargybot.com>:
>
>
>>On Thursday 25 March 2004 00:10, Valentin Longchamp quoth thusly:
>>
>>>I'm trying to communicate from the ipaq on the serial port.
>>>
>>Are you sure that nothing else is already using the port? By default
>>Familiar runs a getty on the serial port. Some (older) versions of
>>Familiar also default to the serial port for the system console.
>>
>
> Sorry, there is on getty using the port. I think it is the Familiar default one
> because when I kill it, it always restarts with a different PID ... how can I
> configure Familiar to avoid this getty starting ???

There is probably a line in "/etc/inittab" that has "respawn" "getty" in it, so
that init always starts getty when it exits.

Make sure you have alternative ways of getting to the iPaq, or you might find
yourself locked on the outside with the key inside :)

-- 
Paulo Marques
Software Development Department - Grupo PIE, S.A.
Phone: +351 252 290600, Fax: +351 252 290601
Web: www.grupopie.com
"In a world without walls and fences who needs windows and gates?"
Received on Wed Mar 24 14:21:26 2004

This archive was generated by hypermail 2.1.8 : Tue May 04 2004 - 09:45:09 EDT