From: Eugene Prokopiev <prokopiev@stc.donpac.ru> To: hardware@altlinux.ru Subject: [Hardware] sane: подключение Plustek OpticPro 4830P Date: Tue, 11 Jan 2005 22:23:45 +0300 Message-ID: <41E427C1.2000600@stc.donpac.ru> (raw) Здравствуйте! Есть в наличии сканер 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, но я ее не нашел, в каком она пакете? -- С уважением, Прокопьев Евгений
next reply other threads:[~2005-01-11 19:23 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2005-01-11 19:23 Eugene Prokopiev [this message] 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
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=41E427C1.2000600@stc.donpac.ru \ --to=prokopiev@stc.donpac.ru \ --cc=hardware@altlinux.ru \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
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