plustek: Plustek OpticPro 12000T


Previous by date: 22 Jan 2008 10:30:05 -0000 Re: Plustek OpticPro 12000T, Gerhard Jaeger
Next by date: 22 Jan 2008 10:30:05 -0000 Re: Plustek OpticPro 12000T, Gerhard Jaeger
Previous in thread: 22 Jan 2008 10:30:05 -0000 Re: Plustek OpticPro 12000T, Gerhard Jaeger
Next in thread: 22 Jan 2008 10:30:05 -0000 Re: Plustek OpticPro 12000T, Gerhard Jaeger

Subject: Re: Plustek OpticPro 12000T
From: Jastra ####@####.####
Date: 22 Jan 2008 10:30:05 -0000
Message-Id: <Pine.LNX.4.64.0801221050250.20702@infoserve.pl>

>>> Have you done this step? /MakeModule.sh DEBUG=y ????
>>
>> yes, with debug

I am just wondering, if the DEBUG works here. Is it normal, the script 
invoked with "DEBUG=yes" suggests to be started with "DEBUG=yes"?

Then, the last step, the loading step:
first I see
/sbin/modprobe pt_drv || exit 1   ## I understand, attempt to load module

then
rm -f /dev/pt_drv* ## I understand device files are removed. Is it to 
clean an old installation, if exists?

then
mknod complains about missing operands; what does it mean?

then
chgrp: cannot access `/dev/pt_drv*': No such file or directory
chmod: cannot access `/dev/pt_drv*': No such file or directory

device files do not exist.


If I try to make the device files manually:

mknod -m 0664 /dev/pt_drv c 40 0
mknod -m 0664 /dev/pt_drv0 c 40 0
mknod -m 0664 /dev/pt_drv1 c 40 1
mknod -m 0664 /dev/pt_drv2 c 40 2
mknod -m 0664 /dev/pt_drv3 c 40 3

and then load module manually it is getting strange:

debian:/home/jastra insmod pt_drv
insmod: can't read 'pt_drv' no such file or directory
debian:/home/jastra
debian:/home/jastra modprobe pt_drv
debian:/home/jastra

Device files are kept until next reboot, then they are removed

Is it possible there is conflict between device files? It seems tty40 uses 
major number 40 too..

Do you understand, what is going on?
Disk is not overfilled...

Best greetings
Basia

debian:/usr/src/plustek/doc/plustek# ./MakeModule.sh DEBUG=y
This script will try and build a suitable kernel-module for your system.
If you'd like to make the module WITH debug output, restart this script
with as follows:
./MakeModule.sh DEBUG=y
Press <ENTER> to continue or <CTRL><C> to cancel.

Check for root - done.

Check for kernelversion:
Using makefile for kernel 2.6.x
Build-directory:
/usr/src/plustek/doc/plustek/build
Removing build-directory - done.
Creating build-directory - done.

Linking source files - done.
Copying Makefile to build-directory - done.
Making the module...
make: Entering directory `/usr/src/linux-headers-2.6.18-5-686'
  CC [M]  /usr/src/plustek/doc/plustek/build/plustek-pp_dac.o
  CC [M]  /usr/src/plustek/doc/plustek/build/plustek-pp_detect.o
  CC [M]  /usr/src/plustek/doc/plustek/build/plustek-pp_genericio.o
  CC [M]  /usr/src/plustek/doc/plustek/build/plustek-pp_image.o
  CC [M]  /usr/src/plustek/doc/plustek/build/plustek-pp_map.o
  CC [M]  /usr/src/plustek/doc/plustek/build/plustek-pp_misc.o
  CC [M]  /usr/src/plustek/doc/plustek/build/plustek-pp_models.o
  CC [M]  /usr/src/plustek/doc/plustek/build/plustek-pp_io.o
  CC [M]  /usr/src/plustek/doc/plustek/build/plustek-pp_procfs.o
  CC [M]  /usr/src/plustek/doc/plustek/build/plustek-pp_motor.o
  CC [M]  /usr/src/plustek/doc/plustek/build/plustek-pp_p9636.o
  CC [M]  /usr/src/plustek/doc/plustek/build/plustek-pp_ptdrv.o
/usr/src/plustek/doc/plustek/build/plustek-pp_ptdrv.c: In function ‘getUserPtr’:/usr/src/plustek/doc/plustek/build/plustek-pp_ptdrv.c:317: warning: ignoring return value of ‘copy_from_user’, declared with attribute warn_unused_result
/usr/src/plustek/doc/plustek/build/plustek-pp_ptdrv.c: In function ‘putUserPtr’:/usr/src/plustek/doc/plustek/build/plustek-pp_ptdrv.c:352: warning: ignoring return value of ‘copy_to_user’, declared with attribute warn_unused_result
/usr/src/plustek/doc/plustek/build/plustek-pp_ptdrv.c: In function ‘ptdrvIoctl’:/usr/src/plustek/doc/plustek/build/plustek-pp_ptdrv.c:984: warning: ignoring return value of ‘copy_from_user’, declared with attribute warn_unused_result
/usr/src/plustek/doc/plustek/build/plustek-pp_ptdrv.c:1035: warning: ignoring return value of ‘copy_from_user’, declared with attribute warn_unused_result
/usr/src/plustek/doc/plustek/build/plustek-pp_ptdrv.c:1074: warning: ignoring return value of ‘copy_from_user’, declared with attribute warn_unused_result
/usr/src/plustek/doc/plustek/build/plustek-pp_ptdrv.c:1109: warning: ignoring return value of ‘copy_from_user’, declared with attribute warn_unused_result
/usr/src/plustek/doc/plustek/build/plustek-pp_ptdrv.c:1127: warning: ignoring return value of ‘copy_from_user’, declared with attribute warn_unused_result
/usr/src/plustek/doc/plustek/build/plustek-pp_ptdrv.c:1138: warning: ignoring return value of ‘copy_from_user’, declared with attribute warn_unused_result
/usr/src/plustek/doc/plustek/build/plustek-pp_ptdrv.c:1156: warning: ignoring return value of ‘copy_from_user’, declared with attribute warn_unused_result
/usr/src/plustek/doc/plustek/build/plustek-pp_ptdrv.c:1179: warning: ignoring return value of ‘copy_to_user’, declared with attribute warn_unused_result
/usr/src/plustek/doc/plustek/build/plustek-pp_ptdrv.c:1204: warning: ignoring return value of ‘copy_to_user’, declared with attribute warn_unused_result
/usr/src/plustek/doc/plustek/build/plustek-pp_ptdrv.c:1214: warning: ignoring return value of ‘copy_from_user’, declared with attribute warn_unused_result
/usr/src/plustek/doc/plustek/build/plustek-pp_ptdrv.c: In function ‘ptdrvRead’:
/usr/src/plustek/doc/plustek/build/plustek-pp_ptdrv.c:1471: warning: ignoring return value of ‘copy_to_user’, declared with attribute warn_unused_result
/usr/src/plustek/doc/plustek/build/plustek-pp_ptdrv.c:1474: warning: ignoring return value of ‘copy_to_user’, declared with attribute warn_unused_result
  CC [M]  /usr/src/plustek/doc/plustek/build/plustek-pp_scale.o
  CC [M]  /usr/src/plustek/doc/plustek/build/plustek-pp_tpa.o
  CC [M]  /usr/src/plustek/doc/plustek/build/plustek-pp_p48xx.o
  CC [M]  /usr/src/plustek/doc/plustek/build/plustek-pp_p12.o
  CC [M]  /usr/src/plustek/doc/plustek/build/plustek-pp_p12ccd.o
  LD [M]  /usr/src/plustek/doc/plustek/build/pt_drv.o
  Building modules, stage 2.
  MODPOST
  CC      /usr/src/plustek/doc/plustek/build/pt_drv.mod.o
  LD [M]  /usr/src/plustek/doc/plustek/build/pt_drv.ko
make: Leaving directory `/usr/src/linux-headers-2.6.18-5-686'
done.
Should I install the module?
Press <ENTER> to continue or <CTRL><C> to cancel.

make: Entering directory `/usr/src/plustek/doc/plustek/build'
mkdir -p /lib/modules/2.6.18-5-686/kernel/drivers/parport
install -c -m "644" pt_drv.ko /lib/modules/2.6.18-5-686/kernel/drivers/parport
/sbin/depmod -a
make: Leaving directory `/usr/src/plustek/doc/plustek/build'
Should I try and load the module?
If this step fails, check the kernel-log.
Press <ENTER> to continue or <CTRL><C> to cancel.
make: Entering directory `/usr/src/plustek/doc/plustek/build'
/sbin/modprobe pt_drv || exit 1
rm -f /dev/pt_drv*
mknod: missing operand after `0'
Try `mknod --help' for more information.
mknod: missing operand after `0'
Try `mknod --help' for more information.
mknod: missing operand after `1'
Try `mknod --help' for more information.
mknod: missing operand after `2'
Try `mknod --help' for more information.
mknod: missing operand after `3'
Try `mknod --help' for more information.
chgrp: cannot access `/dev/pt_drv*': No such file or directory
chmod: cannot access `/dev/pt_drv*': No such file or directory
make: *** [load] Error 1
make: Leaving directory `/usr/src/plustek/doc/plustek/build'
done.
Should I remove the build directory?
done.
debian:/usr/src/plustek/doc/plustek#

Previous by date: 22 Jan 2008 10:30:05 -0000 Re: Plustek OpticPro 12000T, Gerhard Jaeger
Next by date: 22 Jan 2008 10:30:05 -0000 Re: Plustek OpticPro 12000T, Gerhard Jaeger
Previous in thread: 22 Jan 2008 10:30:05 -0000 Re: Plustek OpticPro 12000T, Gerhard Jaeger
Next in thread: 22 Jan 2008 10:30:05 -0000 Re: Plustek OpticPro 12000T, Gerhard Jaeger


Powered by ezmlm-browse 0.20.