ALT Linux hardware support
 help / color / mirror / Atom feed
* [Hardware] sane: подключение Plustek OpticPro 4830P
@ 2005-01-11 19:23 Eugene Prokopiev
  2005-01-13  5:58 ` [Hardware] SUMMARY: " Eugene Prokopiev
  2005-01-22  8:38 ` [Hardware] " Vitaly Lipatov
  0 siblings, 2 replies; 5+ messages in thread
From: Eugene Prokopiev @ 2005-01-11 19:23 UTC (permalink / raw)
  To: hardware

Здравствуйте!

Есть в наличии сканер Plustek OpticPro 4830P, хочется подключить его 
_правильно_

Прочел man sane-plustek_pp и понял, что мой сканер может работать в двух 
режимах:

1. direct - т.е. работая с параллельным портом в пользовательском режиме
2. kernel - т.е. используя модуль ядра

Это настраивается в /etc/sane.d/plustek_pp.conf, по умолчанию он там 
прописан в direct-режиме.

Чтобы описанное в /etc/sane.d/plustek_pp.conf работало, я в 
/etc/sane.d/dll.conf написал:

plustek_pp

а все остальное оттуда поудалял (так было рекомендовано в man sane-dll). 
И вот теперь я в раздумьях - а чего делать дальше? Сканера никто не видит:

# xscanimage
[xscanimage] No scanners were identified. If you were expecting something
           different, check that the scanner is plugged in, turned on and
           detected by sane-find-scanner (if appropriate). Please read
           the documentation which came with this software (README, FAQ,
           manpages).

Правил /etc/sane.d/plustek_pp.conf, чтобы сканер работал в 
kernel-режиме, эффект тот же.




Когда-то я настраивал его неправильно (make, make install ...), пытаюсь 
воспроизвести. Нашел у себя исходники старого модуля ядра 
(plustek-module-0_42_9.tar.gz), там внутри Makefile, в котором есть 
такие цели:

install - собирает и копирует pt_drv.o в 
/lib/modules/2.4.26-std-up-alt6/misc/ (кстати, а почему в коробке этого 
модуля нет?)

load - загружает этот модуль

В файле INSTALL также рекомендуют написать в /etc/modules.conf:

alias char-major-40 pt_drv
pre-install pt_drv modprobe -k parport
options pt_drv lampoff=180 warmup=15 port=0x378 lOffonEnd=0 mov=0 slowIO=1

После этих манипуляций получаем:
# ls -l /dev/pt_drv*
crw-r--r--  1 root root 40, 0 Jan 11 21:39 /dev/pt_drv
crw-r--r--  1 root root 40, 0 Jan 11 21:39 /dev/pt_drv0
crw-r--r--  1 root root 40, 1 Jan 11 21:39 /dev/pt_drv1
crw-r--r--  1 root root 40, 2 Jan 11 21:39 /dev/pt_drv2
crw-r--r--  1 root root 40, 3 Jan 11 21:39 /dev/pt_drv3

# cat /proc/pt_drv/info
Plustek Flatbed Scanner Driver version 0.42-10
Devices      : 1
IOCTL-Version: 0x00000103

# cat /proc/pt_drv/device0/info
Model       : 4830P
Portaddress : 0x378
Portmode    : BiDi (PS/2) (delayed I/O, autodetect)
Buttons     : 1
Warmuptime  : 15s
Lamp timeout: 180s
mov-switch  : 0
I/O-delay   : 0
CCD-Type    : SONY Type
TPA         : no

# cat /proc/pt_drv/device0/button0
0

# xscanimage
[xscanimage] No scanners were identified. If you were expecting something
           different, check that the scanner is plugged in, turned on and
           detected by sane-find-scanner (if appropriate). Please read
           the documentation which came with this software (README, FAQ,
           manpages).

В INSTALL рекомендуют проверять доступность сканера утилитой scanimage, 
но я ее не нашел, в каком она пакете?

-- 
С уважением, Прокопьев Евгений


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-01-22  8:38 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-11 19:23 [Hardware] sane: подключение Plustek OpticPro 4830P Eugene Prokopiev
2005-01-13  5:58 ` [Hardware] SUMMARY: " Eugene Prokopiev
2005-01-13  7:28   ` Michael Shigorin
2005-01-22  8:36   ` Vitaly Lipatov
2005-01-22  8:38 ` [Hardware] " Vitaly Lipatov

ALT Linux hardware support

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/hardware/0 hardware/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 hardware hardware/ http://lore.altlinux.org/hardware \
		hardware@altlinux.ru hardware@lists.altlinux.org hardware@lists.altlinux.ru hardware@lists.altlinux.com hardware@altlinux.org
	public-inbox-index hardware

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.hardware


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git