There are few things that we can try to trouble shoot this problem.
Try uninstalling driver for Win NT completely and reinstalling driver for Linux and see whether that solves the problem.
If that doesn't solve the problem then try using a different Linux machine ( if you have access to ) for the same card. The card works under Win NT that means card is fine and there is no hardware issue associated with this problem.
Try recompiling your serialtest.c :
Enter the following to recompile serialtest.c and rerun serialtest.
(Also, the source code for serialtest is available for editing and viewing
at serialtest.c, provided in the PCI-SERIAL directory.)
linux PCI-SERIAL# gcc serialtest.c -o serialtest
linux PCI-SERIAL# ./serialtest < receive port numbe
r>
< transmit port number>
If serialtest hangs:
Make sure the interface is seated correctly and tighten the screw that holds
the interface in place. Also, make sure the cables are attached to the correct
ports. In some cases, serialtest hangs if the transceiver modes
(PCI-485) are not set. Try setting both transmit and receive ports to
transceiver mode 0 (Four-Wire Mode).
linux# ./rs485 < transmit port number> 0
linux# ./rs485 < receive port number> 0
linux# ./serialtest < receive port number> < transmit port number>
See the attached file for more information.