LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 06-13-2010, 06:15 PM   #1
lpallard
Senior Member
 
Registered: Nov 2008
Posts: 1,045

Rep: Reputation: Disabled
HPLIP & slack 13 -current


Hi! I am trying to setup a networked hP C6280 all in one device attached to my network via Cat5 cable. It has the IP 192.168.0.105 and I am experiencing problems with setting up HPLIP... I know I am not the only one to have this problem, but I cant find specific info for slackware and all the posts I've found on the web are outdated, often refering to slack 9 or having been posted prior to 2006....

I use Slackware -Current (prior to 13.1 release), CUPS V1.4.3 and HPLIP V3.10.2

When I try to setup my device in HPLIP (hp-setup), I select "network/ethernet/wireless device", then HPLIP discovers my printer @ 192.168.0.105 (like I expect), and then I click "add printer" and I get:

Code:
Printer queue setup failed.
Please restart CUPS and try again.
And then the setup exits. Of course restarting CUPS will not help. I reinstalled HPLIP and no luck.

I can setup the device in CUPS, but if I proceed this way, I will not be able to select the attached scanner as a resource in XSANE.... In other words, if I setup the all-in-one device with CUPS, it is considered only a simple printer...

I remember that I had the same problem with Slackware 12.2 about 14 months ago, but cannot remember how I fixed it.
Anybody would be able to help me??.

Thanks!

Last edited by lpallard; 06-13-2010 at 06:18 PM.
 
Old 06-14-2010, 03:21 AM   #2
mlangdn
Senior Member
 
Registered: Mar 2005
Location: Kentucky
Distribution: Slackware64-current
Posts: 1,845

Rep: Reputation: 452Reputation: 452Reputation: 452Reputation: 452Reputation: 452
I changed the permissions in /proc/bus/usb/002 to read/write for the owner and group and read-only for others. I then re-ran hp-setup and all was well for the printer, scanner, fax, etc. I think you can write a udev rule to cover this, but I don't know much about udev. I usually do it down and dirty.
 
Old 06-14-2010, 06:34 PM   #3
lpallard
Senior Member
 
Registered: Nov 2008
Posts: 1,045

Original Poster
Rep: Reputation: Disabled
mlangdn,

there is several folders in /proc/bus/usb/... like 001, 002 .... 007

I tried to change the permissions of ALL of these folders with:

Owner: Can view & modify content
Group: Can view & modify content
Others: Can view content

And I checked the checkbox "Apply changes to all subfolders and their contents"

but that did not work....

Anything else to try? In fact, how di dyou know it was 002 and not some other folders? I would like to specify that the owner of these folders is root:root
 
Old 06-14-2010, 06:54 PM   #4
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836
Blog Entries: 1

Rep: Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251
Just to double check: do you belong to the lp group?
 
Old 06-14-2010, 08:05 PM   #5
lpallard
Senior Member
 
Registered: Nov 2008
Posts: 1,045

Original Poster
Rep: Reputation: Disabled
sycamorex, yes I am member of lp... in fact I am member of: lp, floppy, audio, video, cdrom, plugdev, power, netdev, scanner and of course users.... I hope this will help!
 
Old 06-14-2010, 09:33 PM   #6
mlangdn
Senior Member
 
Registered: Mar 2005
Location: Kentucky
Distribution: Slackware64-current
Posts: 1,845

Rep: Reputation: 452Reputation: 452Reputation: 452Reputation: 452Reputation: 452
Run hp-check. That will tell you what folder.
I also told you wrong, which is my fault.

The file for me was /dev/bus/usb/002/003

I changed 003 to rw for all.

The output from hp-check you are looking for will be like this from mine:

Code:
-----------------
| USB I/O SETUP |
-----------------

Checking for permissions of USB attached printers...

HP Device 0x4f11 at 002:003: 
    Device URI: hp:/usb/Officejet_5600_series?serial=CN6CJDE1K704B2
    Device node: /dev/bus/usb/002/003
    Mode: 0666
getfacl: Removing leading '/' from absolute path names
# file: dev/bus/usb/002/003
# owner: root
# group: lp
user::rw-
group::rw-
other::rw-
 
Old 06-15-2010, 02:54 AM   #7
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
Why are all of you other than the OP talking about usb devices?

Quote:
I am trying to setup a networked hP C6280 all in one device attached to my network via Cat5 cable.
Did I miss something?
 
Old 06-15-2010, 08:14 AM   #8
mlangdn
Senior Member
 
Registered: Mar 2005
Location: Kentucky
Distribution: Slackware64-current
Posts: 1,845

Rep: Reputation: 452Reputation: 452Reputation: 452Reputation: 452Reputation: 452
Quote:
Originally Posted by Richard Cranium View Post
Why are all of you other than the OP talking about usb devices?



Did I miss something?
Yes, you did. The OP also wants to use scanner functionality and it does not work. That is a permissions thingy, not a network issue. The OP can set up the printer in CUPS, and it works fine, except for scanning.

You also missed giving up a solution. I realize its oftentimes easier to criticize a possibly wrong answer than to post a right answer - perhaps you forgot to post your solution?
 
Old 06-15-2010, 03:24 PM   #9
fcaraballo
Member
 
Registered: Feb 2004
Location: WA
Distribution: Slackware
Posts: 230

Rep: Reputation: 31
Quote:
Originally Posted by lpallard View Post
I can setup the device in CUPS, but if I proceed this way, I will not be able to select the attached scanner as a resource in XSANE.... In other words, if I setup the all-in-one device with CUPS, it is considered only a simple printer...
This is not entirely correct. Try the following to setup your printer:
Code:
http://localhost:631/
'Adding Printers and Classes'
'Add Printer' (enter auth info)
'AppSocket\HP JetDirect'
Continue
Run 'hp-probe' in terminal
Enter a '1'
copy 'hp:/net/<printer>?ip=<address>'
paste to 'Connection:' box
Enter 'Name:', 'Description:', 'Location:'
Click 'HP' in 'Make:' box
Continue
Choose PPD
Click 'Add Printer'
Set Default Options
Goto Printers\Click on <printer> under 'Queue Name'
Click on 'Administration' then 'Set As Server Default'
Your printer should now show in 'HP Device Manager' and there should be a 'Scan' actions button that starts XSANE.
 
Old 06-15-2010, 07:07 PM   #10
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
Quote:
Originally Posted by mlangdn View Post
Yes, you did. The OP also wants to use scanner functionality and it does not work. That is a permissions thingy, not a network issue. The OP can set up the printer in CUPS, and it works fine, except for scanning.

You also missed giving up a solution. I realize its oftentimes easier to criticize a possibly wrong answer than to post a right answer - perhaps you forgot to post your solution?
Part of figuring out the solution is figuring out the correct problem.

If the OP is using an ethernet connection to communicate to his all-in-one device, what good is it for you to tell him about USB devices?


lpallard, perhaps this will help.
 
1 members found this post helpful.
Old 06-16-2010, 02:10 AM   #11
mlangdn
Senior Member
 
Registered: Mar 2005
Location: Kentucky
Distribution: Slackware64-current
Posts: 1,845

Rep: Reputation: 452Reputation: 452Reputation: 452Reputation: 452Reputation: 452
I probably should have stayed out of this one. I just don't do much on networking.
 
Old 06-16-2010, 03:35 AM   #12
jannekrille
Member
 
Registered: Jul 2005
Location: Dalsland, Sweden
Distribution: Slackware 13.0 and 13.1
Posts: 75

Rep: Reputation: 22
Brilliant!

Quote:
Originally Posted by Richard Cranium
lpallard, perhaps this will help.
The hp-makeuri command helped me get the right syntax on the URI, and ticking the "HP Printer (HPLIP)" in the cups ui instead of a network printer option (which looked logic to me), my network connected HP C5180 came up in the HP device manager with full functionality including scanning as expected. Still, I think the HP device manager should be able to install printers without hazzle like this (remembering the "LC_ALL=$LANG.UTF8 hp-toolbox" yadayada in 13.0)...
Thanks,

Jan C.
 
Old 06-17-2010, 09:24 PM   #13
lpallard
Senior Member
 
Registered: Nov 2008
Posts: 1,045

Original Poster
Rep: Reputation: Disabled
Wink

fcaraballo, that did the trick perfectly! was so simple now...

thanks!
 
  


Reply



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
Current 03/2010 - hplip and the parallel port (pp-build=no) hotchili Slackware 0 03-05-2010 11:51 AM
hplip 3.9.2 missing DeskJet printer ppd's (-current) the3dfxdude Slackware 4 03-22-2009 02:47 PM
anyone issues with cxoffice & Slack-current? BroX Slackware 1 11-15-2004 04:06 AM
slack-current & 2.4.18 PTBmilo Slackware 2 02-09-2003 08:19 PM
slack-current & Evolution KenHan Slackware 4 02-07-2003 02:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:47 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