[IGSTK-Developers] Serial communication device name

Patrick Cheng cheng at isis.georgetown.edu
Mon Sep 8 10:42:21 EDT 2008


Hi Geir Arne Tangen,

The current serial port naming is not flexible enough, especially for 
the USB serial port case. We should find a better way to handle this. At 
mean time, can you try system linking the port to the one supported by 
current IGSTK implementation and see if it works?

|sudo ln -s |/dev/tty.usbserial-0000101D| |/dev/ttyS0

Thank you,

Patrick

Geir Arne Tangen wrote:
> Hi Andinet,
>
> In igstkSerialCommunicationForPosix.cxx the communication device name 
> has been limited to /dev/ttyS0 to 7 since according to the log 
> "..users are not allowed to change the values..." (ref. Bug 6652)
>
> However when using NDIs Polaris Spectra with Mac OSX and NDIs usb 
> driver (FTDIUSBSerialDriver) the communication device will get a name 
> like /dev/tty.usbserial-0000101D etc. where the last numbers will 
> differ depending on which usb port the communication cable is plugged 
> into.
> Hence, I think there should be a way for the user to specify the 
> communication device name.
>
> Regards
> Geir Arne Tangen
> Research Scientist (MSc)
> SINTEF Health Research, Medical Technology
>
> E-Mail: Geir.A.Tangen at sintef.no
> Phone : +47 98245142
> Fax : +47 93070800
> Web adress: http://www.sintef.no/medtech
>
>
> _______________________________________________
> IGSTK-Developers mailing list
> IGSTK-Developers at public.kitware.com
> http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-developers
>
>



More information about the IGSTK-Developers mailing list