Linuxcnc crashes, parallel port not found

More
6 years 6 months ago #163285 by flexbex
I created a configuration with the stepconf wizzard. I intend to use my parallel port for it. When i start it it stops with an error message. I think that the reason is that linuxcnc doesn't find my parallel port.
Code:
dmesg | grep paral [ 26.196603] ppdev: user-space parallel port driver
Code:
lsmod | grep parp parport_pc 21896 0 parport 35208 3 lp,ppdev,parport_pc

But in lspci it doesn't show up
Code:
lspci -nn 00:00.0 Host bridge [0600]: Intel Corporation 2nd Generation Core Processor Family DRAM Controller [8086:0100] (rev 09) 00:02.0 VGA compatible controller [0300]: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller [8086:0102] (rev 09) 00:14.0 USB controller [0c03]: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller [8086:1e31] (rev 04) 00:16.0 Communication controller [0780]: Intel Corporation 7 Series/C210 Series Chipset Family MEI Controller #1 [8086:1e3a] (rev 04) 00:16.3 Serial controller [0700]: Intel Corporation 7 Series/C210 Series Chipset Family KT Controller [8086:1e3d] (rev 04) 00:19.0 Ethernet controller [0200]: Intel Corporation 82579LM Gigabit Network Connection [8086:1502] (rev 04) 00:1a.0 USB controller [0c03]: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #2 [8086:1e2d] (rev 04) 00:1b.0 Audio device [0403]: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller [8086:1e20] (rev 04) 00:1d.0 USB controller [0c03]: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #1 [8086:1e26] (rev 04) 00:1e.0 PCI bridge [0604]: Intel Corporation 82801 PCI Bridge [8086:244e] (rev a4) 00:1f.0 ISA bridge [0601]: Intel Corporation Q75 Express Chipset LPC Controller [8086:1e48] (rev 04) 00:1f.2 IDE interface [0101]: Intel Corporation 7 Series/C210 Series Chipset Family 4-port SATA Controller [IDE mode] [8086:1e00] (rev 04) 00:1f.3 SMBus [0c05]: Intel Corporation 7 Series/C210 Series Chipset Family SMBus Controller [8086:1e22] (rev 04) 00:1f.5 IDE interface [0101]: Intel Corporation 7 Series/C210 Series Chipset Family 2-port SATA Controller [IDE mode] [8086:1e08] (rev 04)

Any ideas what could be the reason

thanks Felix

Please Log in to join the conversation.

More
6 years 6 months ago #163289 by PCW
Is your on-board parallel port enabled in the BIOS?

Please Log in to join the conversation.

More
6 years 6 months ago #163294 by flexbex
It's a pci card

Please Log in to join the conversation.

  • BeagleBrainz
  • New Member
  • New Member
More
6 years 6 months ago #163295 by BeagleBrainz
Replied by BeagleBrainz on topic Linuxcnc crashes, parallel port not found
What kind of computer are you using ?
Have you tried messing any BIOS settings something like IRQs and the like ?
Any details on the card you are using ?

Try this:
Code:
inxi -F
and relay the output.


Some corporate machines have so called "white lists" which only allow a small range of cards to be installed.

Please Log in to join the conversation.

More
6 years 6 months ago #163299 by flexbex
What kind of computer are you using ? Hp quad core i5
Have you tried messing any BIOS settings something like IRQs and the like ? Not yet
Any details on the card you are using ? Will investigate in that now
Code:
System: Host: flex Kernel: 3.4-9-rtai-686-pae i686 bits: 32 Desktop: Xfce 4.8.3 Distro: Debian GNU/Linux 7 (wheezy) Machine: Type: Desktop System: Hewlett-Packard product: HP Compaq Pro 6300 SFF v: N/A serial: JPA434TS8K Mobo: Hewlett-Packard model: 339A serial: JPA434TS8K BIOS: Hewlett-Packard v: K01 v02.90 date: 07/16/2013 CPU: Topology: Quad Core model: Intel Core i5-2400 bits: 64 type: MCP L2 cache: 6144 KiB Speed: 3093 MHz min/max: N/A Core speeds (MHz): 1: 3093 2: 3093 3: 3093 4: 3093 Graphics: Device-1: Intel 2nd Generation Core Processor Family Integrated Graphics driver: i915 v: kernel Display: server: X.Org 1.12.4 driver: intel unloaded: fbdev,vesa resolution: 1680x1050~60Hz OpenGL: renderer: Mesa DRI Intel Sandybridge Desktop x86/MMX/SSE2 v: 3.0 Mesa 8.0.5 Audio: Device-1: Intel 7 Series/C210 Series Family High Definition Audio driver: snd_hda_intel Device-2: Vimicro A4tech USB2.0 Camera type: USB driver: snd-usb-audio,uvcvideo Sound Server: ALSA v: 1.0.25 Network: Device-1: Intel 82579LM Gigabit Network driver: e1000e IF: eth0 state: down mac: a0:d3:c1:16:2e:49 Device-2: MediaTek 802.11 n WLAN type: USB driver: usb-network IF-ID-1: usb0 state: unknown speed: N/A duplex: N/A mac: 7a:14:7b:0c:2f:90 Drives: Local Storage: total: 298.09 GiB used: 3.35 GiB (1.1%) ID-1: /dev/sda vendor: Samsung model: HD322HJ size: 298.09 GiB Partition: ID-1: / size: 55.00 GiB used: 3.13 GiB (5.7%) fs: ext4 dev: /dev/sda8 ID-2: /home size: 55.00 GiB used: 223.8 MiB (0.4%) fs: ext4 dev: /dev/sda9 ID-3: swap-1 size: 6.07 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/sda5 Sensors: System Temperatures: cpu: 46.0 C mobo: N/A Fan Speeds (RPM): N/A Info: Processes: 134 Uptime: 12m Memory: 3.35 GiB used: 338.7 MiB (9.9%) Shell: bash inxi: 3.0.38

Please Log in to join the conversation.

More
6 years 6 months ago #163300 by flexbex

Please Log in to join the conversation.

More
6 years 6 months ago #163303 by flexbex
Ok I digged a bit deeper. I found out that I have indeed an onboard parallel port besides the pci card on my motherboard. it just doesn't have a physical appearence on the outside. But don't know if it works either. Further after I cleaned the contacts of my parallel pci card I got a new entry under lspci.
Is that the parallel port? But why does it show up as serial? Still can't start linuxcnc with it.
lspci
Code:
01:00.0 Serial controller: Device 4651:7073 (rev 10) (prog-if 02 [16550]) Subsystem: Device 4651:7073 Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Interrupt: pin A routed to IRQ 20 Region 0: I/O ports at e010 [size=8] Region 1: I/O ports at e000 [size=8] Kernel driver in use: serial

Code:
Module Size Used by rndis_host 12611 0 cdc_ether 12542 1 rndis_host usbnet 21676 2 rndis_host,cdc_ether mii 12596 1 usbnet parport_pc 21896 0 ppdev 12591 0 lp 12767 0 parport 35208 3 lp,ppdev,parport_pc bnep 17186 2 rfcomm 36117 0 bluetooth 166348 10 bnep,rfcomm uinput 17057 1 nfsd 202675 2 nfs 277039 0 nfs_acl 12464 2 nfs,nfsd auth_rpcgss 32226 2 nfs,nfsd fscache 35490 1 nfs lockd 56898 2 nfs,nfsd sunrpc 151263 6 nfs,nfsd,auth_rpcgss,lockd,nfs_acl loop 21832 0 snd_usb_audio 83467 1 snd_usbmidi_lib 22774 1 snd_usb_audio snd_seq_midi 12745 0 snd_seq_midi_event 13125 1 snd_seq_midi uvcvideo 65381 0 snd_hda_codec_hdmi 30386 1 snd_rawmidi 22279 2 snd_usbmidi_lib,snd_seq_midi snd_hda_codec_realtek 53766 1 videobuf2_vmalloc 12557 1 uvcvideo videobuf2_memops 12507 1 videobuf2_vmalloc videobuf2_core 25549 1 uvcvideo videodev 78003 1 uvcvideo media 17758 2 uvcvideo,videodev joydev 16848 0 tpm_infineon 12785 0 i915 360470 2 drm_kms_helper 26601 1 i915 drm 169993 3 i915,drm_kms_helper i2c_algo_bit 12648 1 i915 psmouse 67176 0 hp_wmi 13059 0 sparse_keymap 12681 1 hp_wmi rfkill 18403 3 hp_wmi,bluetooth snd_hda_intel 25789 1 snd_hda_codec 79439 3 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_intel video 17461 1 i915 tpm_tis 17138 0 tpm 17590 2 tpm_tis,tpm_infineon tpm_bios 12778 1 tpm iTCO_wdt 16918 0 iTCO_vendor_support 12586 1 iTCO_wdt evdev 17099 22 coretemp 12771 0 i2c_i801 16788 0 serio_raw 12734 0 i2c_core 23097 6 drm,i915,i2c_i801,drm_kms_helper,i2c_algo_bit,videodev snd_hwdep 12911 2 snd_usb_audio,snd_hda_codec snd_pcm 69181 4 snd_usb_audio,snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel snd_page_alloc 12842 2 snd_pcm,snd_hda_intel wmi 17148 1 hp_wmi snd_seq 43338 2 snd_seq_midi_event,snd_seq_midi snd_seq_device 12981 3 snd_seq,snd_rawmidi,snd_seq_midi snd_timer 22188 2 snd_pcm,snd_seq snd 46731 16 snd_hda_codec_realtek,snd_usb_audio,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_seq,snd_rawmidi,snd_usbmidi_lib,snd_hda_codec,snd_hda_intel,snd_seq_device soundcore 12891 1 snd crc32c_intel 12625 0 aesni_intel 17746 0 aes_i586 16648 1 aesni_intel aes_generic 37067 2 aesni_intel,aes_i586 button 12818 1 i915 cryptd 14126 1 aesni_intel ext4 270189 2 crc16 12328 2 ext4,bluetooth jbd2 54294 1 ext4 mbcache 12899 1 ext4 sg 25482 0 sr_mod 21529 0 sd_mod 43403 4 crc_t10dif 12333 1 sd_mod cdrom 38893 1 sr_mod usbhid 39608 0 hid 72252 1 usbhid ata_generic 12440 0 microcode 17386 0 ata_piix 25279 3 ehci_hcd 43561 0 libata 152992 2 ata_generic,ata_piix scsi_mod 125436 4 sg,libata,sd_mod,sr_mod xhci_hcd 80023 0 e1000e 133515 0 usbcore 124257 10 snd_usb_audio,uvcvideo,rndis_host,snd_usbmidi_lib,ehci_hcd,usbhid,usbnet,xhci_hcd,cdc_ether usb_common 12339 1 usbcore fan 12595 0 thermal_sys 17699 2 fan,video

Please Log in to join the conversation.

  • BeagleBrainz
  • New Member
  • New Member
More
6 years 6 months ago #163308 by BeagleBrainz
Replied by BeagleBrainz on topic Linuxcnc crashes, parallel port not found
I'd pull out the PCI card and have a look in the BIOS, there's a good chance the on board Parallel Port has been disabled.

Please Log in to join the conversation.

More
6 years 6 months ago #163309 by flexbex
I did already. The only thing which changes is that with the external parallel card in I get an extra entry when I call lspci. But that is listed as a serial controller. With lsmod In both cases I get the entry for parport. So I guess that this is loaded for the built in one

Please Log in to join the conversation.

  • BeagleBrainz
  • New Member
  • New Member
More
6 years 6 months ago #163311 by BeagleBrainz
Replied by BeagleBrainz on topic Linuxcnc crashes, parallel port not found
I'd run dmesg and see what pops when you only have the on board parallel port.

What info do you get about the parallel port in the BIOS ?

Is there a option in the BIOS that restricts access to io ports ?

Please Log in to join the conversation.

Time to create page: 0.156 seconds
Powered by Kunena Forum