Сканер HP M1005 MFP (установка backend'а hpljm1005.c)

Всё о принтерах, сканерах и многофункциональных устройствах. Подключение, настройка, проблемы.

Модератор: Модераторы разделов

Аватара пользователя
user0zlt74
Сообщения: 102
ОС: Arch Linux - core Dump

Re: Сканер HP M1005 MFP

Сообщение user0zlt74 »

msio писал(а):
08.11.2007 23:08
Не знаю, что делать с этим файлом, чтобы установить сканер :unsure:


У меня получилось заставить его сканировать.
Делал примрно так:
1. Скачалал sane-backends-1.0.19.tar.gz
2. Скомпилял, установил
3. Сделал в /etc/sane.d файл hpljm1005.conf, содержимым:

#
# Configuration file for the HPLJM1005 backend
#
# HPLJM1005
usb 0x03f0 0x3b17
device auto

4. Перевключил МФУ

После этого сканер засканировал, НО.. при команде scanimage, и при запске xsane происходит "залипание" программ, после этого xsane определет сканнер и сканирует нормально.
Кто сталкивался - может что где подправить чтобы сканнер быстро определялся ?
Спасибо сказали:
Аватара пользователя
user0zlt74
Сообщения: 102
ОС: Arch Linux - core Dump

Re: Сканер HP M1005 MFP

Сообщение user0zlt74 »

После этого сканер засканировал, НО.. при команде scanimage, и при запске xsane происходит "залипание" программ, после этого xsane определет сканнер и сканирует нормально.
Кто сталкивался - может что где подправить чтобы сканнер быстро определялся ?

решено - еще одном месте сканер прописал, а именно в /etc/sane.d/hp.conf как тока в это файле заккоментил строчки, описывающие hplj m1005 mfp - опозноваться сканер стал быстро :))
Спасибо сказали:
reD_Rus
Сообщения: 156
ОС: Fedora 11 64-bit KDE 4.2.4

Re: Сканер HP M1005 MFP

Сообщение reD_Rus »

взято с FedoraForum.Org

1. PRINTER INSTALLATION
go to the page http://foo2xqx.rkkda.com/
and install driver as described.
(You should do this because driver included in Fedora 8 distribution do not work)


2. SCANNER INSTALLATION
(there is probably many ways to do this (maybe easier) I describe this procedure because it work for me

first install all needed packages if not installed
Code:
# yum install sane-backends sane-backends-libs sane-backends-devel sane-frontends libsane-hpaio usbutils




now you should have all SANE packages installed but you scanner will not work because it is not included in supported hardware in this SANE release
you can check this (remember connect you HP LaserJet M1005 MFP and turn it on)
write command
Code:
# sane-find-scanner

it should produce the long message including line: ”found USB scanner (vendor=0x03f0, product=0x3b17) at libusb:001:002”
next you should write command
Code:
# scanimage -L

and you should get message starting with : No scanners were identified ....

It means you scanner is properly connected and wisible in system but not recognized by this release of SANE

So – go with modification your SANE installation

in you home directory create temporary directory for sane backends source eg. sane_cvs
open console window and go to this directory
Code:
# cd sane_cvs

copy last sane backends source tree from SANE CVS repository

http://alioth.debian.org/frs/?group_id=30186 - качаем во вновь созданную папку исходники и распаковываем

write root password and compile with commands
Code:
# ./configure
# make
# make install


now you should do manual modifications of your files

as root change names of listed directories (old_name ----> new_name)
(I do this by running konqueror from console as root)
/etc/sane.d ----> /etc/sane.d_old
/usr/lib/sane ----> /usr/lib/sane_old

as root do symbolic links (I do this by running konqueror from console as root – just drag folders from one konqueror window to another and select "Link here"):
/usr/local/etc/sane.d ---> /etc/sane.d
/usr/local/lib/sane ---> /usr/lib/sane

now time to do last thing go with konqueror (as root) and look at directory
/usr/local/bin
select all files connected with SANE (about 4 files eg. sane-find-scanner, sane-config)
(sane-config is most important file in this case)

open new konqueror window (as root) and go to directory /usr/bin
create symbolic links by overwrite original files in /usr/bin directory (of course you can rename or backup original files)
Anyway, in directory /usr/bin you should have not original sane connected files (eg. sane-find-scanner, sane-config) but only links to sane connected files from /usr/local/bin directory.

now – some checks
check if the file hpljm1005.so exists in directory /usr/lib/sane
check if the file hpljm1005.conf exists in directory /usr/local/etc/sane.d
if not - create it.

check if the file hpljm1005.conf in directory /usr/local/etc/sane.d includes following text
Code:
# HPLJM1005
usb 0x03f0 0x3b17
device auto


if no – paste it there.

now run command:
Code:
# scanimage -L

you scanner should be listed now
Now you can use it - eg. you can run GIMP and select "acquire image from scann


Жаль что драйвер понимает только grayscale & color мне нужен b/w -(
Спасибо сказали:
yaleks
Сообщения: 2121
Статус: вне статуса
ОС: Gentoo ~

Re: Сканер HP M1005 MFP

Сообщение yaleks »

Это всё уже НЕ НАДО!
Ставите SANE 1.0.19 и там всё будет "из коробки".
Спасибо сказали:
igorigor76
Сообщения: 11
ОС: ASPLinux 12 Carbon (Fedora 7)

Re: Сканер HP M1005 MFP

Сообщение igorigor76 »

yaleks писал(а):
21.05.2008 12:39
Ставите SANE 1.0.19 и там всё будет "из коробки".

ASPLinux 12 Carbon (Fedora 7)
Linux version 2.6.22.9-91.0.120asp

Скачал sane-backends-1.0.19.tar.gz
./configure
make
make install

sane-find-scanner

# sane-find-scanner will now attempt to detect your scanner. If the
# result is different from what you expected, first make sure your
# scanner is powered up and properly connected to your computer.

# No SCSI scanners found. If you expected something different, make sure that
# you have loaded a kernel SCSI driver for your SCSI adapter.

# No USB scanners found. If you expected something different, make sure that
# you have loaded a kernel driver for your USB host controller and have setup
# the USB system correctly. See man sane-usb for details.
# SANE has been built without libusb support. This may be a reason
# for not detecting USB scanners. Read README for more details.

# Not checking for parallel port scanners.

# Most Scanners connected to the parallel port or other proprietary ports
# can't be detected by this program.

Что делать дальше?
Спасибо сказали: