Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux? |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
01-18-2023, 10:59 AM
|
#1
|
LQ Newbie
Registered: Dec 2019
Location: Kosovo - Serbia
Distribution: Linux Mint 20.3 Cinnamon, Ubuntu 20.04 LTS, Ubuntu-mate 20.04 LTS on RPi4, Win7, Win10 as VM
Posts: 21
Rep: 
|
How to install MOXA PCI card for two Serial Ports like CP-102U/UL
Hello,
Does anybody know how to properly install MOXA PCI card that provides two serial ports? On Ubuntu 22.04 or Linux Mint 21?
Basically I downloaded kernel driver from this link
https://www.moxa.com/getmedia/5f51c6...river-v5.1.tgz
which is on this web page
https://www.moxa.com/en/support/search?psid=56531
and tried to follow instructions in readme.txt file for static serial ports and got stuck at the step 3.5.6
In some of the previous steps I had to adjust proper paths as well, but this was not too complicated.
|
|
|
01-18-2023, 01:58 PM
|
#2
|
Member
Registered: Jan 2022
Location: Hanover, Germany
Distribution: Slackware
Posts: 317
Rep: 
|
Post output of lspci -v
Which kernel is in use?
This card (2-port RS-232 via PCI) should run out of the box if your kernel has compiled in or as modules: - "8250/16550 and compatible serial support" aka CONFIG_SERIAL_8250
- "8250/16550 PCI device support" aka CONFIG_SERIAL_8250_PCI
- "Maximum number of 8250/16550 serial ports" aka CONFIG_SERIAL_8250_NR_UARTS with a value of ≥ 2; value should be equal or larger to number of all RS232 ports in your computer
- "Number of 8250/16550 serial ports to register at runtime" aka CONFIG_SERIAL_8250_RUNTIME_UARTS with a value equal to "Maximum number of 8250/16550 serial ports"
|
|
|
01-18-2023, 02:12 PM
|
#3
|
LQ Newbie
Registered: Dec 2019
Location: Kosovo - Serbia
Distribution: Linux Mint 20.3 Cinnamon, Ubuntu 20.04 LTS, Ubuntu-mate 20.04 LTS on RPi4, Win7, Win10 as VM
Posts: 21
Original Poster
Rep: 
|
Quote:
Originally Posted by Arnulf
Post output of lspci -v
Which kernel is in use?
This card (2-port RS-232 via PCI) should run out of the box if your kernel has compiled in or as modules: - "8250/16550 and compatible serial support" aka CONFIG_SERIAL_8250
- "8250/16550 PCI device support" aka CONFIG_SERIAL_8250_PCI
- "Maximum number of 8250/16550 serial ports" aka CONFIG_SERIAL_8250_NR_UARTS with a value of ≥ 2; value should be equal or larger to number of all RS232 ports in your computer
- "Number of 8250/16550 serial ports to register at runtime" aka CONFIG_SERIAL_8250_RUNTIME_UARTS with a value equal to "Maximum number of 8250/16550 serial ports"
|
I hoped it would work out of the box after fresh install of linux mint 21.1, but it didn't
This is output of lspci -v
Code:
jezekilj@Mint-Agregati:~$ lspci -v
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] RS880 Host Bridge
Subsystem: Hewlett-Packard Company RS880 Host Bridge
Flags: bus master, 66MHz, medium devsel, latency 32, NUMA node 0
Capabilities: <access denied>
00:02.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] RS780 PCI to PCI bridge (ext gfx port 0) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0, IRQ 24, NUMA node 0
Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
I/O behind bridge: 00002000-00002fff [size=4K]
Memory behind bridge: f0000000-f00fffff [size=1M]
Prefetchable memory behind bridge: 00000000e0000000-00000000efffffff [size=256M]
Capabilities: <access denied>
Kernel driver in use: pcieport
00:0a.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] RS780/RS880 PCI to PCI bridge (PCIE port 5) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0, IRQ 25, NUMA node 0
Bus: primary=00, secondary=3f, subordinate=3f, sec-latency=0
I/O behind bridge: [disabled]
Memory behind bridge: f0100000-f01fffff [size=1M]
Prefetchable memory behind bridge: [disabled]
Capabilities: <access denied>
Kernel driver in use: pcieport
00:11.0 SATA controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 SATA Controller [AHCI mode] (prog-if 01 [AHCI 1.0])
Subsystem: Hewlett-Packard Company SB7x0/SB8x0/SB9x0 SATA Controller [AHCI mode]
Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 22, NUMA node 0
I/O ports at 3110 [size=8]
I/O ports at 3120 [size=4]
I/O ports at 3118 [size=8]
I/O ports at 3124 [size=4]
I/O ports at 3100 [size=16]
Memory at f0209000 (32-bit, non-prefetchable) [size=1K]
Capabilities: <access denied>
Kernel driver in use: ahci
Kernel modules: ahci
00:12.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0 Controller (prog-if 10 [OHCI])
Subsystem: Hewlett-Packard Company SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 16, NUMA node 0
Memory at f0204000 (32-bit, non-prefetchable) [size=4K]
Kernel driver in use: ohci-pci
00:12.1 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0 USB OHCI1 Controller (prog-if 10 [OHCI])
Subsystem: Hewlett-Packard Company SB7x0 USB OHCI1 Controller
Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 16, NUMA node 0
Memory at f0205000 (32-bit, non-prefetchable) [size=4K]
Kernel driver in use: ohci-pci
00:12.2 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI Controller (prog-if 20 [EHCI])
Subsystem: Hewlett-Packard Company SB7x0/SB8x0/SB9x0 USB EHCI Controller
Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 17, NUMA node 0
Memory at f0209400 (32-bit, non-prefetchable) [size=256]
Capabilities: <access denied>
Kernel driver in use: ehci-pci
00:13.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0 Controller (prog-if 10 [OHCI])
Subsystem: Hewlett-Packard Company SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 18, NUMA node 0
Memory at f0206000 (32-bit, non-prefetchable) [size=4K]
Kernel driver in use: ohci-pci
00:13.1 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0 USB OHCI1 Controller (prog-if 10 [OHCI])
Subsystem: Hewlett-Packard Company SB7x0 USB OHCI1 Controller
Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 18, NUMA node 0
Memory at f0207000 (32-bit, non-prefetchable) [size=4K]
Kernel driver in use: ohci-pci
00:13.2 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI Controller (prog-if 20 [EHCI])
Subsystem: Hewlett-Packard Company SB7x0/SB8x0/SB9x0 USB EHCI Controller
Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 19, NUMA node 0
Memory at f0209500 (32-bit, non-prefetchable) [size=256]
Capabilities: <access denied>
Kernel driver in use: ehci-pci
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 SMBus Controller (rev 3c)
Subsystem: Hewlett-Packard Company SBx00 SMBus Controller
Flags: 66MHz, medium devsel, NUMA node 0
Capabilities: <access denied>
Kernel driver in use: piix4_smbus
Kernel modules: i2c_piix4, sp5100_tco
00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 Azalia (Intel HDA)
Subsystem: Hewlett-Packard Company SBx00 Azalia (Intel HDA)
Flags: bus master, slow devsel, latency 32, IRQ 16, NUMA node 0
Memory at f0200000 (64-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 LPC host controller
Subsystem: Hewlett-Packard Company SB7x0/SB8x0/SB9x0 LPC host controller
Flags: bus master, 66MHz, medium devsel, latency 0, NUMA node 0
00:14.4 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 PCI to PCI Bridge (prog-if 01 [Subtractive decode])
Flags: bus master, VGA palette snoop, 66MHz, medium devsel, latency 64, NUMA node 0
Bus: primary=00, secondary=0f, subordinate=0f, sec-latency=64
I/O behind bridge: 00001000-00001fff [size=4K]
Memory behind bridge: [disabled]
Prefetchable memory behind bridge: [disabled]
00:14.5 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI2 Controller (prog-if 10 [OHCI])
Subsystem: Hewlett-Packard Company SB7x0/SB8x0/SB9x0 USB OHCI2 Controller
Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 18, NUMA node 0
Memory at f0208000 (32-bit, non-prefetchable) [size=4K]
Kernel driver in use: ohci-pci
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 10h Processor HyperTransport Configuration
Flags: fast devsel, NUMA node 0
Capabilities: <access denied>
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 10h Processor Address Map
Flags: fast devsel, NUMA node 0
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 10h Processor DRAM Controller
Flags: fast devsel, NUMA node 0
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 10h Processor Miscellaneous Control
Flags: fast devsel, NUMA node 0
Capabilities: <access denied>
Kernel driver in use: k10temp
Kernel modules: k10temp
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 10h Processor Link Control
Flags: fast devsel, NUMA node 0
02:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Cedar [Radeon HD 5000/6000/7350/8350 Series] (prog-if 00 [VGA controller])
Subsystem: Micro-Star International Co., Ltd. [MSI] Cedar [Radeon HD 5000/6000/7350/8350 Series]
Physical Slot: 3
Flags: bus master, fast devsel, latency 0, IRQ 26, NUMA node 0
Memory at e0000000 (64-bit, prefetchable) [size=256M]
Memory at f0000000 (64-bit, non-prefetchable) [size=128K]
I/O ports at 2100 [size=256]
Expansion ROM at 000c0000 [virtual] [disabled] [size=128K]
Capabilities: <access denied>
Kernel driver in use: radeon
Kernel modules: radeon
02:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Cedar HDMI Audio [Radeon HD 5400/6300/7300 Series]
Subsystem: Micro-Star International Co., Ltd. [MSI] Cedar HDMI Audio [Radeon HD 5400/6300/7300 Series]
Physical Slot: 3
Flags: bus master, fast devsel, latency 0, IRQ 27, NUMA node 0
Memory at f0020000 (64-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
0f:00.0 Serial controller: Moxa Technologies Co Ltd CP-102UL (2-port RS-232 Universal PCI) (prog-if 02 [16550])
Subsystem: Moxa Technologies Co Ltd CP-102UL (2-port RS-232 Universal PCI)
Physical Slot: 4
Flags: medium devsel, IRQ 20, NUMA node 0
I/O ports at 1140 [size=32]
I/O ports at 1100 [size=64]
I/O ports at 1160 [size=16]
Kernel modules: mxser
3f:00.0 Ethernet controller: Broadcom Inc. and subsidiaries NetXtreme BCM5761 Gigabit Ethernet PCIe (rev 10)
Subsystem: Hewlett-Packard Company NetXtreme BCM5761 Gigabit Ethernet PCIe
Flags: bus master, fast devsel, latency 0, IRQ 28, NUMA node 0
Memory at f0100000 (64-bit, non-prefetchable) [size=64K]
Memory at f0110000 (64-bit, non-prefetchable) [size=64K]
Capabilities: <access denied>
Kernel driver in use: tg3
Kernel modules: tg3
|
|
|
All times are GMT -5. The time now is 08:39 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|