plustek: can't open /dev/pt_drv as a device
Subject:
Re: can't open /dev/pt_drv as a device
From:
####@####.#### (G. Jaeger)
Date:
28 May 2000 12:04:33 -0000
Message-Id: <12w1o9-0GeHb6C@fwd04.sul.t-online.de>
Mnk wrote:
>
>This one is driving me nuts to say the least.
>
>[big plustek_driver]# /usr/local/bin/scanimage -L
>[plustek] dev_open: can't open /dev/pt_drv as a device
>[plustek] attach: open failed: Error during device I/O
>
>I have wiped the sane and plustek sources and reinstalled per the HOWTO
>and Gerhard's directions and this is the message I get repeatedly.
>
>The scanner (OP9636T) lamp is coming on, then gets to the end of the
>lamp timeout and shuts down. I have tried while the lamp is on then
>off.
>
Strange, because the driver seems to be loaded. Have you recompiled the
Plustek backend ?
Have you called the make install in the sane source directory ?
It looks like scanimage uses an old backend !
>
>
>I do get these errors while compiling the driver:
>
>gcc -c -O3 -I/usr/X11R6/include -I./h -D_PTDRV_V1=0 -D_PTDRV_V0=34
>-Wall -Wstri
>ct-prototypes -c src/genericio.c -o obj.user/genericio.o
>src/genericio.c: In function `fnSppLineArtSpeed':
>src/genericio.c:766: warning: suggest explicit braces to avoid ambiguous
>`else'src/genericio.c: In function `ioP98SppNegativeProcs':
>src/genericio.c:968: warning: suggest explicit braces to avoid ambiguous
>`else'src/genericio.c: In function `ioP98EppNegativeProcs':
>
>but I don't think this is causing the problem.
You're right this is not the problem. This occurs for the new GCC 2.95
and didn't
when using the older GCC 2.72 (I use !)
But I will remove the warnings next time.
>
>Is there some device I need to add to /dev ?
>
This should be done by MakeKernel in backend/plustek_driver when
calling make load !
Gerhard
----------------------------------------
####@####.####
----------------------------------------