[sane-devel] genesys backend

Henning Meier-Geinitz henning at meier-geinitz.de
Sat Nov 26 12:59:56 UTC 2005


Hi,

On Sat, Nov 26, 2005 at 12:22:51AM +0100, Juan Jose Pablos wrote:
> >to check why dev->model->cmd_set->init (dev) fails.
> 
> 
> [genesys_gl841] gl841_init
> [genesys_gl841] gl841_init_registers
> [genesys_gl841] gl841_setup_sensor
> [genesys_gl841] gl841_init_registers complete
> scanimage: open of device genesys:libusb:004:007 failed: Invalid argument
> 
> it does not tell me much try to run it usin gdb, and these are the 
> latest lines:
> 
> 4916      RIE (sanei_usb_control_msg (dev->dn, REQUEST_TYPE_OUT, 
> REQUEST_REGISTER,
> (gdb)
> 5064    }
> (gdb)

This is the complete line:
  RIE (sanei_usb_control_msg (dev->dn, REQUEST_TYPE_OUT, REQUEST_REGISTER,
  		   	      VALUE_INIT, INDEX, 1, &val));  

As far as I can see this is the first command sent to the scanner. If
it fails, I guess this scanner is either not a gl841 scanner or it's
somehow blocked. Try to replug it. If it has a power supply, check if
it's properly connected.

You can also set SANE_DEBUG_SANEI_USB=255 to see why the command fails
exactly.

This is really a "Genius ColorPage-Slim 1200 USB2"? Have you checked
the vendor/product ids? They should be:
vendor=0x0458 [Genius]
product=0x2020 [CP-Slim 1200 USB2]

Bye,
  henning



More information about the sane-devel mailing list