[Prev][Next][Index][Thread]

new kernel module...



I've placed my rev 0.0 kernel driver online, in
ftp.mnscorp.com/qcam/qcam.tar.gz

Please note the following:

THIS CAN AND WILL HANG YOUR SYSTEM.

You have been warned.  Do not complain to me about it.

It implements the following:

4 bit, unidirectional scans.
6 bit, unidirectional scans.
6 bit, bidirectional scans.

ioctl's to set xsize, ysize, whitebalance, contrast, brightness, 
and transfer mode (ie, uni or bidirectional)

Sorry, the documentation just sucks right now.

Ability to initiate multiple scans with just a lseek.

Unrolled loops, ie, for the 6 bit unidirectional, only one loop
is used, except for the wait for toggle.  everything else is done
with no function calls inside that loop..

Try the performance.c program to measure the speed of your system.

My laptop numbers are pretty good.  It has a 486/66, with a ecp/epp/spp
type port in it.

---------

performance test started
6bpp, 160x120, bi-directional mode
read in 3 seconds 
transfer rate 16.7 frames per second
transfer rate 0.3 meg. bytes per second
4bpp, 160x120, uni-directional..
read in 5 seconds 
transfer rate 10.0 frames per second
transfer rate 0.2 meg. bytes per second
6bpp, 160x120, uni-directional..
read in 8 seconds 
transfer rate 6.3 frames per second
transfer rate 0.1 meg. bytes per second
read in 8 seconds 
grab rate 6.3 frames per second
grab rate 0.1 meg. bytes per second
ctest done

-- 
Thomas Davis			| Internet:	Thomas.Davis@mnscorp.com
Systems Consultant		| Snail Mail:	Suite 528
Midwest Network Solutions Corp.	| 		1941 South 42nd Street
(402) 346-7687			|		Omaha, NE 68105-2939