I have added 2 parport cards in my IPC.I want to test the I/O port.
I use the Big John's "Parallel Port Tester"
www.linuxcnc.org/index.php/english/compo...d=4743&catid=18#4743
If I do nothing to the Big John's hal files,the program can run normally.But if I change the address in the " cfg="0x378 out" " into " cfg="0x378 0xbc00 out" ",then the errors come out.The error is likely said in the file"
www.linuxcnc.org/docs/2.4/html/hal_parallel_port.html#r1_1_5"
my errors:
insmod: error inserting '/usr/realtime-2.6.32-122-rtai/modules/emc2/hal_parport.ko':-1 Device or resource busy
ptest.hal:1: exit value: 1
ptest.hal:1: insmod failed,returned -1
See the output of 'dmesg' for more information.
The files tell me to ensure that the standard kernel module parport_pc is not loaded and that no other device in the system has claimed the I/O ports.
How to unload the parport_pc module.How to solve the problem.
anothers parport questions:
I cann't see the parport address by using the command "lspci -v" or "lspci -vv"
I only can use the command offered in the driver CD "wchdump",then come out the address like this:
================ Found 2 WCH port , list informations ====================
WCH driver ver -- 1.0.0.0
ttyWCH0 --
WCH CH352_1S1P Series (bus:2 device:13) , base address = bc00, irq = 19
ttyWCH1 --
WCH CH352_1S1P Series (bus:2 device:14) , base address = b400, irq = 18
=============================================================================
Why can I not see the address like other guys by using the lspci command?
What have I missed?
Any suggestions are appreciated.
Best Regards!