#emc-devel | Logs for 2011-07-18

Back
[00:00:09] -!- GonMD has quit [Quit: GonMD]
[00:04:50] -!- theorbtwo has quit [Ping timeout: 260 seconds]
[00:04:57] theorb is now known as theorbtwo
[00:17:43] -!- GonMD has quit [Quit: GonMD]
[00:29:25] -!- dgarr [[email protected]] has joined #emc-devel
[00:39:07] -!- andypugh has quit [Quit: andypugh]
[00:52:53] -!- sumpfralle has quit [Ping timeout: 250 seconds]
[00:59:07] -!- L84Supper has quit [Ping timeout: 258 seconds]
[01:34:02] -!- theos has quit [Ping timeout: 252 seconds]
[02:28:06] -!- mikegg has quit [Ping timeout: 255 seconds]
[02:38:25] -!- mhaberler has quit [Quit: mhaberler]
[03:06:25] -!- robh__ [[email protected]] has joined #emc-devel
[03:06:46] -!- ries has quit [Quit: ries]
[03:11:05] -!- robh__ has quit [Ping timeout: 258 seconds]
[03:17:49] <CIA-11> EMC: 03seb 07v2.5_branch * r4452d1bd3390 10/scripts/realtime.in: remove the "realtime reload" command-line argument
[03:17:49] <CIA-11> EMC: 03seb 07v2.5_branch * rdf335383db92 10/scripts/realtime.in: add "force-reload" to the realtime init.d script
[03:17:51] <CIA-11> EMC: 03seb 07v2.5_branch * rc83bab9bb20f 10/debian/extras/usr/share/applications/emc2-pncconf.desktop: provide a default (non-localized) Name
[03:27:20] -!- sumpfralle1 has quit [Ping timeout: 252 seconds]
[03:40:05] -!- sumpfralle has quit [Read error: Operation timed out]
[03:44:14] -!- dgarr has quit [Ping timeout: 252 seconds]
[04:01:38] -!- vladimirek has quit [Remote host closed the connection]
[04:07:34] -!- FinboySlick has quit [Quit: Leaving.]
[04:23:10] -!- danimal_garage has quit [Ping timeout: 246 seconds]
[04:49:26] -!- skunkworks has quit [Ping timeout: 252 seconds]
[05:20:16] -!- Ze1982 [[email protected]] has joined #emc-devel
[05:46:57] -!- ds3 has quit [Ping timeout: 264 seconds]
[05:57:48] -!- psha[work] [psha[work][email protected]] has joined #emc-devel
[06:08:33] -!- alexchally has quit [Quit: ZNC - http://znc.sourceforge.net]
[06:33:42] -!- maximilian_h [[email protected]] has joined #emc-devel
[06:53:27] -!- e-ndy [e-ndy!~jkastner@nat/redhat/x-nywujmxortbxekcu] has joined #emc-devel
[06:55:11] -!- e-ndy has quit [Client Quit]
[06:56:54] -!- vladimirek [[email protected]] has joined #emc-devel
[07:08:19] -!- e-ndy [e-ndy!~jkastner@nat/redhat/x-apnuboppbmsthhll] has joined #emc-devel
[07:13:57] -!- alex_joni has quit [Ping timeout: 264 seconds]
[07:14:09] -!- adb has quit [Ping timeout: 276 seconds]
[07:14:17] -!- alex_joni [alex_joni!~alex_joni@emc/board-of-directors/alexjoni] has joined #emc-devel
[07:23:52] -!- e-ndy has quit [Quit: Ex-Chat]
[07:25:43] -!- e-ndy [e-ndy!~jkastner@nat/redhat/x-ufjbqjkklyvdjhja] has joined #emc-devel
[07:36:56] -!- ve7it has quit [Remote host closed the connection]
[07:46:15] -!- tlab has quit [Ping timeout: 255 seconds]
[07:48:31] -!- adb [[email protected]] has joined #emc-devel
[08:07:41] -!- adb has quit [Ping timeout: 258 seconds]
[08:08:28] -!- adb [[email protected]] has joined #emc-devel
[08:11:30] -!- kb8wmc has quit [Quit: ChatZilla 0.9.87 [Firefox 3.6.18/20110628230241]]
[08:17:12] -!- cradek has quit [Ping timeout: 276 seconds]
[08:17:18] -!- cradek [[email protected]] has joined #emc-devel
[08:37:44] -!- Valen has quit [Quit: Leaving.]
[08:48:35] -!- robh__ [[email protected]] has joined #emc-devel
[08:50:41] -!- adb has quit [Ping timeout: 240 seconds]
[09:07:20] -!- maximilian_h [[email protected]] has parted #emc-devel
[09:37:22] -!- mhaberler [[email protected]] has joined #emc-devel
[10:26:20] -!- sumpfralle has quit [Quit: Leaving.]
[11:07:13] <CIA-11> EMC: 03mhaberler 07v2.5_branch * r17491197d816 10/docs/src/gui/gladevcp.txt: docs/gladevcp: fix html build
[11:07:14] <CIA-11> EMC: 03mhaberler 07v2.5_branch * r96fa29c77c04 10/docs/src/gui/gladevcp.txt: docs/gladevcp: add note about difference of MDI_Action and MDI_ToggleAction
[11:08:58] -!- sumpfralle has quit [Read error: Operation timed out]
[12:23:17] -!- skunkworks [skunkworks!447329d2@gateway/web/freenode/ip.68.115.41.210] has joined #emc-devel
[12:27:00] -!- sumpfralle1 has quit [Ping timeout: 276 seconds]
[12:37:32] -!- dgarr [[email protected]] has joined #emc-devel
[13:03:46] <CIA-11> EMC: 03mhaberler 07v2.5_branch * r64d5041aff89 10/docs/ (man/man1/gladevcp.1 src/gui/gladevcp.txt): docs/gladevcp: update manual, man page
[13:30:45] -!- Rogge has quit [Ping timeout: 264 seconds]
[13:37:45] -!- Valen has quit [Quit: Leaving.]
[13:38:35] -!- vladimirek has quit [Ping timeout: 260 seconds]
[13:39:31] -!- micges_work [[email protected]] has joined #emc-devel
[13:39:37] -!- vladimirek [[email protected]] has joined #emc-devel
[13:40:55] -!- micges_work [[email protected]] has parted #emc-devel
[13:47:25] -!- isssy has quit [Client Quit]
[13:50:13] Tech_Talk is now known as Birdman3131
[13:51:00] -!- Guest629 has quit [Client Quit]
[14:02:37] -!- psha[work] has quit [Quit: leaving]
[14:03:16] -!- pjm has quit [Ping timeout: 260 seconds]
[14:11:26] -!- mhaberler has quit [Ping timeout: 240 seconds]
[14:22:11] -!- tom3p [[email protected]] has joined #emc-devel
[14:23:13] -!- pingufan has quit [Remote host closed the connection]
[14:48:06] -!- sumpfralle has quit [Ping timeout: 240 seconds]
[14:50:34] -!- vladimirek has quit [Remote host closed the connection]
[14:51:17] -!- vladimirek [[email protected]] has joined #emc-devel
[14:54:51] -!- kb8wmc [[email protected]] has joined #emc-devel
[15:06:01] -!- dgarr has quit [Quit: Leaving.]
[15:28:42] theos is now known as itheos
[15:28:56] itheos is now known as theos
[15:33:34] -!- psha [[email protected]] has joined #emc-devel
[15:35:59] -!- tom3p [[email protected]] has parted #emc-devel
[16:02:42] -!- mhaberler [[email protected]] has joined #emc-devel
[16:04:06] -!- mhaberler has quit [Client Quit]
[16:06:23] -!- mhaberler [[email protected]] has joined #emc-devel
[16:06:48] -!- e-ndy has quit [Quit: Ex-Chat]
[16:13:18] -!- micges [[email protected]] has joined #emc-devel
[16:16:59] -!- sumpfralle1 has quit [Ping timeout: 252 seconds]
[16:26:27] -!- robin_sz has quit [Ping timeout: 255 seconds]
[16:26:59] -!- El_Matarife has quit [Quit: Nettalk6 - www.ntalk.de]
[16:29:33] -!- mhaberler has quit [Ping timeout: 264 seconds]
[16:40:16] -!- mozmck has quit [Ping timeout: 246 seconds]
[16:48:01] -!- mozmck [mozmck!~moses@client-173.225.233.241.dfwtx.partnershipbroadband.com] has joined #emc-devel
[16:54:14] -!- cncbasher [cncbasher!~quassel@cpc15-hart9-2-0-cust101.11-3.cable.virginmedia.com] has joined #emc-devel
[17:03:34] <cncbasher> wonder if anyone's using a 7i43 stepper system under 2.6 ? .. i find the hm2-stepper config works fine , but my own will not move the steppers , both using the same custom BIT file
[17:09:28] -!- mhaberler [[email protected]] has joined #emc-devel
[17:15:59] <micges> in what way custom?
[17:16:36] -!- ve7it [[email protected]] has joined #emc-devel
[17:17:38] <cncbasher> just moved stepgen pin asignments
[17:18:30] <cncbasher> the custom BIT file works fine with the hm2-stepper config
[17:19:01] <micges> can you pastebin.com your ini and hal file
[17:21:36] -!- mhaberler has quit [Quit: mhaberler]
[17:23:46] -!- kb8wmc has quit [Read error: Connection reset by peer]
[17:24:16] <cncbasher> http://pastebin.com/download.php?i=e3fQyXfc
[17:25:40] <cncbasher> http://pastebin.com/download.php?i=cecAjqWg
[17:35:38] <micges> did you tried with servo-period = 1000 000
[17:36:12] -!- nullie has quit [Ping timeout: 276 seconds]
[17:38:32] <cncbasher> yes just tried it , still no luck
[17:38:50] <micges> see if you have watchdog bites
[17:39:08] <micges> hm3_7i43.0.watchdog_has_bit
[17:41:42] <cncbasher> no watch dog's running fine
[17:48:02] <micges> hmm
[17:48:07] <micges> configs seems fine
[17:48:36] <cncbasher> thought i might be missing something obvious
[17:49:12] <cncbasher> or if some new enable signal has been added
[17:49:23] <micges> motors are not moving at all?
[17:49:34] <cncbasher> no not moving at all
[17:49:57] <cncbasher> switch to the preconfigured hm2-stepper config
[17:50:23] <cncbasher> change to my custom bit file in the INI file , and it runs fine
[17:51:09] <cncbasher> but of course the hm2 config does not have any limits etc
[17:53:24] <micges> change line: 'loadrt hostmot2' to : loadrt hostmot2 debug_idrom=1, debug_module_descriptors=1, debug_modules=1
[17:53:29] <cncbasher> my thoughts were it could be soft limits , but with overide , i should still be able to move the steppers
[17:53:55] <micges> and pastebin output from command 'dmesg'
[17:54:00] <cncbasher> ok
[17:54:22] <micges> you don't have any warning messages? you can enable machine via F2 button?
[17:56:51] -!- Loetmichel has quit [Ping timeout: 250 seconds]
[17:57:13] <cncbasher> error invalid parameter debug_idrom
[17:58:30] <micges> sorry without periods
[18:04:36] <cncbasher> http://pastebin.com/download.php?i=Fi64DBLy
[18:04:43] <cncbasher> their you go
[18:12:13] <micges> weird
[18:12:25] <micges> everything seems ok
[18:19:39] <cncbasher> i have just try'd removing all the limit switches , so they do not have an effect , with still no luck
[18:19:49] <cncbasher> haha , seems to be my luck today
[18:20:37] <cncbasher> i am also trying to relate the hm2 stepper config to the standard reproduced by pncconf
[18:20:43] <cncbasher> and try and compare them
[18:21:41] <cncbasher> the hm2 stepper configs seem to be cryptic to me at the moment
[18:23:01] <cncbasher> thanks for your kind assistance , and giving them a look over
[18:28:13] <micges> try compare outputs from command 'halcmd show pin hm2' from those two configs
[18:30:31] <cncbasher> OK
[18:35:49] -!- awallin [[email protected]] has joined #emc-devel
[18:35:49] <cncbasher> arh !
[18:36:42] <cncbasher> my version runs as owner 12 , where the hm2-stepper runs as owner 10
[18:37:24] <CIA-11> EMC: 03jepler 07v2.5_branch * r78919de4a1c5 10/docs/man/man3/rtapi_get_time.3rtapi: Remove outdated warning about rtapi_get_time
[18:55:51] -!- mhaberler [[email protected]] has joined #emc-devel
[18:56:43] -!- GonMD has quit [Read error: Connection reset by peer]
[19:08:53] -!- danimal_garage has quit [Quit: KVIrc Insomnia 4.0.0, revision: 3900, sources date: 20100125, built on: 2011-03-15 15:32:03 UTC http://www.kvirc.net/]
[19:11:13] -!- mhaberler has quit [Quit: mhaberler]
[19:11:56] -!- sliptonic has quit [Ping timeout: 252 seconds]
[19:22:47] -!- vladimirek has quit [Remote host closed the connection]
[19:25:56] -!- e-ndy [[email protected]] has joined #emc-devel
[19:31:08] -!- skunkworks_ [[email protected]] has joined #emc-devel
[19:33:10] -!- mhaberler [[email protected]] has joined #emc-devel
[19:50:59] -!- Guest560 [[email protected]] has joined #emc-devel
[19:51:50] -!- mhaberler has quit [Quit: mhaberler]
[19:53:01] -!- skunkworks_ has quit [Remote host closed the connection]
[19:53:37] KimK_afk is now known as KimK
[19:58:49] -!- cncbasher has quit [Remote host closed the connection]
[20:08:42] -!- andypugh [andypugh!~andy2@cpc2-basl1-0-0-cust1037.basl.cable.virginmedia.com] has joined #emc-devel
[20:12:05] KimK is now known as KimK_afk
[20:14:02] -!- ewidance [[email protected]] has joined #emc-devel
[20:27:13] -!- psha has quit [Quit: leaving]
[20:44:42] -!- jthornton has quit [Ping timeout: 252 seconds]
[20:45:48] -!- jthornton [[email protected]] has joined #emc-devel
[20:45:56] -!- e-ndy has quit [Quit: Ex-Chat]
[20:47:29] -!- OoBIGeye has quit [Remote host closed the connection]
[20:51:12] -!- OoBIGeye_ has quit [Ping timeout: 276 seconds]
[20:55:30] -!- ewidance has quit [Quit: ewidance]
[20:57:03] -!- OoBIGeye has quit [Ping timeout: 276 seconds]
[20:59:14] -!- nullie has quit [Quit: Ex-Chat]
[21:04:19] -!- FinboySlick has quit [Quit: Leaving.]
[21:07:27] -!- OoBIGeye has quit [Ping timeout: 276 seconds]
[21:12:54] -!- Rogge_ has quit [Remote host closed the connection]
[21:16:06] -!- OoBIGeye has quit [Ping timeout: 260 seconds]
[21:19:55] -!- micges has quit [Quit: Ex-Chat]
[21:20:49] -!- syyl has quit [Quit: Leaving]
[21:23:04] -!- OoBIGeye has quit [Remote host closed the connection]
[21:28:36] -!- skunkworks has quit [Ping timeout: 252 seconds]
[21:34:46] -!- JT-Shop_ [[email protected]] has joined #emc-devel
[21:35:21] -!- OoBIGeye has quit [Ping timeout: 260 seconds]
[21:38:00] -!- JT-Shop has quit [Ping timeout: 276 seconds]
[21:38:11] JT-Shop_ is now known as JT-Shop
[21:40:36] -!- OoBIGeye has quit [Ping timeout: 260 seconds]
[21:47:01] -!- OoBIGeye has quit [Ping timeout: 260 seconds]
[21:47:30] -!- isssy has quit [Quit: Visitor from www.linuxcnc.org]
[21:49:47] -!- JT-Shop_ [[email protected]] has joined #emc-devel
[21:53:26] -!- JT-Shop has quit [Ping timeout: 250 seconds]
[21:53:28] JT-Shop_ is now known as JT-Shop
[21:54:27] -!- Fox_Muldr has quit [Ping timeout: 276 seconds]
[22:00:34] <andypugh> jepler: Do you have a few minutes?
[22:04:51] -!- OoBIGeye has quit [Ping timeout: 255 seconds]
[22:11:57] <jepler> andypugh: sure
[22:13:10] <andypugh> I am wondering why you think that the 7i65 card (which uses a comp driver to hook into the hm2 SPI functions) shouldn't export functions to HAL.
[22:14:18] <andypugh> I think I can probably figure out how to do it, but it seems quite a lot of work to make a HAL component that behaves differently to most.
[22:14:40] <andypugh> Though there are other HAL components that do not get added to a thread, such as trivkins.
[22:14:45] -!- OoBIGeye has quit [Ping timeout: 255 seconds]
[22:16:05] <jepler> basically, I think that the read and write functions of the board should take care of everything
[22:16:37] <andypugh> I am wanting to start another driver for the UART functions (somebody has hardware, and needs a driver) which sits on top of the same sort of structure, so want to know what that structure is going to be.
[22:16:41] <jepler> it's an accident of history that e.g., stepgen is part of the base hm2 driver (so no need to 'addf' it) while the 7i65 driver is not
[22:17:53] <jepler> if you structure the driver so that the non-monolithic sub-drivers do their own I/O from their own hal functions, I'm not sure how you fit that into tram
[22:18:50] <jepler> (fit into the design, I'm not saying "tram will get full" when I say "fit")
[22:19:05] <andypugh> Yes and no. "stepgen" controls a function running on the FPGA, and then other HAL functions hook into that that do need an addf. BSPI is the function running on the FPGA, and mesa_7i65 is a HAL component that uses that interface.
[22:19:42] -!- OoBIGeye has quit [Ping timeout: 255 seconds]
[22:20:33] <andypugh> The BSPI driver exports a TRAM registration function, and the base Hostmot2 code has been modified to allow on-the-fly TRAM reallocation.
[22:20:43] <jepler> can you tell me what the use case is for having a stepgen and a 7i65 both in a system, but not having their respective reads and writes right next to each other?
[22:21:27] <jepler> i.e., is there a case where you'de addf the stepgen read in one thread and the 7i65 read in a different thread ever?
[22:21:43] <andypugh> I can't think of one, but users are odd creatures.
[22:22:19] <andypugh> But, conversely, you do need to loadrt the mesa_7i65 component, and it might look odd not to then addf it.
[22:23:17] <jepler> I guess I don't see that as a point of 100% consistency
[22:23:24] <jepler> you don't addf anything from the hostmot2 component, for instance
[22:23:32] <jepler> you already mentioned another one with no functions, kinematics
[22:23:43] <andypugh> No, but you do addf hm2_pci.
[22:26:35] <andypugh> A secondary point it that I know no Python and don't know how to get comp to export no functions. It also means that BSPI drivers need to be written in a funny way in Comp. My idea was to make it reasonably easy for anyone to hook SPI devices up to a Mesa card, and having to use comp in a manner contrary to its manpage seems like a disadvatage.
[22:26:52] <jepler> do you think the driver will function properly if the hostmot2 read function is in one thread and the 7i65 write function is in another thread, so that the one in the fast thread can interrupt the one in the slow thread?
[22:27:27] <jepler> (of course, I don't know whether hostmot2 functions right if you read it in one thread and write it in a different thread..)
[22:27:53] -!- Justin_CNC has quit [Quit: Leaving]
[22:28:15] <jepler> I am pretty sure I'm just rehashing things I've said before, so if you remain unconvinced by my arguments, you know the problem better than I do. Feel free to do it your way.
[22:29:45] <andypugh> I think it would be OK, actually. All it can ever do is read valid data from the registers (TRAM read doesn't move) and write valid data to the TRAM. If it does it a few hundred times before the data actually gets transferred, so be it.
[22:30:06] <andypugh> And no, as far as I know we have never had this discussion.
[22:30:43] <andypugh> And you are starting to persuade me.
[22:31:30] <andypugh> It's the changes required to Comp, and the unorthodox structure of the Comp that concern me, and that's yoiur baby.
[22:32:14] <jepler> well, let's talk about that part then.
[22:32:18] -!- OoBIGeye has quit [Ping timeout: 255 seconds]
[22:32:36] <andypugh> I have already started on the linked-list of function calls inside the driver.
[22:32:55] <andypugh> But then realised I didn't know how to populate it.
[22:32:55] <jepler> we're talking about this error, right?
[22:32:55] <jepler> Realtime component must have at least one function
[22:32:58] <jepler> (from comp)
[22:33:04] <andypugh> Aye
[22:33:52] <jepler> that's a sanity check in comp that could easily just be removed
[22:34:00] <jepler> same for the "at least one pin" check, if it comes to that
[22:34:00] <andypugh> The docs specify mesa_7i65 as an example component, so the other points can be addressed by commenting that file "No functions declared, functions register themselves...."
[22:34:31] <jepler> these components will create pins, right?
[22:34:51] <andypugh> I can't imagine a BSPI function not exporting pins, what would be the point? They are far more likely to export too many pins.
[22:35:42] <andypugh> The basic function of the sub-driver is to link the pinless bspi component to HAL.
[22:37:46] -!- OoBIGeye has quit [Ping timeout: 260 seconds]
[22:38:22] <jepler> hm, I have to tickle comp in a few places before it's happy to produce a component with no functions
[22:40:44] <jepler> http://emergent.unpy.net/files/sandbox/0001-comp-allow-components-with-no-functions.patch
[22:42:25] <andypugh> Help out a git-noob here. Would I patch a branch from master with that, then rebase my dev branch onto the new branch?
[22:43:54] <jepler> maybe I should just push it
[22:43:57] <jepler> is this 2.5 work or master?
[22:44:04] <jepler> (your part aka the hard aprt)
[22:44:04] <andypugh> master
[22:44:29] <andypugh> I think 2.5 might be a bit too imminent for something this big.
[22:44:30] <jepler> let me just push it instead
[22:44:49] <jepler> and then you could continue by pulling and rebasing
[22:45:00] <andypugh> OK.
[22:45:28] -!- OoBIGeye has quit [Remote host closed the connection]
[22:45:49] <CIA-11> EMC: 03jepler 07v2.5_branch * rbae21f473459 10/src/ (6 files in 5 dirs): remove executable bit where it doesn't belong
[22:46:09] <jepler> (that's not it)
[22:47:51] <CIA-11> EMC: 03jepler 07master * r4994079d92b3 10/src/hal/utils/comp.g: comp: allow components with no functions
[22:48:05] <jepler> (that's it)
[22:49:18] <jepler> bbl
[22:52:54] -!- tlab has quit [Quit: Leaving]
[22:56:36] -!- OoBIGeye has quit [Ping timeout: 255 seconds]
[23:03:10] -!- OoBIGeye has quit [Remote host closed the connection]
[23:05:14] -!- sumpfralle has quit [Quit: Leaving.]
[23:11:31] -!- Guest560 has quit [Quit: Visitor from www.linuxcnc.org]
[23:18:39] -!- JT-Shop has quit [Quit: ChatZilla 0.9.87 [Firefox 5.0/20110615151330]]
[23:24:13] -!- JT-Shop [[email protected]] has joined #emc-devel
[23:27:44] -!- JT-Shop has quit [Client Quit]
[23:30:58] -!- robh__ has quit [Ping timeout: 240 seconds]
[23:37:42] -!- theos has quit [*.net *.split]
[23:37:42] -!- L84Supper has quit [*.net *.split]
[23:37:42] -!- Tom_itx has quit [*.net *.split]
[23:37:42] -!- morfic has quit [*.net *.split]
[23:37:43] -!- DustyDingo has quit [*.net *.split]
[23:37:43] -!- uwe_ has quit [*.net *.split]
[23:37:43] -!- logger[mah] has quit [*.net *.split]
[23:37:43] -!- X704 has quit [*.net *.split]
[23:37:44] -!- fragalot has quit [*.net *.split]
[23:41:02] -!- jeramee [[email protected]] has joined #emc-devel
[23:43:00] -!- morfic [morfic!~morfic@unaffiliated/morfic] has joined #emc-devel
[23:43:00] -!- logger[mah] [logger[mah][email protected]] has joined #emc-devel
[23:46:24] KimK_afk is now known as KimK
[23:56:28] KimK is now known as KimK_afk
[23:59:26] -!- sumpfralle1 has quit [Ping timeout: 260 seconds]