[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: libusb



On Thu, 6 Oct 2011 14:49:24 +0000 (UTC)
Camaleón <noelamac@gmail.com> wrote:

<snip>

> >> libusb++-dev

O.K., I've installed libusb-dev, but also libcupsimage2-dev which is
also required

As well I've installed sane-devel and libnetsnmp-devel, which aren't
necessary unless you want to print from a scan and have your printer
available over a network. In the installer's language, they are
options. In Debian-speak, they would be classified as recommends.

<snip>

...and from there, the install runs without a hitch, including
disabling and enabling any conflicting or required packages along the
way:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
BUILD AND INSTALL
-----------------
Running './configure --prefix=/usr --enable-qt4 --enable-doc-build --disable-cups-ppd-install --disable-foomatic-drv-install --enable-foomatic-ppd-install --enable-hpijs-install --disable-policykit --disable-cups-drv-install --disable-hpcups-install --enable-network-build --enable-dbus-build --enable-scan-build --enable-fax-build'
Please wait, this may take several minutes...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...after which it runs 'make-clean', then 'make'.


and providing the option to unplug and replug the usb printer
connection or providing the option for a restart, to register the
printer. Until it hands over to hp-setup, where I get everything going right -
the printer is recognised automagically, the driver is right there in
the repository (hp-deskjet_2000_j210_series-hpijs.ppd.gz), but when I
hit 'Add Printer' in the final stage, I get a pop-up:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"Printer queue setup failed. Could not connect to CUPS Server
Is user added to "lpadmin" group(s)"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
..and when I hit 'enter' from there, I get returned to the Desktop
'user' prompt. An abort. That looks like a permissions issue.

Further, when I attempt, as root, to call up hp-setup to configure it
that way, I get:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
weaver@192-168-1-2:~$ su
Password: 
root@192-168-1-2:/home/weaver# hp-setup

HP Linux Imaging and Printing System (ver. 3.11.10)
Printer/Fax Setup Utility ver. 9.0

Copyright (c) 2001-9 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

No protocol specified
hp-setup: cannot connect to X server :0.0
root@192-168-1-2:/home/weaver# 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Which appears to be another issue again.
So, what is happening here?

I tried to resolve the permissions issue, but I'm just getting into CLI
and couldn't make heads or tails of anything. I tried all sorts of
command combinations for a period of about a week, but the computer
basically said 'Go away, you're too stupid and I don't want to deal
with you'. As lpadmin doesn't seem to be a package, as such, I'm unable
to use a gui file manager like Thunar and change permissions through
'properties' which is how I've been doing it up till now.

I wouldn't have a clue about the other situation.
Where to from here?
Regards and thanks,

Weaver.

-- 
"In a world without walls and fences, 
what need have we for Windows or Gates?"
-Anon.


Reply to: