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

'no such device' with the open function on RS-485 port



I try to send caracters to the RS-485 serial port and I
get the following error: 'no such device' with the open function

my source code is :
--------------------------------------
idport = open("/dev/ttyS3",O_RDWR);
if (idport < 0)
{
   perror("ERREUR: ");
   exit(1);
}
---------------------------------------

the following command
echo hello > /dev/ttyS3 gives also an  error
cannot create /dev/ttyS3: errno 19

the device ttyS3 exist in the directory /dev and is crw-rw-rw

I don't understand ?

my configuration :
Developer Board LX release 2.0.0
linux 2.4.5

thank you,


Didier CHAMBRELAN
ACTEMIUM Le Havre
Parc d'activité Rue CARDAN
B.P. 117
76330 NOTRE-DAME-DE-GRAVENCHON - FRANCE

dchambrelan@xxxxxxx.com
Tel :  (33) 02 32 84 10 10
Fax:  (33) 02 32 84 10 00