Hi list, (please CC me, as I am not subscribed, thanks!)
could anybody with more clue than me *please* help me debug my issues with a Canon n1220u ?? (with sane-backends-1.0.15 on vanilla 2.6.12) Short version: $ scanimage -L plustek:libusb:002:040' is a Canon N1220U USB flatbed scanner $ scanimage -T scanimage: sane_start: Error during device I/O Debug output follows at the end of this mail. I seem to have some UIO errors and finally usbDev_open() fails. So this might be a libusb problem, but I tried different versions, 0.1.10a and 0.1.8 both show the same behaviour. Any hints how to get more info about what exactly goes wrong here are highly appreciated!! Cheers, Mathis $ scanimage -L ... [plustek] usbDev_open(auto,0x04A9-0x2207) [plustek] Found device at >libusb:002:040< [plustek] Vendor ID=0x04A9, Product ID=0x2207 [plustek] usbio_DetectLM983x [plustek] usbio_DetectLM983x: found LM9832/3 [plustek] Detected vendor & product ID: 0x04A9-0x2207 [plustek] Device description for >0x04A9-0x2207< found. [plustek] usb_initDev(39,0x04a9,-1) [plustek] Device WAF: 0x00000006 [plustek] Device Flags: 0x00000000 [plustek] Vendor adjusted to: >Canon< [plustek] LAMP-STATUS: 0x00000000 [plustek] RESETTING REGISTERS(-1) [plustek] SETTING THE MISC I/Os [plustek] MISC I/O after RESET: 0x66, 0x16, 0x91 [plustek] UIO error [plustek] Calibration file-name set to: [plustek] >/root/.sane/Canon-N1220U.cal< [plustek] usb_SetScanParameters() [plustek] UIO error [plustek] UIO error [plustek] usbDev_getCaps() [plustek] Scanner information: [plustek] Vendor : Canon [plustek] Model : N1220U [plustek] Flags : 0x00000000 [plustek] drvclose() [plustek] usbDev_stopScan() [plustek] usbDev_ScanEnd(), start=0, park=0 [plustek] UIO error [plustek] usbDev_close() [plustek] attach: model = >N1220U< [plustek] sane_get_devices (0xbf8a2878, 0) device `plustek:libusb:002:040' is a Canon N1220U USB flatbed scanner [plustek] sane_exit [plustek] Shutdown called (dev->fd=-1, libusb:002:040) [plustek] Lamp-Timer stopped $ scanimage -T ... [plustek] usbDev_open(auto,0x04A9-0x2207) [plustek] Found device at >libusb:002:043< [plustek] Vendor ID=0x04A9, Product ID=0x2207 [plustek] usbio_DetectLM983x [plustek] usbio_DetectLM983x: found LM9832/3 [plustek] Detected vendor & product ID: 0x04A9-0x2207 [plustek] Device description for >0x04A9-0x2207< found. [plustek] usb_initDev(39,0x04a9,-1) [plustek] Device WAF: 0x00000006 [plustek] Device Flags: 0x00000000 [plustek] Vendor adjusted to: >Canon< [plustek] LAMP-STATUS: 0x00000000 [plustek] RESETTING REGISTERS(-1) [plustek] SETTING THE MISC I/Os [plustek] MISC I/O after RESET: 0x66, 0x16, 0x91 [plustek] UIO error [plustek] Calibration file-name set to: [plustek] >/root/.sane/Canon-N1220U.cal< [plustek] usb_SetScanParameters() [plustek] UIO error [plustek] UIO error [plustek] usbDev_getCaps() [plustek] Scanner information: [plustek] Vendor : Canon [plustek] Model : N1220U [plustek] Flags : 0x00000000 [plustek] drvclose() [plustek] usbDev_stopScan() [plustek] usbDev_ScanEnd(), start=0, park=0 [plustek] UIO error [plustek] usbDev_close() [plustek] attach: model = >N1220U< [plustek] sane_get_devices (0xbff895a8, 0) [plustek] sane_open - libusb:002:043 [plustek] Presetting Gamma tables (len=4096) [plustek] * Channel[0], gamma 2.000 [plustek] * Channel[1], gamma 2.000 [plustek] * Channel[2], gamma 2.000 [plustek] * Channel[3], gamma 2.000 [plustek] ---------------------------------- [plustek] sane_start [plustek] usbDev_open(libusb:002:043,0x04A9-0x2207) [plustek] sane_start: open failed: 71 scanimage: sane_start: Error during device I/O [plustek] sane_cancel [plustek] sane_close [plustek] sane_exit [plustek] Shutdown called (dev->fd=-1, libusb:002:043) [plustek] Function ignored!