CNC Machine with Resolver (7i49)

More
27 Jun 2013 18:02 #36126 by simon n.

I think it is going to be easier to edit your own HAL file than to edit your own bitfile.


Hey my dear friends!

We build a config with some basics like PWM x,y,z Axis and encoder x,y,z Axis. We tried to change the HAL in the Linuxcnc panel, we just need to know, if its the right way to change the files. We startet our CNC project via linuxcnc, when its loaded, we open "show HAL". We found a guide where we can change the links between the Pins on the mesa cards and EMC2, with commands like net and unlinkp. After changing them in "show HAL" we copy the whole commands in the custom_postgui.hal file. Now every time we start our project it should change the things which are written in custom_postgui.hal is that right?

We also got some problems with the description of our signals, because they are in german. we cannot find most of the signals in the "signals" column in linuxcnc, they do not seem to fit in there. maybe you got any advise for us how to handle it? we looked up the integrators manual for the signals, but it doesn't help us a lot, so that we just have to guess which signal is meant.

Greetings

Simon N.

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

More
27 Jun 2013 18:07 #36127 by andypugh

We build a config with some basics like PWM x,y,z Axis and encoder x,y,z Axis. We tried to change the HAL in the Linuxcnc panel, we just need to know, if its the right way to change the files. We startet our CNC project via linuxcnc, when its loaded, we open "show HAL". We found a guide where we can change the links between the Pins on the mesa cards and EMC2, with commands like net and unlinkp. After changing them in "show HAL" we copy the whole commands in the custom_postgui.hal file.


Well, that is one way to do it, but wouldn't be the way I would do it.

It is probably much better to just edit the main HAL file. This means you can't use pncconf on the config without reverting the changes, but once the HAL file exists it is as easy to alter things there as it is in pncconf.
The following user(s) said Thank You: simon n.

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

More
27 Jun 2013 18:40 - 27 Jun 2013 18:50 #36129 by BigJohnT

We also got some problems with the description of our signals, because they are in german. we cannot find most of the signals in the "signals" column in linuxcnc, they do not seem to fit in there. maybe you got any advise for us how to handle it? we looked up the integrators manual for the signals, but it doesn't help us a lot, so that we just have to guess which signal is meant.


I'm with Andy, once you start modifying your .hal files it is time to give up on pncconf and stepconf.

Can you be specific about what "got some problems" is? That is much to vague to even guess at the answer.

JT
Last edit: 27 Jun 2013 18:50 by BigJohnT.
The following user(s) said Thank You: simon n.

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

More
27 Jun 2013 19:43 #36131 by simon n.


I'm with Andy, once you start modifying your .hal files it is time to give up on pncconf and stepconf.

Can you be specific about what "got some problems" is? That is much to vague to even guess at the answer.

JT


We solved that one, we just generated new signals in german and hand-edit their destination now. We just have to translate the meaning of the german signals to the englisch ones. We don't intend to use pncconf anymore, we just used it for basic configuration. We are editing now via HAL, as long as it is possible, but if you say we can change everything with HAL it should work that way in some time!

Hope you can understand my bad english^^.

Best regards

Simon N.

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

More
27 Jun 2013 19:57 #36134 by BigJohnT
Yes, instead of using unlinkp go to the main hal file and make your changes there to the net line. Much easier to follow in the long run.

JT

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

More
21 Aug 2013 19:19 - 26 Aug 2013 21:53 #37925 by simon n.
Last edit: 26 Aug 2013 21:53 by simon n.. Reason: Double post

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

More
26 Aug 2013 21:38 - 26 Aug 2013 22:05 #38110 by simon n.
Hello again,

now the Resolvers are working just fine but the analog outputs stopped working. We changed the slot 2 and 3 from the 5i22, because of the bit file PCW send us.

In this bit file the resolver is set on P3, the encoders and AOUT's are set on P2. If we connect the resolver card on P3 the AOUT's dont work, but the resolvers are fine. If we put the resolver card into slot 2, the AOUT's works and the resolver didn't.

But we need both the resolver signals and the analog signals, we also tried to connect the AOUT's from the 7i48 while we are using the resolvers on the 7i49 but this also didn't work.

Could you change the Bit-file from PCW to AOUT and Resolver on P2 and the encoder on P3? We dont know how to edit/compile the Bitfile. Would be great!

I'll add the dmesg file for you to take a closer look into it.
[    0.243235] pci 0000:02:06.0: reg 1c 32bit mmio: [0xda000000-0xda00ffff]
[    0.243258] pci 0000:02:06.0: reg 30 32bit mmio pref: [0x000000-0x00ffff]
[    0.243351] pci 0000:00:1e.0: transparent bridge
[    0.243358] pci 0000:00:1e.0: bridge io port: [0x2000-0x2fff]
[    0.243366] pci 0000:00:1e.0: bridge 32bit mmio: [0xda000000-0xda0fffff]
[    0.243386] pci_bus 0000:00: on NUMA node 0
[    0.243394] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
[    0.243584] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.ICH4._PRT]
[    0.244145] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.AGP_._PRT]
[    0.258053] ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 *5 6 7 9 10 11 14 15)
[    0.258213] ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 9 10 *11 14 15)
[    0.258369] ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 9 10 *11 14 15)
[    0.258524] ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 9 10 *11 14 15)
[    0.258690] ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 7 9 10 11 14 15) *0, disabled.
[    0.258859] ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 7 9 10 11 14 15) *0, disabled.
[    0.259028] ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 6 7 9 10 11 14 15) *0, disabled.
[    0.259197] ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 6 7 9 10 *11 14 15)
[    0.259410] vgaarb: device added: PCI:0000:01:00.0,decodes=io+mem,owns=io+mem,locks=none
[    0.259420] vgaarb: loaded
[    0.259641] SCSI subsystem initialized
[    0.268241] libata version 3.00 loaded.
[    0.268421] usbcore: registered new interface driver usbfs
[    0.268446] usbcore: registered new interface driver hub
[    0.268493] usbcore: registered new device driver usb
[    0.276506] ACPI: WMI: Mapper loaded
[    0.276512] PCI: Using ACPI for IRQ routing
[    0.276769] NetLabel: Initializing
[    0.276774] NetLabel:  domain hash size = 128
[    0.276777] NetLabel:  protocols = UNLABELED CIPSOv4
[    0.276801] NetLabel:  unlabeled traffic allowed by default
[    0.276873] Switching to clocksource tsc
[    0.287995] AppArmor: AppArmor Filesystem Enabled
[    0.287995] pnp: PnP ACPI init
[    0.287995] ACPI: bus type pnp registered
[    0.296058] pnp: PnP ACPI: found 15 devices
[    0.296063] ACPI: ACPI bus type pnp unregistered
[    0.296071] PnPBIOS: Disabled by ACPI PNP
[    0.296091] system 00:01: ioport range 0x100-0x11f has been reserved
[    0.296097] system 00:01: ioport range 0x4d0-0x4d1 has been reserved
[    0.296104] system 00:01: ioport range 0x1000-0x107f has been reserved
[    0.296110] system 00:01: ioport range 0x1180-0x11bf has been reserved
[    0.296116] system 00:01: ioport range 0xca2-0xca3 has been reserved
[    0.372157] pci 0000:01:00.0: BAR 6: can't allocate mem resource [0xf8000000-0xf7ffffff]
[    0.372165] pci 0000:00:01.0: PCI bridge, secondary bus 0000:01
[    0.372170] pci 0000:00:01.0:   IO window: disabled
[    0.372177] pci 0000:00:01.0:   MEM window: 0xd9000000-0xd9ffffff
[    0.372185] pci 0000:00:01.0:   PREFETCH window: 0xf0000000-0xf7ffffff
[    0.372195] pci 0000:00:1e.0: PCI bridge, secondary bus 0000:02
[    0.372202] pci 0000:00:1e.0:   IO window: 0x2000-0x2fff
[    0.372211] pci 0000:00:1e.0:   MEM window: 0xda000000-0xda0fffff
[    0.372219] pci 0000:00:1e.0:   PREFETCH window: 0x80000000-0x800fffff
[    0.372246] pci 0000:00:1e.0: setting latency timer to 64
[    0.372253] pci_bus 0000:00: resource 0 io:  [0x00-0xffff]
[    0.372259] pci_bus 0000:00: resource 1 mem: [0x000000-0xffffffff]
[    0.372264] pci_bus 0000:01: resource 1 mem: [0xd9000000-0xd9ffffff]
[    0.372269] pci_bus 0000:01: resource 2 pref mem [0xf0000000-0xf7ffffff]
[    0.372274] pci_bus 0000:02: resource 0 io:  [0x2000-0x2fff]
[    0.372279] pci_bus 0000:02: resource 1 mem: [0xda000000-0xda0fffff]
[    0.372284] pci_bus 0000:02: resource 2 pref mem [0x80000000-0x800fffff]
[    0.372289] pci_bus 0000:02: resource 3 io:  [0x00-0xffff]
[    0.372294] pci_bus 0000:02: resource 4 mem: [0x000000-0xffffffff]
[    0.372356] NET: Registered protocol family 2
[    0.372529] IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.373115] TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
[    0.374024] TCP bind hash table entries: 65536 (order: 7, 524288 bytes)
[    0.374600] TCP: Hash tables configured (established 131072 bind 65536)
[    0.374605] TCP reno registered
[    0.374785] NET: Registered protocol family 1
[    0.374925] pci 0000:01:00.0: Boot video device
[    0.374974] Simple Boot Flag at 0x36 set to 0x1
[    0.375172] Scanning for low memory corruption every 60 seconds
[    0.375331] audit: initializing netlink socket (disabled)
[    0.375348] type=2000 audit(1377526816.371:1): initialized
[    0.396335] highmem bounce pool size: 64 pages
[    0.396347] HugeTLB registered 4 MB page size, pre-allocated 0 pages
[    0.407950] VFS: Disk quotas dquot_6.5.2
[    0.408089] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.409118] fuse init (API version 7.13)
[    0.409274] msgmni has been set to 1680
[    0.423847] alg: No test for stdrng (krng)
[    0.424000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[    0.424007] io scheduler noop registered
[    0.424011] io scheduler anticipatory registered
[    0.424015] io scheduler deadline registered
[    0.424086] io scheduler cfq registered (default)
[    0.424293] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
[    0.424339] pciehp: PCI Express Hot Plug Controller Driver version: 0.4
[    0.424477] input: Power Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A03:00/PNP0C0C:00/input/input0
[    0.424484] ACPI: Power Button [PWRB]
[    0.424570] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input1
[    0.424575] ACPI: Power Button [PWRF]
[    0.427192] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.427302] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[    0.427419] serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
[    0.427935] 00:09: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[    0.428123] 00:0a: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
[    0.430065] brd: module loaded
[    0.430952] loop: module loaded
[    0.431117] input: Macintosh mouse button emulation as /devices/virtual/input/input2
[    0.431285] ata_piix 0000:00:1f.1: version 2.13
[    0.431319] ata_piix 0000:00:1f.1: power state changed by ACPI to D0
[    0.431329] ata_piix 0000:00:1f.1: enabling device (0005 -> 0007)
[    0.431342]   alloc irq_desc for 18 on node -1
[    0.431346]   alloc kstat_irqs on node -1
[    0.431358] ata_piix 0000:00:1f.1: PCI INT A -> GSI 18 (level, low) -> IRQ 18
[    0.431428] ata_piix 0000:00:1f.1: setting latency timer to 64
[    0.431602] isapnp: Scanning for PnP cards...
[    0.437120] scsi0 : ata_piix
[    0.437262] scsi1 : ata_piix
[    0.437333] ata1: PATA max UDMA/100 cmd 0x1f0 ctl 0x3f6 bmdma 0x1480 irq 14
[    0.437339] ata2: PATA max UDMA/100 cmd 0x170 ctl 0x376 bmdma 0x1488 irq 15
[    0.438023] Fixed MDIO Bus: probed
[    0.438091] PPP generic driver version 2.4.2
[    0.438182] tun: Universal TUN/TAP device driver, 1.6
[    0.438187] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[    0.438350] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.438388]   alloc irq_desc for 23 on node -1
[    0.438393]   alloc kstat_irqs on node -1
[    0.438403] ehci_hcd 0000:00:1d.7: PCI INT D -> GSI 23 (level, low) -> IRQ 23
[    0.438425] ehci_hcd 0000:00:1d.7: setting latency timer to 64
[    0.438431] ehci_hcd 0000:00:1d.7: EHCI Host Controller
[    0.438489] ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 1
[    0.438535] ehci_hcd 0000:00:1d.7: debug port 1
[    0.442418] ehci_hcd 0000:00:1d.7: cache line size of 128 is not supported
[    0.491765] ehci_hcd 0000:00:1d.7: irq 23, io mem 0xd8000000
[    0.503815] ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00
[    0.504031] usb usb1: configuration #1 chosen from 1 choice
[    0.504089] hub 1-0:1.0: USB hub found
[    0.504106] hub 1-0:1.0: 6 ports detected
[    0.504222] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.504252] uhci_hcd: USB Universal Host Controller Interface driver
[    0.504313]   alloc irq_desc for 16 on node -1
[    0.504318]   alloc kstat_irqs on node -1
[    0.504329] uhci_hcd 0000:00:1d.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[    0.504342] uhci_hcd 0000:00:1d.0: setting latency timer to 64
[    0.504349] uhci_hcd 0000:00:1d.0: UHCI Host Controller
[    0.504415] uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 2
[    0.504458] uhci_hcd 0000:00:1d.0: irq 16, io base 0x00001400
[    0.504623] usb usb2: configuration #1 chosen from 1 choice
[    0.504671] hub 2-0:1.0: USB hub found
[    0.504686] hub 2-0:1.0: 2 ports detected
[    0.504765]   alloc irq_desc for 19 on node -1
[    0.504770]   alloc kstat_irqs on node -1
[    0.504778] uhci_hcd 0000:00:1d.1: PCI INT B -> GSI 19 (level, low) -> IRQ 19
[    0.504789] uhci_hcd 0000:00:1d.1: setting latency timer to 64
[    0.504795] uhci_hcd 0000:00:1d.1: UHCI Host Controller
[    0.504857] uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 3
[    0.504894] uhci_hcd 0000:00:1d.1: irq 19, io base 0x00001420
[    0.505054] usb usb3: configuration #1 chosen from 1 choice
[    0.505103] hub 3-0:1.0: USB hub found
[    0.505116] hub 3-0:1.0: 2 ports detected
[    0.505195] uhci_hcd 0000:00:1d.2: PCI INT C -> GSI 18 (level, low) -> IRQ 18
[    0.505206] uhci_hcd 0000:00:1d.2: setting latency timer to 64
[    0.505212] uhci_hcd 0000:00:1d.2: UHCI Host Controller
[    0.505272] uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 4
[    0.505310] uhci_hcd 0000:00:1d.2: irq 18, io base 0x00001440
[    0.505475] usb usb4: configuration #1 chosen from 1 choice
[    0.505523] hub 4-0:1.0: USB hub found
[    0.505538] hub 4-0:1.0: 2 ports detected
[    0.505707] PNP: PS/2 Controller [PNP0303:KBC0,PNP0f13:MSE0] at 0x60,0x64 irq 1,12
[    0.512679] serio: i8042 KBD port at 0x60,0x64 irq 1
[    0.512696] serio: i8042 AUX port at 0x60,0x64 irq 12
[    0.512962] mice: PS/2 mouse device common for all mice
[    0.513169] rtc_cmos 00:04: RTC can wake from S4
[    0.513243] rtc_cmos 00:04: rtc core: registered rtc_cmos as rtc0
[    0.513272] rtc0: alarms up to one month, y3k, 114 bytes nvram
[    0.513468] device-mapper: uevent: version 1.0.3
[    0.513654] device-mapper: ioctl: 4.15.0-ioctl (2009-04-01) initialised: dm-devel@redhat.com
[    0.518046] device-mapper: multipath: version 1.1.0 loaded
[    0.518058] device-mapper: multipath round-robin: version 1.0.0 loaded
[    0.521072] EISA: Probing bus 0 at eisa.0
[    0.521084] Cannot allocate resource for EISA slot 1
[    0.521089] Cannot allocate resource for EISA slot 2
[    0.521121] EISA: Detected 0 cards.
[    0.521126] cpuidle: using governor ladder
[    0.521131] cpuidle: using governor menu
[    0.521917] TCP cubic registered
[    0.522141] NET: Registered protocol family 10
[    0.522990] lo: Disabled Privacy Extensions
[    0.523658] NET: Registered protocol family 17
[    0.523717] Using IPI No-Shortcut mode
[    0.523926] registered taskstats version 1
[    0.524305] rtc_cmos 00:04: setting system clock to 2013-08-26 14:20:17 UTC (1377526817)
[    0.524311] BIOS EDD facility v0.16 2004-Jun-25, 0 devices found
[    0.524315] EDD information not available.
[    0.532283] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input3
[    0.700766] ata2.00: ATA-5: IC35L040AVVA07-0, VA2OA52A, max UDMA/100
[    0.700773] ata2.00: 80418240 sectors, multi 16: LBA 
[    0.700809] ata2.00: limited to UDMA/33 due to 40-wire cable
[    0.767667] ata2.00: configured for UDMA/33
[    1.115459] isapnp: No Plug & Play device found
[    1.115493] usb 3-2: new low speed USB device using uhci_hcd and address 2
[    1.115716] scsi 1:0:0:0: Direct-Access     ATA      IC35L040AVVA07-0 VA2O PQ: 0 ANSI: 5
[    1.115968] sd 1:0:0:0: Attached scsi generic sg0 type 0
[    1.116117] sd 1:0:0:0: [sda] 80418240 512-byte logical blocks: (41.1 GB/38.3 GiB)
[    1.116218] sd 1:0:0:0: [sda] Write Protect is off
[    1.116223] sd 1:0:0:0: [sda] Mode Sense: 00 3a 00 00
[    1.116276] sd 1:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    1.116550]  sda:
[    1.119271] Freeing initrd memory: 12844k freed
[    1.134203]  sda1 sda2 < sda5 >
[    1.150749] sd 1:0:0:0: [sda] Attached SCSI disk
[    1.150773] Freeing unused kernel memory: 620k freed
[    1.151607] Write protecting the kernel text: 4540k
[    1.151705] Write protecting the kernel read-only data: 1668k
[    1.193045] udev: starting version 151
[    1.303793] usb 3-2: configuration #1 chosen from 1 choice
[    1.538396] Linux agpgart interface v0.103
[    1.589580] Floppy drive(s): fd0 is 1.44M
[    1.602499] agpgart-intel 0000:00:00.0: Intel E7505 Chipset
[    1.608579] Intel(R) PRO/1000 Network Driver - version 7.3.21-k5-NAPI
[    1.608585] Copyright (c) 1999-2006 Intel Corporation.
[    1.608689] e1000 0000:02:03.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
[    1.609754] [drm] Initialized drm 1.1.0 20060810
[    1.618464] FDC 0 is a post-1991 82077
[    1.619035] usbcore: registered new interface driver hiddev
[    1.621169] agpgart-intel 0000:00:00.0: AGP aperture is 128M @ 0xe0000000
[    1.908144] e1000: 0000:02:03.0: e1000_probe: (PCI:33MHz:32-bit) 00:e0:81:62:4b:cf
[    1.908576] input: Logitech USB Optical Mouse as /devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0/input/input4
[    1.908754] generic-usb 0003:046D:C05A.0001: input,hidraw0: USB HID v1.11 Mouse [Logitech USB Optical Mouse] on usb-0000:00:1d.1-2/input0
[    1.908798] usbcore: registered new interface driver usbhid
[    1.908803] usbhid: v2.6:USB HID core driver
[    1.911570]   alloc irq_desc for 17 on node -1
[    1.911577]   alloc kstat_irqs on node -1
[    1.911589] nouveau 0000:01:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
[    1.921248] [drm] nouveau 0000:01:00.0: Detected an NV10 generation card (0x018500c1)
[    1.921319] [drm] nouveau 0000:01:00.0: Attempting to load BIOS image from PROM
[    2.250552] [drm] nouveau 0000:01:00.0: ... appears to be valid
[    2.250692] [drm] nouveau 0000:01:00.0: BMP BIOS found
[    2.250697] [drm] nouveau 0000:01:00.0: BMP version 5.40
[    2.250702] [drm] nouveau 0000:01:00.0: Bios version 04.18.20.36
[    2.250708] [drm] nouveau 0000:01:00.0: Found Display Configuration Block version 2.2
[    2.250713] [drm] nouveau 0000:01:00.0: Raw DCB entry 0: 01000300 00009c40
[    2.250719] [drm] nouveau 0000:01:00.0: Raw DCB entry 1: 01000302 00009c00
[    2.250723] [drm] nouveau 0000:01:00.0: Raw DCB entry 2: 02020321 00000303
[    2.250831] [drm] nouveau 0000:01:00.0: Loading NV17 power sequencing microcode
[    2.250837] [drm] nouveau 0000:01:00.0: Parsing VBIOS init table 0 at offset 0xED3F
[    2.269522] [drm] nouveau 0000:01:00.0: Parsing VBIOS init table 1 at offset 0xF237
[    2.269552] [drm] nouveau 0000:01:00.0: Parsing VBIOS init table 2 at offset 0xEEC1
[    2.270865] e1000: eth0: e1000_probe: Intel(R) PRO/1000 Network Connection
[    2.288023] [drm] nouveau 0000:01:00.0: Parsing VBIOS init table 3 at offset 0xF5AA
[    2.288034] [drm] nouveau 0000:01:00.0: Parsing VBIOS init table 4 at offset 0xF5C7
[    2.288043] [drm] nouveau 0000:01:00.0: Parsing VBIOS init table 5 at offset 0xF0AC
[    2.312026] [drm] nouveau 0000:01:00.0: Parsing VBIOS init table 6 at offset 0xF1D2
[    2.321805] [TTM] Zone  kernel: Available graphics memory: 436960 kiB.
[    2.321811] [TTM] Zone highmem: Available graphics memory: 1030596 kiB.
[    2.321827] [drm] nouveau 0000:01:00.0: 64 MiB VRAM
[    2.321895] agpgart-intel 0000:00:00.0: AGP 3.0 bridge
[    2.321914] agpgart: modprobe tried to set rate=x12. Setting to AGP3 x8 mode.
[    2.321927] agpgart-intel 0000:00:00.0: putting AGP V3 device into 8x mode
[    2.321941] pci 0000:00:01.0: putting AGP V3 device into 8x mode
[    2.321988] nouveau 0000:01:00.0: putting AGP V3 device into 8x mode
[    2.322023] [drm] nouveau 0000:01:00.0: 128 MiB GART (aperture)
[    2.322364] [drm] nouveau 0000:01:00.0: Allocating FIFO number 0
[    2.322939] [drm] nouveau 0000:01:00.0: nouveau_channel_alloc: initialised FIFO 0
[    2.322953] [drm] nouveau 0000:01:00.0: Initial CRTC_OWNER is 0
[    2.322964] [drm] nouveau 0000:01:00.0: Saving VGA fonts
[    2.376491] [drm] nouveau 0000:01:00.0: Detected a DVI-I connector
[    2.377032] [drm] nouveau 0000:01:00.0: Detected a TV connector
[    2.378992] [drm] nouveau 0000:01:00.0: Setting dpms mode 3 on vga encoder (output 0)
[    2.378999] [drm] nouveau 0000:01:00.0: Setting dpms mode 3 on tmds encoder (output 1)
[    2.379005] [drm] nouveau 0000:01:00.0: Setting dpms mode 3 on TV encoder (output 2)
[    2.528235] [drm] nouveau 0000:01:00.0: allocated 1280x1024 fb: 0x49000, bo f697be00
[    2.528418] fb0: nouveaufb frame buffer device
[    2.528423] registered panic notifier
[    2.528433] [drm] Initialized nouveau 0.0.15 20090420 for 0000:01:00.0 on minor 0
[    2.532344] vga16fb: initializing
[    2.532353] vga16fb: mapped to 0xc00a0000
[    2.532360] vga16fb: not registering due to another framebuffer present
[    3.207759] [drm] nouveau 0000:01:00.0: Setting dpms mode 0 on vga encoder (output 0)
[    3.207766] [drm] nouveau 0000:01:00.0: Output DVI-I-1 is running on CRTC 0 using output A
[    3.215408] Console: switching to colour frame buffer device 160x64
[    3.674999] xor: automatically using best checksumming function: pIII_sse
[    3.692021]    pIII_sse  :  3099.000 MB/sec
[    3.692026] xor: using function: pIII_sse (3099.000 MB/sec)
[    3.696783] device-mapper: dm-raid45: initialized v0.2594b
[    3.895328] EXT4-fs (sda1): mounted filesystem with ordered data mode
[   14.597760] udev: starting version 151
[   14.623764] Adding 1693688k swap on /dev/sda5.  Priority:-1 extents:1 across:1693688k 
[   14.827929] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
[   14.850495] lp: driver loaded but no devices found
[   14.935235] intel_rng: FWH not detected
[   15.379763] parport_pc 00:0c: reported by Plug and Play ACPI
[   15.379872] parport0: PC-style at 0x278 (0x678), irq 7, dma 3 [PCSPP,TRISTATE,COMPAT,EPP,ECP,DMA]
[   15.450166] ppdev: user-space parallel port driver
[   15.484389] lp0: using parport0 (interrupt-driven).
[   15.557318] type=1505 audit(1377526832.531:2):  operation="profile_load" pid=578 name="/sbin/dhclient3"
[   15.557997] type=1505 audit(1377526832.531:3):  operation="profile_load" pid=578 name="/usr/lib/NetworkManager/nm-dhcp-client.action"
[   15.577375] type=1505 audit(1377526832.551:4):  operation="profile_load" pid=578 name="/usr/lib/connman/scripts/dhclient-script"
[   15.618239] gameport: NS558 PnP Gameport is pnp00:0d/gameport0, io 0x201, speed 864kHz
[   15.822156] ADDRCONF(NETDEV_UP): eth0: link is not ready
[   15.824389] e1000: eth0 NIC Link is Up 100 Mbps Full Duplex, Flow Control: RX/TX
[   15.824700] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   16.270327] type=1505 audit(1377526833.243:5):  operation="profile_load" pid=736 name="/usr/share/gdm/guest-session/Xsession"
[   16.274986] type=1505 audit(1377526833.247:6):  operation="profile_replace" pid=737 name="/sbin/dhclient3"
[   16.275695] type=1505 audit(1377526833.247:7):  operation="profile_replace" pid=737 name="/usr/lib/NetworkManager/nm-dhcp-client.action"
[   16.319381] type=1505 audit(1377526833.291:8):  operation="profile_replace" pid=737 name="/usr/lib/connman/scripts/dhclient-script"
[   16.376056] type=1505 audit(1377526833.351:9):  operation="profile_load" pid=741 name="/usr/bin/evince"
[   16.377831] type=1505 audit(1377526833.351:10):  operation="profile_load" pid=752 name="/usr/lib/cups/backend/cups-pdf"
[   16.389204] type=1505 audit(1377526833.363:11):  operation="profile_load" pid=752 name="/usr/sbin/cupsd"
[   17.251404] [drm] nouveau 0000:01:00.0: Allocating FIFO number 1
[   17.252976] [drm] nouveau 0000:01:00.0: nouveau_channel_alloc: initialised FIFO 1
[   77.348426] I-pipe: Domain RTAI registered.
[   77.348437] RTAI[hal]: <3.8.1> mounted over IPIPE-NOTHREADS 2.6-03.
[   77.348442] RTAI[hal]: compiled with gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) .
[   77.348538] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL IRQs DISPATCHED), ISOL_CPUS_MASK: 0).
[   77.348542] PIPELINE layers:
[   77.348547] f96fce20 9ac15d93 RTAI 200
[   77.348552] c085cb20 0 Linux 100
[   77.386482] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>.
[   77.387050] RTAI[sched]: IMMEDIATE, MP, USER/KERNEL SPACE: <with RTAI OWN KTASKs>, kstacks pool size = 524288 bytes.
[   77.387060] RTAI[sched]: hard timer type/freq = APIC/8330959(Hz); default timing: periodic; linear timed lists.
[   77.387068] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq = 2399830000 hz.
[   77.387072] RTAI[sched]: timer setup = 999 ns, resched latency = 2943 ns.
[   77.387194] RTAI[usi]: enabled.
[   77.424041] RTAI[math]: loaded.
[   77.683222] hm2: loading Mesa HostMot2 driver version 0.15
[   77.691621] hm2_pci: loading Mesa AnyIO HostMot2 driver version 0.7
[   77.691690] hm2_pci 0000:02:06.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
[   77.691697] hm2_pci: discovered 5i22-1.0M at 0000:02:06.0
[   77.691793]  hm2_5i22.0: firmware: requesting hm2/5i22-1/SV12_7I48_7I49S.BIT
[   78.042486] hm2/hm2_5i22.0: 96 I/O Pins used:
[   78.042495] hm2/hm2_5i22.0:     IO Pin 000 (P2-01): PWMGen #0, pin Not-Enable (Output)
[   78.042501] hm2/hm2_5i22.0:     IO Pin 001 (P2-03): Muxed Encoder #0, pin Muxed A (Input)
[   78.042506] hm2/hm2_5i22.0:     IO Pin 002 (P2-05): Muxed Encoder #0, pin Muxed B (Input)
[   78.042512] hm2/hm2_5i22.0:     IO Pin 003 (P2-07): Muxed Encoder #0, pin Muxed Index (Input)
[   78.042517] hm2/hm2_5i22.0:     IO Pin 004 (P2-09): Muxed Encoder #1, pin Muxed A (Input)
[   78.042549] hm2/hm2_5i22.0:     IO Pin 005 (P2-11): Muxed Encoder #1, pin Muxed B (Input)
[   78.042559] hm2/hm2_5i22.0:     IO Pin 006 (P2-13): Muxed Encoder #1, pin Muxed Index (Input)
[   78.042568] hm2/hm2_5i22.0:     IO Pin 007 (P2-15): IOPort
[   78.042575] hm2/hm2_5i22.0:     IO Pin 008 (P2-17): IOPort
[   78.042583] hm2/hm2_5i22.0:     IO Pin 009 (P2-19): IOPort
[   78.042592] hm2/hm2_5i22.0:     IO Pin 010 (P2-21): Muxed Encoder Select #0, pin Mux Select 0 (Output)
[   78.042601] hm2/hm2_5i22.0:     IO Pin 011 (P2-23): PWMGen #0, pin Out0 (PWM or Up) (Output)
[   78.042610] hm2/hm2_5i22.0:     IO Pin 012 (P2-25): PWMGen #0, pin Out1 (Dir or Down) (Output)
[   78.042620] hm2/hm2_5i22.0:     IO Pin 013 (P2-27): PWMGen #1, pin Out0 (PWM or Up) (Output)
[   78.042628] hm2/hm2_5i22.0:     IO Pin 014 (P2-29): PWMGen #1, pin Out1 (Dir or Down) (Output)
[   78.042638] hm2/hm2_5i22.0:     IO Pin 015 (P2-31): PWMGen #2, pin Out0 (PWM or Up) (Output)
[   78.042645] hm2/hm2_5i22.0:     IO Pin 016 (P2-33): PWMGen #2, pin Out1 (Dir or Down) (Output)
[   78.042655] hm2/hm2_5i22.0:     IO Pin 017 (P2-35): IOPort
[   78.042660] hm2/hm2_5i22.0:     IO Pin 018 (P2-37): IOPort
[   78.042668] hm2/hm2_5i22.0:     IO Pin 019 (P2-39): IOPort
[   78.042676] hm2/hm2_5i22.0:     IO Pin 020 (P2-41): IOPort
[   78.042683] hm2/hm2_5i22.0:     IO Pin 021 (P2-43): IOPort
[   78.042691] hm2/hm2_5i22.0:     IO Pin 022 (P2-45): IOPort
[   78.042698] hm2/hm2_5i22.0:     IO Pin 023 (P2-47): PWMGen #0, pin Not-Enable (Output)
[   78.042705] hm2/hm2_5i22.0:     IO Pin 024 (P3-01): IOPort
[   78.042713] hm2/hm2_5i22.0:     IO Pin 025 (P3-03): Resolver #0, pin NC (Output)
[   78.042722] hm2/hm2_5i22.0:     IO Pin 026 (P3-05): Resolver #0, pin SPIDO0 (Input)
[   78.042730] hm2/hm2_5i22.0:     IO Pin 027 (P3-07): Resolver #0, pin SPIDO1 (Input)
[   78.042739] hm2/hm2_5i22.0:     IO Pin 028 (P3-09): Resolver #0, pin AMUX2 (Output)
[   78.042746] hm2/hm2_5i22.0:     IO Pin 029 (P3-11): Resolver #0, pin AMUX1 (Output)
[   78.042755] hm2/hm2_5i22.0:     IO Pin 030 (P3-13): Resolver #0, pin AMUX0 (Output)
[   78.042764] hm2/hm2_5i22.0:     IO Pin 031 (P3-15): Resolver #0, pin SPICLK (Output)
[   78.042775] hm2/hm2_5i22.0:     IO Pin 032 (P3-17): Resolver #0, pin SPICS (Output)
[   78.042783] hm2/hm2_5i22.0:     IO Pin 033 (P3-19): Resolver #0, pin REFPDM- (Output)
[   78.042790] hm2/hm2_5i22.0:     IO Pin 034 (P3-21): Resolver #0, pin REFPDM+ (Output)
[   78.042798] hm2/hm2_5i22.0:     IO Pin 035 (P3-23): IOPort
[   78.042806] hm2/hm2_5i22.0:     IO Pin 036 (P3-25): IOPort
[   78.042812] hm2/hm2_5i22.0:     IO Pin 037 (P3-27): IOPort
[   78.042819] hm2/hm2_5i22.0:     IO Pin 038 (P3-29): IOPort
[   78.042827] hm2/hm2_5i22.0:     IO Pin 039 (P3-31): IOPort
[   78.042834] hm2/hm2_5i22.0:     IO Pin 040 (P3-33): IOPort
[   78.042842] hm2/hm2_5i22.0:     IO Pin 041 (P3-35): IOPort
[   78.042849] hm2/hm2_5i22.0:     IO Pin 042 (P3-37): IOPort
[   78.042856] hm2/hm2_5i22.0:     IO Pin 043 (P3-39): IOPort
[   78.042864] hm2/hm2_5i22.0:     IO Pin 044 (P3-41): IOPort
[   78.042871] hm2/hm2_5i22.0:     IO Pin 045 (P3-43): IOPort
[   78.042876] hm2/hm2_5i22.0:     IO Pin 046 (P3-45): IOPort
[   78.042884] hm2/hm2_5i22.0:     IO Pin 047 (P3-47): IOPort
[   78.042891] hm2/hm2_5i22.0:     IO Pin 048 (P4-01): IOPort
[   78.042898] hm2/hm2_5i22.0:     IO Pin 049 (P4-03): IOPort
[   78.042905] hm2/hm2_5i22.0:     IO Pin 050 (P4-05): IOPort
[   78.042913] hm2/hm2_5i22.0:     IO Pin 051 (P4-07): IOPort
[   78.042920] hm2/hm2_5i22.0:     IO Pin 052 (P4-09): IOPort
[   78.042927] hm2/hm2_5i22.0:     IO Pin 053 (P4-11): IOPort
[   78.042935] hm2/hm2_5i22.0:     IO Pin 054 (P4-13): IOPort
[   78.042942] hm2/hm2_5i22.0:     IO Pin 055 (P4-15): IOPort
[   78.042950] hm2/hm2_5i22.0:     IO Pin 056 (P4-17): IOPort
[   78.042958] hm2/hm2_5i22.0:     IO Pin 057 (P4-19): IOPort
[   78.042966] hm2/hm2_5i22.0:     IO Pin 058 (P4-21): IOPort
[   78.042972] hm2/hm2_5i22.0:     IO Pin 059 (P4-23): IOPort
[   78.042979] hm2/hm2_5i22.0:     IO Pin 060 (P4-25): IOPort
[   78.042986] hm2/hm2_5i22.0:     IO Pin 061 (P4-27): IOPort
[   78.042993] hm2/hm2_5i22.0:     IO Pin 062 (P4-29): IOPort
[   78.043001] hm2/hm2_5i22.0:     IO Pin 063 (P4-31): IOPort
[   78.043008] hm2/hm2_5i22.0:     IO Pin 064 (P4-33): IOPort
[   78.043015] hm2/hm2_5i22.0:     IO Pin 065 (P4-35): IOPort
[   78.043023] hm2/hm2_5i22.0:     IO Pin 066 (P4-37): IOPort
[   78.043029] hm2/hm2_5i22.0:     IO Pin 067 (P4-39): IOPort
[   78.043036] hm2/hm2_5i22.0:     IO Pin 068 (P4-41): IOPort
[   78.043043] hm2/hm2_5i22.0:     IO Pin 069 (P4-43): IOPort
[   78.043051] hm2/hm2_5i22.0:     IO Pin 070 (P4-45): IOPort
[   78.043058] hm2/hm2_5i22.0:     IO Pin 071 (P4-47): IOPort
[   78.043063] hm2/hm2_5i22.0:     IO Pin 072 (P5-01): IOPort
[   78.043071] hm2/hm2_5i22.0:     IO Pin 073 (P5-03): IOPort
[   78.043079] hm2/hm2_5i22.0:     IO Pin 074 (P5-05): IOPort
[   78.043086] hm2/hm2_5i22.0:     IO Pin 075 (P5-07): IOPort
[   78.043093] hm2/hm2_5i22.0:     IO Pin 076 (P5-09): IOPort
[   78.043100] hm2/hm2_5i22.0:     IO Pin 077 (P5-11): IOPort
[   78.043107] hm2/hm2_5i22.0:     IO Pin 078 (P5-13): IOPort
[   78.043115] hm2/hm2_5i22.0:     IO Pin 079 (P5-15): IOPort
[   78.043122] hm2/hm2_5i22.0:     IO Pin 080 (P5-17): IOPort
[   78.043128] hm2/hm2_5i22.0:     IO Pin 081 (P5-19): IOPort
[   78.043136] hm2/hm2_5i22.0:     IO Pin 082 (P5-21): IOPort
[   78.043142] hm2/hm2_5i22.0:     IO Pin 083 (P5-23): IOPort
[   78.043149] hm2/hm2_5i22.0:     IO Pin 084 (P5-25): IOPort
[   78.043155] hm2/hm2_5i22.0:     IO Pin 085 (P5-27): IOPort
[   78.043161] hm2/hm2_5i22.0:     IO Pin 086 (P5-29): IOPort
[   78.043168] hm2/hm2_5i22.0:     IO Pin 087 (P5-31): IOPort
[   78.043174] hm2/hm2_5i22.0:     IO Pin 088 (P5-33): IOPort
[   78.043181] hm2/hm2_5i22.0:     IO Pin 089 (P5-35): IOPort
[   78.043188] hm2/hm2_5i22.0:     IO Pin 090 (P5-37): IOPort
[   78.043195] hm2/hm2_5i22.0:     IO Pin 091 (P5-39): IOPort
[   78.043201] hm2/hm2_5i22.0:     IO Pin 092 (P5-41): IOPort
[   78.043208] hm2/hm2_5i22.0:     IO Pin 093 (P5-43): IOPort
[   78.043216] hm2/hm2_5i22.0:     IO Pin 094 (P5-45): IOPort
[   78.043223] hm2/hm2_5i22.0:     IO Pin 095 (P5-47): IOPort
[   78.043444] hm2/hm2_5i22.0: registered
[   78.043450] hm2_5i22.0: initialized AnyIO board at 0000:02:06.0
[   78.063292] config string '0x0278 out'
[  322.757030] e1000: eth0 NIC Link is Down
cnc@cnc-desktop:~$ ^C
cnc@cnc-desktop:~$ 

Best regards

Simon N.
Last edit: 26 Aug 2013 22:05 by BigJohnT. Reason: add code tags

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

More
26 Aug 2013 21:52 - 26 Aug 2013 21:53 #38111 by PCW
Most likely your hal file does not match the hardware
with the sv12-7i48_7i49 configuration, there are a total of 12 PWM
generators for analog out: 0 through 11.

PWMGen 0 through 5 are connected to the 7I48 and
PWMGen 6 though 11 are connected to the 7I49

(you can see this in your dmesg list if you enable all 12 PWMGens)
Last edit: 26 Aug 2013 21:53 by PCW.

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

More
26 Aug 2013 23:17 - 26 Aug 2013 23:18 #38114 by simon n.
Works just fine with your tip thanks! You're just too smart for this stuff^^
Last edit: 26 Aug 2013 23:18 by simon n..

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

More
26 Aug 2013 23:44 #38118 by PCW
Actually it should be simpler. I do wish there was a better naming scheme for the I/O pins so that HAL configurations were more portable.

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

Time to create page: 0.364 seconds
Powered by Kunena Forum