Scraping an Ammco metal shaper counter-shaft base

One of my projects was to replace a worn counter shaft on my ammco metal shaper replace the babbit bearing with Bronze.
A friend with a jig-bore machine the counter shaft for me in his jig-bore to fit the bushings.

I got the thing completely rebuilt, repainted and ready to install and I noticed that the base rocked when I was getting read to  bolt it down.  I suppose I could have shimmed it with some washer but that just seem like a slock solution to me.  Machining the base was out of the question, my mill isn’t big enough to mount the assembly and I couldn’t really dissemble without major pain..
What to do.  So… I thought I give my Armstrong scraping tool a whirl.   The following pictures shows the progression of the scraping project:
Initial Scraping

 Middle

 Finshed

A few years back I got Mike Morgans video on scraping and went to town scrapping a cast iron surface plate I had. I wound up giving myself tennis elbow, or should I say scrapping elbow and took a good year to heal. So I you decide to scrape all I have to say is keep the elbow tucked against your body and let your hips do the work.

Now I got the thing almost as flat as a surface plate and life is good…

Posted in Machining | Leave a comment

More on digital photo compression on Ubuntu Linux.

Ok… I was looking over my last post and it looks like I was coming off a bad week…. This week seems better but I’ve got some things piling up on my gtd list that I’ve been wanting to get done.

I’ve been taking some pictures of some shop projects that I’ve been wanting to post on my blog.  But they are just way to big.

I’ve had this thread bookmarked for a long time and just haven’t had the time to really go through it: http://ubuntuforums.org/archive/index.php/t-518662.html

From what I gather to reduce file size of a picture you can:

  • Reduce the image size
  • Reduce the number of colors
  • Save in a different format

That seems fairly self evident.
Well… lets see what I got here..
I have a series of really pretty pictures of my counter-shaft base of my ammco shaper. Err… starting to get off OT here.. Lets just say, I just have this nice picture buts its big.

I fired up the GIMP (I’m sorry put I can’t help but keep thinking of Pulp Fiction when I write that)and went to Image properties.  Its a JPEG 2272 X 1740 pixels, print size 31.556 X 23.667 Inches, Resolution 72 X 72 ppi, 831 KB.
I did a quick google search “gimp how is print size calculated” and came up with link http://docs.gimp.org/en/gimp-image-print-size.html

First experiment. Take Image save as Png (compression level 9).
Lets see what I got.  Hmm.. Everything else is the same… file size just shot up to 5.26Mb..

Second experiment.  I just tried Image=>Scale and changed the image scale to 640X480. When I saved as Jpeg it asked me about quality.. I selected 50%. Seemed like a reasonable number. (File size was 40.1 Kb) That’s better.
Let me try that again with maximum quality and see what happens. at Maximum Quality it shoots up to 309.7 KB (picture seems nicer but file size is not that great

I just tried Image mode indexing and save at 85% quality with web colors enabled.  Looks like crap.  Saved as Jpeg at original Original image scale.  File size at 821KB…

Another experiment. I changed to 640 X 480 saved as Png max compression. 536.8 KB

Ok… It’s seems for me at the moment, the best result I came up with using the Gimp, was 640X480 resolution and saved with 50% qc.  I reduced the file size from 831.7 Kb to 40.1 KB.. This seems reasonable..
For now, I’m just going to do this one at a time.  The post had some methods for doing this in batch mode.

Posted in Uncategorized | Leave a comment

Compressing Digital photos and Metal shaper woes

I love these blogs of people who have these perfect projects where everything works perfectly…. Well this ain’t one of those blogs…..

I was mowing my lawn last Sunday with my recycled push-mower and a broke a roller bracket.  No problem… I’ll just make a new one..

So.. I find a piece of steel in the scrap box that’s about right and mount in my mill and start planning away..  This is just taking way longer turning cranks since the material appears to be hardened, so…. I figure, I have this darn shaper with the auto crossfeed, I might as well use it.  Fine… great idea. After all the name of this site is metalshaperman.com

So… I start machining with a bit I had from turning, which totally doesn’t have the right geometry.  It works but belt on the motor is slipping quite a bit.  The belt is really worn so, I get a new one.. Somewhere between a 4L270 and a 4L260…  I get the 4L270 and the thing is loose (but I still have adjustment).  I bring it back to my local Napa and get the 4L260 and the Belt to too tight (No adjustment)..  I figure the original was a 4L260 and it needed to work in a little… So.. I fire up the shaper and I goes a couple of strokes and the friking motor seizes… What the… Anyway, I think what happened is that the motor pulley moved and when is jambed against the housing.  At least that’s what I hope.

Anyway… I figured I thought it be nice to take a couple of pictures of the bracket and the work in progress on the shaper.  So… I’m having all these issues getting a picture uploaded, and now I need to reduce the resolution of my pictures cause they are just way too big….  I found a nice link on how to do that…. http://ubuntuforums.org/archive/index.php/t-518662.html

So… my quite time in the morning is all burned up with nothing to show.
Hopefully…. this is not the start of a bad day….

Posted in Uncategorized | Leave a comment

Messing around with openGl

My little one has been asking me make her a computer game and  some toys out of plastic…  Can’t be wood or metal… Needs to be plastic.

Hmmm. The computergame I think I can handle…. The toys out of plastic is on the todo list..

Wth the weather cooling off, someone being back in school, this has made it convenient again for me to be messing around on the computer….

Heekscad is still a little bit too much for me so, slowing down and going through OpenGl is a good thing.

I stumbled across a very good tutorial series on OpenGl at this site. http://www.videotutorialsrock.com/index.php

It’s actually quite interesting too me.  I’ve been taking it slow to minize brain overload and so far I’ve made why way into part 1 textures.  I’m making a little side trips going through the BMP file format in wikipedia. which is rather interesting in itself.  (Have you hugged you little endian today..)

I managed to get my graphics card really working a few weeks back so this has been fun for me.

I am really impressed by this tutorial…  When I become proficient at OpenCascade I wouldn’t mind doing something like this.

The plastic toy thing is really intriguing to me.   Originally I told my child that oh….we we need to injection mold a toy…. Images of building Vince Gingery Injection Modeling machine and complex machining of a mold came to mind….. Yuckk…. (Way too many irons on the fire for that)… But.. Yah figure I get this OpenGL game thing under my belt… Start doing the Heekscad thing….  What the hey…. Have my child design some toys using solid modeling… Port it out to and STL file and do some rapid prototyping….

There’s actually an open source Rapid Prototyping project.  Man…. there is just way too much interesting stuff out there….. Darn…. I’m going to need to get the rest of the Linistepper drivers build up that are collecting dust…. Hmmm.. I wonder if six year old can solder?  (Just kidding…. )

Posted in C++, Uncategorized | Leave a comment

And Now for Something Completely Different

Louie

Posted in Uncategorized | Leave a comment

Trying to get my Nvidia Model P73 Geforce4 MX 420 to run on 8.04 Hardy Ubuntu

I found this link that got me going.

http://www.thinkingserious.com/2008/04/19/fix-nvidia-drivers-after-hardy-heron-rc1-upgrade/

I tried envyNG  a go, and it worked to about but I was unable to enable the custom driver.

I need to retrace some of my previous posts…

Ok… Video card I have

Ok… to see what kind of video card
https://help.ubuntu.com/community/Video

jonas@Ubuntu4:~$ lspci | grep VGA
01:00.0 VGA compatible controller: nVidia Corporation NV17 [GeForce4 MX 420] (rev a3)
jonas@Ubuntu4:~$ lspci -n
00:00.0 0600: 1106:0314
00:00.1 0600: 1106:1314
00:00.2 0600: 1106:2314
00:00.3 0600: 1106:3208
00:00.4 0600: 1106:4314
00:00.7 0600: 1106:7314
00:01.0 0604: 1106:b198
00:0b.0 0401: 1102:0004 (rev 04)
00:0b.2 0c00: 1102:4001 (rev 04)
00:0f.0 0104: 1106:3149 (rev 80)
00:0f.1 0101: 1106:0571 (rev 06)
00:10.0 0c03: 1106:3038 (rev 81)
00:10.1 0c03: 1106:3038 (rev 81)
00:10.2 0c03: 1106:3038 (rev 81)
00:10.3 0c03: 1106:3038 (rev 81)
00:10.4 0c03: 1106:3104 (rev 86)
00:11.0 0601: 1106:3227
00:11.5 0401: 1106:3059 (rev 60)
00:11.6 0780: 1106:3068 (rev 80)
00:12.0 0200: 1106:3065 (rev 78)
01:00.0 0300: 10de:0172 (rev a3)
jonas@Ubuntu4:~$

Ok… At the moment I’m reading a the documentation for 96.43.05 Driver which tells me that this is the correct driver for this card.
I have that on my EnvyNG list of drivers installed….. So I’m going to give that a go.

I read somewhere about firing up

jonas@Ubuntu4:~$ nvidia-settings

Clicking through the tabs, I think I found my issue.

Fail to query the GLX server vendor.

This looks real promising
http://ubuntuforums.org/showthread.php?t=1148293&highlight=Fail+query+GLX+server+vendor.

Ok.. so I think

So
I ran this

ERROR: Please run nvidia-bug-report.sh as root.
jonas@Ubuntu4:~/Desktop$ sudo Run nvidia-bug-report.sh
[sudo] password for jonas:
sudo: Run: command not found
jonas@Ubuntu4:~/Desktop$ sudo nvidia-bug-report.sh

Running nvidia-bug-report.sh… complete.

The file nvidia-bug-report.log has been created; please send this report,
along with a description of your bug, to linux-bugs@nvidia.com.

jonas@Ubuntu4:~/Desktop$ gedit nvidia-bug-report.log

And it looks like the issue is this:

-> Kernel messages:
[ 55.369842] lo: Disabled Privacy Extensions
[ 55.913898] NVRM: API mismatch: the client has the version 96.43.05, but
[ 55.913902] NVRM: this kernel module has the version 71.86.04. Please
[ 55.913903] NVRM: make sure that this kernel module and all NVIDIA driver
[ 55.913904] NVRM: components have the same version.
[ 61.003630] NVRM: API mismatch: the client has the version 96.43.05, but
[ 61.003634] NVRM: this kernel module has the version 71.86.04. Please
[ 61.003636] NVRM: make sure that this kernel module and all NVIDIA driver
[ 61.003637] NVRM: components have the same version.
[ 66.305597] eth0: no IPv6 routers present
[ 119.239670] UDF-fs: No VRS found
[ 119.240249] UDF-fs: No VRS found
[ 119.301101] ISO 9660 Extensions: Microsoft Joliet Level 1
[ 120.618839] ISO 9660 Extensions: Microsoft Joliet Level 3
[ 120.620711] ISOFS: changing to secondary root
[ 120.621217] ISOFS: changing to secondary root
[ 4178.822549] agpgart: Found an AGP 3.5 compliant device at 0000:00:00.0.
[ 4178.823091] agpgart: Device is in legacy mode, falling back to 2.x
[ 4178.823240] agpgart: Putting AGP V2 device at 0000:00:00.0 into 4x mode
[ 4178.823470] agpgart: Putting AGP V2 device at 0000:01:00.0 into 4x mode
[ 4179.021178] agpgart: Found an AGP 3.5 compliant device at 0000:00:00.0.
[ 4179.021589] agpgart: Device is in legacy mode, falling back to 2.x
[ 4179.021773] agpgart: Putting AGP V2 device at 0000:00:00.0 into 4x mode
[ 4179.022040] agpgart: Putting AGP V2 device at 0000:01:00.0 into 4x mode
[ 4754.206098] NVRM: loading NVIDIA Linux x86 Kernel Module 96.43.09 Mon

Ok… So According to the ubuntu thread I need to remove everything Nvidia, reboot and let envyNG do it’s thing….
Ok…

Soo…. Need to publish now if things go real bad…

Thing’s to not go real bad… But the “Fail to query the GLX server vendor” issue still persists.

Ok… But the thread continues..

So…. Rerunning the Nvidia bug Report… I find this message which looks less errorish than the last run.

-> Kernel messages:
[   55.369842] lo: Disabled Privacy Extensions
[   55.913898] NVRM: API mismatch: the client has the version 96.43.05, but
[   55.913902] NVRM: this kernel module has the version 71.86.04.  Please
[   55.913903] NVRM: make sure that this kernel module and all NVIDIA driver
[   55.913904] NVRM: components have the same version.
[   61.003630] NVRM: API mismatch: the client has the version 96.43.05, but
[   61.003634] NVRM: this kernel module has the version 71.86.04.  Please
[   61.003636] NVRM: make sure that this kernel module and all NVIDIA driver
[   61.003637] NVRM: components have the same version.
[   66.305597] eth0: no IPv6 routers present
[  119.239670] UDF-fs: No VRS found
[  119.240249] UDF-fs: No VRS found
[  119.301101] ISO 9660 Extensions: Microsoft Joliet Level 1
[  120.618839] ISO 9660 Extensions: Microsoft Joliet Level 3
[  120.620711] ISOFS: changing to secondary root
[  120.621217] ISOFS: changing to secondary root
[ 4178.822549] agpgart: Found an AGP 3.5 compliant device at 0000:00:00.0.
[ 4178.823091] agpgart: Device is in legacy mode, falling back to 2.x
[ 4178.823240] agpgart: Putting AGP V2 device at 0000:00:00.0 into 4x mode
[ 4178.823470] agpgart: Putting AGP V2 device at 0000:01:00.0 into 4x mode
[ 4179.021178] agpgart: Found an AGP 3.5 compliant device at 0000:00:00.0.
[ 4179.021589] agpgart: Device is in legacy mode, falling back to 2.x
[ 4179.021773] agpgart: Putting AGP V2 device at 0000:00:00.0 into 4x mode
[ 4179.022040] agpgart: Putting AGP V2 device at 0000:01:00.0 into 4x mode
[ 4754.206098] NVRM: loading NVIDIA Linux x86 Kernel Module  96.43.09  Mon

Ok.. What I get out of this. I tried to stick in 96.43.05 but the system was squaking that it had 71.86.04 in it. It seems that my card is supported by 71.86.04… So I guess I should try this process again and have EnvgNG install 71.86.04 and see what happen??

http://us.download.nvidia.com/XFree86/Linux-x86/71.86.04/README/README.txt

Ok… Now that’s weird… Things are behaving different but still not working… Nvidia-Settings is squaking even more and I get the same error message even though I installed the 71.86.04 driver (I think I did……
> Kernel messages:
[

55.369842] lo: Disabled Privacy Extensions
[ 55.913898] NVRM: API mismatch: the client has the version 96.43.05, but
[ 55.913902] NVRM: this kernel module has the version 71.86.04. Please
[ 55.913903] NVRM: make sure that this kernel module and all NVIDIA driver
[ 55.913904] NVRM: components have the same version.
[ 61.003630] NVRM: API mismatch: the client has the version 96.43.05, but
[ 61.003634] NVRM: this kernel module has the version 71.86.04. Please
[ 61.003636] NVRM: make sure that this kernel module and all NVIDIA driver
[ 61.003637] NVRM: components have the same version.
[ 66.305597] eth0: no IPv6 routers present [ 119.239670] UDF-fs: No VRS found
[ 119.240249] UDF-fs: No VRS found
[ 119.301101] ISO 9660 Extensions: Microsoft Joliet Level 1
[ 120.618839] ISO 9660 Extensions: Microsoft Joliet Level 3
[ 120.620711] ISOFS: changing to secondary root
[ 120.621217] ISOFS: changing to secondary root
[ 4178.822549] agpgart: Found an AGP 3.5 compliant device at 0000:00:00.0.
[ 4178.823091] agpgart: Device is in legacy mode, falling back to 2.x
[ 4178.823240] agpgart: Putting AGP V2 device at 0000:00:00.0 into 4x mode
[ 4178.823470] agpgart: Putting AGP V2 device at 0000:01:00.0 into 4x mode
[ 4179.021178] agpgart: Found an AGP 3.5 compliant device at 0000:00:00.0.
[ 4179.021589] agpgart: Device is in legacy mode, falling back to 2.x
[ 4179.021773] agpgart: Putting AGP V2 device at 0000:00:00.0 into 4x mode
[ 4179.022040] agpgart: Putting AGP V2 device at 0000:01:00.0 into 4x mode
[ 4754.206098] NVRM: loading NVIDIA Linux x86 Kernel Module 96.43.09 Mon
Oct 27 14:23:30 PST 2008
->

[EDIT]

Ok… I wound up getting everything running using the 96.43.05 driver by following instructions on jekins July 2nd, 2009 post

Of course I couldn’t leave well enough alone and saw there was a newly update 96.43.13 driver.  So… I loaded that up a couple of times and the moment, everything works great except that I get this white screen of death when I load up a terminal session.  Overall performance is pretty good, I have a email in with Nvidia and from what I searched on the net, I think I need some tweak to my xorg.config  so I’m going to put that aside for a moment and see if I can get my sound blaster card working now.

Ok… I got the white screen of death fixed…. See.

http://ubuntuforums.org/showthread.php?p=7857898#post7857898

Just in stalled emerald… All Good…
Now I’m attempting the cube.

http://maketecheasier.com/make-your-ubuntu-desktop-rotate-as-a-cylindersphere/2008/07/28

Posted in Uncategorized | Leave a comment

More on X233H and Ubuntu….