Parallel Port issue!
Can anyone point me in the right direction
PS I have tried a PCI PP card with no improvement.
Please Log in or Create an account to join the conversation.
As a starter, when the computer is running, open a terminal and run dmesg | grep parport > output.txt and post the resulting output.txt.
If you see these posts
www.linuxcnc.org/index.php/english/forum...h-paraler-port#35881
www.linuxcnc.org/index.php/english/forum...port-parportpc#35703
The most common problem is the port being claimed by the standard linux drivers before linuxcnc can address it.
That would fit with the port working to print under windoze but not found by linuxcnc
regards
Please Log in or Create an account to join the conversation.
Cheers
Ken
Please Log in or Create an account to join the conversation.
Don't seem to get any response from terminal (assuming I did it right) but "dmesg" did produce pages of stuff of which I have posted the first few lines.
ken@ken-shuttle:~$ dmesg|grep parport>output.txt
ken@ken-shuttle:~$ dmesg|grep parport > output.txt
ken@ken-shuttle:~$ dmesg | grep parport > output.txt
ken@ken-shuttle:~$ dmesg
[4294667.296000] Linux version 2.6.15-magma (root@ubuntu) (gcc version 4.0.3 (Ubuntu 4.0.3-1ubuntu5)) #1 Fri Jun 9 20:51:19 EEST 2006
[4294667.296000] BIOS-provided physical RAM map:
[4294667.296000] BIOS-e820: 0000000000000000 - 000000000009f800 (usable)
[4294667.296000] BIOS-e820: 000000000009f800 - 00000000000a0000 (reserved)
[4294667.296000] BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
[4294667.296000] BIOS-e820: 0000000000100000 - 000000001bff0000 (usable)
[4294667.296000] BIOS-e820: 000000001bff0000 - 000000001bff3000 (ACPI NVS)
[4294667.296000] BIOS-e820: 000000001bff3000 - 000000001c000000 (ACPI data)
[4294667.296000] BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved)
[4294667.296000] BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
[4294667.296000] BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
Incidentally when I tried to load a PCI card for windose,Linux & Mac the Linux installer didn't autorun but reeled off loads of instruction which I couldn't follow. I think I am well out of my depth here and need to learn about the very basics like use of Terminal etc. I will understand if you need to give up on me.
Cheers
Ken
Please Log in or Create an account to join the conversation.
dmesg | grep parport > output.txt with the spaces exactly as shown, runs dmesg, which displays the kernel messages for the last boot
It is then piped ( | ) to grep which is a search engine, with instruction to output any lines containing parport.
The > redirects the output to a file called output.txt
You should find that file in the current directory (the one you ran the command in the terminal from, probably your home directory)
So either run dmesg | grep port > output.txt ( cast a bit wider to just port to pick up all ports ) and look for output.txt and post it
or
dmesg > dmesg.txt and attach dmesg.txt to a post and we can pick through it ourselves
regards
Please Log in or Create an account to join the conversation.
Regards
Ken
Please Log in or Create an account to join the conversation.
The file is the dmesg print and contains one oblique reference to the parallel port - that none were found
33.652148] lp: driver loaded but no devices found
Not sure if ppdev being loaded means it was found after that, or it is just a dependency load from lp
53.211854] ppdev: user-space parallel port driver
in my hobby workshop I run a lathe, Foamcutter and indexer on Ubuntu EMC2 Vsn 8.04.
The big thing, which I did not notice from your first few lines you posted a while back, is that you are not running 8.04, you are running 6.06
on an AMD Sempron processor
[4294667.296000] Linux version 2.6.15-magma (root@ubuntu) (gcc version 4.0.3 (Ubuntu 4.0.3-1ubuntu5)) #1 Fri Jun 9 20:51:19 EEST 2006
So now run these commands from the terminal and post the output
lsmod | grep lp
lsmod | grep ppdev
lsmod | grep parport_pc
ls -l /dev/lp* /dev/parport*
The first 3 are seeing if the 3 parallel port drivers have been loaded and the 4th is seeing if a device /dev/parport* has been created
If the device exists, the linux drivers can be removed and Linuxcnc should work.
regards
Please Log in or Create an account to join the conversation.
As far as the Terminal results go mixed success. See attached.
Best regards
Ken
Please Log in or Create an account to join the conversation.
1/ ken@ken-shuttle:~$ lsmod | grep lp
lp 9028 0
parport 29640 2 ppdev,lp
2/ ken@ken-shuttle:~$ lsmod | grep ppdev
ppdev 6916 0
parport 29640 2 ppdev,lp
OK, perhaps parport_pc used to be called just parport, but basically you have all 3 standard linux printer drivers loaded, which will block Linuxcnc getting access to the parallel port
From a terminal run
sudo rmmod parport
sudo rmmod ppdev
sudo rmmod lp
This should remove those drivers
Check by running ps -A | more and check they do not appear in the list (you use spacebar to move down a page)
If they do appear reverse the order of the first 2 rmmod commands and run again, they have to be removed in the order they were loaded in the dependency chain.
Once done start Linuxcnc and hopefully it will find the parallel port
regards
Please Log in or Create an account to join the conversation.
asap. I have attached a file containing the results.
Regards
Ken
Please Log in or Create an account to join the conversation.