Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to

Radix IoT Website Mango 3 Documentation Website Mango 4 Documentation Website

Need setting serial port in ubuntu for mango?

  • Now my host computer is win7,under win7 I install a unbuntu 12.04 and install mango on unbuntu12.04. I have received the modbus data on window7 via modscan software use real Com1 port. I have set com1in virtual box setting. And in ubuntu12.04 I have seen ttys0 and ttys1.when I come into mango in mod bus serial data source I can see ttys0 and ttys1. But whatever I have is not received the data.

    1 whether I need to setting com1 use minicom on ubuntu12.04?

  • operation system: linux system(ubuntu)
    what we are trying to achieve: test to receive the data from equipment ?modbus serial).
    datasource: modbus serial

    what we have tried: can be run in website.2 in mango datasource can find /dev/ttyS0.

    in ubuntu can find dmesg | grep tty
    [ 0.000000] console [tty0] enabled
    [ 1.060609] 00:04: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
    [ 1.135443] 00:05: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A

    use modscan software choose com1 port can received the modbus data under window7 system.

    what we actual results are: in mango data souce I can find dev/ttyS0 and /dev/ttyS1.When I test in point locator test option choose choose ttyS0, The result: "modbus Main equipment malfunction" .When I choose ttyS1, The result "There was a problem testing the locator. ( Port In Use: /dev/ttyS1)"

    what we expected to happen: Can received the data in mango via modbus serial.

    Sorry for occupy your Valuable time to have a look.Because I test many time is not ok until now. :(

    Attachment: download link

  • The MetPak RG comes with its RS-232 port set to 'Gill' protocol by default. To use Modbus you have to use the Metpak software and change the communications interface to Modbus (you can also set up slave ID, baud rate, parity, stop bits etc).

    Have a look at page 47 and 48 of the MetPak user manual. Have you done that?

    I think /dev/ttys0 is the right port, but I think you need to make sure the MetPak and Mango have the same settings.

  • Thank very much !!!
    If I donot use modbus , whether other protocol is very difficult to setting.
    ever I use serial port to setting,I?think it is very difficult and I donot know how to setting parameter.

    As you have rich experience about mango ,in this case whether modbus protocol is best choice as only received data .
    Or have any best choice.
    Sorry for I am a new hand in mango field.

  • If you want to use the Metpak in Mango, you can ONLY use Modbus. You have the option of using RS232 or RS485 to carry the Modbus data into Mango.

  • Thanks your detail answer!!!

    :) :) :)