Driven crazy by SANE

March 20, 2001, 10:31 AM —  LinuxWorld.com — 


I need help. SANE is making me crazy -- SANE, as in the Scanner Access Now Easy project. (See Resources for a link.) The problem is SANE via USB, actually. I had it working, honest. My brand new HP 5200C scanner was doing a fine job of scanning old photographs. I was using my new 750-MHz Athlon test machine, running Red Hat 7.0 with a test version of the Rawhide 2.4 kernel. I used xscanimage, for example, to get a copy of the photo you see below: my grandfather's service station and garage in Indiahoma, Okla., circa the early 1920s.


I was so thrilled that USB was working on my system, and by the prospect of being able to scan and preserve a lot of old family photos, that I decided then and there to write a column about it. Unfortunately, I had not taken thorough notes while I cobbled the thing together. I decided that the best thing to do was reinstall everything and write down every step. That would allow readers who were so inclined to do the same thing.



Besides, not everything was really working that well. When I tried to preview an image using XSane, the scanner started clattering so loudly, I thought it might destroy itself. I hoped a reinstall would fix that, so I wiped the disk clean and began anew, notebook in hand. That turned out to be a very big mistake.

A scanner darkly

Actually, the new hardware was a bit problematic before and after I reinstalled everything. I finally tracked down the problem: a bad DIMM. It caused the system to lock up at odd times before, during, and after the reinstall. Since removing it, my system has not yet been revisited by the "freeze that knows no thaw." As pesky as that problem was, it turned out to be the least of my worries.


I started by reinstalling Red Hat 7.0 Professional. Every time I tried to run xscanimage in my previous install, I got an error message saying it could only be run as a plug-in for the GIMP. I thought I would avoid that problem the second time by specifically selecting the xsane-gimp package. I also thought usbview looked interesting, so I selected that too. Other than those two packages, the Red Hat 7.0 install was identical to the first. I'm still happy that I chose usbview; it was about the only thing connected to USB that seemed to work correctly.

Scanned photo using xscanimage

I could see USB activity at boot time, even in the 2.2.16-22 kernel that Red Hat 7.0 is based upon. The UHCI (Universal Host Controller Interface) module loaded; soon after, a message appeared saying the USB filesystem was mounted.


Better yet, when I ran usbview, it neatly identified my HP Scanner and gave me a lot of specifics about its USB configuration. But none of

I like it!
Post a comment
The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
Resources
White Paper

Symantec Backup Exec 12 and Backup Exec System Recovery 8 deliver industry leading Windows data protection and system recovery. Download this whitepaper to find out the top reasons to upgrade and how to get continuous data protection and complete system recovery.

Webcast

Data and system loss — from a hard drive failure, malicious attack, natural disaster, or simple human error — can happen anytime. Don’t leave your business vulnerable. Make sure you have a secure recovery strategy in place. Symantec's latest backup and system recovery technology can efficiently restore critical applications, individual emails and documents and even restore your entire system in minutes in the event of a loss.

White Paper

Businesses face a growing challenge to ensure that the IT environment is properly protected. Backup Exec 12 integrates with other applications in the Symantec family of products, to complement your current data protection strategy, keep your data securely backed up and make it recoverable when you need it most.

Free stuff

Crimeware: Understanding New Attacks and Defenses
By Markus Jakobsson, Zulfikar Ramzan
Published Apr 6, 2008 by Addison-Wesley Professional. Part of the Symantec Press series.
Enter now! | Official rules | Sample chapter

Securing VoIP Networks: Threats, Vulnerabilities, and Countermeasures
By Peter Thermos, Ari Takanen
Published Aug 1, 2007 by Addison-Wesley Professional.
Enter now! | Official rules | Sample chapter

Featured Sponsor

AISO founders envisioned a Web hosting company that was environmentally friendly. While the company employed energy-efficient innovations like solar panels, its infrastructure produced unacceptable power and cooling requirements. Find out how AISO leveraged AMD technology to overcome their challenge in this case study white paper.

In this whitepaper, Scalar explores the opportunity to change the landscape with respect to mission critical databases built around Oracle. Leveraging technologies such as Linux, high-end commodity processing power and Oracle RAC technology to architect, design, build and maintain database infrastructure that delivers maximum availability, reliability and performance at a fraction of traditional cost.

On a typical day, weather.com, the Web site for The Weather Channel in Atlanta, serves up between 15 million and 20 million page views. But in September 2004, when back-to-back hurricanes ransacked Florida, the peak traffic on one day more than tripled: over 70 million page views by more than 7 million unique visitors. Read the full success story now.

More Resources