[sane-devel] Umax Astra 4100:Genesys bakend development

Stéphane VOLTZ stefdev at modulonet.fr
Mon May 15 05:14:16 UTC 2006


Le Vendredi 12 Mai 2006 16:02, Parag N(पराग़) a écrit :
> Hi,
>        Anybody is working on developing a backend for UMAX Astra 4100
> usb scanner?? It's having a Genesys GL646_HP chipset.
>        Need Help in developing this backend. Here are those results
> that you people may want to look at
> My Results:-
> This scanner works only as root. sane-find-scanner can only detect
> this scanner as root not as normal user. so i followed instructions
> given in README.linux
> ***************************************************************************
>****** sane-find-scanner
> found USB scanner (vendor=0x0461 [Primax], product=0x038c [USB
> Scanner], chip=GL646_HP) at libusb:002:003
> ***************************************************************************
>***********
> ***************************************************************************
>************ scanimage -L
> [sanei_debug] Setting debug level of genesys to 255.
> [genesys] SANE Genesys backend version 1.0 build 8 from sane-backends
> 1.0.17-cvs [genesys] sane_init: authorize != null
> [genesys] sane_init: little endian machine
> [genesys] sane_init: reading config file `genesys.conf'
> [genesys] sane_init: config file line 1: ignoring comment line
> [genesys] sane_init: config file line 2: ignoring empty line
> [genesys] sane_init: config file line 3: ignoring comment line
> [genesys] sane_init: config file line 4: ignoring comment line
> [genesys] sane_init: config file line 5: ignoring comment line
> [genesys] sane_init: config file line 6: ignoring comment line
> [genesys] sane_init: config file line 7: ignoring empty line
> [genesys] sane_init: config file line 8: ignoring comment line
> [genesys] sane_init: config file line 9: trying to attach `usb 0x0461
> 0x038c' [genesys] attach: start: devp != NULL, may_wait = 0
> [genesys] attach: trying to open device `libusb:002:003'
> [genesys] attach: device `libusb:002:003' successfully opened
> [genesys] attach: found UMAX flatbed scanner Astra 4100 at libusb:002:003
> [genesys] attach: exit
> [genesys] sane_init: config file line 10: ignoring empty line
> [genesys] sane_init: config file line 11: ignoring comment line
> [genesys] sane_init: config file line 12: ignoring comment line
> [genesys] sane_init: config file line 13: ignoring empty line
> [genesys] sane_init: config file line 14: ignoring comment line
> [genesys] sane_init: config file line 15: trying to attach `usb 0x03f0
> 0x0a01' [genesys] sane_init: config file line 16: ignoring empty line
> [genesys] sane_init: config file line 17: ignoring comment line
> [genesys] sane_init: config file line 18: ignoring comment line
> [genesys] sane_init: config file line 19: ignoring empty line
> [genesys] sane_init: config file line 20: ignoring comment line
> [genesys] sane_init: config file line 21: ignoring comment line
> [genesys] sane_init: config file line 22: ignoring empty line
> [genesys] sane_init: config file line 23: ignoring empty line
> [genesys] sane_init: config file line 24: ignoring comment line
> [genesys] sane_init: config file line 25: ignoring comment line
> [genesys] sane_init: config file line 26: ignoring comment line
> [genesys] sane_init: config file line 27: ignoring empty line
> [genesys] sane_init: config file line 28: ignoring comment line
> [genesys] sane_init: config file line 29: trying to attach `usb 0x0461
> 0x0377' [genesys] sane_init: config file line 30: ignoring empty line
> [genesys] sane_init: config file line 31: ignoring comment line
> [genesys] sane_init: config file line 32: trying to attach `usb 0x03f0
> 0x0901' [genesys] sane_init: config file line 33: ignoring empty line
> [genesys] sane_init: config file line 34: ignoring comment line
> [genesys] sane_init: config file line 35: trying to attach `usb 0x04a9
> 0x2213' [genesys] sane_init: config file line 36: ignoring empty line
> [genesys] sane_init: config file line 37: ignoring comment line
> [genesys] sane_init: config file line 38: trying to attach `usb 0x04a9
> 0x221c' [genesys] sane_init: exit
> [genesys] sane_get_devices: start: local_only = false
> [genesys] sane_get_devices: exit
> device `genesys:libusb:002:003' is a UMAX Astra 4100 flatbed scanner
> [genesys] sane_exit: start
> [genesys] sane_exit: exit
> ***************************************************************************
>**********************
>
>                Even I want to know why URB packets are captured in
> random order in usbsnoop log file under windows?? I used sniff-usb-1.8
> version under windows and it captures packets as 263 then 256 then 257
> then 261 like that. Because of that the awk scripts from decode.sh are
> stopping at first non sequential packet and i am able to get decoded
> log upto that packet.  how to overcome this problem??
>               Also whats the status of UMAX 4500 scanner?
> Will post updates on adding new entry in genesys_devices.c for this
> scanner. Regards,
> Parag.

	Hello,

	URB packets that don't come in sequence are surely reads waiting for an 
interrupt. For my MD6471, they are related to button handling. For scanning 
protocal analysis purpose, you can just hand edit the log and put them where 
they should, or even simply remove them.

Regards,
	Stef



More information about the sane-devel mailing list