Re: libusb
On Thu, 06 Oct 2011 08:59:53 +1000, Weaver wrote:
> On Wed, 5 Oct 2011 17:00:54 +0000 (UTC) Camaleón <noelamac@gmail.com>
> wrote:
(...)
>> > It's an HP 2000 J210
>>
>> Thanks. I hoped it was a PostScript printer and so no driver required,
>> but sadly it is not.
>>
>> Okay, so Sid's hplip should be able to work with your printer. It's on
>> version 3.11 and your printer requires >3.10.9. If it does not work,
>> you are eligible to open a bug report.
>
> The feedback I have always got when trying to install through foomatic
> is 'no driver available',
You mean using "hplip" (hp-toolbox)?
The hplip version that is available in Sid should be able to detect your
printer without hassle. If something does not work (printer not detected
or driver not available) that's an error that should be reported so it
gets corrected.
> and having installed from the HP site driver resource, I have always
> been able to get a functioning printer. I've done this with this same
> printer in the past and been printing off it successfully.
I'm not sure if it possible to have both versions installed at the same
time, that is, Debian hplip package and upstream hplip one :-?
>> Good... what package did you download? I mean, to install the printer
>> (upstream source of hplip)?
>
> I go here:
>
> http://www8.hp.com/us/en/support-drivers.html
>
> Which, after my supplying OS, version, passes me through to the
> Sourceforge repository where I download the file hplip-3.11.10.run,
> which I place on the desktop.
>
> cd desktop
> sh hplip-3.11.10.run
>
> initiates the install. The installer recognises the fact that it's
> Debian and Unstable, asks for the root password and begins the install.
> Then I get the complaint.
>
> I've tried it with the USB port connected and disconnected as quite
> often with USB installs this will be the problem. No change in either
> case.
Okay...
>> > No, there are none in SID called just plain 'libusb'. And I've
>> > installed every other package name that has 'libusb' in it. Still
>> > nothing.
>>
>> Hum... I can see several:
>>
>> libusb++-0.1-4c2
>> libusb-0.1-4
>> libusb-1.0-0
>> libusb2
>>
>> And there can be also associated libraries:
>>
>> libusb++-dev
>
> None of these are just 'libusb' and I recognise some of those that are
> installed already. There's nothing left in the aptitude ncurses
> interface with any libusb description in the 'uninstalled packages
> section. I've installed them all, whether they appear related or not, in
> case of dependency requirements.
"libusb" is not the name of a package but a library which can have
different names depending on the distribution. So let's look at hplip
manual install requirements:
http://hplipopensource.com/hplip-web/install/manual/distros/debian.html
First, I can't see Debian sid as a supported target but anyway, let's see
what are the required packages for Squeeze:
***
libcups2
libcups2-dev
cups-bsd
cups-client
libcupsimage2
libcupsimage2-dev
libdbus-1-dev
g++
gs-esp
libssl-dev
libjpeg62-dev
libsnmp-dev
libc6
libtool
libusb-dev <-- this!
make
python-imaging
policykit-1
policykit-1-gnome
python-qt4
python-qt4-dbus
python-dbus
python-gobject
python-dev
python-notify
python
python-reportlab
sane
libsane-dev
sane-utils
xsane
***
Wow, how many! :-)
There is one for libsub (libusb-dev).
>> Good, good... so the installer can't see where libusb is located in
>> your system (maybe a packaging issue). Run:
>>
>> dpkg -l | grep libusb
>> locate libusb
>>
>> and put here the result.
>
> weaver@192-168-1-2:~$ su
> Password:
(no need to become root)
> root@192-168-1-2:/home/weaver# dpkg -l | grep libusb
> ii libusb++-0.1-4c2 2:0.1.12-19 userspace C++ USB programming library
> ii libusb-0.1-4 2:0.1.12-19 userspace USB programming library
> ii libusb-1.0-0 2:1.0.8-5 userspace USB programming library
> ii libusbhid-common 8.2+ds1-4 Common files for the USB HID devices FreeBSD library
> ii libusbip0 0.1.7-3 USB device sharing system over IP network (shared library)
> ii libusbmuxd1 1.0.7-1 USB multiplexor daemon for iPhone and iPod Touch devices - library
> ii libusbprog0 0.2.0-1 Library for programming the USBprog hardware
> ii libusbtc08-1 1.7.2-1 Hardware interface library for PicoTech USB TC08 Thermocouple sensor
(...)
Okay, so no "libusb-dev" at all, right? :-?
Install that package and try to run the installer again.
Greetings,
--
Camaleón
Reply to: