paparazzi-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Paparazzi-devel] Re: karmic ftdi serial issue


From: antoine drouin
Subject: [Paparazzi-devel] Re: karmic ftdi serial issue
Date: Tue, 3 Nov 2009 23:41:58 +0100

also gpsd seems to be opening any ftdi device as you connect them, so
if link dies on startup with

Failure("error opening modem serial device : fd < 0

sudo /etc/init.d/gpsd stop



On Tue, Nov 3, 2009 at 11:30 PM, antoine drouin <address@hidden> wrote:
> line 49 in paparazzi3/trunk/sw/lib/ocaml/cserial.c
>
>  int fd = open(String_val(device), O_RDWR);
>
> could someone see if replacing with
>
> int fd = open(String_val(device), O_RDWR|O_NONBLOCK);
>
> would fix the problem ?
>
> Pascal, any reason for opening serial ports in blocking mode ?
>
> On Tue, Nov 3, 2009 at 11:20 PM, antoine drouin <address@hidden> wrote:
>> could that be it ?
>>
>>  https://bugs.launchpad.net/ubuntu/+source/linux/+bug/460857
>>
>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]