Tiny Core Linux
Tiny Core Base => TCB Talk => Topic started by: malikawan on January 16, 2014, 03:17:11 AM
-
i have installed moxa card but i don't know why its not working is there any driver or firmare tcz for moxa card plz any idea.
Malik Awan
-
i have installed moxa card but i don't know why its not working is there any driver or firmare tcz for moxa card plz any idea.
Malik Awan
Which operating system are you talking about?
-
i m using the great tiny core 4.7.7
-
What is a "moxa card"? Your post was missing rather important info.
-
What is a "moxa card"? Your post was missing rather important info.
curaga sorry its my mistake
Moxa PCI Serial Card 8-port RS-232 PCI boards (moxa card)
Malik Awan
-
Moxa PCI Serial Card 8-port RS-232 PCI boards
i have installed moxa card but i don't know why its not working is there any driver or firmare tcz for moxa card plz any idea.
Malik Awan
-
'not working' is not very specific. Provide details please.
-
Hi malikawan
The Moxa website lists a Linux driver here:
http://www.moxa.com/support/download.aspx?type=support&id=158
-
Thanx Rich now all is well
-
Please post output of
lspci -nnk
-
Please post output of
lspci -nnk
tinypoodle thanx for reply
sh: lspci: not found
-
lspci is in pci-utils extension.
-
tinypoodle is there any way to copy terminal (aterm) text like cntrl+c or any other because cntrl+c not work
-
cntrl+c is not text.
It is the default interrupt character.
See stty.
-
http://en.wikipedia.org/wiki/Control-C
http://tinycorelinux.net/faq.html#c_p
-
Hi malikawan
... is there any way to copy terminal (aterm) text ...
While holding down the left mouse button, drag the mouse across the text you wish to copy .
Click the center mouse button to paste.
-
Hi malikawan
... is there any way to copy terminal (aterm) text ...
While holding down the left mouse button, drag the mouse across the text you wish to copy .
Click the center mouse button to paste.
Rich thanx for guiding sorry to say if i use laptop then what is the replacement of mouse centre button
-
Do you even read the content of links posted in reply to your questions?? ::)
Laptop or not laptop does not make any difference.
Instead post output of:
lspci -nnk|nc solusipse.net 9999
-
Do you even read the content of links posted in reply to your questions?? ::)
Laptop or not laptop does not make any difference.
Instead post output of:
lspci -nnk|nc solusipse.net 9999
00:00.0 Host bridge [0600]: Intel Corporation 2nd Generation Core Processor Family DRAM Controller [8086:0100] (rev 09)
Subsystem: Intel Corporation Device [8086:201b]
00:02.0 VGA compatible controller [0300]: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller [8086:0102] (rev 09)
Subsystem: Intel Corporation Device [8086:201b]
00:16.0 Communication controller [0780]: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 [8086:1c3a] (rev 04)
Subsystem: Intel Corporation Device [8086:201b]
00:19.0 Ethernet controller [0200]: Intel Corporation 82579V Gigabit Network Connection [8086:1503] (rev 05)
Subsystem: Intel Corporation Device [8086:201b]
Kernel driver in use: e1000e
00:1a.0 USB Controller [0c03]: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 [8086:1c2d] (rev 05)
Subsystem: Intel Corporation Device [8086:201b]
Kernel driver in use: ehci_hcd
00:1b.0 Audio device [0403]: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller [8086:1c20] (rev 05)
Subsystem: Intel Corporation Device [8086:201b]
00:1c.0 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 [8086:1c10] (rev b5)
Kernel driver in use: pcieport
00:1c.3 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 4 [8086:1c16] (rev b5)
Kernel driver in use: pcieport
00:1c.4 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 5 [8086:1c18] (rev b5)
Kernel driver in use: pcieport
00:1d.0 USB Controller [0c03]: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 [8086:1c26] (rev 05)
Subsystem: Intel Corporation Device [8086:201b]
Kernel driver in use: ehci_hcd
00:1f.0 ISA bridge [0601]: Intel Corporation Z68 Express Chipset Family LPC Controller [8086:1c44] (rev 05)
Subsystem: Intel Corporation Device [8086:201b]
00:1f.2 SATA controller [0106]: Intel Corporation 6 Series/C200 Series Chipset Family 6 port SATA AHCI Controller [8086:1c02] (rev 05)
Subsystem: Intel Corporation Device [8086:201b]
Kernel driver in use: ahci
00:1f.3 SMBus [0c05]: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller [8086:1c22] (rev 05)
Subsystem: Intel Corporation Device [8086:201b]
01:00.0 PCI bridge [0604]: Integrated Technology Express, Inc. Device [1283:8892] (rev 30)
02:00.0 Serial controller [0700]: Moxa Technologies Co Ltd CP-114UL (4-port RS-232/422/485 Smart Universal PCI Serial Board) [1393:1143]
Subsystem: Moxa Technologies Co Ltd CP-114UL (4-port RS-232/422/485 Smart Universal PCI Serial Board) [1393:1143]
03:00.0 USB Controller [0c03]: NEC Corporation uPD720200 USB 3.0 Host Controller [1033:0194] (rev 03)
Subsystem: Intel Corporation Device [8086:201b]
Kernel driver in use: xhci_hcd
04:00.0 FireWire (IEEE 1394) [0c00]: VIA Technologies, Inc. VT6315 Series Firewire Controller [1106:3403] (rev 01)
Subsystem: Intel Corporation Device [8086:201b]
-
02:00.0 Serial controller [0700]: Moxa Technologies Co Ltd CP-114UL (4-port RS-232/422/485 Smart Universal PCI Serial Board) [1393:1143]
Subsystem: Moxa Technologies Co Ltd CP-114UL (4-port RS-232/422/485 Smart Universal PCI Serial Board) [1393:1143]
how to install moxa pci serial card driver in tiny core
-
Did you try the Multiport Serial Boards Driver for Linux 2.4/2.6 (146.99 KB) on the moxa web site?
-
http://cateee.net/lkddb/web-lkddb/MOXA_SMARTIO.html
depends on: CONFIG_SERIAL_NONSTANDARD && ( CONFIG_PCI || CONFIG_EISA || CONFIG_ISA )
http://tinycorelinux.net/5.x/x86/release/src/kernel/config-3.8.13-tinycore
# CONFIG_EISA is not set
# CONFIG_SERIAL_NONSTANDARD is not set
-
Did you try the Multiport Serial Boards Driver for Linux 2.4/2.6 (146.99 KB) on the moxa web site?
i installed these but give error
i want to install on Tiny Core V 4.7.7
-
http://cateee.net/lkddb/web-lkddb/MOXA_SMARTIO.html
depends on: CONFIG_SERIAL_NONSTANDARD && ( CONFIG_PCI || CONFIG_EISA || CONFIG_ISA )
http://tinycorelinux.net/5.x/x86/release/src/kernel/config-3.8.13-tinycore
# CONFIG_EISA is not set
# CONFIG_SERIAL_NONSTANDARD is not set
[/quote
Sorry tinypoodle i donot understand what i do
-
You'd need to recompile the kernel with
CONFIG_SERIAL_NONSTANDARD=y
CONFIG_EISA=y
and
Say Y here if you have a Moxa SmartIO multiport serial card and/or want to help develop a new version of this driver.
This is upgraded (1.9.1) driver from original Moxa drivers with changes finally resulting in PCI probing.
This driver can also be built as a module. The module will be called mxser. If you want to do that, say M here.
for
CONFIG_MOXA_SMARTIO
-
You'd need to recompile the kernel with
CONFIG_SERIAL_NONSTANDARD=y
CONFIG_EISA=y
and
Say Y here if you have a Moxa SmartIO multiport serial card and/or want to help develop a new version of this driver.
This is upgraded (1.9.1) driver from original Moxa drivers with changes finally resulting in PCI probing.
This driver can also be built as a module. The module will be called mxser. If you want to do that, say M here.
for
CONFIG_MOXA_SMARTIO
thanx tinypoodle if u help me because i m not able to recompile kernel plz if u help me
-
plz tinypoodle if u create the driver to be built as a module for me i m very thankful to u
-
plz any one i need help
-
My impression is that you may probably need to recompile the kernel for EISA support, even if you prefer the kernel MOXA_SMARTIO driver as module.
No idea about out of tree driver from vendor, you would have to consult their documentation and or support.
-
plz any one i need help
If you look in the wiki and the recent thread "G84M grapics card driver kernel/Xorg" it explains how to recompile the kernel, did you try following these instructions?
-
There is rather detailed documentation here:
https://www.kernel.org/doc/Documentation/serial/moxa-smartio
Have in mind that is dated from 2008 - which is still by many years newer than the average I came across when searching on the subject... :P
-
I am not able to compile driver for upci moxa 4 port serial card model cp114ul plz if some öne help regarding this
Thanks in advance
-
There is rather detailed documentation here:
https://www.kernel.org/doc/Documentation/serial/moxa-smartio
Have in mind that is dated from 2008 - which is still by many years newer than the average I came across when searching on the subject... :P
Tinypoodle plz if u know about that
-
I wouldn't know more than what I already posted in this thread.
-
Hi to all. Today i am able to edit kernel but i donot know where i put moxa serial driver in the kernel. When i uncompres the kernel. driver folder present but i donot know where i put moxa driver file in kernel driver files
-
I would be interested in an answer to your last question also.
How to include a module (kernel module) into the kernel to get a piece of hardware working with the system.
Would be the project "LFS - Linux From Scratch" of any help here?
Do I need to know how to recompile a kernel?
-
In this particular case, you'd first need to recompile the kernel with the settings mentioned earlier in the thread.
After that you usually follow the instructions provided with the out of tree driver package.
-
i attached two files. these two files are sufficient to make driver modules for moxa serial card for tiny core version 4.7.7 and kernel version 3.0.21
mxser.c
mxser.h
if yes plz tell me i m so confused.
Malik Awan
-
From readme.txt in the driver download for your hardware:
The Moxa Smartio/Industio driver is ready in the Linux kernel version 2.2.14 or above. But to use this built-in driver, you still need more utilities which downloaded from Moxa ftp or CD-ROM. We suggest you backup this built-in driver (/usr/src/linux/drivers/char/mxser.c) and use the driver downloaded from Moxa or CD-ROM.
..and: # cd /
# mkdir moxa
# cd /moxa
# cp /mnt/fd0/<driver directory>/driv_linux_smart_vx.x_build_yymmddhh.tgz
# tar -xzvf driv_linux_smart_vx.x_build_yymmddhh.tgz
...
Find "Makefile" in /moxa/mxser, then run
# make;
-
How to include a module (kernel module) into the kernel to get a piece of hardware working with the system.
...
Do I need to know how to recompile a kernel?
For an example, see here:
http://repo.tinycorelinux.net/5.x/x86/tcz/src/wl/compile_wl_new
-
From readme.txt in the driver download for your hardware: The Moxa Smartio/Industio driver is ready in the Linux kernel version 2.2.14 or above. But to use this built-in driver, you still need more utilities which downloaded from Moxa ftp or CD-ROM. We suggest you backup this built-in driver (/usr/src/linux/drivers/char/mxser.c) and use the driver downloaded from Moxa or CD-ROM.
..and: # cd /
# mkdir moxa
# cd /moxa
# cp /mnt/fd0/<driver directory>/driv_linux_smart_vx.x_build_yymmddhh.tgz
# tar -xzvf driv_linux_smart_vx.x_build_yymmddhh.tgz
...
Find "Makefile" in /moxa/mxser, then run
# make;
Juanito thanx for reply but these driver support kernel 2.6 and now i need driver for kernel 3.0.21 plz if u do something regarding this
-
If you look at the 3.8.13 tinycore patched kernel source in linux-3.8.13-patched/drivers/tty, you can see various moxa files.
if you look at the kernel config using "make menuconfig" you can enable device drivers --> character devices --> non-standard serial port support as follows: [*] Non-standard serial port support
...
< > Cyclades async mux support (NEW)
<M> Moxa Intellio support
<M> Moxa SmartIO support v. 2.0
..and then recompile the kernel and see if things work.
-
If you look at the 3.8.13 tinycore patched kernel source in linux-3.8.13-patched/drivers/tty, you can see various moxa files.
if you look at the kernel config using "make menuconfig" you can enable device drivers --> character devices --> non-standard serial port support as follows: [*] Non-standard serial port support
...
< > Cyclades async mux support (NEW)
<M> Moxa Intellio support
<M> Moxa SmartIO support v. 2.0
..and then recompile the kernel and see if things work.
Thanx a lot Juanito that answer is full and final thanx thanx thanx a lotttttttttttttttttttttt
Malik Awan
-
In kernel 3.0.21 also moxa suport present
Sir öne last questiön about this topic.
First i enable moxa from kernel config then i recompile kernel with command make time bzImage then copy bzImage file from arch /x86 /boot / then replace this image from old. Am i write if not plz mention step after enable moxa support.
Malik Awan
-
Since you will also need the moxa modules just use "make"
-
Since you will also need the moxa modules just use "make"
Thanx for reply
After command make time bzImage the i enter make command am i rite
-
http://wiki.tinycorelinux.net/wiki:custom_kernel
-
Moxa support just emailed their latest code to support 3.8.x kernels so will compile and send to you to try
-
ok with a little fiddling i built the Moxa driver for 3.8.13 and 3.0.21 kernels
tc@box:~/mxser$ make
**********************************************************************
3.8.13-tinycore
MOXA Smartio/Industio Family Multiport Board Device Driver ver 1.15.27
Release Date: 2013/09/30
**********************************************************************
tc@box:~/mxser$
and loaded it
dmesg
[ 1126.497545] MOXA Smartio/Industio family driver version 1.15.27
should be good to go
sent malikawan the driver to try
-
Thanx coreplayer2 i download driver which u send to me and its working 100% with tiny core 4.7.7 and kernel version 3.0.21.
thanx again.
Malik Awan
-
Summary :-
I copied the driver which coreplayer2 send to me.
i convert these file to .gz format and copy these files in /lib/modules/3.0.21-tinycore/kernel/drivers/misce and then open terminal
then open a terminal and enter:
sudo depmod -a
then load the modules:
sudo modprobe mxser.ko
sudo modprobe mxupcie.ko
check dmesg for errors
check also lsmod to see if loaded
-
sir just tell me when i enable moxa support from kernel config after that which step use for building a new kernel and module because when i enable moxa support then save config file after this i give command make bzimage then i give command make then mxser.o and moxa.o files create in drivers/tty after this i m confusing how i create mxser.ko file plz tell me the step after make command.
-
As mentioned in the link a couple of posts back:
$ make bzImage
$ make modules
-
As mentioned in the link a couple of posts back: $ make bzImage
$ make modules
but when i give command it will start to making all modules but i have enable only moxa support ?
-
no, in loading config-3.8.13-tinycore, you've enabled a whole bunch of modules.
Once things have finished you only need to save the moxa modules, the others are already available in the various tinycore module extensions.
-
"Once things have finished you only need to save the moxa modules,"
ok once finish then how i get only moxa module or its auto intall on my tiny core?
-
You first do some research on where to put the moxa modules (to check where debian puts them would be a good place to start) - it should be somewhere analogous to /usr/local/lib/modules/3.8.10-tinycore/kernel/drivers/tty or similar.
Then you use gzip and advcomp to compress the moxa modules, copy them to the filesystem and make an extension of them - most, if not all, of this is explained in the wiki and I posted a link to how it was done for the wl module extension a few posts back.
-
sir coreplayer2 have created driver for me and i have installed alredy but i just want to know when make modules finish how i create .ko
i want to create my self if next time i need i know how to install or configure it just tel me the step plzzzzzzzzzzzzzzzzzzz
-
You have been told, several times.
-
I suspect there might be some confusion between
1. The official in-tree (tristate) driver, which as far as I understand would require recompiling the kernel with different options (boolean dependencies)
2. An out-of-tree driver which coreplayer2 aquired from vendor
-
Thanx for all of u . Specialy coreplayer2 for compiling driver for me.
-
What I do not see do kernel provided drivers work or the vendor provided is a must have?
-
According to the vendor, the in-tree version should work. However in-tree modules lack the 4 card configuration executibles which are built with vendor supplied modules. I would think that unless you already had the tools from an earlier install the in-tree modules would not be of much use on their own..?
I don't know how many folks would have this card? However will make an extension with modules and tools for tc-5.x just in case
-
Thanks to all team of "The Great Tiny Core Linux" . And also Speciall thanks to coreplayer2.
-
You're welcome
-
I don't know how many folks would have this card?
From whatever I found when researching on web, I got the impression that this driver has shown to have maintenance issues repeatedly since at least 10 years, and the multitude of references date from last century...