qcam setup

Andrew S. Howell (andy@tibco.com)
Mon, 09 Mar 1998 17:21:22 +0900

Hello,

I'm not sure if this is the right list or not, as this is not a
development question, but I couldn't find any other list...

I'm trying to get qcam to work on RH 5.0 linux, kernel 2.0.32. No
matter what I do, scanimage can not open the port. I'm not sure of the
systax. I tried:

scanimage -d qcam
scanimage -d qcam:lp0
scanimage -d qcam:/dev/lp0

It alway returns an error like:

scanimage: open of device qcam:lp0 failed: Invalid argument

Looking at it with strace gives doesn't help much. It looks like it
open device, but then fails. I'm running this as root, so permissions
should not be a problem.

Is there a FAQ I should be reading first?

Any help is greatly appreciated.

Andy

Abbreviated output of strace:

2117 open("/usr/local/lib/libsane-qcam.so.0", O_RDONLY) = 4
2117 open("/usr/local/etc/sane.d/qcam.conf", O_RDONLY) = 4
2117 fstat(4, {st_mode=0, st_size=0, ...}) = 0
2117 ioperm(0x3bc, 0x3, 0x1) = 0
2117 open("/tmp/LOCK.qcam.0x3bc", O_WRONLY|O_CREAT, 0666) = 5
2117 write(2, "scanimage: open of device qcam:l"..., 60) = 60
2117 _exit(1)

--
Source code, list archive, and docs: http://www.mostang.com/sane/
To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com