LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 07-04-2012, 05:23 PM   #1
mlangdn
Senior Member
 
Registered: Mar 2005
Location: Kentucky
Distribution: Slackware64-current
Posts: 1,378

Rep: Reputation: 180Reputation: 180
Xsane Failed to open device


I'm running -current along with Eric's latest kde. I don't scan that often, so I have no idea when this problem began, but xsane is failing with this error:

Code:
Failed to open device 'hpaio:/usb/Officejet_Pro_L7500?serial=MY8BS34011': End of file reached
scanimage -L returns:

Code:
scanimage -L
device `hpaio:/usb/Officejet_Pro_L7500?serial=MY8BS34011' is a Hewlett-Packard Officejet_Pro_L7500 all-in-one
Google has been no help. I can scan with a program called vuescan, and I haven't tied sane from a commandline. I don't know the proper syntax yet, but I am reading up on it.

I installed Slackware64-current on an empty partition, and ran hp-setup. The printer installed in seconds and works just fine. However, I get the same error when trying to scan with xsane.

Just wondering if anyone else is having this problem.
 
Old 07-04-2012, 05:27 PM   #2
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 2,577

Rep: Reputation: 431Reputation: 431Reputation: 431Reputation: 431Reputation: 431
Have you added your username to lp group? It was changed in the last update
 
Old 07-04-2012, 05:51 PM   #3
mlangdn
Senior Member
 
Registered: Mar 2005
Location: Kentucky
Distribution: Slackware64-current
Posts: 1,378

Original Poster
Rep: Reputation: 180Reputation: 180
I should have mentioned that, but yes, I am in the group lp. Also scanner.
 
Old 07-06-2012, 02:29 PM   #4
mlangdn
Senior Member
 
Registered: Mar 2005
Location: Kentucky
Distribution: Slackware64-current
Posts: 1,378

Original Poster
Rep: Reputation: 180Reputation: 180
Its solved - sort of, anyway. I rebuilt the cups package and the hplip package from 13.37. When I click on xsane, it takes a while I reckon for it to find the device. Maybe 40 seconds or so. Then that window disappears and the start screen for xsane appears about 15 seconds later.

It used to be nearly instantaneous. Not sure why its like this, but at least I can scan now, and the printer still works just fine.

Well, poo. I don't need to scan anything at the moment. Now I'll forget and upgrade the darn thing again.

Then again, I probably only needed to change the hplip package. I'm thinking just now that the ppd file was probably the culprit - but I'm just guessing now. It works.
 
Old 09-09-2012, 09:38 PM   #5
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 2,577

Rep: Reputation: 431Reputation: 431Reputation: 431Reputation: 431Reputation: 431
This should be fixed in hplip-3.12.9
 
1 members found this post helpful.
Old 09-10-2012, 01:41 AM   #6
mlangdn
Senior Member
 
Registered: Mar 2005
Location: Kentucky
Distribution: Slackware64-current
Posts: 1,378

Original Poster
Rep: Reputation: 180Reputation: 180
Thanks for the update Willy. I had just forgot about it since I don't scan that often. I reckon I'll download this tonight and give it a shot.
 
Old 09-10-2012, 06:27 AM   #7
mlangdn
Senior Member
 
Registered: Mar 2005
Location: Kentucky
Distribution: Slackware64-current
Posts: 1,378

Original Poster
Rep: Reputation: 180Reputation: 180
hplip-3.12.9 works just fine for scanning now. Thanks to Patrick and Ken Zalewski.
 
Old 11-04-2012, 02:12 PM   #8
Xeratul
Senior Member
 
Registered: Jun 2006
Location: Debian Land
Posts: 1,353

Rep: Reputation: 83
******** HOW TO INSTALL ON A SERVER WITHOUT ANYTHING INSTALLED ON IT JUST SAMBA KERB AND HPLIP, and LDAP **************" no x11


you simply need to install hplip
to get cups


elinks http://localhost:631
then add teh printer over teh Network it will test hp...


then you can print after doing
lpstat -a
lpoptiosn <-- to add the printer


and for sane for scanning
probably scanimage -L will not see it

no matter... you do :
scanimage --device-name "hpaio:... <--- example: hpaio:/net/printer?ip=10.1.1.100" > test.pnm


here it is !

Enjoy







dependencies:
libsane
hplip
and nothing else
and hte backend for hp


Who need X11 !! me not. never installed it on any servers

Last edited by Xeratul; 11-04-2012 at 02:14 PM.
 
  


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
[SOLVED] Failed to open device sindhu4sind Linux - Newbie 7 05-24-2012 04:14 AM
Failed to open audio device (/dev/dsp): No such device stevesk Slackware 6 01-01-2009 06:29 AM
hp scanjet 4400c -xsane failed to open device phreakshew Linux - Hardware 2 09-15-2006 08:33 PM
mp3blaster: Failed to open sound device. Dralnu Linux - Software 2 05-22-2006 01:39 PM
Failed to open device /dev/usb/ttyUSB0: No such device efm Linux - Newbie 2 04-04-2005 08:46 PM


All times are GMT -5. The time now is 02:22 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration