Slashdot Mirror


Linux On a Used Cash Register

codewolf writes: "Looking at this site, it seems that if someone has enough time on their hands, they can get Linux to run on just about anything. Looks like this guy got Red Hat Linux running on an Ultimate Techonologies Corporation cash register. This is a great hack if you ask me."

52 of 214 comments (clear)

  1. Great! by popeyethesailor · · Score: 2, Funny

    Now we can get all our stuff free from the Linux counter :)

  2. well if you need reliability... by Romancer · · Score: 5, Funny

    I'd hate to see a port of WinCE on a cash register, Imagine the small print on the back of the receipt.

    "...you agree by paying this amount, to never divulge what you paid, or purchased, in any form, written, recorded, or electronicly transcribed in any way, to anybody. By having this receipt, you are violating the EUCEA (End User Cash Exchange Agreement) and must distroy this document, or face an audit of all digital processing and storage devices you own."

    --


    ) Human Kind Vs Human Creation
    ) It'd be interesting to see how many humans would survive to serve us.
    1. Re:well if you need reliability... by Glorat · · Score: 4, Funny
      I'Id hate to see a port of WinCE on a cash register

      Heh, well at Wimbledon station in the UK, they run Windows NT to sell train tickets in one of those electronic hole in the wall ticket dispensers. (Choose ticket, insert money, out pops ticket).

      While waiting for my pickup, I amused my self as the machine spontaneously rebooted, saw the NT4 loader in it's comforting blue screen, see Windows launch, autologin, connect to some network shares and start up the ticket selling interface. And then watch it spontaneously reboot again =P
    2. Re:well if you need reliability... by 56ker · · Score: 2

      Think - without WinCE you wouldn't have had such a fun time buying a ticket!

  3. Well it's confirmed... by Thaidog · · Score: 5, Funny

    Linux is a POS operating system...

    --

    ||| I still can't believe Parkay's not butter.

  4. I won't be truely impressed... by explosionhead · · Score: 2, Funny

    ...until I see an old, beat up, chrome covered toaster from the 60's running linux...

    ...wait a sec, with those mini-itx boards it'd just about be possible...

    Shit. I gotta lay off the caffine.

    --
    ?
  5. What's so special about this? by laptop006 · · Score: 3, Insightful

    If you actually read the product info you can (for the 'logic unit') either use a:
    * ASCII Terminal (Just connect to a *nix box)
    * PC (Just install linux)
    * NC (Can anyone say X)

    Now, yes this IS cool, but it's equivilent to someone isntalling linux on a weird looking PC with some cool peripherals.

    --
    /* FUCK - The F-word is here so that you can grep for it */
  6. They've got these at work... by hazyshadeofwinter · · Score: 2, Interesting

    The touch screen version. Always thought one would make a sweet X terminal, and if it can run win95 with our P.O.S. POS software, it can run something decent...

    --
    Click here if you just like to click on shit.
  7. Not impressive by Shriek · · Score: 3, Flamebait

    This POS is still a computer so what is the big deal about this? The CueCat that is attached to it is a more impressive hack.

    1. Re:Not impressive by fferreres · · Score: 2

      If it where not a computer, how could you run Linux? Of course it's not impressive. When you run Linux on a palm it's interesting, when you run it on cash register it's not? Why?

      --
      unfinished: (adj.)
  8. Will they have to retrain the clerk ... by bob_jordan · · Score: 2

    ... to add up your shopping using dc?

    Bob.

  9. Its a P233 pc by BrookHarty · · Score: 4, Interesting

    Kinda neat, but its a P233 pc. Really the only cool thing is the led display. I have an old IBM thermal printer that uses fax paper also, used it on my c64. Now put linux on a c64 (load "linux",8,1) and I will be impressed.

    1. Re:Its a P233 pc by HeUnique · · Score: 5, Informative

      already done :)

      --
      Hetz (Heunique)
    2. Re:Its a P233 pc by Lumpy · · Score: 3, Informative

      first off it isnt a LED display it is a Vaccum Flouresent Display (VFD) (Please excuse my spelling, I just got up, I cant find My glasses, and My hands are still wet from the shower... Ooops too much information)

      VFD's are easy to get to talk to linux, they act just like a LCD and if it is serial I am betting that it takes standard Matrox Orbital commands so he just downloaded the code from one of the linux pages on how to talk to one of these things.

      Hey, If I install linux on my PC can I get a story on slashdot?? That is exactly what this is.

      Now the industrial touchscreens I have that are water,weather,freeze proof... that is a cool hack, but not worthy of a slashdot story...

      --
      Do not look at laser with remaining good eye.
  10. Well ... by Throstur · · Score: 5, Insightful

    POS machines are nothing more than PC computers with extra serial ports and different peripherals than "normal" PCs. And the POS software normally runs on DOS or Windows (*gasp*) ;-) I really don't see what the big fuss is about, I mean, I've installed Linux on a few different POS machines myself, (I work for a company that makes POS software), and it's just like setting up Linux on a normal PC except for the peripherals.

  11. Intresting... Not too hard but intresting. by FIRESTORM_v1 · · Score: 2, Informative

    I think that getting the display pole is pretty schweet, however the "embedded PC" at the cash register is not anything unexpected. I have a pair of SASI terminals that used to belong to a CoastalMart in town. They had a log 16bit ISA card that connected their peripherials to the box as well as a laptop's 1.2GB HDD downsized to 500MB.. (1024,16,63... familiar?) All I had to do was remove the propietary card that contained a bootROM and voila, a perfectly good P200,32mB RAM 4MB ATI video.. These had PCI in them as well.. One's my router and one is my webserver.. If you are a hardware freak, like I am, you are always on the constant lookout for embedded boxes of this sort.. Cash registers are higly sought out after for this reason... After all, why use a suitcase for a router when you have a shoebox available..

    Good catch on the hardware!!

    --
    Partnership for an idiot free America!
  12. Been done already: L'�nePOS. by RJarett · · Score: 2, Informative

    L'ânePOS is a linux/postgres Point of Sale system.
    http://l-ane.sourceforge.net/nic.html

    Based on a ThinkNIC, but can be used with any system

    Jarett

  13. Linux can run on anything by Ed+Avis · · Score: 5, Funny

    Just goes to show that Linux will run on any old POS.

    --
    -- Ed Avis ed@membled.com
    1. Re:Linux can run on anything by Cruciform · · Score: 2

      hehe, I had to read POS in the other posts about 5 times before I realized it referred to "point of sale" :)

      An accurate double entendre without a doubt.

  14. Re:And here I was... by flewp · · Score: 2, Funny

    Don't worry, it's how you use it that makes you a man.

    Sorry, couldn't resist.

    --
    WWJD.... for a Klondike bar?
  15. I like this by ishark · · Score: 3, Interesting

    Don't ask why... Some things just need doing.

    Definitely an excellent reason for this project. I can't think of a better one :)
    I'm only surprised that the first use of the display pole was not for uptime/load....

  16. What about a calculator? by fireboy1919 · · Score: 5, Interesting

    I think that this is actually a little smaller...
    Look at the bottom of the page.
    There's a Linux shell for TI-89!
    http://www.ticalc.org/pub/89/asm/shells/

    Now for more wierdness...how about Linux on an oscilloscope? I know a guy who wrote "pong" for it using anolog circuits. Perhaps someone should take it further.

    They could use a TV remote as the interface and an adapted LCD driver chip to do it cheap...

    --
    Mod me down and I will become more powerful than you can possibly imagine!
    1. Re:What about a calculator? by anshil · · Score: 2

      Now for more wierdness...how about Linux on an oscilloscope? I know a guy who wrote "pong" for it using anolog circuits. Perhaps someone should take it further.

      It's sad but true, but nearly all current oscilloscopes technology Tektronics, HP, etc. runs windows 98 or 2000. Yes it's really true. Why the vendors do prefer windows over a linux system on their hardware I don't know. First they have to pay royalites. Second the oscilloscope boots slow. Thirs you cannot even start a single measurment without having to log into windows (Press CTRL-ALT-DEL to login in) Yes I borrowed the oszi, left the keyboard back, since I just wanted to make a typical digital measurment "high or low". and couldn't pass this stupid login!. Forth writting drivers under win2k is a pain. Really. I wrote for both winNT and linux, and I tell you, the linux drivers interface is 100 times more easier to handle. Just buy the "Rubini" read it through and you're of with you first linux drivers. For windows? Surf through MSDN a month, get a lot of different confusing directions, start playing around, watch the machine crash, use beep codes to debug, start whining etc.:o) But if you get paid for it :o)

      Oh yes and the HP one I brought to BSOD several times :o)

      --

      --
      Karma 50, and all I got was this lousy T-Shirt.
  17. Enough time? More like way too much time! by jonr · · Score: 3, Funny

    This is fun and whatnot, but SFW? You have full access to the kernel and everything, so what an excellent way of spending your weekend. A company that I work for, is hacking Linux to work on a embedded medical device eg.
    Do you have to mount /dev/cashdrawer?

    J.

  18. Slight bug though... by C+A+S+S+I+E+L · · Score: 5, Funny

    Apparently it still operates as a cash register while running Linux... except that it keeps insisting that anything run through it should be costing $0.00.

    1. Re:Slight bug though... by rusty0101 · · Score: 2, Funny

      and it invoices the item as beer...

      --
      You never know...
  19. nothing special by BiggyP · · Score: 2, Insightful

    well, hmmm, sure looks like it's just a PC underneath, pentium processor, 30MB of memory, IDE hard disk, in which case it's not exactly anything special. now the Display on a stick on the other hand, that would be cool.

  20. Re:not surprising... by tapiwa · · Score: 2, Interesting

    I agree

    I checked out the site, and it seems that not only is the chip a PENTIUM MMX 233.

    He changed the graphics card

    He could not get it to run with 4Mb ram and so threw in a 32Mb stick.

    Really not much of a hack there if you ask me. Only the LED is impressive.

    --

    Live today. Tomorrow will cost a lot more!

  21. Display by JimPooley · · Score: 3

    I thought it was quite nice the Cash Register people told him how to get the display on a stick working. That's what I call support...

    --

    "Information wants to be paid"
    1. Re:Display by cdrudge · · Score: 2

      All you do is send hex commands with the string you want to be displayed to the serial port. Nothing more. The "support" you refer to was probably telling him where the user manual were located.

  22. Re:First irrelevant anti-ms post award! by Romancer · · Score: 2

    It also had nothing to do with porting Linux to a Cash register.

    He just installed it and had to get the attached "LEDs on a stick" and a cuecat to work through a standard interface. Not a challenge. I was just making the article a little bit more worth while/humorous to read.

    --


    ) Human Kind Vs Human Creation
    ) It'd be interesting to see how many humans would survive to serve us.
  23. Blah! Try it on a real machine! by Cef · · Score: 3, Interesting

    Just like most Point Of Sale machines, they are just PC's with extra hardware. That is, if they bother. Many are just plain jane PC's, with things like the pole display and cash draw all driven by the printer, while the barcode scanner is plugged in through a keyboard wedge, so it emulates keyboard input.

    If you're so interested in this, try developing a whole graphical (note: graphical as in has to look similar to their existing Windows setup) Point Of Sale system that will be using FrameBuffer, that will end up running on 486-dx33's, with 16 meg of RAM, and a whopping 420 meg of h/drive space. The place I work for is doing this for an Australia wide chain so that they can install it on their existing hardware. They are in a 'contract' with the old POS supplier to keep the hardware on the desks for a few more years. Poor bastards!

    We have most of the extra hardware working (a whole 2 extra serial ports - and while it has a PCMCIA flash card reader, it isn't even worth the worry). The Point Of Sale program itself is written in Kylix (was originally a Delphi app on Windows), using SDL as an interface between the FrameBuffer and Kylix. Fun fun fun!!

  24. Screen shot by Salsaman · · Score: 3, Interesting
  25. Linux PoS by BiggyP · · Score: 2, Informative

    and people actually sell linux PoS systems,

    http://www.internetweek.com/ebizapps01/ebiz07160 1- 1.htm

    http://www.viewtouch.com/poshome.html

  26. OK so what by fruey · · Score: 2
    Linux on a Mac is harder than that. I got up and running on an old old mac with 32M ram, harder than what that guy did (boot red hat installer and leave overnight). If he'd got it running with just 4M, that would have been cooler.

    The article is not without a cool edge though :

    She yoinked the RAM figuring I could use it. She's my main lady, and I can't extoll the virtues of marrying a geek grrrl enough. The new RAM works and Tracy r0x0rs.

    Credit where credit is due too: quality photos, good description, up in HTML. Doing cool stuff is one thing, writing a reasonable report quite another. Kudos still goes to this dude.

    --
    Conversion Rate Optimisation French / English consultant
    1. Re:OK so what by Permission+Denied · · Score: 2, Informative
      Linux on a Mac is harder than that. I got up and running on an old old mac with 32M ram, harder than what that guy did (boot red hat installer and leave overnight).

      I feel your pain. I had to get Linux running on a bunch of old Macs. God, those machines sucked. 16M ram, 180 MHz first-generation PowerPC. Getting X to work was such a PITA - it uses the kernel framebuffer stuff which, at the time, was undocumented. Had to go searching through kernel source to figure out what boot paramaters to pass it. These things were so damned slow - felt like a 386 even though they're supposed to be faster than that. There's like a half second latency for any exec(), even for stuff you've just run - makes every mundane 'ls' seem like a big event.

      These machines were constantly swapping - even when you weren't doing anything, the disk was busy. Thus, these things chewed through hard disks right quick (fortunately, Macs don't have b0rked BIOSes like PCs and even the oldest Macs with IDE can accept the newest, biggest hard drives). Compiling anything is an overnight process, and compiling kernels was a week-long process (try it, come back next day, figure out what broke the build, fix it, try again, ad nauseam).

      I had to actually code for this thing. Oh, how that sucked. Even using 'vi' was too damned slow. Formatting man pages took like thirty seconds. Of course, I would do all my development on a real machine and port it over, but I still had to work with the damned Macs when my compile broke because they had a different version of some library and so on.

      The exec() thing was killer. My code needed to use multiple processes or threads. The multiprocess approach didn't work too well, and using threads didn't help as there's little difference between a thread and a process in Linux (compared to Solaris, for instance). I started playing with using MIT pthreads compiled to do in-process threading, just to get decent performance (lazy, didn't want to write my own in-process scheduler). I eventually just gave up and just let the damned things run slow.

      Never again.

    2. Re:OK so what by Hadlock · · Score: 2

      i have an LC II and an LC III, based off of the precursor to the Power PC chip, the 680x0 series. previous to the 68040, none of the chips had FPU's on them (for example, the LC II had a 68020, and the III had a 68030, meaning you either a)wrote your own software FPU, or B)install freeBSD for the 68k mac, which already has a software FPU...)

      anywho, it takes 5 min to generate a new SSH crypt key every 2 hours. other than that, it's like a 6 hour install on a 1 gig drive + pains and headaches - but boy! do they make greak, quiet, and cool webservers. that's what mine is, at least :)

      --
      moox. for a new generation.
  27. OS/2 spotted as well... by Jon+Abbott · · Score: 2

    I remember back in my younger years finding a cash register that ran OS/2... I got bored one day and started pressing key sequences for different operating systems that minimize full screen windows, and before I knew it I was looking at the OS/2 PM on a 6" black and white screen. My only thought at that point was, "this thing can run Quake!" :^)

  28. What's new about this? by flc · · Score: 2, Interesting

    We got hold of some old cash register machines (IBM). It has DOS installed (used under some AS/400 system), but it wasn't good enough.

    We tried Windows 98 and Windows NT, but all we came up with was a crashing machine. After struggeling with the MS-based OSes, we tried Linux. Everything matched together and we got everything to work!

    We had some problems with X, but that solved after we added a GeForce2MX graphiccard to the machine, so now you could probably play Quake2 with quite good FPS =) Oh well, the Cyrix 233MHz processor is not that fast.

    Next week they will be in production, and the main interface is... ..Mozilla!

    Here are some early experiments with the machine (running bitchX).

  29. This is not necessarily a "good thing"... by guttentag · · Score: 2
    When the atomic bomb was built, one of the many arguments against using it was that it would prove to the world that the bomb could be built. If they had never used it/told anyone about it, competing efforts to use it might have died out with WWII, and the Soviets wouldn't have been so determined to steal it.

    So now that someone has shown the world how relatively easy it is to get a PC operating system running on a cash register, Microsoft has no excuse not to stand on the shoulders of this research and port Windows XP (which already runs some ATMs).

    Then MS's propaganda/marketing machine will begin a campaign to warn retailers about "the dangers of using an operating system written by hackers." It would probably be something along the lines of "Linux could suck the cash right out of the drawer and send it over the internet to some hacker's Swiss bank account."

    Extrapolated ridiculousness follows:

    • Supermarkets buy subscriptions to Windows XP...
    • You pay an extra 25 cents at the checkout...
    • Every now and then the store manager tells you to put your stuff down and come back tomorrow because some hacker exploited the Win XP feature that was intended to allow the cash registers to talk to toaster ovens over the Internet.
    • Microsoft patiently waits to see what else we can port Linux to...
    Personally, I'd like to see someone get Linux running on my optical Intellimouse Explorer... Apache has been run on less hardware IIRC
  30. Monty Hall would be proud by donpardo · · Score: 2, Funny
    I spent two hours looking for a 72 pin SIMM. I found 30 pin SIMMs and 168 pin DIMMs but no 72 pin anything. Luckily, in her purse Tracy had been carrying around a 32MB 72 pin SIMM from a Dell that got RMA'ed at her work.

    And I thought my wife carried everything in her purse.

    --
    Nothing to see here. Move along.
  31. Bah!... by Pig+Hogger · · Score: 2
    Bah, it's really just a DOS box with special peripherals.

    A real good challenge would be Linux for Furby...

  32. He should use this as caller ID by gosand · · Score: 2

    At the end, the guy said he was syslogging it to a printer, and would like to have that serve as a caller ID someday. Why not just use the display as caller ID? It would be perfect. I suppose he could also print it, to have a record of it, but displaying it would be great (don't have to get up to see it.)

    --

    My beliefs do not require that you agree with them.

  33. Uh, Linux on small devices is nothing new, folks. by erat · · Score: 2

    Linux has been ported to uCsimms, Palm devices, inventory devices (wireless inventory machines at Hahn have been running eDesktop for a while now), TiVos, web cameras, you name it.

    This doesn't sound all that new to me...

  34. Hey, here's an idea by nobodyman · · Score: 3, Funny

    Can you imagine a beowulf cluster of these *whack* ouch!! Okay, I'm sorry, I'm sorry!!!

  35. Doesn't surprise me, cash register hardware by Traicovn · · Score: 2

    Actually, this doesn't surprise me too much. Most of the cash registers that you see in larger chain stores are honestly just pc's. Sometimes they will have some non-standard periphial connections, for example some of the IBM registers (I think the 7390 series) use rj style connectors to connect 99% of the periphials. Some of the older registers are honestly just dumb terminals also. But when you go to walmart, or to Winn-Dixie, you'd be surprised to find out that those registers are commonly an older model pc. Something between a 486 and a Pentium 2.
    It is true that some of them use different hardware, I think I've seen some that use PC104 architecture. Essentially the companies manufacturing the cash registers simply want to get the job done cheaply on their end so that they can sell them and make a good profit. There's enough standard pc hardware already out there that it ends up being cheaper for them to use.

    The grocery store I worked at in high school had Fujitsu POS's and they were simply 486 66mhz computers. They had all the standard connections and everything, they even ran DOS! We installed Doom on one of them just to say we had done it :)

    --

    [Something witty and intelligent should have appeared here.]
    {Traicovn}
  36. Free as in... by nick_davison · · Score: 2

    Free as in CHER-CHING! Three dollars and seventy nine cents please.

  37. Not just another "why?" comment... by Loligo · · Score: 2

    >This is a great hack if you ask me.

    As many have pointed out, this is hardly a hack. It's just a PC.

    What I'd like to know is why people keep spending so much time getting Linux to run on silly little toys rather than making it better and more accessible on the platforms it already runs on.

    Linux is not going to beat Windows by running on my watch, microwave, or cordless drill.

    Linux is not going to conquer the desktop by running on my radar detector, VCR, or electric razor.

    Yet I bet it will run on one of those devices before it's ready for me to install it on my mother's computer.

    -l

  38. /dev/cashdrawer, Cash registers running OS/2 by billstewart · · Score: 2
    I worked for NCR for a couple of years in the early 90s, and yes, a cash register these days is basically just a PC with different I/O devices - no point in making a specialized processor system when the general-purpose ones are cheaper and more powerful. The main alternatives were from IBM and ran funky IBM POS operating systems, but they were also becoming PCs.

    We tended to run OS/2 on ours, since back in those days it was a major step up from DOS, better at networking, and could get a way with fewer resources than most Unix systems.

    --

    Bill Stewart
    New Fast-Compression-only CPR http://preview.tinyurl.com/dy575ks
  39. Heh by zapfie · · Score: 2

    I guess naming something the "Model 40 POS" cash register has different connotations in the cash register and computer industries. ;)

    --
    slashdot!=valid HTML
  40. But how was I supposed to know what was inside it? by Wee · · Score: 2
    I didn't know until I opened it. My mom saw these at a sale from Service Merchandise and got them for liek $30 each. So I nabbed one because I wanted to see what was inside it. I took it apart and saw that it was a PC. I couldn't get it to boot, so I installed Linux. I never said it was like I wrote a special kernel or anything.

    BTW, the reason I have web pages for this at all is that once I realized Linux would run on these then I realized that my mom could possibly move to Linux for her POS OS (which would solve some problems she's been having lately). And so I took pictures so she and my brother could see my progress. I have an automatic thumbnailing script that makes those pages, and I used that. After I repeated myself twice when I was doing things, I made little notes.

    But I never claimed it was any great hack, just Linux on a second-hand cash register. I certainly wasn't trying to impress anyone, I'm just having fun...

    -B

    --

    Ash and Hickory, straight-grained and true, make excellent bludgeons, dandy for the cudgeling of vegetarians.

  41. The VFD is the coolest part by Wee · · Score: 2
    VFD's are easy to get to talk to linux, they act just like a LCD and if it is serial I am betting that it takes standard Matrox Orbital commands so he just downloaded the code from one of the linux pages on how to talk to one of these things.

    Before I could get the manual, I didn't know how to talk to it. I had no serial port info, so I was trying all sorts of stuff. I looked all over the web and couldn't find much. I wrote an email to the manufacturer and told myself that if I didn't hear back, I'd take it apart. When they sent me the manuals, it was fairly trivial to write a tiny perl script that sent information to it. I have no idea if the VFD commands are similar to the MO commands and I didn't "download any code".

    The thing people don't realize is that before I got the screwdriver out, I didn't even know if it was a PC. And in kind of a leap of faith, my mom had bought 10 of them hoping she could use them. So I grabbed one, took it apart, and she's now got them working. But yeah, it is just a PC. And I'm having fun playing with it (Caller ID on the pole display will be cool, and I'm thinking xmms-based VU meters would be nice as well). The only reason there are web pages is because my thumbnailer script makes them. I just added some comments.

    Hey, If I install linux on my PC can I get a story on slashdot?? That is exactly what this is.

    No, this is me discovering how POSes are built, partly to help my mom out, partly to have fun with old hardware. If it isn't impressive, then that's ok by me. I never claimed it would cause world peace or cure the common cold or anything. I could have cared less it got on Slashdot. In fact, it would have been better if I had got everything working before people saw it... :-)

    -B

    --

    Ash and Hickory, straight-grained and true, make excellent bludgeons, dandy for the cudgeling of vegetarians.