Gentoo Archives: gentoo-user

From: Allan Gottlieb <gottlieb@×××.edu>
To: gentoo-user@l.g.o
Subject: [gentoo-user] telling hpaio / sane what scanners are present
Date: Fri, 12 Jan 2007 19:25:38
Message-Id: yu964bcawb4.fsf@nyu.edu
1 Two problems identifying scanners
2
3 ajglap ~ # scanimage -L
4 device `hpaio:/usb/HP_LaserJet_1200?device=/dev/usb/lp0' is a hp HP_LaserJet_1200 multi-function peripheral
5 ajglap ~ #
6
7 This is wrong. I do indeed have HP laserjet 1200 attached via usb,
8 but it is a printer not a multifunction device.
9
10 The second problem is that there is on the network (at location
11 192.168.1.50) a real multifunction device, HP officejet 7310.
12
13 This is not found.
14
15 Add'l info
16
17 When at another location with no laserjet but with a USB multifunction
18 device (officejet 7130 -- not 7310), all is well.
19
20 If at the original site I try scanimage without -L, it faults (see
21 below).
22
23 thanks in advance for any help,
24 allan
25
26 ajglap ~ # scanimage
27 *** glibc detected *** scanimage: munmap_chunk(): invalid pointer: 0xb7dd8391 ***
28 ======= Backtrace: =========
29 /lib/libc.so.6[0xb7e4abab]
30 /usr/lib/sane/libsane-hpaio.so.1(sane_hpaio_open+0x28d)[0xb7dceb09]
31 /usr/lib/libsane.so.1(sane_dll_open+0xde)[0xb7fc1e36]
32 /usr/lib/libsane.so.1(sane_open+0x24)[0xb7fc24c9]
33 scanimage[0x804ba26]
34 /lib/libc.so.6(__libc_start_main+0xdc)[0xb7dff864]
35 scanimage[0x80491e1]
36 ======= Memory map: ========
37 08048000-08051000 r-xp 00000000 16:03 803995 /usr/bin/scanimage
38 08051000-08052000 rw-p 00008000 16:03 803995 /usr/bin/scanimage
39 08052000-08073000 rw-p 08052000 00:00 0 [heap]
40 b7c72000-b7c7b000 r-xp 00000000 16:03 670542 /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libgcc_s.so.1
41 b7c7b000-b7c7c000 rw-p 00008000 16:03 670542 /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libgcc_s.so.1
42 b7c7c000-b7d8f000 r-xp 00000000 16:03 1112290 /usr/lib/libcrypto.so.0.9.8
43 b7d8f000-b7da4000 rw-p 00113000 16:03 1112290 /usr/lib/libcrypto.so.0.9.8
44 b7da4000-b7da7000 rw-p b7da4000 00:00 0
45 b7da7000-b7dc6000 r-xp 00000000 16:03 364633 /usr/lib/libhpip.so.0.0.1
46 b7dc6000-b7dc7000 rw-p 0001e000 16:03 364633 /usr/lib/libhpip.so.0.0.1
47 b7dc7000-b7dc9000 rw-p b7dc7000 00:00 0
48 b7dc9000-b7ddf000 r-xp 00000000 16:03 364636 /usr/lib/libsane-hpaio.so.1.0.0
49 b7ddf000-b7de0000 rw-p 00015000 16:03 364636 /usr/lib/libsane-hpaio.so.1.0.0
50 b7de0000-b7de2000 rw-p b7de0000 00:00 0
51 b7de2000-b7de9000 r-xp 00000000 16:03 1112285 /usr/lib/libieee1284.so.3.0.4
52 b7de9000-b7dea000 rw-p 00006000 16:03 1112285 /usr/lib/libieee1284.so.3.0.4
53 b7dea000-b7efa000 r-xp 00000000 16:03 278468 /lib/libc-2.4.so
54 b7efa000-b7efc000 r--p 0010f000 16:03 278468 /lib/libc-2.4.so
55 b7efc000-b7efe000 rw-p 00111000 16:03 278468 /lib/libc-2.4.so
56 b7efe000-b7f01000 rw-p b7efe000 00:00 0
57 b7f01000-b7f23000 r-xp 00000000 16:03 278469 /lib/libm-2.4.so
58 b7f23000-b7f25000 rw-p 00021000 16:03 278469 /lib/libm-2.4.so
59 b7f25000-b7f36000 r-xp 00000000 16:03 278474 /lib/libz.so.1.2.3
60 b7f36000-b7f37000 rw-p 00010000 16:03 278474 /lib/libz.so.1.2.3
61 b7f37000-b7f55000 r-xp 00000000 16:03 1116899 /usr/lib/libjpeg.so.62.0.0
62 b7f55000-b7f56000 rw-p 0001d000 16:03 1116899 /usr/lib/libjpeg.so.62.0.0
63 b7f56000-b7f57000 rw-p b7f56000 00:00 0
64 b7f57000-b7fa6000 r-xp 00000000 16:03 375117 /usr/lib/libtiff.so.3.8.2
65 b7fa6000-b7fa8000 rw-p 0004f000 16:03 375117 /usr/lib/libtiff.so.3.8.2
66 b7fa8000-b7fb7000 r-xp 00000000 16:03 278472 /lib/libpthread-2.4.so
67 b7fb7000-b7fb8000 r--p 0000e000 16:03 278472 /lib/libpthread-2.4.so
68 b7fb8000-b7fb9000 rw-p 0000f000 16:03 278472 /lib/libpthread-2.4.so
69 b7fb9000-b7fbb000 rw-p b7fb9000 00:00 0
70 b7fbb000-b7fbd000 r-xp 00000000 16:03 278471 /lib/libdl-2.4.so
71 b7fbd000-b7fbf000 rw-p 00001000 16:03 278471 /lib/libdl-2.4.so
72 b7fbf000-b7fc4000 r-xp 00000000 16:03 1112511 /usr/lib/libsane.so.1.0.18
73 b7fc4000-b7fc5000 rw-p 00004000 16:03 1112511 /usr/lib/libsane.so.1.0.18
74 b7fd8000-b7fd9000 rw-p b7fd8000 00:00 0
75 b7fd9000-b7fda000 r-xp b7fd9000 00:00 0 [vdso]
76 b7fda000-b7ff3000 r-xp 00000000 16:03 278465 /lib/ld-2.4.so
77 b7ff3000-b7ff4000 r--p 00019000 16:03 278465 /lib/ld-2.4.so
78 b7ff4000-b7ff5000 rw-p 0001a000 16:03 278465 /lib/ld-2.4.so
79 bf89c000-bf8b2000 rw-p bf89c000 00:00 0 [stack]
80 Aborted
81 ajglap ~ #
82 --
83 gentoo-user@g.o mailing list