pci8255 tested on W2K with the board and chip I thought might be damaged... no problems :) now to test on Linux via Hal
with or without pull-ups/pull-downs?
with pull downs & it works :) sweet
using jeplers 8255.hal
i gots lotsa i/o now buddy
ok, well that's good to know :)
me happy :) jepler's driver is good, hdwr runs, blinky lights for everyone barkeep, on me!
that should make jepler happy
or angry :)
troubleshooting bad hardware with software is difficult
his may be ok too, this is the board & chip I thought was bad, and the 'bad' chip is the port I'm testing. He can have 72 i/o for a few resistors, i hope.
he worked pretty hard on it, thx jepler
thanks also for your help
I updated my old blog entry about the futurlec 8255 with a note about pull-down resistors. http://emergent.unpy.net/index.cgi/01165433819
i couldnt write it, just got a bit lucky, hope your board is ok, futurlec is the cheap place for 8255's
any hints on serial sniffing? i got 2 things i'd like to run under linux, a serial ctrld EDM generator and a serial controlled cnc ( the user i/f sux )
I'd be tempted to assemble cables similar to the ones shown at http://www.lammertbies.nl/comm/cable/RS-232-spy-monitor.html
and use some cheap serial-usb dongles if I didn't have a machine old enough to have two real serial ports
(assuming you want to sniff full duplex)
thx, dunno what i'll see but sure its some simple pkts
(I can't vouch for those pinouts but the general idea seems sound and it should be easy to verify)
as for linux-specific software to record the conversations .. I dunno about a good choice for that
cool, its a tap
I think it would not be too hard to capture two serial streams and write them out with linux, though I don't see how to be 100% sure you log them in the right order if they happen at "about the same time"
there was a great program called microtap (for DOS)
may still be around
also viewcomm, though that one was ported to Windows and doesn't work as well any more (1ms timestamp resolution)
seems microtap is still around -- http://www.paladinsoftware.com/
it's not clear what the demo version will do
heh - hard to tell
they also made a Y cable for the actual tapping
but $349 seems a bit steep for that package these days
I bet a dolla tomp is up to wiring the cable
seems likely :)
[01:31:53] <SWPadnos> http://coding.derkeiler.com/Archive/General/comp.arch.embedded/2004-05/0426.html
* jepler contemplates saying that for $349 he'll write a serial logging HAL component
no user interface, but something that you can hook to halsampler
yeah, for $349 I'll do it.
I'll give you $3.49
or a taco
linux serial snooper (kde) http://serlook.sunsite.dk/
ooh rt serial , nice
[01:49:51] <tomp2> http://rt-com.sourceforge.net/
that's the one
I remember seeing that at some point - the code looks familiar
snooper - Captures communication between two external serial devices
I know I've snooped serial with some piece of Free software. it might have been this but I'm not sure.
my laptop has a serial port and I used a usb-serial thingy for the second port
i found LinuxSPA, slsnif, and serial_sniffer for linux, making the full duplex cable jepler found, trying slsnif
EMC: 03jmelson 07TRUNK * 10emc2/configs/univpwm/univpwm_io.hal: fix index-enable in commented-out hal
EMC: 03jmelson 07TRUNK * 10emc2/configs/univstep/univstep_io.hal: fix index-enable in commented-out hal
EMC: 03jmelson 07TRUNK * 10emc2/configs/ppmc/ppmc_io.hal: fix index-enable in commented-out hal
* jepler is trying to figure out how to integrate emc2's html documentation into ubuntu desktop's "help"
as with all gnome things, it's somewhere between opaque and opaque
there is definitely an inverse correlation between user friendliness and programmer friendliness
oh don't say anything that will make me comment on gnome "usability".
I'm referring to the usability that makes Ubuntu so popular with former windows users
EMC: 03jepler 07TRUNK * 10emc2/src/hal/utils/halcmd_commands.c:
EMC: * point user at dmesg when loadrt fails (not on sim
EMC: * get rid of blocks warning
EMC: 03jepler 07TRUNK * 10emc2/src/Makefile: blocks is dead
* jepler gives up on integrating with gnome help
but all you need to do is - err - make some files of some sort and put them somewhere and tell some program about it and ... and ...
jepler: question about hal_input
I'm messing with the uinput mechanism, and wanted to check enumeration using hal_input
but for some reason, I can't open the /dev/input/uinput device
I see the device node, and it has the same permissions as all the other input devices (which have worked in the past)
hmmm. now those don't work either. I guess I should see what I screwed up
should hal_input work with a sim build?
ok - it works when I use a number, but I can't name a device node direcly
(and I'm not sure I'm supposed to be able to anyway)
ok, I need root permissions to load at al
/dev paths are not supported
you should be able to run it as non-root according to the permissions on the file in /dev it needs
but I still need to be root to use a numbered /dev/input/eventN
I'm looking through /etc/udev now to find what to change
ah there's a typo in the rule proposed in the manpage
the hal_input manpage?
hmmm, isn't this 0660 permissions:
crw-rw---- 1 root root 10, 223 2008-05-10 12:13 uinput
but your group does not include root
EMC: 03jepler 07TRUNK * 10emc2/docs/man/man1/hal_input.1: typo: = should have been ==
it does include "plugdev"
this does work for uinput as well as regular input devices -- I just happen to have a uinput device handy
halcmd: loadusr hal_input +Wiimote
now here's something to demo at cnc workshop :-P
are you serious?
I bought one of those dual-stick USB controllers Jymmmm was talking about - they're pretty cool
about demong it? no. that a wii remote works as a linux input device, and with hal_input? yes.
the latter is what I was asking about
thats pretty cool
I gather uinput is also used for force feedback
the uinput mechanism is very interesting actually - userspace programs can stuff input events into the input subsystem
I just tested segfaults and kills of the userspace driver, and in every case, the kernel cleaned up nicely
I may make the inverse of hal_input - something that lets you turn HAL stuff into input events X can use
(or anything else)
for fun, or because you see an application for it?
mostly for fu
it could be useful as well, except that HAL can't tell what program has focus
it would be a more elegant replacement for those times when someone solders wires to a keyboard to connect a bigger/more rugged/etc switch and make it generate a keystroke
as long as AXIS (or some other known UI) is running, you can have buttons do the equivalent keyboard/mouse actions
oh, I just thought of an off the wall application
(probably easier tools for it exist tho)
testing some gui app - use streamer or CL or whatever to generate the commands
or for testing - you could simulate mouse motion also
demo mode :)
could sampler be used to capture user actions, and streamer to play them back?
hal_input on the capture side, hal_uinput on the playback side
keyboard remapping ;-)
heh - evil ;)
here's the qwerty->dvorak HAL file ;)
mouse motion -> scale block -> GUI
and the scale is a random number that changes ever 10 seconds
I need a bigger desk!
I need a smaller desk!
a _signed_ random number
I need a drink!
actually, I think I'll write that component right now. pyvcp+hal_(stuff things into uinput) is a good way of seeing how the system deals with generated events
or just halcmd
ah yes, you can make the pyvcp input that turns itself off
more specifically, I can set a bit (which generates a key down event), and see if the key repeats
and what happens when I press another key
does anybody remember if the Mazak is 240 or 480V?
though it isn't useful as a generic component, unless there's some sort of big ini file (similar problem to pyvcp and modbus)
I don't recall
I know there's 480 in that corner though
I'm replying to Ed who wants 240 3ph
hmmm. a 3-ph transformer might not be too available
I'd bet there's 240, even if the Mazak is 480
oh, now that's an interesting toolsetter approach
I'd always seen them as very precise switches or contact sensors
but you can also stick an encoder with index in there, and trip when you hit the index
only problem with that is that it takes human intervention
sort of an electronic version
(or indicator hacking)
there are indicators that can speak serial
'm thinking of an automatic version that should be more precise than a switch
plunger with encoder (linear or on a screw), index mark indicates "0"
about the same as an optical switch, I guess
screw won't work well because most don't back drive well
gotta have balls ;)
The Mazak is cord connected. I don't think I'd do that with 480.
yeah, I recall the twist lock
if it's 240, Ed could plug in there
we won't be using it constantly
ISTR there were two plugs anyway
rayh: didn't realize you were here
lets talk about power
Sure. There are several 240 outlets along that south? wall.
two years ago you rigged the transformers cause we were over in the other building
last year we were in front of the mazak (moved from the previous year)
and we used the limited 120V outlets
had a blackout when Aram plugged in his coffeepot ;-)
I've got at least 3 three phase control transformers.
and mine was off at the time :)
I was just looking at this; http://www.hgrindustrialsurplus.com/search-products/product-detail.aspx?id=80-109-052&searchtable=2&sortExpression=wbprice&SortASC=Yes&pageSize=50¤tPageIndex=0
We could hide under boxes like we did 2 years ago.
3KVA 480 OR 240 TO 120
did you look at it in person?
Price is certainly right.
the specs don't say whether you get selectable 240/120 out - it could be a 2:1
If it's close enough to someone to pick up.
its local for me
Most all of these have a center tapped secondary.
they are open one sat a month, and that is next week
either that or reconfigurable primaries
The primary selects 240 or 480
and the secondary is 110 and 220
oh, I see - you mean it can make 120/240 split phase
they have two of those at the same price
also a 1kva
give a 1kva to Aram for his coffee pot ;)
There you go.
they have craploads (as I continue to scroll down the list)
I can make up the plugs for outlets.
with the CT as "ground", it should be OK. just thinking back to the days of diffent circuits frying computers and printers and such
ground the center tap is standard - then its just like residential power
2 years ago I did ground that setup to the wireway so it should have been good.
nice thing about the enclosed ones is safety
I guess most of those old problems were probably due to swapped hot/neutral
Yes. Mine are all open.
I think you grounded it after swp got a tingle
I could see the light in his eyes.
actually, the ground leg on the plug was NFG
oh, thats right
or the outlet - don't recall
then we grounded it to the conduit :)
it was plugged in, but we ran a green wire around the plug
At 3kw I should make a fuse panel or feed a little breaker setup.
I could easily do that as well.
I'd be happy to buy and bring the transformer
Yep I remember, looped across a couple of machines.
and the lights
hmm, I wonder what the output volts is on this: http://www.hgrindustrialsurplus.com/search-products/product-detail.aspx?id=12-273-178&searchtable=2&sortExpression=wbprice&SortASC=Yes&pageSize=50¤tPageIndex=0
(thinking of making 240 from 480 - although it sounds like we won't need that)
that's a beauty
Looks like it was from an HES lathe.
Let me run out to the shop and see how the 110 side is setup.
looks like it was from a clean room
I wonder what this is: http://www.hgrindustrialsurplus.com/search-products/product-detail.aspx?id=42-452-381&searchtable=2&sortExpression=wbprice&SortASC=Yes&pageSize=50¤tPageIndex=0
.54kva - not too useful :)
its something special - 120V in, and screw terminals out
and designed to be portable
resistance welding? carbon torch?
hmm, plugs built in: http://www.hgrindustrialsurplus.com/search-products/product-detail.aspx?id=42-486-260&searchtable=2&sortExpression=wbprice&SortASC=Yes&pageSize=50¤tPageIndex=0
the extra number in that other one was 1/50-60/120, so it may have to do with euro/US conversion
nah - that means 1 phase, 50 or 60 hz, 120V
true - I keep orgetting about phases :)
ah, I bet its for an older version of this: http://www.idealindustries.com/products/wire_processing/bench_machines/stp_stripping_system.jsp
The 3 phase ones I've got in the shop don't have a center tap.
rayh: did you see the one that has a quad box already attached for $39?
If this one does we would want to know if it's delta or wye connected.
hi ray how you doing
[17:22:55] <jmkasunich> http://www.hgrindustrialsurplus.com/search-products/product-detail.aspx?id=42-486-260&searchtable=2&sortExpression=wbprice&SortASC=Yes&pageSize=50¤tPageIndex=0
I do have a 3 kva filter setup out there.
no protection tho
That would work for the coffee maker.
the general rule at HGR is offer 75 to 80% of their asking price and they'll probably take it
Something like that would easily work for us. If we used power bars, they have an overload.
need power strips?
[17:25:10] <jmkasunich> http://www.hgrindustrialsurplus.com/search-products/product-detail.aspx?id=21-134-220&searchtable=2&sortExpression=wbprice&SortASC=Yes&pageSize=50¤tPageIndex=0
Not that it would be approved for this use.
Get the whole tub of those.
serious? (I'd be happy to if you really want them)
steves_logging is now known as steve_stallings
probably get them for $1.50 each if buying the tub
I had a 50kva 3 phase available to me.
(assuming they're still there next week)
I'd build the whole thing into the shop for us but I wonder how much longer we will have access to it.
plus, 50 kva is a bit heavy to haul
We could certainly use a couple dozen of those.
I've got a truck I'm bringing this year to haul some stuff home.
Roland and I have a side deal going.
from my truck to yours....
There you go. Another side deal.
[17:28:48] <SWPLinux> http://www.hgrindustrialsurplus.com/search-products/product-detail.aspx?id=90-126-076&searchtable=2&sortExpression=&SortASC=&pageSize=50¤tPageIndex=0
I will bring this 3 kva setup. It has a really nice filter -- caps and inductance.
that should work :)
probably intended for 120Y/208 system
the main problem I see now isn't lack of power, its lack of extension cords
looks like space for 6 breakers. Get it.
I have half a dozen cords, 2 of which are 75' 12-ga outdoor cords
plus those 4' 8 or 10-outlet strips
(2 of those)
I'll bring what I've got also. We could get a few more if we need at that farm store near town.
Let's put the developer area on my filtered box and not make any extra receptacles available.
hmmm. looks like I should pack up so I can board the next plane.
see you later
We can put the "lab" on another separate transformer.
00:26:43 <tomp2> i was thinking people could ship stuff here ( got a dock ) and i could get a van for a small crew from ORD to Galesburg 00:26:46\
rayh: I thought the lab was gonna be in one of the classrooms
Then the general area can be on a third.
I was hoping to keep it closer to the rest of us.
Perhaps around the wall where we had the developer stuff 2 years ago.
have you been to the shop in the last year?
(many things moved since 2 yrs ago)
I've heard that.
Is that big G&L still in the middle?
the one G&L in the middle is still there
the other G&L is gone
the mazak's are turned 90 degrees
so its G&L, Mazak 1, Mazak 2, compressor along the back wall
Mazak 2 is the emc one
the emc tables were set up between the garage door and the man-door in the corner of the building
and the big shear from the other building was between the tables and the garage door
the other building (other section really) where the shear was had bunches of picnic tables in it
I don't quite understand where the shear is now.
you know where the garage door is (the one that faces the G&L)?
is you are standing in the doorway facing in, the shear is to your right, perpendicular to the doorway
Oh. So the tables and mazak are kinda walled off by the shear.
take a look at this: http://www.youtube.com/watch?v=l5q1rVKYLTQ
table in the center of the image is facing the back of the shear
there is a fairly large aisle (6ft?) between the end of the shear and the left Mazak
I have no idea if the layout is gonna be the same this year
I suspect no machines have moved, but the tables could be anywhere
so, double checking my HGR bookmarks
we want the power strips
$50 worth? (between 25 and 50 depending on how well I negotiate)
[17:44:22] <rayh> http://www.hgrindustrialsurplus.com/search-products/product-detail.aspx?id=90-126-076&searchtable=2&sortExpression=&SortASC=&pageSize=50¤tPageIndex=0
That if it's there.
yep, was just about to say "we want the panel thing"
The transformer with the dual duplex plugs
this one, right? http://www.hgrindustrialsurplus.com/search-products/product-detail.aspx?id=42-486-260&searchtable=2&sortExpression=wbprice&SortASC=Yes&pageSize=50¤tPageIndex=0
If you need to share costs on these let me know.
I was in for a $30 xfmr, now we're up to a $40 xfmr, a $30 panel, and ? of power strips - if its gonna stay at the workshop I'll go to say $50 total
hell, we can probably sell power strips for $2 each and make a few cents
I can pay for all of it on CC and we'll square up at the workshop
do we want a transformer without plugs to go with that panel? there are 3kva ones for $30
There you go.
that's a yea?
The one from 2 years ago should still be around there someplace.
ok, bookmarked this one: http://www.hgrindustrialsurplus.com/search-products/product-detail.aspx?id=12-178-129&searchtable=2&sortExpression=wbprice&SortASC=Yes&pageSize=50¤tPageIndex=0
I'll bring an extra from here.
enclosed seems so much nicer
It does look nice.
now - how are we gonna feed them? do we need primary protection?
the 480 and 240 are all along the back wall - the class area in the other building is close - the tables in the Mazak area not so much
I'll bring some conduit and make a good run across there just for us.
Hi guys. Trying to skim and get lost trying to keep up. If you need SINGLE phase, I can bring a 3KVA 460 to 115/230 and possibly a 6 KVA 460 to 115/230.
we are talking single plase
Hey that 6kva would do a nice job feeding that breaker box.
If we added 3 breakers and separated the duplex plugs we could make 6 20 amp proper circuits.
6kva is gonna be pretty darned heavy
That should feed that entire area between the man door and the mazak and the shear.
Depends if it's potted in sand.
lol - last year we had one 20 amp circuit
3 would be wonderfull, 6 would be unheard of luxury
Well if I take a deep breath and it is already at the tailgate of the van, I can lift it.
I can use my filtered setup for the lab area.
Not potted, dry type.
steve_stallings: ah, that makes a big difference
Oh to be young
Oh to stay young...
all things relative, 56 is young?
Yep by comparison.
at the shop end, there are forklifts, and I can bring a couple 3 ft lifting straps
Naw, two guys and a hand cart are just fine.
I'll reconfirm later, but it sounds like the plan is now for me to get the panel thing, we'll hook it to steve's 6kva if available, if not to a 3kva from either steve or HGR
I do need to put power to it and make sure it is good.
ray will bring his own setup for the class area
and I might or might not get the 2kva with attached outlets
and I'll bring a pile of power strips
all of this assumes that stuff is still available next saturday - I'll let everybody know how it goes
OK, note - I plan to arrive Sunday afternoon and leave Sunday AM.
steve_stallings: is the transformer something that will go home with you, or a donation? (determines whether we wire it in with conduit or just temporary)
Needs to come back with me. It is the stepup to feed a 460 VFD from 230.
given size, weight, and hauling, it might make sense to get a cheap 3kva from HGR and wire it in permanently
that will provide three solid 20A circuits, which is plenty
Well, we have time since mine is not going away. See what HGR has to offer.
Guest265 is now known as skunkworks_
steve_stallings is now known as steves_logging
skunkworks_ is now known as skunkworks
skunkworks ... you alive?
EMC: 03jepler 07v2_2_branch * 10emc2/docs/man/man1/hal_input.1: from TRUNK: ==, not =
EMC: 03jepler 07TRUNK * 10emc2/src/ (configure.in configure): readline is now required to build