SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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??.
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.
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
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!
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?
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.
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?
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,
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.