ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] scaner primax
@ 2003-03-05 14:40 John A. Gladkikh
  2003-03-05 22:35 ` Vitaly Lipatov
  0 siblings, 1 reply; 9+ messages in thread
From: John A. Gladkikh @ 2003-03-05 14:40 UTC (permalink / raw)
  To: community

Hello All.

Может кто-нибудь подсказать по поводу настройки сканера Primax OneTouch 7600 под мастером.

делал так:

взял plustek-module-0_41_5 и дальше по инструкции
пересобрал libsane-devel и получил /usr/src/RPM/BUILD/sane-backends
туда скинул plustek-module
make all  - OK
make install - выдало:
   
mkdir -p /lib/modules/2.4.18-alt6master-up/misc
install -c -m "644" pt_drv.o /lib/modules/2.4.18-alt6master-up/misc/sbin/depmod -a
depmod: *** Unresolved symbols in /lib/modules/2.4.18-alt6master-up/misc/pt_drv.o

соответстенно, упс :(

-- 
Best regards
------------
John A. Gladkikh


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

* Re: [Comm] scaner primax
  2003-03-05 14:40 [Comm] scaner primax John A. Gladkikh
@ 2003-03-05 22:35 ` Vitaly Lipatov
  2003-03-06  8:08   ` John A. Gladkikh
                     ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Vitaly Lipatov @ 2003-03-05 22:35 UTC (permalink / raw)
  To: community

On 5 Март 2003 17:40, John A. Gladkikh wrote:
> mkdir -p /lib/modules/2.4.18-alt6master-up/misc
> install -c -m "644" pt_drv.o
> /lib/modules/2.4.18-alt6master-up/misc/sbin/depmod -a depmod:
> *** Unresolved symbols in
> /lib/modules/2.4.18-alt6master-up/misc/pt_drv.o
>
> соответстенно, упс :(
А что говорит
$ rpm -q kernel24-headers
-- 
Lav
Виталий Липатов
Санкт-Петербург
GNU! ALT Linux Team! LaTeX! LyX!


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

* Re: [Comm] scaner primax
  2003-03-05 22:35 ` Vitaly Lipatov
@ 2003-03-06  8:08   ` John A. Gladkikh
  2003-03-06 12:54   ` [Comm] scaner primax 2 John A. Gladkikh
  2003-03-07  6:42   ` [Comm] scaner primax 2_add John A. Gladkikh
  2 siblings, 0 replies; 9+ messages in thread
From: John A. Gladkikh @ 2003-03-06  8:08 UTC (permalink / raw)
  To: community

> > mkdir -p /lib/modules/2.4.18-alt6master-up/misc
> > install -c -m "644" pt_drv.o
> > /lib/modules/2.4.18-alt6master-up/misc/sbin/depmod -a depmod:
> > *** Unresolved symbols in
> > /lib/modules/2.4.18-alt6master-up/misc/pt_drv.o
> >
> > соответстенно, упс :(
> А что говорит
> $ rpm -q kernel24-headers
> -- 

rpm -q kernel24-headers
kernel24-headers-2.4.18-alt6master
-- 
Best regards
------------
John A. Gladkikh


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

* [Comm] scaner primax 2
  2003-03-05 22:35 ` Vitaly Lipatov
  2003-03-06  8:08   ` John A. Gladkikh
@ 2003-03-06 12:54   ` John A. Gladkikh
  2003-03-07  6:42   ` [Comm] scaner primax 2_add John A. Gladkikh
  2 siblings, 0 replies; 9+ messages in thread
From: John A. Gladkikh @ 2003-03-06 12:54 UTC (permalink / raw)
  To: community

вопрос 2:

при подключении к vware на LPT1 /dev/parport0
при запуске выдается, что устройство занято
следовательно, как его освободить лоя вмвари с учетом того,
что принтер уменя подключен через usb, а к параллельному порту 
подключен только сканер
-- 
Best regards
------------
John A. Gladkikh


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

* [Comm] scaner primax 2_add
  2003-03-05 22:35 ` Vitaly Lipatov
  2003-03-06  8:08   ` John A. Gladkikh
  2003-03-06 12:54   ` [Comm] scaner primax 2 John A. Gladkikh
@ 2003-03-07  6:42   ` John A. Gladkikh
  2003-03-08  8:41     ` Vitaly Lipatov
  2 siblings, 1 reply; 9+ messages in thread
From: John A. Gladkikh @ 2003-03-07  6:42 UTC (permalink / raw)
  To: community

{вопрос 2:

при подключении к vware на LPT1 /dev/parport0
при запуске выдается, что устройство занято
следовательно, как его освободить лоя вмвари с учетом того,
что принтер уменя подключен через usb, а к параллельному порту 
подключен только сканер}

дополнение:
вмваря создает устройства вида /dev/parport16 ..32 ..48
попытался в конфигураторе поставить LPT1 на /dev/parport16
при загрузке выдало, что нет прав у юзера
поставил права 0666
теперь выдает:
Cannot open /dev/parport16: No such device or address
Device parallel0 will start disconnected

что можно сделать
сканер - это единственная вещь, заставляющяя меня запускать win
-- 
Best regards
------------
John A. Gladkikh


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

* Re: [Comm] scaner primax 2_add
  2003-03-07  6:42   ` [Comm] scaner primax 2_add John A. Gladkikh
@ 2003-03-08  8:41     ` Vitaly Lipatov
  2003-03-11  7:12       ` John A. Gladkikh
  0 siblings, 1 reply; 9+ messages in thread
From: Vitaly Lipatov @ 2003-03-08  8:41 UTC (permalink / raw)
  To: community

On 7 Март 2003 09:42, John A. Gladkikh wrote:
> что можно сделать
> сканер - это единственная вещь, заставляющяя меня запускать
> win
Нужно разобраться с pt_drv, и всё будет нормально.

plustek-module-0_41_5 - это самый распоследний?
Можете прислать полный протокол сборки?
Компилятор gcc 2.96 стоит?
И что говорит 
# modprobe pt_drv
-- 
Lav
Виталий Липатов
Санкт-Петербург
GNU! ALT Linux Team! LaTeX! LyX!


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

* Re: [Comm] scaner primax 2_add
  2003-03-08  8:41     ` Vitaly Lipatov
@ 2003-03-11  7:12       ` John A. Gladkikh
  2003-03-13 17:27         ` Vitaly Lipatov
  0 siblings, 1 reply; 9+ messages in thread
From: John A. Gladkikh @ 2003-03-11  7:12 UTC (permalink / raw)
  To: community

> Нужно разобраться с pt_drv, и всё будет нормально.
> 
> plustek-module-0_41_5 - это самый распоследний?
нет, но заявлена поддержка sane 1.0.7
> Можете прислать полный протокол сборки?
см. p.s.
> Компилятор gcc 2.96 стоит?
gcc --version
2.96
> И что говорит 
> # modprobe pt_drv
/sbin/modprobe pt_drv
/lib/modules/2.4.18-alt6master-up/misc/pt_drv.o: init_module: Success
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters
/lib/modules/2.4.18-alt6master-up/misc/pt_drv.o: insmod /lib/modules/2.4.18-alt6master-up/misc/pt_drv.o failed
/lib/modules/2.4.18-alt6master-up/misc/pt_drv.o: insmod pt_drv failed

Спасибо за внимание.

P.S.

# make all 

gcc -Wall -Wstrict-prototypes -fomit-frame-pointer -D_PTDRV_V1=0 -D_PTDRV_V0=41 -D_PTDRV_BUILD=6 -D__KERNEL__ -I/usr/src/linux/include -I./h -I./.. -O2 -DMODULE -M ./src/*.c > .depend
In file included from h/plustek_scan.h:167,
                 from ./src/dac.c:49:
h/plustek_types.h:189:8: warning: extra tokens at end of #endif directive
In file included from h/plustek_scan.h:167,
                 from ./src/detect.c:47:
h/plustek_types.h:189:8: warning: extra tokens at end of #endif directive
In file included from h/plustek_scan.h:167,
                 from ./src/genericio.c:54:
h/plustek_types.h:189:8: warning: extra tokens at end of #endif directive
In file included from h/plustek_scan.h:167,
                 from ./src/image.c:55:
h/plustek_types.h:189:8: warning: extra tokens at end of #endif directive
In file included from h/plustek_scan.h:167,
                 from ./src/io.c:43:
h/plustek_types.h:189:8: warning: extra tokens at end of #endif directive
In file included from h/plustek_scan.h:167,
                 from ./src/map.c:48:
h/plustek_types.h:189:8: warning: extra tokens at end of #endif directive
./src/map.c:308:79: warning: no newline at end of file
In file included from h/plustek_scan.h:167,
                 from ./src/misc.c:53:
h/plustek_types.h:189:8: warning: extra tokens at end of #endif directive
In file included from h/plustek_scan.h:167,
                 from ./src/models.c:55:
h/plustek_types.h:189:8: warning: extra tokens at end of #endif directive
In file included from h/plustek_scan.h:167,
                 from ./src/motor.c:59:
h/plustek_types.h:189:8: warning: extra tokens at end of #endif directive
In file included from h/plustek_scan.h:167,
                 from ./src/p12.c:35:
h/plustek_types.h:189:8: warning: extra tokens at end of #endif directive
In file included from h/plustek_scan.h:167,
                 from ./src/p12ccd.c:38:
h/plustek_types.h:189:8: warning: extra tokens at end of #endif directive
In file included from h/plustek_scan.h:167,
                 from ./src/p48xx.c:58:
h/plustek_types.h:189:8: warning: extra tokens at end of #endif directive
In file included from h/plustek_scan.h:167,
                 from ./src/p9636.c:55:
h/plustek_types.h:189:8: warning: extra tokens at end of #endif directive
In file included from h/plustek_scan.h:167,
                 from ./src/procfs.c:37:
h/plustek_types.h:189:8: warning: extra tokens at end of #endif directive
In file included from h/plustek_scan.h:167,
                 from ./src/ptdrv.c:80:
h/plustek_types.h:189:8: warning: extra tokens at end of #endif directive
In file included from h/plustek_scan.h:167,
                 from ./src/scale.c:40:
h/plustek_types.h:189:8: warning: extra tokens at end of #endif directive
./src/scale.c:135:79: warning: no newline at end of file
In file included from h/plustek_scan.h:167,
                 from ./src/tpa.c:48:
h/plustek_types.h:189:8: warning: extra tokens at end of #endif directive
./src/tpa.c:1152:79: warning: no newline at end of file
gcc -Wall -Wstrict-prototypes -fomit-frame-pointer -D_PTDRV_V1=0 -D_PTDRV_V0=41 -D_PTDRV_BUILD=6 -D__KERNEL__ -I/usr/src/linux/include -I./h -I./.. -O2 -DMODULE -c src/dac.c -o obj/dac.o
In file included from h/plustek_scan.h:167,
                 from src/dac.c:49:
h/plustek_types.h:189:8: warning: extra tokens at end of #endif directive
gcc -Wall -Wstrict-prototypes -fomit-frame-pointer -D_PTDRV_V1=0 -D_PTDRV_V0=41 -D_PTDRV_BUILD=6 -D__KERNEL__ -I/usr/src/linux/include -I./h -I./.. -O2 -DMODULE -c src/detect.c -o obj/detect.o
In file included from h/plustek_scan.h:167,
                 from src/detect.c:47:
h/plustek_types.h:189:8: warning: extra tokens at end of #endif directive
gcc -Wall -Wstrict-prototypes -fomit-frame-pointer -D_PTDRV_V1=0 -D_PTDRV_V0=41 -D_PTDRV_BUILD=6 -D__KERNEL__ -I/usr/src/linux/include -I./h -I./.. -O2 -DMODULE -c src/genericio.c -o obj/genericio.o
In file included from h/plustek_scan.h:167,
                 from src/genericio.c:54:
h/plustek_types.h:189:8: warning: extra tokens at end of #endif directive
gcc -Wall -Wstrict-prototypes -fomit-frame-pointer -D_PTDRV_V1=0 -D_PTDRV_V0=41 -D_PTDRV_BUILD=6 -D__KERNEL__ -I/usr/src/linux/include -I./h -I./.. -O2 -DMODULE -c src/image.c -o obj/image.o
In file included from h/plustek_scan.h:167,
                 from src/image.c:55:
h/plustek_types.h:189:8: warning: extra tokens at end of #endif directive
gcc -Wall -Wstrict-prototypes -fomit-frame-pointer -D_PTDRV_V1=0 -D_PTDRV_V0=41 -D_PTDRV_BUILD=6 -D__KERNEL__ -I/usr/src/linux/include -I./h -I./.. -O2 -DMODULE -c src/map.c -o obj/map.o
In file included from h/plustek_scan.h:167,
                 from src/map.c:48:
h/plustek_types.h:189:8: warning: extra tokens at end of #endif directive
src/map.c:308:79: warning: no newline at end of file
gcc -Wall -Wstrict-prototypes -fomit-frame-pointer -D_PTDRV_V1=0 -D_PTDRV_V0=41 -D_PTDRV_BUILD=6 -D__KERNEL__ -I/usr/src/linux/include -I./h -I./.. -O2 -DMODULE -c src/misc.c -o obj/misc.o
In file included from h/plustek_scan.h:167,
                 from src/misc.c:53:
h/plustek_types.h:189:8: warning: extra tokens at end of #endif directive
gcc -Wall -Wstrict-prototypes -fomit-frame-pointer -D_PTDRV_V1=0 -D_PTDRV_V0=41 -D_PTDRV_BUILD=6 -D__KERNEL__ -I/usr/src/linux/include -I./h -I./.. -O2 -DMODULE -c src/models.c -o obj/models.o
In file included from h/plustek_scan.h:167,
                 from src/models.c:55:
h/plustek_types.h:189:8: warning: extra tokens at end of #endif directive
gcc -Wall -Wstrict-prototypes -fomit-frame-pointer -D_PTDRV_V1=0 -D_PTDRV_V0=41 -D_PTDRV_BUILD=6 -D__KERNEL__ -I/usr/src/linux/include -I./h -I./.. -O2 -DMODULE -c src/io.c -o obj/io.o
In file included from h/plustek_scan.h:167,
                 from src/io.c:43:
h/plustek_types.h:189:8: warning: extra tokens at end of #endif directive
gcc -Wall -Wstrict-prototypes -fomit-frame-pointer -D_PTDRV_V1=0 -D_PTDRV_V0=41 -D_PTDRV_BUILD=6 -D__KERNEL__ -I/usr/src/linux/include -I./h -I./.. -O2 -DMODULE -c src/procfs.c -o obj/procfs.o
In file included from h/plustek_scan.h:167,
                 from src/procfs.c:37:
h/plustek_types.h:189:8: warning: extra tokens at end of #endif directive
gcc -Wall -Wstrict-prototypes -fomit-frame-pointer -D_PTDRV_V1=0 -D_PTDRV_V0=41 -D_PTDRV_BUILD=6 -D__KERNEL__ -I/usr/src/linux/include -I./h -I./.. -O2 -DMODULE -c src/motor.c -o obj/motor.o
In file included from h/plustek_scan.h:167,
                 from src/motor.c:59:
h/plustek_types.h:189:8: warning: extra tokens at end of #endif directive
gcc -Wall -Wstrict-prototypes -fomit-frame-pointer -D_PTDRV_V1=0 -D_PTDRV_V0=41 -D_PTDRV_BUILD=6 -D__KERNEL__ -I/usr/src/linux/include -I./h -I./.. -O2 -DMODULE -c src/p9636.c -o obj/p9636.o
In file included from h/plustek_scan.h:167,
                 from src/p9636.c:55:
h/plustek_types.h:189:8: warning: extra tokens at end of #endif directive
gcc -Wall -Wstrict-prototypes -fomit-frame-pointer -D_PTDRV_V1=0 -D_PTDRV_V0=41 -D_PTDRV_BUILD=6 -D__KERNEL__ -I/usr/src/linux/include -I./h -I./.. -O2 -DMODULE -c src/ptdrv.c -o obj/ptdrv.o
In file included from h/plustek_scan.h:167,
                 from src/ptdrv.c:80:
h/plustek_types.h:189:8: warning: extra tokens at end of #endif directive
gcc -Wall -Wstrict-prototypes -fomit-frame-pointer -D_PTDRV_V1=0 -D_PTDRV_V0=41 -D_PTDRV_BUILD=6 -D__KERNEL__ -I/usr/src/linux/include -I./h -I./.. -O2 -DMODULE -c src/scale.c -o obj/scale.o
In file included from h/plustek_scan.h:167,
                 from src/scale.c:40:
h/plustek_types.h:189:8: warning: extra tokens at end of #endif directive
src/scale.c:135:79: warning: no newline at end of file
gcc -Wall -Wstrict-prototypes -fomit-frame-pointer -D_PTDRV_V1=0 -D_PTDRV_V0=41 -D_PTDRV_BUILD=6 -D__KERNEL__ -I/usr/src/linux/include -I./h -I./.. -O2 -DMODULE -c src/tpa.c -o obj/tpa.o
In file included from h/plustek_scan.h:167,
                 from src/tpa.c:48:
h/plustek_types.h:189:8: warning: extra tokens at end of #endif directive
src/tpa.c:1152:79: warning: no newline at end of file
gcc -Wall -Wstrict-prototypes -fomit-frame-pointer -D_PTDRV_V1=0 -D_PTDRV_V0=41 -D_PTDRV_BUILD=6 -D__KERNEL__ -I/usr/src/linux/include -I./h -I./.. -O2 -DMODULE -c src/p48xx.c -o obj/p48xx.o
In file included from h/plustek_scan.h:167,
                 from src/p48xx.c:58:
h/plustek_types.h:189:8: warning: extra tokens at end of #endif directive
gcc -Wall -Wstrict-prototypes -fomit-frame-pointer -D_PTDRV_V1=0 -D_PTDRV_V0=41 -D_PTDRV_BUILD=6 -D__KERNEL__ -I/usr/src/linux/include -I./h -I./.. -O2 -DMODULE -c src/p12.c -o obj/p12.o
In file included from h/plustek_scan.h:167,
                 from src/p12.c:35:
h/plustek_types.h:189:8: warning: extra tokens at end of #endif directive
gcc -Wall -Wstrict-prototypes -fomit-frame-pointer -D_PTDRV_V1=0 -D_PTDRV_V0=41 -D_PTDRV_BUILD=6 -D__KERNEL__ -I/usr/src/linux/include -I./h -I./.. -O2 -DMODULE -c src/p12ccd.c -o obj/p12ccd.o
In file included from h/plustek_scan.h:167,
                 from src/p12ccd.c:38:
h/plustek_types.h:189:8: warning: extra tokens at end of #endif directive
ld -r obj/dac.o obj/detect.o obj/genericio.o obj/image.o obj/map.o obj/misc.o obj/models.o obj/io.o obj/procfs.o obj/motor.o obj/p9636.o obj/ptdrv.o obj/scale.o obj/tpa.o obj/p48xx.o obj/p12.o obj/p12ccd.o -o pt_drv.o

$ make install
mkdir -p /lib/modules/2.4.18-alt6master-up/misc
install -c -m "644" pt_drv.o /lib/modules/2.4.18-alt6master-up/misc
/sbin/depmod -a
depmod: *** Unresolved symbols in /lib/modules/2.4.18-alt6master-up/misc/pt_drv.o


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

* Re: [Comm] scaner primax 2_add
  2003-03-11  7:12       ` John A. Gladkikh
@ 2003-03-13 17:27         ` Vitaly Lipatov
  2003-03-14  6:35           ` John A. Gladkikh
  0 siblings, 1 reply; 9+ messages in thread
From: Vitaly Lipatov @ 2003-03-13 17:27 UTC (permalink / raw)
  To: community

On 11 Март 2003 10:12, John A. Gladkikh wrote:
> /sbin/modprobe pt_drv
> /lib/modules/2.4.18-alt6master-up/misc/pt_drv.o: init_module:
> Success Hint: insmod errors can be caused by incorrect module
> parameters, including invalid IO or IRQ parameters
> /lib/modules/2.4.18-alt6master-up/misc/pt_drv.o: insmod
> /lib/modules/2.4.18-alt6master-up/misc/pt_drv.o failed
> /lib/modules/2.4.18-alt6master-up/misc/pt_drv.o: insmod pt_drv
> failed
В modules.conf у вас есть нечто типа
options parport_pc io=0x378 irq=7
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=0 forceMode=0

-- 
Lav
Виталий Липатов
Санкт-Петербург
GNU! ALT Linux Team! LaTeX! LyX!



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

* Re: [Comm] scaner primax 2_add
  2003-03-13 17:27         ` Vitaly Lipatov
@ 2003-03-14  6:35           ` John A. Gladkikh
  0 siblings, 0 replies; 9+ messages in thread
From: John A. Gladkikh @ 2003-03-14  6:35 UTC (permalink / raw)
  To: community

> В modules.conf у вас есть нечто типа
> options parport_pc io=0x378 irq=7
этого нет
> 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=0 forceMode=0
> 
это есть


-- 
Best regards
------------
John A. Gladkikh


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

end of thread, other threads:[~2003-03-14  6:35 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-03-05 14:40 [Comm] scaner primax John A. Gladkikh
2003-03-05 22:35 ` Vitaly Lipatov
2003-03-06  8:08   ` John A. Gladkikh
2003-03-06 12:54   ` [Comm] scaner primax 2 John A. Gladkikh
2003-03-07  6:42   ` [Comm] scaner primax 2_add John A. Gladkikh
2003-03-08  8:41     ` Vitaly Lipatov
2003-03-11  7:12       ` John A. Gladkikh
2003-03-13 17:27         ` Vitaly Lipatov
2003-03-14  6:35           ` John A. Gladkikh

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

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


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