[sane-devel] Debug output from Lexmark X1270 scanner

Fred Odendaal freshshelf at rogers.com
Mon Jul 24 23:00:37 UTC 2006


The X1270 is not supported by the X1100 backend. You are somewhat 
correct in your assumption of what is happening. The scanner is trying 
to find the home position by scanning in the reverse direction - looking 
for a set pattern off the glass. If it can't find it, it will make a 
loud noise as the scan head bangs against the end. This is bad for your 
scanner, so I'd advise against continuing to try it.

regards,
Fred Odendaal


Brian Masney wrote:
> Hi,
>   I just bought a Lexmark X1270 printer/scanner. Sane is able to
> recognize the scanner using the X1100 driver. Whenever I try to scan
> something, the scanner makes a loud noise and the scanning head does
> not move. It appears that the head may be trying to go the wrong way.
> I am using Sane 1.0.17-3 from the Debian testing distribution. Here is
> the debug output from the driver.
>
> [sanei_debug] Setting debug level of lexmark to 20.
> [lexmark] SANE Lexmark backend version 1.0-0
> [lexmark] sane_init: version_code=0xbff75468
> [lexmark] attachLexmark: devname=libusb:002:021
> [lexmark] sane_get_devices: device_list=0xbff754b8, local_only=0
> [lexmark] sane_open: devicename="libusb:002:021", handle=0xbff77338
> [lexmark] sane_open: devname from list: libusb:002:021
> [lexmark] init_options: lexmark_device = 0x8246830
> [lexmark] sanei_lexmark_x1100_open_device: devnum=0
> [lexmark] sane_control_option: handle=0x8246830, opt=0, act=0,
> val=0x80db354, info=(nil)
> [lexmark] Option value = 6
> [lexmark] sane_get_option_descriptor: handle=0x8246830, option = 1
> [lexmark] sane_get_option_descriptor: handle=0x8246830, option = 1
> [lexmark] sane_control_option: handle=0x8246830, opt=1, act=0,
> val=0x826bc98, info=(nil)
> [lexmark] sane_get_option_descriptor: handle=0x8246830, option = 2
> [lexmark] sane_get_option_descriptor: handle=0x8246830, option = 2
> [lexmark] sane_control_option: handle=0x8246830, opt=2, act=0,
> val=0xbff7734c, info=(nil)
> [lexmark] Option value = 150
> [lexmark] sane_get_option_descriptor: handle=0x8246830, option = 3
> [lexmark] sane_get_option_descriptor: handle=0x8246830, option = 4
> [lexmark] sane_get_option_descriptor: handle=0x8246830, option = 4
> [lexmark] sane_control_option: handle=0x8246830, opt=4, act=0,
> val=0x826bc98, info=(nil)
> [lexmark] sane_get_option_descriptor: handle=0x8246830, option = 5
> [lexmark] sane_get_option_descriptor: handle=0x8246830, option = 1
> [lexmark] sane_get_option_descriptor: handle=0x8246830, option = 1
> [lexmark] sane_control_option: handle=0x8246830, opt=1, act=0,
> val=0x8284ca8, info=(nil)
> [lexmark] sane_get_option_descriptor: handle=0x8246830, option = 2
> [lexmark] sane_get_option_descriptor: handle=0x8246830, option = 2
> [lexmark] sane_control_option: handle=0x8246830, opt=2, act=0,
> val=0xbff76f04, info=(nil)
> [lexmark] Option value = 150
> [lexmark] sane_get_option_descriptor: handle=0x8246830, option = 2
> [lexmark] sane_get_parameters: handle=0x8246830, params=0x80db470
> [lexmark] sane_get_parameters: Data size determined as f7314
> [lexmark] sane_get_parameters:
> [lexmark]   format: SANE_FRAME_RGB
> [lexmark]   last_frame: TRUE
> [lexmark]   lines 2ee
> [lexmark]   depth 8
> [lexmark]   pixels_per_line 1c2
> [lexmark]   bytes_per_line 546
> [lexmark] sane_get_parameters: handle=0x8246830, params=0x80db470
> [lexmark] sane_get_parameters: Data size determined as f7314
> [lexmark] sane_get_parameters:
> [lexmark]   format: SANE_FRAME_RGB
> [lexmark]   last_frame: TRUE
> [lexmark]   lines 2ee
> [lexmark]   depth 8
> [lexmark]   pixels_per_line 1c2
> [lexmark]   bytes_per_line 546
> [lexmark] sane_get_option_descriptor: handle=0x8246830, option = 1
> [lexmark] sane_get_option_descriptor: handle=0x8246830, option = 2
> [lexmark] sane_get_option_descriptor: handle=0x8246830, option = 4
> [lexmark] sane_get_option_descriptor: handle=0x8246830, option = 1
> [lexmark] sane_get_option_descriptor: handle=0x8246830, option = 1
> [lexmark] sane_control_option: handle=0x8246830, opt=1, act=0,
> val=0x827e8b0, info=(nil)
> [lexmark] sane_get_option_descriptor: handle=0x8246830, option = 2
> [lexmark] sane_get_option_descriptor: handle=0x8246830, option = 2
> [lexmark] sane_control_option: handle=0x8246830, opt=2, act=0,
> val=0xbff7600c, info=(nil)
> [lexmark] Option value = 150
> [lexmark] sane_get_option_descriptor: handle=0x8246830, option = 3
> [lexmark] sane_get_option_descriptor: handle=0x8246830, option = 4
> [lexmark] sane_get_option_descriptor: handle=0x8246830, option = 4
> [lexmark] sane_control_option: handle=0x8246830, opt=4, act=0,
> val=0x8283a28, info=(nil)
> [lexmark] sane_get_option_descriptor: handle=0x8246830, option = 5
> [lexmark] sane_get_option_descriptor: handle=0x8246830, option = 1
> [lexmark] sane_get_option_descriptor: handle=0x8246830, option = 1
> [lexmark] sane_control_option: handle=0x8246830, opt=1, act=0,
> val=0x8286070, info=(nil)
> [lexmark] sane_get_option_descriptor: handle=0x8246830, option = 2
> [lexmark] sane_get_option_descriptor: handle=0x8246830, option = 2
> [lexmark] sane_control_option: handle=0x8246830, opt=2, act=0,
> val=0xbff75bc4, info=(nil)
> [lexmark] Option value = 150
> [lexmark] sane_get_option_descriptor: handle=0x8246830, option = 2
> [lexmark] sane_get_parameters: handle=0x8246830, params=0x80db470
> [lexmark] sane_get_parameters: Data size determined as f7314
> [lexmark] sane_get_parameters:
> [lexmark]   format: SANE_FRAME_RGB
> [lexmark]   last_frame: TRUE
> [lexmark]   lines 2ee
> [lexmark]   depth 8
> [lexmark]   pixels_per_line 1c2
> [lexmark]   bytes_per_line 546
> [lexmark] sane_get_parameters: handle=0x8246830, params=0x80db470
> [lexmark] sane_get_parameters: Data size determined as f7314
> [lexmark] sane_get_parameters:
> [lexmark]   format: SANE_FRAME_RGB
> [lexmark]   last_frame: TRUE
> [lexmark]   lines 2ee
> [lexmark]   depth 8
> [lexmark]   pixels_per_line 1c2
> [lexmark]   bytes_per_line 546
> [lexmark] sane_get_parameters: handle=0x8246830, params=0x80db470
> [lexmark] sane_get_parameters: Data size determined as f7314
> [lexmark] sane_get_parameters:
> [lexmark]   format: SANE_FRAME_RGB
> [lexmark]   last_frame: TRUE
> [lexmark]   lines 2ee
> [lexmark]   depth 8
> [lexmark]   pixels_per_line 1c2
> [lexmark]   bytes_per_line 546
> [lexmark] sane_get_option_descriptor: handle=0x8246830, option = 1
> [lexmark] sane_get_option_descriptor: handle=0x8246830, option = 2
> [lexmark] sane_get_option_descriptor: handle=0x8246830, option = 4
> [lexmark] sane_get_option_descriptor: handle=0x8246830, option = 1
> [lexmark] sane_get_option_descriptor: handle=0x8246830, option = 1
> [lexmark] sane_control_option: handle=0x8246830, opt=1, act=0,
> val=0x82a84e0, info=(nil)
> [lexmark] sane_get_option_descriptor: handle=0x8246830, option = 2
> [lexmark] sane_get_option_descriptor: handle=0x8246830, option = 2
> [lexmark] sane_control_option: handle=0x8246830, opt=2, act=0,
> val=0xbff7732c, info=(nil)
> [lexmark] Option value = 150
> [lexmark] sane_get_option_descriptor: handle=0x8246830, option = 3
> [lexmark] sane_get_option_descriptor: handle=0x8246830, option = 4
> [lexmark] sane_get_option_descriptor: handle=0x8246830, option = 4
> [lexmark] sane_control_option: handle=0x8246830, opt=4, act=0,
> val=0x82a7568, info=(nil)
> [lexmark] sane_get_option_descriptor: handle=0x8246830, option = 5
> [lexmark] sane_get_option_descriptor: handle=0x8246830, option = 1
> [lexmark] sane_get_option_descriptor: handle=0x8246830, option = 1
> [lexmark] sane_control_option: handle=0x8246830, opt=1, act=0,
> val=0x82a84e0, info=(nil)
> [lexmark] sane_get_option_descriptor: handle=0x8246830, option = 2
> [lexmark] sane_get_option_descriptor: handle=0x8246830, option = 2
> [lexmark] sane_control_option: handle=0x8246830, opt=2, act=0,
> val=0xbff76ee4, info=(nil)
> [lexmark] Option value = 150
> [lexmark] sane_get_option_descriptor: handle=0x8246830, option = 2
> [lexmark] sane_get_parameters: handle=0x8246830, params=0x80db470
> [lexmark] sane_get_parameters: Data size determined as f7314
> [lexmark] sane_get_parameters:
> [lexmark]   format: SANE_FRAME_RGB
> [lexmark]   last_frame: TRUE
> [lexmark]   lines 2ee
> [lexmark]   depth 8
> [lexmark]   pixels_per_line 1c2
> [lexmark]   bytes_per_line 546
> [lexmark] sane_get_parameters: handle=0x8246830, params=0x80db470
> [lexmark] sane_get_parameters: Data size determined as f7314
> [lexmark] sane_get_parameters:
> [lexmark]   format: SANE_FRAME_RGB
> [lexmark]   last_frame: TRUE
> [lexmark]   lines 2ee
> [lexmark]   depth 8
> [lexmark]   pixels_per_line 1c2
> [lexmark]   bytes_per_line 546
> [lexmark] sane_get_option_descriptor: handle=0x8246830, option = 2
> [lexmark] sane_get_option_descriptor: handle=0x8246830, option = 2
> [lexmark] sane_control_option: handle=0x8246830, opt=2, act=1,
> val=0xbff7733c, info=(nil)
> [lexmark] sane_get_parameters: handle=0x8246830, params=(nil)
> [lexmark] sane_get_parameters: Data size determined as 3e12a
> [lexmark] sane_get_parameters:
> [lexmark]   format: SANE_FRAME_RGB
> [lexmark]   last_frame: TRUE
> [lexmark]   lines 177
> [lexmark]   depth 8
> [lexmark]   pixels_per_line e2
> [lexmark]   bytes_per_line 2a6
> [lexmark] sane_get_parameters: handle=0x8246830, params=0x80db470
> [lexmark] sane_get_parameters: Data size determined as 3e12a
> [lexmark] sane_get_parameters:
> [lexmark]   format: SANE_FRAME_RGB
> [lexmark]   last_frame: TRUE
> [lexmark]   lines 177
> [lexmark]   depth 8
> [lexmark]   pixels_per_line e2
> [lexmark]   bytes_per_line 2a6
> [lexmark] sane_start: handle=0x8246830
> [lexmark] sane_get_parameters: handle=0x8246830, params=(nil)
> [lexmark] sane_get_parameters: Data size determined as 3e12a
> [lexmark] sane_get_parameters:
> [lexmark]   format: SANE_FRAME_RGB
> [lexmark]   last_frame: TRUE
> [lexmark]   lines 177
> [lexmark]   depth 8
> [lexmark]   pixels_per_line e2
> [lexmark]   bytes_per_line 2a6
> [lexmark] sanei_lexmark_x1100_search_home_fwd:
> [lexmark] sanei_lexmark_x1100_search_home_bwd:
> [lexmark] x1100_usb_bulk_read: returned End of file reached (size = 0,
> expected 7500)
> [lexmark] x1100_usb_bulk_read: returned End of file reached (size = 0,
> expected 3)
> [lexmark] x1100_usb_bulk_read: returned End of file reached (size = 0,
> expected 3)
> [lexmark] x1100_usb_bulk_read: returned End of file reached (size = 0,
> expected 2500)
> [lexmark] x1100_usb_bulk_read: returned End of file reached (size = 0,
> expected 3)
> [lexmark] x1100_usb_bulk_read: returned End of file reached (size = 0,
> expected 3)
> [lexmark] x1100_usb_bulk_read: returned End of file reached (size = 0,
> expected 2500)
> [lexmark] x1100_usb_bulk_read: returned End of file reached (size = 0,
> expected 3)
> [lexmark] x1100_usb_bulk_read: returned End of file reached (size = 0,
> expected 3)
> [lexmark] x1100_usb_bulk_read: returned End of file reached (size = 0,
> expected 2500)
> [lexmark] x1100_usb_bulk_read: returned End of file reached (size = 0,
> expected 3)
> [lexmark] x1100_usb_bulk_read: returned End of file reached (size = 0,
> expected 3)
> [lexmark] x1100_usb_bulk_read: returned End of file reached (size = 0,
> expected 2500)
> [lexmark] x1100_usb_bulk_read: returned End of file reached (size = 0,
> expected 3)
> [lexmark] x1100_usb_bulk_read: returned End of file reached (size = 0,
> expected 3)
> [lexmark] x1100_usb_bulk_read: returned End of file reached (size = 0,
> expected 2500)
> [lexmark] x1100_usb_bulk_read: returned End of file reached (size = 0,
> expected 3)
> [lexmark] x1100_usb_bulk_read: returned End of file reached (size = 0,
> expected 3)
> [lexmark] x1100_usb_bulk_read: returned End of file reached (size = 0,
> expected 2500)
> [lexmark] x1100_usb_bulk_read: returned End of file reached (size = 0,
> expected 3)
> [lexmark] x1100_usb_bulk_read: returned End of file reached (size = 0,
> expected 3)
> [lexmark] x1100_usb_bulk_read: returned End of file reached (size = 0,
> expected 2500)
> [lexmark] x1100_usb_bulk_read: returned End of file reached (size = 0,
> expected 3)
> [lexmark] x1100_usb_bulk_read: returned End of file reached (size = 0,
> expected 3)
> [lexmark] x1100_usb_bulk_read: returned End of file reached (size = 0,
> expected 2500)
> [lexmark] x1100_usb_bulk_read: returned End of file reached (size = 0,
> expected 3)
> [lexmark] x1100_usb_bulk_read: returned End of file reached (size = 0,
> expected 3)
> [lexmark] x1100_usb_bulk_read: returned End of file reached (size = 0,
> expected 2500)
> [lexmark] x1100_usb_bulk_read: returned End of file reached (size = 0,
> expected 3)
> [lexmark] x1100_usb_bulk_read: returned End of file reached (size = 0,
> expected 3)
> [lexmark] x1100_usb_bulk_read: returned End of file reached (size = 0,
> expected 2500)
> [lexmark] x1100_usb_bulk_read: returned End of file reached (size = 0,
> expected 3)
> [lexmark] x1100_usb_bulk_read: returned End of file reached (size = 0,
> expected 3)
> [lexmark] x1100_usb_bulk_read: returned End of file reached (size = 0,
> expected 2500)
> [lexmark] x1100_usb_bulk_read: returned End of file reached (size = 0,
> expected 3)
> [lexmark] x1100_usb_bulk_read: returned End of file reached (size = 0,
> expected 3)
> [lexmark] x1100_usb_bulk_read: returned End of file reached (size = 0,
> expected 2500)
> [lexmark] x1100_usb_bulk_read: returned End of file reached (size = 0,
> expected 3)
> [lexmark] x1100_usb_bulk_read: returned End of file reached (size = 0,
> expected 3)
> [lexmark] x1100_usb_bulk_read: returned End of file reached (size = 0,
> expected 2500)
> [lexmark] x1100_usb_bulk_read: returned End of file reached (size = 0,
> expected 3)
> [lexmark] x1100_usb_bulk_read: returned End of file reached (size = 0,
> expected 3)
> [lexmark] x1100_usb_bulk_read: returned End of file reached (size = 0,
> expected 2500)
> [lexmark] x1100_usb_bulk_read: returned End of file reached (size = 0,
> expected 3)
> [lexmark] x1100_usb_bulk_read: returned End of file reached (size = 0,
> expected 3)
> [lexmark] x1100_usb_bulk_read: returned End of file reached (size = 0,
> expected 2500)
> [lexmark] x1100_usb_bulk_read: returned End of file reached (size = 0,
> expected 3)
> [lexmark] x1100_usb_bulk_read: returned End of file reached (size = 0,
> expected 3)
> [lexmark] x1100_usb_bulk_read: returned End of file reached (size = 0,
> expected 2500)
> [lexmark] x1100_usb_bulk_read: returned End of file reached (size = 0,
> expected 3)
> [lexmark] x1100_usb_bulk_read: returned End of file reached (size = 0,
> expected 3)
> [lexmark] x1100_usb_bulk_read: returned End of file reached (size = 0,
> expected 2500)
> [lexmark] x1100_usb_bulk_read: returned End of file reached (size = 0,
> expected 3)
> [lexmark] x1100_usb_bulk_read: returned End of file reached (size = 0,
> expected 3)
> [lexmark] x1100_usb_bulk_read: returned End of file reached (size = 0,
> expected 2500)
> [lexmark] x1100_usb_bulk_read: returned End of file reached (size = 0,
> expected 3)
> [lexmark] x1100_usb_bulk_read: returned End of file reached (size = 0,
> expected 3)
> [lexmark] x1100_usb_bulk_read: returned End of file reached (size = 0,
> expected 2500)
> [lexmark] x1100_usb_bulk_read: returned End of file reached (size = 0,
> expected 3)
> [lexmark] sane_close: handle=0x8246830
>
> I grabbed the latest sane-backend CVS module and it does not recognize
> the scanner. Any help would be appreciated.
>
> Brian
>



More information about the sane-devel mailing list