[sane-devel] About GT6801 CCD scanner

Fan Dan dan_fancn@hotmail.com
Mon, 09 Dec 2002 17:36:20 +0800


Hello, Henning:
   I have tried and get the correctly Mustek2400usb parameters. Now I can 
scan Gray and Color Image . But When I scanner 300dpi or more . When 
Scanning , sometime read data will stop, but motor is not stop. An other is 
when I set bytes per line of scanner image is larger than 8000, scanner 
will move motor to start area of scan, and not scan. I want to know what's 
the matter of that.
   Thanks a lot!!
    There is Model of Mustek 2400usb , AFE is same value as I get in Win32 
Driver.

static GT68xx_Model
 mustek_2400usb_command_mode={
	"mustek-2400usb",			/* 	name						*/
	"Mustek",					/*	vendor						*/
	"Mustek 2400USB",			/*	model						*/
	"P9fw.usb",				/* firmware file name 				*/

	&mustek_gt6801_command_set,	/* Model info 		*/

	1200,						/* optical_xdpi 					*/
	1200,					/* optical_ydpi 				*/
	1200,						/* base_xdpi 	600					*/
	1200,						/* base_ydpi						*/
	1200,					/* ydpi_force_line_mode		*/
	SANE_TRUE,				/* use base_ydpi for all resolution 	*/				
	{600,300,150,100,75,500},		/* xdpi_value						*/
	{1200,600,300,100,50},	/*	ydpi_value				*/
	{8,0},					/* bpp_gray_values				*/
	{8,0},				/* bpp_color_values					*/
	SANE_FIX(7.0),			/*	start of scan area in mm			*/	
	SANE_FIX(12.0),			/*    start of scan area in mm			*/
	SANE_FIX(224.0),			/*	width of scan area in mm	220		*/
	SANE_FIX(300),			/*	high of scan area in mm				*/
	SANE_FIX(0.0),			/*	start of white strip in mm			*/
	SANE_FIX(7.0),			/*	start of black mark in mm			*/
	
	SANE_FIX(0.0),			/*	start of scan area in TA mode in mm	*/
	SANE_FIX(0.0),			/*	start of scan area in TA mode in mm	*/
	SANE_FIX(100.0),			/* 	width of scan area in TA mode in mm	*/
	SANE_FIX(100.0),			/*	high of scan area in TA mode in mm	*/
	SANE_FIX(0.0),			/*	start of white strip in TA mode in mm	*/

	24,						/*	ld_shift_r						*/
	12,					/*	ld_shift_g						*/
	0,						/*	ld_shift_b						*/
	0,						/* 	ld_shift_double				*/
	
	LampOrder_RGB,			/* 	color_order					*/

	{0x12,0x06,0x0e,0x03,0x18+1,0x20+5},	/*	AFE param	0x13 0x04 0x16 0x06 0x0f	
0x02*/
	{0x157,0x157,0x157},				/*	exposure	time		*/
	
	SANE_TRUE						/*	GT6801 chip		*/
};





_________________________________________________________________
 MSN Explorer:  http://explorer.msn.com/lccn