LinuxQuestions.org
Register a domain and help support LQ
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, 07:15 PM   #1
lpallard
Member
 
Registered: Nov 2008
Location: Milky Way
Distribution: Slackware (various releases)
Posts: 970

Rep: Reputation: 44
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 07:18 PM.
 
Old 06-14-2010, 04:21 AM   #2
mlangdn
Senior Member
 
Registered: Mar 2005
Location: Kentucky
Distribution: Slackware64-current
Posts: 1,380

Rep: Reputation: 180Reputation: 180
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, 07:34 PM   #3
lpallard
Member
 
Registered: Nov 2008
Location: Milky Way
Distribution: Slackware (various releases)
Posts: 970

Original Poster
Rep: Reputation: 44
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, 07:54 PM   #4
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,578
Blog Entries: 1

Rep: Reputation: 1033Reputation: 1033Reputation: 1033Reputation: 1033Reputation: 1033Reputation: 1033Reputation: 1033Reputation: 1033
Just to double check: do you belong to the lp group?
 
Old 06-14-2010, 09:05 PM   #5
lpallard
Member
 
Registered: Nov 2008
Location: Milky Way
Distribution: Slackware (various releases)
Posts: 970

Original Poster
Rep: Reputation: 44
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, 10:33 PM   #6
mlangdn
Senior Member
 
Registered: Mar 2005
Location: Kentucky
Distribution: Slackware64-current
Posts: 1,380

Rep: Reputation: 180Reputation: 180
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, 03:54 AM   #7
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: Carrollton, Texas
Distribution: Slackware64 14.1
Posts: 1,566

Rep: Reputation: 462Reputation: 462Reputation: 462Reputation: 462Reputation: 462
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, 09:14 AM   #8
mlangdn
Senior Member
 
Registered: Mar 2005
Location: Kentucky
Distribution: Slackware64-current
Posts: 1,380

Rep: Reputation: 180Reputation: 180
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, 04: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, 08:07 PM   #10
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: Carrollton, Texas
Distribution: Slackware64 14.1
Posts: 1,566

Rep: Reputation: 462Reputation: 462Reputation: 462Reputation: 462Reputation: 462
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, 03:10 AM   #11
mlangdn
Senior Member
 
Registered: Mar 2005
Location: Kentucky
Distribution: Slackware64-current
Posts: 1,380

Rep: Reputation: 180Reputation: 180
I probably should have stayed out of this one. I just don't do much on networking.
 
Old 06-16-2010, 04: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, 10:24 PM   #13
lpallard
Member
 
Registered: Nov 2008
Location: Milky Way
Distribution: Slackware (various releases)
Posts: 970

Original Poster
Rep: Reputation: 44
Wink

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

thanks!
 
  


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


All times are GMT -5. The time now is 08:33 PM.

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