0

I have the Adventech terminal which have 4 Serial port, and our application are using only 1 (ttyS0) port for communicate the POS printer.

But few days the printer has not able to communicated the (ttyS0) port, we checked the printer with other terminal its working.

So now we need to remap the serial port and (ttyS1) should work as (ttyS0) so printer we communicated.

2
  • Doesn't the application have any way to configure the port device to use for the printer?
    – telcoM
    Mar 28, 2019 at 7:41
  • No..there is development required to edit the application Mar 28, 2019 at 11:48

1 Answer 1

1

Edit the file /etc/udev/rules.d/90-rename-serial-ports.rule to contain this line

ACTION=="add" KERNEL=="ttyS1" NAME="ttyS0"
0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .