Parallelport Pins keine Spannung

More
4 years 8 months ago #235141 by tommylight
Replied by tommylight on topic Parallelport Pins keine Spannung
/home/your_user_name/linuxcnc/configs/

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

More
4 years 8 months ago #235189 by newcncsmith
Replied by newcncsmith on topic Parallelport Pins keine Spannung
this is the folder where my own config is stored. I cant find the ptest.hal there ...

I found it in /usr/share/doc/linuxcnc/examples/sample-configs/apps/parport but this folder seems to be read only. Do I not have the rights? However ...

I created a new folder and copied the ptest hal and the xml and launched the tester via terminal. Was hard for a newbie like me but worked.

The only thing that didnt work was the parport itself.

I tried every entry listed here:

03:00.2 Parallel controller: MosChip Semiconductor Technology Ltd. PCI 9865 Multi-I/O Controller (prog-if 03 [IEEE1284])
    Subsystem: Device a000:2000
    Flags: bus master, medium devsel, latency 32, IRQ 19, NUMA node 0
    I/O ports at dd00
    I/O ports at dc00
    Memory at fdcfd000 (32-bit, non-prefetchable) [size=4K]
    Memory at fdcfc000 (32-bit, non-prefetchable) [size=4K]
    Capabilities: <access denied>
    Kernel driver in use: parport_pc
    Kernel modules: parport_pc

In this case 0xdd00 and 0xdc00.

For 0xdc00 following error occurs:

Note: Using POSIX realtime
config string '0xdc00 out'
No parport registered at 0xdc00. This is not always an error. Continuing.

For 0xdd00 it looks like this:

Note: Using POSIX realtime
config string '0xdd00 out'
halcmd: exit
Note: Using POSIX realtime

Adress is accepted but the multimeter connected to pin1 and pin20 or any ground does not show any mV.

Tested also for df00, df02, df03, df07, dd00, dd02, dd03, dd07 because I found theese adresses in terminal with - forgot the command. Also tested simply "0" and "1". Didnt work either.

With "dmesg|grep parport" I get:
[    5.025456] parport0: PC-style at 0xdf00, irq 17 [PCSPP,TRISTATE,EPP]
[    5.133400] parport1: PC-style at 0xdd00, irq 19 [PCSPP,TRISTATE,EPP]

So the two parports seem to be known and available but there is no reaction.

Any Ideas??

 

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

More
4 years 8 months ago - 4 years 8 months ago #235193 by spicer
Replied by spicer on topic Parallelport Pins keine Spannung
"I found it in /usr/share/doc/linuxcnc/examples/sample-configs/apps/parport but this folder seems to be read only. Do I not have the rights? However ..."

Zuerst sudo. Dann hast Schreibrechte. ZBsp sudo nano /usr/share/doc/linuxcnc/examples/sample-configs/apps/parport

Aber kopiere die Beispiel-Configs in Dein home Verzeichnis ( /home/your_user_name/linuxcnc/configs/ ) und bearbeite diese da.
Die Beispiele sind für das gedacht.

Hast Du Breakout Boards an den Parports?
Zum testen, steck mal nur eine LPT Karte (Netzstecker vorher ziehen ^^ )

Siehe auch noch: wiki.linuxcnc.org/cgi-bin/wiki.pl?Parallel_Port_Cards
Last edit: 4 years 8 months ago by spicer.
The following user(s) said Thank You: tommylight

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

More
4 years 8 months ago #235195 by spicer
Replied by spicer on topic Parallelport Pins keine Spannung
Was zeigt: lspci -vv ?
Siehe dazu auch: wiki.linuxcnc.org/cgi-bin/wiki.pl?NetMos

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

More
4 years 8 months ago #235215 by newcncsmith
Replied by newcncsmith on topic Parallelport Pins keine Spannung
Teste ich nachher mal was mit -vv angezeigt wird.

Was ist eigentlich der Unterschied zwischen "lspci -v" und "lspci -vv" ?

Von der Syntax im Terminal habe ich leider (noch) keinerlei Ahnung...

Wenn ich die Dateien in mein Verzeichnis kopiere müsste ptest ja als eine meiner Konfigurationen auftauchen, oder?

Wie auch immer, hat auch so funktioniert. Ich glaube meiner schwierigere Baustelle liegt gerade am Port selbst.

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

More
4 years 8 months ago #235216 by spicer
Replied by spicer on topic Parallelport Pins keine Spannung
In einem meiner genannten Links wäre auch etwas über den Tester: wiki.linuxcnc.org/cgi-bin/wiki.pl?Parallel_Port_Tester

Gib doch mal "man lspci" in der Konsole ein. Vllt ist da -vv beschrieben.

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

Moderators: Muecke
Time to create page: 2.768 seconds
Powered by Kunena Forum