#emc-devel | Logs for 2010-06-30

[01:43:42] <CIA-2> EMC: 03cmorley 07v2.4_branch * r6ea190da6d30 10/src/emc/usr_intf/pncconf/ (pncconf.glade pncconf.py): Fix clearing of mesa data,calculation of mesa gpio pin numbers. 3X20
[12:38:35] <skunkworks_> logger_dev: bookmark
[12:38:35] <skunkworks_> Just this once .. here's the log: http://www.linuxcnc.org/irc/irc.freenode.net:6667/emcdevel/2010-06-30.txt
[12:54:01] <skunkworks_> SWPadnos: when you get a chance - can you start the logger on #emc
[12:54:07] <SWPadnos> sure
[12:54:18] <skunkworks_> oh - hey. Good morning
[12:55:14] <skunkworks_> Thanks a bunch!
[12:55:22] <SWPadnos> sure. thanks for noticing
[12:55:47] <skunkworks_> dad usually lets me know. ;)
[12:55:57] <skunkworks_> I just happened to catch it. :)
[12:55:59] <SWPadnos> heh
[12:56:33] <alex_joni> heh
[12:56:41] <alex_joni> hi skunkworks's dad
[12:56:57] <alex_joni> skunkworks_: how's the K&T coming?
[12:58:35] <skunkworks_> quite good. did you see this? http://www.youtube.com/watch?v=4nuRea6615s
[12:59:40] <skunkworks_> dad has all the parts for the timing pullys now - he actually found some of the taper hubs locally for cheap.
[13:05:45] <alex_joni> yeah, saw that.. nice
[14:35:31] <cradek> skunkworks_: that video is over a week old. we expect more.
[14:40:25] <skunkworks_> sorry - it is going to be a week more - We are traveling west on a camping trip.
[14:40:32] <skunkworks_> :)
[14:40:52] <skunkworks_> I don't think we are going to make it by lincon though. Not this time.
[14:40:56] <cradek> you bums
[14:41:31] <skunkworks_> heh
[14:44:37] <skunkworks_> should be fun
[14:45:01] <cradek> yeah, sounds pleasant. the weather is nice.
[14:46:06] <SWPadnos> shhh. don't say that out loud
[14:46:25] <cradek> sorry
[14:46:40] <skunkworks_> heh
[14:46:41] <SWPadnos> woo. my monitors shipped already
[15:10:43] <skunkworks_> cradek: you are right about the blue tooth mice.. Best buy didn't have any. It is funny they have some with 'blue technology' or something like that.
[15:12:55] <morficmobile> skunkworks_: that's the laser/light, it's blue
[15:13:05] <cradek> haha "blue technology"
[15:14:35] <skunkworks_> bought a logitech from newegg
[15:14:43] <SWPadnos> V470?
[15:15:15] <skunkworks_> yes - actually
[15:15:25] <skunkworks_> quick - what am I thinking now?
[15:15:32] <SWPadnos> just found that one with google :)
[15:15:36] <SWPadnos> that I'm a weirdo
[15:15:38] <SWPadnos> ?
[15:15:51] <skunkworks_> heh
[15:16:12] <skunkworks_> seems to have paired up just fine in windows.
[15:16:22] <skunkworks_> have not tried it in lucid yet
[15:16:24] <SWPadnos> I saw this keyboard at Best Buy in Cleveland: http://www.newegg.com/Product/Product.aspx?Item=N82E16823126043
[15:16:40] <SWPadnos> it's pretty nice (not BT, but itis Logitech and illiminated :) )
[15:16:43] <SWPadnos> it is
[15:36:42] <cradek> does keyboard illumination keep them warm in winter?
[15:37:02] <SWPadnos> probably a little bit
[15:37:50] <skunkworks_> I love my latop with illuminated keys
[15:38:02] <skunkworks_> great for working in the dark ;)
[15:38:31] <SWPadnos> yeah, it's one of two things I'd change about my new laptop
[15:38:34] <SWPadnos> well, three things
[15:38:35] <cradek> that seems to me like it would just cost more battery and cause more unwanted heat
[15:52:10] <jepler> who needs to see the keyboard to operate a computer? that's pretty much crazy talk.
[15:53:10] <skunkworks_> when you have to do a function-alt-print screen.
[15:53:13] <skunkworks_> ;)
[15:53:48] <cradek> jepler: perhaps persons whose sense of touch is impaired?
[15:54:14] <skunkworks_> you guyz
[15:56:14] <jepler> that could sure make all keyboarding into hell
[15:56:36] <jepler> like getting stuck on a keybpard that has dots on d and k instead of lines on f and j
[15:56:45] <jepler> hah keybpard
[15:57:40] <SWPadnos> it's nice when you're looking for some function key or other and you don't want to wake anyone by turning on a light
[15:59:15] <cradek> mine has a ThinkLight(tm) but I'm pretty sure I haven't ever used it
[15:59:29] <SWPadnos> is that the little LED that shines on the keyboard?
[15:59:32] <jepler> I had a thinkpad with a light in it too -- it was an LED at the top of the screen which pointed at the keyboard
[15:59:33] <cradek> yes
[15:59:35] <jepler> I rarely used it
[16:00:04] <cradek> it doesn't add much over the existing screen brightness anyway
[16:00:52] <skunkworks_> that is what I used to do - tip the screen down so it illuminatest the keyaboard
[16:01:06] <skunkworks_> illiminatest?
[16:02:02] <cradek> illuminatest the keyaboard?
[16:02:10] <cradek> NEED MORE LIGHT
[16:02:22] <SWPadnos> boom chaka boom boom
[16:02:25] <SWPadnos> sorry
[16:06:33] <alex_joni> illuminati?
[16:07:05] <mshaver> No, just me Alex.
[16:07:19] <mshaver> The Illuminati will be along shortly...
[16:07:24] <SWPadnos> phew!
[16:07:54] <alex_joni> SWPadnos: re that logitech keyboard from newegg
[16:08:00] <SWPadnos> yah
[16:08:02] <alex_joni> I hate keyboards without a proper delete key
[16:08:09] <SWPadnos> heh
[16:08:28] <alex_joni> with the big insert button, which I really *rarely* use
[16:08:34] <SWPadnos> it's missing the insert key in the center area
[16:08:40] <SWPadnos> which was an annoying thing
[16:08:52] <SWPadnos> along with the mini backslash key
[16:09:02] <cradek> oh I didn't even notice it has a bizarre layout
[16:09:11] <cradek> that's right out
[16:09:18] <SWPadnos> it's a relatively common one these days
[16:09:26] <cradek> bleh
[16:09:29] <SWPadnos> it's getting harder and harder to find a "normal" layout
[16:10:01] <mshaver> jepler: cradek, et al - Yesterday's segfault in AXIS was on a system that failed memtest, so it's a hardware problem. Just thought you'd like to know.
[16:10:06] <alex_joni> I wonder what they were thinking when they came up with that
[16:10:12] <alex_joni> mshaver: cool
[16:10:22] <alex_joni> sounds like an easy fix then
[16:10:23] <jepler> it also has a fail/fail lock key (possibly the F-keys are broken by default) and I don't spot the right-windows or menu keys
[16:10:28] <SWPadnos> found thins nice little case: http://www.newegg.com/Product/Product.aspx?Item=N82E16811163151
[16:10:29] <jepler> mshaver: thanks for the update
[16:10:44] <cradek> mshaver: yay, that's easy to fix
[16:11:05] <cradek> well, "normal" layouts don't have windows or menu keys anyway
[16:11:26] <SWPadnos> jepler, yeah, I couldn't plug it into anything at Best Buy, so I don't know if the Fn key makes F1-F12 work or the audio functions work
[16:11:31] <SWPadnos> heh, that's true
[16:11:42] <SWPadnos> I like the stuff compiz does with the windows key though
[16:11:46] <alex_joni> seems the Fxx keys aren't illuminated, just the symbols above
[16:11:51] <SWPadnos> actually makes it useful
[16:12:15] <SWPadnos> yeah, I didn't see the illumination on either, since it wasn't plugged into anything
[16:12:24] <jepler> oh the windows key has been useful for a long time in linux
[16:12:43] <cradek> (what'd they do with scroll lock?)
[16:12:51] <SWPadnos> heh, qho needs it? :)
[16:12:53] <SWPadnos> who
[16:13:33] <alex_joni> the who
[16:13:43] <SWPadnos> oh. well in that case ...
[16:16:59] <jepler> (and since you can get a proper buckling spring keyboard with the win/menu keys there's no reason to be grumpy about them .. http://pckeyboards.stores.yahoo.net/en104bl.html )
[16:22:08] <cradek> nevertheless I prefer to not have them
[16:23:19] <cradek> which I guess they also still make: http://ep.yimg.com/ca/I/pckeyboards_2104_7165
[16:24:13] <cradek> huh, they are only $69. It makes me happy to know that.
[17:37:27] <jepler> hm, it looks like those keyboards don't have the finger-placement hints on F, J and KP_5
[17:38:16] <SWPadnos> the ones from pckeyboards?
[17:38:20] <jepler> right
[17:38:41] <SWPadnos> hard to tell from the angle
[17:38:45] <jepler> this being the biggest photo I found, of the space saver 104 in black: http://ep.yimg.com/ca/I/pckeyboards_2101_41087
[17:39:21] <jepler> hm, and a piece of plastic in the spot where the buttons of the integrated pointing device would ahve gone
[17:39:53] <SWPadnos> heh
[17:40:09] <SWPadnos> http://ep.yimg.com/ca/I/pckeyboards_2097_627460
[17:40:10] <cradek> the real ones have bottom-lines instead of center-dots on F/J
[17:41:15] <jepler> all 3 keyboards I have here (one IBM, one Dell and one Microsoft) have bars on F/J/5
[17:42:06] <SWPadnos> yep. my Keytronic is the same way
[17:42:18] <SWPadnos> still works great after nearly 10 years
[17:42:36] <jepler> kids these days
[17:42:49] <jepler> Date: 03-25-91
[17:42:58] <cradek> heh, the one I'm using now is 24 (dated '86)
[17:43:00] <SWPadnos> wow, that's pretty old
[17:43:06] <jepler> I'm sure cradek wins
[17:43:18] <SWPadnos> but I had to buy a new one when I started my new company - couldn
[17:43:34] <SWPadnos> couldn't take the old one from the previous office
[17:45:03] <cradek> the other keyboard on my desk (kvm console) is an HP model marked '92 (same layout with no extra unwanted keys)
[17:46:16] <jepler> what in the world happened here? http://geekhack.org/showpost.php?s=4326986c716445a4c9ddbb8743638577&p=115270&postcount=6
[17:46:57] <cradek> no idea
[17:47:43] <cradek> I think the implication is that it burned
[17:48:29] <jepler> but how?
[17:48:52] <cradek> I don't think that information is supplied
[17:51:12] <jepler> http://www.flickr.com/photos/kickstart70/sets/72157600262869570/
[17:52:21] <jepler> http://www.symbian-freak.com/forum/viewtopic.php?f=24&t=38845&sid=58716ab516f3f82c755f74b6d521d7ad
[17:53:01] <jepler> http://failblog.org/2008/06/06/heat-gun-fail/
[17:54:01] <cradek> lmao epic zommmg
[17:54:12] <cradek> dude you are a fail
[17:54:56] <cradek> omfg you fail sD
[17:56:11] <jepler> don't read the comments!
[18:06:40] <Jymmm> Yeah jepler is the official old fart with a 92 keyboard
[18:08:55] <Jymmm> * Jymmm quietly covers up the IBM Model M kybd
[18:11:02] <Jymmm> Actually, I should take it apart and replace the LED's.
[18:11:36] <cradek> eh? LEDs don't wear out...
[18:11:52] <SWPadnos> but they're not pretty colors
[18:12:06] <cradek> you damn kids
[18:12:22] <SWPadnos> your keyboard is almost as old as you
[18:12:38] <SWPadnos> I think I would only be able to have a Cherry if that were true for me
[18:13:34] <Jymmm> 100,000 hours / 24 hr = 4167 Days / 365 days = 11.4 Years + 1993 = 2004
[18:13:43] <cradek> weirdly, mine doesn't have LEDs. I don't know why it doesn't - I've never seen another one like it
[18:13:55] <SWPadnos> that's 100000 power on hours
[18:14:02] <jepler> cradek: clearly you need to get it on ebay as a collectible
[18:14:06] <SWPadnos> so num-lock could be dead ;)
[18:15:02] <Jymmm> SWPadnos: Yeah, and I know scroll lock never had any hours on it, so maybe the caps or somethign need to be replaced.
[18:15:22] <SWPadnos> just swap the scroll=lock and num-lock LEDs
[18:15:42] <Jymmm> SWPadnos: ALL the leds are out, so I'm thinking maybe the PCB
[18:16:15] <SWPadnos> weired
[18:16:19] <SWPadnos> weird
[18:16:24] <Jymmm> leaky caps *shrug*
[18:17:24] <Jymmm> I need to toss it in the dishwasher =)
[18:18:17] <cradek> http://c2.api.ning.com/files/Kc4I9NA-hvDf-Op7NZj7AcHD0u7CJImyaonuvNH73mbawZcllRxXAmjRUzhPN2aS0u19TaRmhmquLKlw7T1T6Dy7oIjqF2hy/Original_IBM_PS2.jpg
[18:18:36] <cradek> I do prefer slightly more modern mice though...
[18:18:45] <jepler> that can't have been much of a pleasure to use
[18:20:28] <jepler> hah! this clicky-keyboard company sells earplugs "for co-workers or significant others" of their users. http://www.daskeyboard.com/products/
[18:20:47] <jepler> (also linux keycaps just in case that's important to you)
[18:21:01] <jepler> what a regrettable typeface on their keys, though.
[18:21:11] <cradek> "the early 1390120 series did not feature LED indicators for the locking keys" (wikipedia)
[18:23:26] <Jymmm> i REALLY like my new keyboard as a modern replacement for my IBM Model M's... http://store.apple.com/us/product/MB110LL/A
[18:23:42] <cradek> this is the one I have here: http://www.clickykeyboards.com/index.cfm/fa/items.main/parentcat/9230/subcatid/0/id/381472
[18:23:49] <cradek> except grungier
[18:24:34] <Jymmm> cradek: I second that
[18:25:01] <cradek> heh, mine was made 9 days after that one
[18:25:07] <jepler> I've never used one of those mac keyboards. I expect to be unimpressed, though, as I like the travel and noise of the model m so much
[18:25:30] <jepler> also I think I like the concave of this keyboard's keys, compared to the apparent flatness of those
[18:25:52] <cradek> at least they have pgup/pgdn keys, but yeah, I doubt I'd care for it
[18:26:06] <Jymmm> jepler: I didn't think I would like it either, but after I tried it for a while, I really like it.
[18:26:56] <Jymmm> It's one of those kybds that you'll either love it or hate it. But give it a feel at least once.
[18:27:13] <cradek> I wonder why "thin" and "lightweight" are features for a keyboard
[18:27:28] <alex_joni> I have a cheap logitech at work, but with full height keys
[18:27:48] <alex_joni> lots less noisy than a model M, but similar stroke, and key feel
[18:28:50] <alex_joni> something like this: http://www.newegg.com/Product/Product.aspx?Item=N82E16823126096&cm_re=logitech_keyboard-_-23-126-096-_-Product
[18:29:56] <alex_joni> haha.. this selection list is moronic: http://www.logitech.com/en-us/keyboards/keyboards/
[18:30:15] <alex_joni> if you select PC only one is left
[18:30:25] <cradek> ha
[18:30:47] <alex_joni> and the K120 disappears if you select "Windows compatible"
[18:31:45] <cradek> can you check "has a fail lock key"?
[18:32:53] <alex_joni> nope, but you can check gaming
[18:33:05] <alex_joni> and you get something strangely related to a keyboard
[18:33:11] <alex_joni> http://profissaogamemaster.files.wordpress.com/2010/03/logitech-keyboard.jpg
[18:33:24] <cradek> hahahaha
[18:34:02] <jepler> please tell me that's an imaginary made-up picture, not a combination of actual products
[18:34:02] <cradek> maybe it's a combination keyboard-bagpipes
[18:34:35] <alex_joni> jepler: I can't tell you that
[18:34:36] <cradek> it'd be annoying to have a levitating keyboard and mouse
[18:34:46] <SWPadnos> huh. that's a cool keypad on the left
[18:34:47] <jepler> wireless and 100% gravity free
[18:35:04] <alex_joni> it's a G19 keyboard + G13 gameboard
[18:35:04] <cradek> what's the center thing? skull x-ray accessory?
[18:35:09] <alex_joni> + some headphones
[18:35:24] <alex_joni> cradek: that's a 200$ LCD
[18:35:31] <SWPadnos> seems a bit much
[18:35:37] <alex_joni> or more
[18:36:03] <alex_joni> http://www.newegg.com/Product/Product.aspx?Item=N82E16823126053&Tpk=g19%20logitech
[18:36:07] <SWPadnos> then there's this: http://www.blackmagic-design.com/davinci/resolve/
[18:36:11] <Jymmm> http://www.pertelian.com/joomla/index.php?option=com_content&task=view&id=43&Itemid=48
[18:36:45] <alex_joni> "The ability to set your key backlighting to nearly any color in the spectrum and then save three different color profiles (tied to your 3 sets of macro profiles). You don't just pick from a predefined color but you are able to manipulate the spectrum in the usual manner and vary intensity/contrast of the color selection. This should appeal to all tastes."
[18:37:45] <cradek> what if it's your taste that you don't pay for gimmicky crap?
[18:38:13] <SWPadnos> then you should save your $29,995 and not buy that DaVinci control surface (and software)
[18:38:21] <cradek> eeee
[18:38:30] <SWPadnos> oh, plus $19,995 extra for the Linux version
[18:38:35] <Jymmm> cradek: It's not a gimmick. It's literally everything else non-game related.... email, IM, etc
[18:38:52] <jepler> SWPadnos: you seem to have accidentally switched to a locale that uses "," instead of "." for the decimal point
[18:39:03] <SWPadnos> heh
[18:39:11] <SWPadnos> and charges in fractions of a cent also ;)
[18:39:23] <Jymmm> just like gasoline
[18:39:28] <Jymmm> 3.219
[18:41:59] <Jymmm> "I nought exactly 1.0 gallons of gas, gimme my 1/10 of a cent change!"
[18:42:38] <Jymmm> Hmmm, I wonder what the return policy is on gas?
[18:43:17] <Jymmm> Buy this week for $3.20, wait till it goes down then return it.
[19:16:18] <jepler> here's your backlit keyboard: http://www.dealextreme.com/details.dx/sku.32245
[19:16:47] <cradek> Cons: - It's a bit hard to type
[19:16:49] <cradek> ha
[19:17:07] <jepler> ooh here's another "worst keyboard" entrant: http://www.dealextreme.com/details.dx/sku.35861
[19:17:31] <Jymmm> I'm actually getting ready to order the trackpad/kybd but the blurtooth ione
[19:17:53] <Jymmm> http://www.dealextreme.com/details.dx/sku.34355
[19:19:05] <Jymmm> hoping it works good for the TV PC
[19:44:25] <alex_joni> http://www.youtube.com/watch?v=fzza-ZbEY70
[19:50:08] <Jymmm> Interesting... http://mathworld.wolfram.com/PiDigits.html
[19:54:08] <awallin> alex_joni: hows' your norwegian...
[19:55:28] <awallin> Jymmm: http://scienceblogs.com/goodmath/2010/06/the_surprises_never_eend_the_u.php
[19:57:20] <Jymmm> awallin: I have a theory on that, but dont want to go there right now.
[19:57:44] <awallin> the margin is too narrow - I understand...
[19:57:57] <Jymmm> awallin: No, just busy atm =)
[19:59:02] <alex_joni> awallin: better than ever..
[19:59:05] <alex_joni> 0 > 0
[20:00:43] <awallin> any new features added/planned for emc during fest?
[20:01:32] <jepler> nothing too big. Personally, I fixed bugs more than I worked on new stuff..
[20:10:30] <cradek> http://timeguy.com/cradek-files/emc/origin-preview.png
[20:10:54] <cradek> my favorite new feature: fixing how rotated coordinate systems, g5x, and g92 interact, and representing it visually in the AXIS preview
[20:12:30] <jepler> I spent some time working on something I haven't released yet, infrastructure code for writing modbus components in Python (I'm not sure whether it has anything to offer above using CL for that purpose, now that its worst modbus bugs are vanquished)
[20:15:23] <skunkworks_> cradek: that is awesome!
[20:16:32] <andypugh> I like that.
[20:17:57] <cradek> thanks
[20:18:37] <jepler> I'll be all over that (and coordinate system rotation itself) if I ever find the courage to do a double-sided board
[20:20:41] <skunkworks_> cradek: you had degrees in there also - didn't you?
[20:21:15] <cradek> it shows the G5x rotation in degrees in the BIGDRO but not in this preview
[20:21:45] <cradek> well you can see it visually, it's something like -20 or -30
[20:22:03] <skunkworks_> makes sense
[20:22:45] <cradek> hm, I bet probing isn't right in this setup
[20:27:13] <cradek> yes actually, I bet it is right
[20:27:14] <cradek> yay
[20:29:38] <cradek> I hadn't thought of using it for pcbs. that'd work nicely even if the board was not aligned. you'd locate two holes that are supposed to be horizontal and you can calculate the degrees of rotation directly from that
[20:29:59] <cradek> then set rotation to match the board, and locate and touch off any feature
[20:34:52] <SWPadnos> hmmm. you need too many numbers to let emc figure it out for you
[20:35:13] <SWPadnos> x1,y1, x1,y2, expected x2,y2
[20:35:21] <SWPadnos> (or some such)
[20:35:22] <cradek> huh?
[20:35:49] <SWPadnos> well, it occurred to me that it would be nice to be able to set the offsets with XYIJ
[20:36:08] <SWPadnos> but you also need the expected position of the second point
[20:36:54] <cradek> well sorta
[20:37:07] <SWPadnos> or at least part of it
[20:37:26] <SWPadnos> unless you restrict it to "two points along the X axis" or something
[20:43:27] <jepler> temporarily touch off at x1,y1. jog to x2, y2. DRO will read x=x2-x1, y=y2-y1. angle=atan2(y,x).
[20:44:19] <cradek> g10 l2 p1 r[atan[dro y]/[dro x]]
[20:45:15] <cradek> jepler: darn, we never worked on the spreadsheetish touchoff
[20:45:36] <jepler> drat and darn indeed
[20:45:44] <cradek> I completely forgot about it
[20:46:19] <cradek> (huh, I just realized touchy has equivalent functionality)
[20:46:46] <cradek> I very often do x and y together (like after probing a hole center)
[20:50:12] <andypugh> Does anyone recall what was done recently about /DONE on CPLD reset in Hostmot?
[20:50:35] <andypugh> the words look familiar, but I was not paying attention.
[20:52:02] <jepler> andypugh: git show 2353319 and/or git show 5179344
[20:52:54] <andypugh> In fact, if anyone has a few moments, could they look at hm2_7i43.c arounf line 452. I have a feeling that if the reset function returns an error, the driver continues blithely on and ends up saying you have the wrong board, whereas in fact it only means the board isn't talking.
[20:55:08] <jepler> yes, I think you're right
[21:02:24] <andypugh> OK, so it isn't that I have the wrong board, or that the board is being actually misdetected, but that the reset isn't working.
[21:03:06] <jepler> do you have 2353319 ?
[21:03:21] <andypugh> I did a pull rebase not an hour ago
[21:04:43] <jepler> did you have this problem before that commit?
[21:05:00] <jepler> or is it new in the last week or so?
[21:05:12] <andypugh> My situation is a little different, I have a 400k card, which isn't resetting, and is telling me I have a 200k card and a 400k bitfile
[21:06:41] <andypugh> It might well be a dodgy bitfile, it is an experimental one with SmartSerial.
[21:07:00] <jepler> if you load a "bad" bitfile it is possible for the PC to be unable to reset the FPGA
[21:07:19] <jepler> so it might be worth trying to produce this issue using a regular bitfile..
[21:07:52] <jepler> you could also try experimentally reverting 2353319 (it's as easy as: git revert 2353319)
[21:08:16] <jepler> do you have parport_pc loaded or not (yes if you have output from lsmod | grep parport_pc)
[21:08:26] <andypugh> I have loaded known-good 400k bitfiles earlier today, so I will get back to Peter.
[21:08:51] <andypugh> And yes, I have parport_pc
[21:09:47] <andypugh> I am not sure what is going on though.
[21:09:49] <andypugh> fatal: Entry 'src/hal/drivers/mesa-hostmot2/hm2_7i43.c' not uptodate. Cannot merge.
[21:10:53] <jepler> oh, you have uncommitted changes to the same file that would be modified by the revert
[21:10:59] <jepler> so I lied when I said it was easy :-/
[21:11:12] <andypugh> I am in a development branch of my own, but don't think that should have done anything to hm2_7i43 (which I have never actually touched)
[21:11:44] <andypugh> No, I am wrong, I have put in diagnostic telltales.
[21:11:52] <jepler> I thought that might be the case
[21:11:59] <jepler> I find that often git is right and I am wrong
[21:12:00] <andypugh> let me hop back to master and try again
[21:14:15] <jepler> bbl
[21:14:18] <andypugh> I think this is something I really need to learn. Do git have a way to revert a file back to the last pull?
[21:14:36] <jepler> you mean, you simply want to discard the changes you made to hm2_7i43.c and have not committed?
[21:14:44] <jepler> git checkout hm2_7i43.c
[21:15:00] <andypugh> Ideal
[21:15:57] <jepler> (that's a different meaning than 'git checkout master', which is about switching branches)
[21:17:45] <andypugh> It is staying changed.
[21:17:59] <andypugh> I will carry on fiddling
[21:29:35] <andypugh> jepler: I reverted, still the same. I will bounce it back to PCW.
[21:37:51] <andypugh> In more detail, after a hard reset of PC and board, the first attempt to load returns the correct board type and an EPP timeout. The second attempt gives a failed reset. This is the same with and without 2353319. It looks like the bitfile.
[21:55:28] <jepler> andypugh: thanks for testing that
[21:55:49] <jepler> andypugh: I'm relieved to hear that 2353319 didn't introduce the problem; I'd have been pulling my hair out over it.
[21:56:59] <andypugh> I have submitted a tiny wee patch to the dev list
[22:02:44] <jepler> I suspect the patch is not right. After the failure, you have to hal_parport_release, just like for the case below where hm2_register() fails. and you can return 'r' instead of a fixed value of -EIO just in case hm2_7i43_reset ever gets the ability to return new, more interesting errors
[22:04:52] <jepler> (if you assign r = hm2_7i43_reset() that is)
[22:09:28] <andypugh> That involves wastefully declaring a new variable though :-)
[22:10:02] <andypugh> And I saw you railing against adding retvals to functions last night, so was nevous.
[22:15:59] <jepler> that's different
[22:16:09] <jepler> just adding 'r = hm2_7i43_reset()' and changing nothing else is wrong
[22:16:23] <jepler> adding 'r = hm2_7i43_reset()' and then *doing something sensible when r indicates failure* is right
[22:17:45] <andypugh> OK. Well, I am sure somebody with commit access can come up with a better solution now I have pointed it out.