MOXA Uport 1150 - Firmware and drivers

Booting, installing, newbie
Post Reply
Message
Author
User avatar
UncleScrooge
Posts: 104
Joined: Tue 07 Apr 2020, 06:07
Location: Norway

MOXA Uport 1150 - Firmware and drivers

#1 Post by UncleScrooge »

Hello community,

I need to connect and use two RS422/485/232 to USB MOXA adapters, commercial name "Uport series 1150".

The firmware seems to be included in BionicPup64 (moxa-110.fw; moxa-1130.fw; moxa-1131.fw; moxa-1150.fw; moxa-1151.fw)

do I also need to install the driver? cuz if so the driver for Linux need to be make(d) and the "make" cmd ain't there.

I tried to cat /dev/ttyS0 (or use puTTY, same thing) but nothing is showing.

the MOXA adapter RX led flashes regularly (4800 baud speed) so I know data are coming.

So I assume something is missing.

PS: the Harware info Utility correclty detects the brand (MOXA) of the adapter when installed and I can see that all the moxaxxxxxx.fw files are in the /initrd/pup_z/lib/firmware/moxa directory

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#2 Post by Semme »

Make is included in the devx >> Quickpet. Since we're discussing drivers, you'll need the kernel src loaded as well.

̶D̶o̶e̶s̶ ̶"̶d̶m̶e̶s̶g̶ ̶|̶ ̶g̶r̶e̶p̶ ̶-̶i̶ ̶f̶i̶r̶m̶w̶a̶r̶e̶"̶ ̶s̶a̶y̶ ̶w̶h̶e̶t̶h̶e̶r̶ ̶a̶ ̶d̶r̶i̶v̶e̶r̶ ̶h̶a̶s̶ ̶l̶o̶a̶d̶e̶d̶(̶?̶)̶ ̶a̶n̶y̶ ̶o̶f̶ ̶t̶h̶o̶s̶e̶ ̶f̶i̶r̶m̶w̶a̶r̶e̶ ̶f̶i̶l̶e̶s̶?̶

UPort 1000 Series: 1 to 16-port RS-232, RS-422/485, and RS-232/422/485 USB-to-serial converters

Nevermind. Your driver "mxu11x0.ko" doesn't appear to ship with Bionic.

Unless Moxa offers a more current build, methinks this link below..

https://github.com/ellysh/mxu11x0

https://github.com/Moxa-Linux

You usually want the latest.
>>> Living with the immediacy of death helps you sort out your priorities. It helps you live a life less trivial <<<

User avatar
UncleScrooge
Posts: 104
Joined: Tue 07 Apr 2020, 06:07
Location: Norway

SOLVED

#3 Post by UncleScrooge »

wrong post..........

User avatar
UncleScrooge
Posts: 104
Joined: Tue 07 Apr 2020, 06:07
Location: Norway

#4 Post by UncleScrooge »

Semme wrote:Make is included in the devx >> Quickpet. Since we're discussing drivers, you'll need the kernel src loaded as well.

̶D̶o̶e̶s̶ ̶"̶d̶m̶e̶s̶g̶ ̶|̶ ̶g̶r̶e̶p̶ ̶-̶i̶ ̶f̶i̶r̶m̶w̶a̶r̶e̶"̶ ̶s̶a̶y̶ ̶w̶h̶e̶t̶h̶e̶r̶ ̶a̶ ̶d̶r̶i̶v̶e̶r̶ ̶h̶a̶s̶ ̶l̶o̶a̶d̶e̶d̶(̶?̶)̶ ̶a̶n̶y̶ ̶o̶f̶ ̶t̶h̶o̶s̶e̶ ̶f̶i̶r̶m̶w̶a̶r̶e̶ ̶f̶i̶l̶e̶s̶?̶

UPort 1000 Series: 1 to 16-port RS-232, RS-422/485, and RS-232/422/485 USB-to-serial converters

Nevermind. Your driver "mxu11x0.ko" doesn't appear to ship with Bionic.

Unless Moxa offers a more current build, methinks this link below..

https://github.com/ellysh/mxu11x0

https://github.com/Moxa-Linux

You usually want the latest.
hi Semme, and forgive my ignorance. I am very confused here.

could you guide me through the process or point me to some instructions?

I don't know what you mean by "make is included in devx >> Quickpet". there's nothing in my Quickpet GUI.

and how can I have the kernel source "loaded".

apologies again for my deep illiteracy

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#5 Post by bigpup »

The devx and kernel sources are sfs packages that have all that is needed to compile.
This stuff is not included normally, because most of the time, you do not need it and it makes the Puppy version iso bigger.

In Bionicpup64 8.0 there is Quickpet.
Quickpet->Useful
Has devx and kernel src
Click on them to download and load into file system.
Now the stuff needed to compile will be there.

When not needed. Can be unloaded by using SFS-load-on-the-fly program. When needed, load using same program.

For other Puppy versions
The Puppy versions topic, usually has info, in the first post, about where the devx sfs and kernel sources sfs, are for it.

In general.
They can be found in the main Puppy repository.
http://distro.ibiblio.org/puppylinux/
devx sfs is usually where the Puppy version iso is.
The kernel sources sfs is usually in the Puppy versions pet packages directory.
Some have both sfs packages, where the iso is found, in the Puppy version directory.

Download the sfs packages to /mnt/home
Use SFS-load-on-the-fly to load or unload them as needed.
Note:
/mnt/home is the only location SFS-load-on-the-fly can see sfs packages. So always put them there.

Note:
Some Puppy versions may have a kernel sources sfs for several different kernels.
Kernel got changed, as Puppy version developed.
Must get the one, that is for the kernel actually being used, by the Puppy version, you are using.
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)

User avatar
UncleScrooge
Posts: 104
Joined: Tue 07 Apr 2020, 06:07
Location: Norway

#6 Post by UncleScrooge »

bigpup wrote:The devx and kernel sources are sfs packages that have all that is needed to compile.
This stuff is not included normally, because most of the time, you do not need it and it makes the Puppy version iso bigger.

In Bionicpup64 8.0 there is Quickpet.
Quickpet->Useful
Has devx and kernel src
Click on them to download and load into file system.
Now the stuff needed to compile will be there.

When not needed. Can be unloaded by using SFS-load-on-the-fly program. When needed, load using same program.

For other Puppy versions
The Puppy versions topic, usually has info, in the first post, about where the devx sfs and kernel sources sfs, are for it.

In general.
They can be found in the main Puppy repository.
http://distro.ibiblio.org/puppylinux/
devx sfs is usually where the Puppy version iso is.
The kernel sources sfs is usually in the Puppy versions pet packages directory.
Some have both sfs packages, where the iso is found, in the Puppy version directory.

Download the sfs packages to /mnt/home
Use SFS-load-on-the-fly to load or unload them as needed.
Note:
/mnt/home is the only location SFS-load-on-the-fly can see sfs packages. So always put them there.

Note:
Some Puppy versions may have a kernel sources sfs for several different kernels.
Kernel got changed, as Puppy version developed.
Must get the one, that is for the kernel actually being used, by the Puppy version, you are using.
right. of course................... :oops:

let's see if I manage to screw it up.. :roll:
got 3 backups in case...

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#7 Post by Semme »

No worries.. Your credit's good.
>>> Living with the immediacy of death helps you sort out your priorities. It helps you live a life less trivial <<<

User avatar
UncleScrooge
Posts: 104
Joined: Tue 07 Apr 2020, 06:07
Location: Norway

#8 Post by UncleScrooge »

Looks like I have it up and running.

I just skipped the "static" installation option since I see mxu11x0 and usbserial in lsmod as soon as I plug in the converter.
also

Code: Select all

setserial -G /dev/ttyUSB0
returns the current configuration of the adapter
Gonna test the serial comm for real on monday at the lab.

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#9 Post by Semme »

Did you go with the one from Moxa or GitHub? Moxa, right?
>>> Living with the immediacy of death helps you sort out your priorities. It helps you live a life less trivial <<<

User avatar
UncleScrooge
Posts: 104
Joined: Tue 07 Apr 2020, 06:07
Location: Norway

#10 Post by UncleScrooge »

Semme wrote:Did you go with the one from Moxa or GitHub? Moxa, right?
from MOXA

https://www.moxa.com/getmedia/8990418a- ... r-v4.0.tgz

Post Reply