Hi Eric,

yes, from your excerpt of the kernelconfig I can see that you have not 
enabled the 485 support in your kernel.
You have to enable it:
Fro your devbpard directory issue the command:
make kernelconfig

in the "Drivers for built in interfaces" you will find the RS-485 
support option.

I strongly suggest you to update your vmWare SDK or to download a newer 
copy since yours is not supporting the "make kernelconfig" simple command 
to modify the kernel options.
Now the SDK (also the vmWare one) is based on subversion and we are at 
the release 26. I am not prepared to support any possible intermediate 
release of the old SDK so better to be aligned on the last one.

If you need to stick with your release the way to enter in the kernel 
option is:
make -C packages/os/linux-2.6 menuconfig

Best regards,

Roberto Asquini



eric MONROSE ha scritto:
>
> Hi  Andrea
> I still have  problems
>
> I followed the code proposed by Tanzilli, but it does not work. 
> Although I have included the proper files TIOCSERSETRS485 constant is 
> not known. I have to  redefine it  myself.
>
> like this
>
>  #define TIOCSERSETRS485 0x5460  ///* enable rs-485 */
> #define TIOCSERWRRS485  0x5461  ///* write rs-485 */
>
> in my program
> the call of
>
>  if(ioctl(fd,TIOCSERSETRS485, &ctrl485))
>  {
>   cout<<"-- Erreur Config RS485"<<endl;
>    return false;}
> }
>  return  to me errors
>
> Do I need to recompile the kernel  to activate the RS485, could you 
> help me elaborate on the procedure?
>
> Eric !!!
>
>
>  


-- 
Roberto Asquini
Acme Systems srl
[EMAIL PROTECTED]
http://www.acmesystems.it

Reply via email to