← Back to team overview

sslug-teknik team mailing list archive

Re: xsane kan ikke finde min scanner

 

On Monday 29 November 2004 13:18, Ole Kofoed Hansen wrote:
> >         Model is "PSC 2170 Series".
>
> Så skal du måske prøve at slukke den et øjeblik. I dokumentationen står:
>
> Try power-cycling the device. On some models, such as the PSC 2100,
> 2200, and OfficeJet 6100 series, connecting the device to a Windows
> system (possibly due to taking advantage of a dual-boot configuration),
> regardless of whether you actually perform a scan operation on Windows,
> breaks scanning in Linux until you power-cycle the device.

Hmm, hvorfor har jeg ikke selv fundet det? Nåh, jeg prøver.

[...]

Og det virker! Både som root og som alm. bruger. Har lige scannet mit første 
billede! Fedt! Tak!

> Har du libsane-hpoj installeret?

Det tror jeg, det virker trods alt. Men bare for at lære noget vil jeg lige 
gennemgå det:

> cd into the directory where the SANE backend libraries are stored, for
> example, /usr/lib/sane or /usr/local/lib/sane. Run "ls -l
> libsane-hpoj.so.1" and/or "ldd libsane-hpoj.so.1". 


[root@localhost root]# cd /usr/lib/sane

[root@localhost sane]# ls -l libsane-hpoj.so.1
lrwxrwxrwx  1 root root 26 Sep  8 15:40 libsane-hpoj.so.1
     -> /usr/lib/libsane-hpoj.so.1

[root@localhost sane]# ll /usr/lib/libsane-hpoj.so*
lrwxrwxrwx  1 root root    19 Sep  8 15:40 /usr/lib/libsane-hpoj.so ->
     libsane-hpoj.so.1.0
lrwxrwxrwx  1 root root    19 Sep  8 15:40 /usr/lib/libsane-hpoj.so.1 ->
     libsane-hpoj.so.1.0
-rwxr-xr-x  1 root root 61464 May  5  2004 /usr/lib/libsane-hpoj.so.1.0

[root@localhost sane]# ldd libsane-hpoj.so.1
        libptal.so.0 => /usr/lib/libptal.so.0 (0x00190000)
        libhpojip.so.0 => /usr/lib/libhpojip.so.0 (0x009c0000)
        libc.so.6 => /lib/tls/libc.so.6 (0x00694000)
        libnetsnmp.so.5 => /usr/lib/libnetsnmp.so.5 (0x00e03000)
        libcrypto.so.4 => /lib/libcrypto.so.4 (0x00c96000)
        libm.so.6 => /lib/tls/libm.so.6 (0x001c4000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x00238000)
        libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2 (0x00c14000)
        libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0x00111000)
        libcom_err.so.2 => /lib/libcom_err.so.2 (0x00650000)
        libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0x0019c000)
        libresolv.so.2 => /lib/libresolv.so.2 (0x00b70000)
        libdl.so.2 => /lib/libdl.so.2 (0x00179000)
        libz.so.1 => /usr/lib/libz.so.1 (0x00acc000)

> If libsane-hpoj.so.1 is missing or is a dangling symlink, 

Det er den jo ikke, så det er godt nok. Men hvordan skal jeg tolke outputtet 
fra ldd? Er det noget medc at jeg får et output, og derfor er den 
installeret?

-- 

        |\     _,,,---,,_       Greetings, Jens
 ZZZzz /,`.-'`'    -.  ;-;;,_
      |,4-  ) )-,_. ,\ (  `'-'  jens@xxxxxxx
     '---''(_/--'  `-'\_)
----------------------------------------------------
surge protector: a condom


Follow ups

References