MosChip MCS9901 problem with the installation

More
23 Dec 2011 07:21 #15955 by kris72
Hi, can I count on the topic express card installed in Ubuntu 10.04?
Below is the description:
express card on the system moschip 9901 in Ubuntu 10.04 (linuxcnc.org version).
Drivers got on board - this is the content:
9901-isa.c 9901.c Makefile MCS99XX_isa_installation
9901-isa.h 9901.h mcs9901 readme.

Enclosed is what throws in a terminal:
rm-f *. o *. mod.c *. ko .*. cmd *. symvers
make-C / lib/modules/2.6.32-122-rtai/build / SUBDIRS = modules
make [1]: Entering directory `/ usr/src/linux-headers-2.6.32-122-rtai '
CHK include / linux / version.h
CHK include / linux / utsrelease.h
SYMLINK include / asm -> include/asm-x86
make [2]: *** No rule to make target `kernel / bounds.c ', needed by` kernel / bounds.s'. Stop.
make [1]: *** [prepare0] Error 2
make [1]: Leaving directory `/ usr/src/linux-headers-2.6.32-122-rtai '
make: *** [default] Error 2

Thanks in advance

Please Log in or Create an account to join the conversation.

More
23 Dec 2011 09:18 - 23 Dec 2011 09:23 #15956 by ArcEye
Hi

You have said what the chipset is but not what the card is for.

If it is a parallel port card, the drivers supplied will not work with EMC and you don't need them.

From a quick scan of the net, they may not work with any Linux kernel higher than 2.6.11 anyway, unless Moschip have now updated them!!

Is it PCI? The drivers titles seem to suggest it is ISA, but you mention express which suggests PCI.

A bit more info required, to be able to assist you

regards

PS To speed things up, with the card installed run 'lspci -vv' from a terminal and post the resulting print relating to this card
Last edit: 23 Dec 2011 09:23 by ArcEye.

Please Log in or Create an account to join the conversation.

More
23 Dec 2011 15:17 #15960 by kris72
Hi, thanks for the quick reply.
After entering the command specified in the terminal:

"03:00.0 Parallel controller: NetMos Technology Device 9900 (prog-if 03)
Subsystem: Device A000: 2000
Control: I / O + Mem + + SpecCycle Busmaster-MemWINV-VGASnoop-ParErr-Stepping-SERR-FastB2B-DisINTx-
Status: Cap + 66MHz-UDF-FastB2B-ParErr-DEVSEL = fast> TAbort-<TAbort-<MAbort-> SERR-<PERR-INTx-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 10
Region 0: I / O ports at 5008
Region 1: I / O ports at 5000
Region 2: Memory at 94601000 (32-bit, non-prefetchable) [size = 4K]
Region 5: Memory at 94600000 (32-bit, non-prefetchable) [size = 4K]
Capabilities: <access denied> "

The card is used in HP laptop express card slot.
The kernel of this distribution is "linux 2.6.32-122-RTAI (i686). Driver that I have with" www.asix.com.tw/download.php?sub=driverdetail&PItemID=120 "is for 2.6.31 or higher.

Christopher

Please Log in or Create an account to join the conversation.

More
23 Dec 2011 16:56 #15963 by ArcEye
Hi

OK it is a PCI parallel port card, don't know if it is twin port?

The possible port addresses are 0x5000 and 0x5008

You need to experiment loading each of the port addresses shown and see which gives you pins you can read.

eg loadrt hal_parport cfg="0x5000 out" if you don't have a built in port on the laptop

or maybe loadrt hal_parport cfg="0x278(or 0x378) out 0x5000 in" if you do

The easy way to do this is probably to use Chris's stepconf or pncconf and see if you get a testable configuration using these addresses.

regards

Please Log in or Create an account to join the conversation.

More
23 Dec 2011 18:04 #15966 by kris72
Hi

introduction of these port numbers in stepconf wizard did not bring results.
Paraller is a single port card.

Do not install the driver enter the same address should work?

Regards

Please Log in or Create an account to join the conversation.

More
23 Dec 2011 19:11 #15967 by kris72
Hi
works, thanks for your help.

Regards

Please Log in or Create an account to join the conversation.

More
24 Dec 2011 08:59 #15975 by ArcEye
Hi

Glad you got it sorted.

Thats the first parport card with that chipset I have heard of, most Moschip based cards are still using the 9805, 9815, 9845 and 9865 ones.

Nice to know it will work with EMC

regards

Please Log in or Create an account to join the conversation.

Time to create page: 0.131 seconds
Powered by Kunena Forum