plustek: can't open /dev/pt_drv as a device


Previous by date: 28 May 2000 17:09:23 -0000 Re: can't open /dev/pt_drv as a device, Mark Sutton
Next by date: 28 May 2000 17:09:23 -0000 HOORAH, MnK
Previous in thread: 28 May 2000 17:09:23 -0000 Re: can't open /dev/pt_drv as a device, Mark Sutton
Next in thread:

Subject: Re: can't open /dev/pt_drv as a device
From: ####@####.####
Date: 28 May 2000 17:09:23 -0000
Message-Id: <393152DD.51295B55@bellsouth.net>

MnK wrote:
> 
> Hello all,
> 
> 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.
> 
> 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.
> 
> Is there some device I need to add to /dev ?
> 

You should see the folowing if you do "ls -al /dev/pt_drv"

crw-rw-r-   1 <owner> <group>  40, 0 <date> /dev/pt_drv

If it doesn't exist you need to create it with "make install" and
"make load" in the plustek_driver directory. You probably have to
be root to do this and unless you are using something like sudo
you need to be root to "insmod pt_drv"

	Kevin

Previous by date: 28 May 2000 17:09:23 -0000 Re: can't open /dev/pt_drv as a device, Mark Sutton
Next by date: 28 May 2000 17:09:23 -0000 HOORAH, MnK
Previous in thread: 28 May 2000 17:09:23 -0000 Re: can't open /dev/pt_drv as a device, Mark Sutton
Next in thread:


Powered by ezmlm-browse 0.20.