Print this page. Recommend
Slashdot it! Delicious Share on Facebook Tweet! Digg

Perl script controls toy USB canon

REPLACING TIN SOLDIERS

Author(s): MICHAEL SCHILLI

Although a USB toy such as a polystyrene rocket launcher only includes a Windows CD, it works fine on Linux with a spot of reverse engineering. With libusb, this doesn’t even require compiling a device driver – Perl controls the device from userspace.

Trouble at the office? It doesn’t necessarily need to lead to a battle, such as in the video The Great Office War by toy manufacturer Hasbro. Even if you don’t have an attack plan, the USB-controlled Rocket Baby rocket launcher, by Chinese manufacturer Cheeky Dream, is a bargain at less than US$ 20. Not only did it cheer up my colleagues at work, it also gave me an opportunity to study the
Linux kernel’s fairly complex USB subsystem.


Read full article as PDF »


Comments

How Do I Install This Special Barcode Reader?

Frank P Apr 21, 2009 6:31pm GMT

Great news about that. I would love to have all my computers running Linux, but one thing that is holding me back is a device that I have that earns my family a little money each month from shopping.

Shopper's Hotline is a survey company that rewards families for using this scanning device to record purchases and transmits the information to the company.

The first one we had was a normal scanner hooked up to a normal phone line, but now we had to change to one that transmits over the internet using Windows.

I tried installing the program CD using WINE, program worked fine but it didn't pick up the USB scanner.

How Do I Install This Special Barcode Reader?

Print this page. Recommend
Slashdot it! Delicious Share on Facebook Tweet! Digg
Related Articles
Debian 5.0.1 “Lenny” and Mandriva Linux 2009.1 Free Two great free Linux distros
“I THINK IN PERL” Perlmeister Mike Schilli celebrates 10 years
TURNING BACK TIME Easy Backups with Flyback
FRET FREE Django and the Django Software Foundation
OSCON 2008 Open source enthusiasts sweep into Portland
WRITE ACCESS Letters from readers
Wherever you go...

...Linux Magazine goes with you!

Check out the advantages of a Digital Subscription:

  • Access articles by downloading PDFs,
  • find the Linux solutions you need with an easy keyword search,
  • maintain your own paperless archive...

more...

 

In the US and Canada, Linux Magazine is known as Linux Pro Magazine.
Entire contents © 2009 [Linux New Media USA, LLC]
Linux New Media web sites:
North America: [Linux Pro Magazine]
UK/Worldwide: [Linux Magazine]
Germany: [Linux-Magazin] [LinuxUser] [EasyLinux] [Linux-Community] [Linux Technical Review]
Eastern Europe: [Linux Magazine Poland] [Linux Community Poland] [Open Source DVD Poland]
International: [Linux Magazine Brazil] [EasyLinux Brazil] [Linux Magazine Spanish]
Corporate: [Linux New Media AG]