LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-12-2016, 10:42 PM   #1
julianvb
Member
 
Registered: Apr 2009
Posts: 390

Rep: Reputation: 3
Fixing Simple Scan in Linux Mint


2016-09-12

Simple Scan was still working all right when I attempted to troubleshoot Xsane on my Compaq Presario SR1020Nx desktop yesterday. Now even Simple Scan fails to communicate with the printer, an HPF4210 Deskjet. When I invoke Simple Scan from the command line, I immediately see the attached error screen. My operating system is Linux Mint 17.1.

Any help on fixing Simple Scan will be much appreciated as always.

Julianvb
Attached Thumbnails
Click image for larger version

Name:	SimpleScan-Err.png
Views:	191
Size:	55.8 KB
ID:	22995  

Last edited by julianvb; 09-12-2016 at 10:49 PM.
 
Old 09-13-2016, 12:09 AM   #2
ferrari
Senior Member
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 4,884

Rep: Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917
A USB-connected device? Anyway, some ideas to start with...
1) Try removing ~/.sane (ie any bad user config that may be causing issues), then start your scanning application. Any different?

2) Start simple-scan from a terminal in debug mode
Code:
simple-scan -d
Observe/capture what is reported.

3) Are you using HPLIP? If so, you'll be using the CUPS 'hp' backend to print. The 'hpaio' scanner backend relies on a correctly configured CUPS URI (ie with the hp backend) to facilitate communication. So, in this instance check the URI defined via
Code:
lpstat -t
The device should be enumerated (when attached and turned on) by running the hp backend manually like this
Code:
/usr/lib/cups/backend/hp
Also, for HPLIP the 'hp-doctor' diagnostic can be helpful in determining what might be wrong.

Last edited by ferrari; 09-13-2016 at 03:47 AM.
 
Old 09-13-2016, 12:45 PM   #3
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Code:
inxi -c0 -S
output please.

Mine here on 17.1 did the same thing.
I hit "Change scanner" and that failed.
I hit "Cancel" and exited.
Then scan worked.

Last edited by Habitual; 09-13-2016 at 12:47 PM.
 
Old 09-13-2016, 01:30 PM   #4
julianvb
Member
 
Registered: Apr 2009
Posts: 390

Original Poster
Rep: Reputation: 3
Ferrari and Habitual,

I must have had a bad ~/.sane folder yesterday. After I deleted it today as suggested by Ferrari, both Simple Scan and Xsane started working again. Coincidentally I also issued the 'cancel -a' terminal command yesterday but it didn't seem to help.

Julianvb

Output of inxi -c0 -S:
Quote:
System: Host: hk Kernel: 3.13.0-24-generic i686 (32 bit) Desktop: N/A Distro: Linux Mint 17.1 Rebecca

Last edited by julianvb; 09-13-2016 at 01:34 PM.
 
Old 09-13-2016, 02:46 PM   #5
ferrari
Senior Member
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 4,884

Rep: Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917
Quote:
I must have had a bad ~/.sane folder yesterday. After I deleted it today as suggested by Ferrari, both Simple Scan and Xsane started working again.
Glad to have been of help.

Quote:
Coincidentally I also issued the 'cancel -a' terminal command yesterday but it didn't seem to help.
That command is only for cancelling pending/stale CUPS print jobs.

Last edited by ferrari; 09-13-2016 at 08:59 PM.
 
Old 09-13-2016, 06:00 PM   #6
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Glad it worked out.

Go TeamLQ!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
I have Epson Stylus SX235W; OS mint 17; Simple scan and Xsane are unable to activate antonlinuxmaria Linux - Newbie 2 05-29-2015 09:09 PM
Simple Scan satimis Linux - General 3 06-25-2014 11:10 AM
Linux Mint 8 fixing -CW- Linux - Newbie 5 03-03-2010 09:49 PM
Fixing GRUB Error 17 on Linux Mint UbuntuIdiot Linux - Newbie 8 10-22-2009 05:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:44 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration