Hi! I am using my Lexmark X1150 on a Ubuntu Dapper system (sane version 1.0.14). As reported quite many times on this list, the scanner makes ugly sounds when scanning. So this must be about finding home, as Fred Odendaal says.
I have generated a error log as requested, attached to this e-mail. I hope it helps figuring out what goes wrong. Thanks Frederik -------------- next part -------------- [sanei_debug] Setting debug level of lexmark to 20. [lexmark] SANE Lexmark backend version 1.0-0 [lexmark] sane_init: version_code=0xbf8dc838 [lexmark] attachLexmark: devname=libusb:001:005 [lexmark] sane_get_devices: device_list=0xbf8dc898, local_only=0 [lexmark] sane_open: devicename="libusb:001:005", handle=0xbf8de6e8 [lexmark] sane_open: devname from list: libusb:001:005 [lexmark] init_options: lexmark_device = 0x829d5a0 [lexmark] sanei_lexmark_x1100_open_device: devnum=0 [lexmark] sane_control_option: handle=0x829d5a0, opt=0, act=0, val=0x80cf834, info=(nil) [lexmark] Option value = 6 [lexmark] sane_get_option_descriptor: handle=0x829d5a0, option = 1 [lexmark] sane_get_option_descriptor: handle=0x829d5a0, option = 1 [lexmark] sane_control_option: handle=0x829d5a0, opt=1, act=0, val=0x82db018, info=(nil) [lexmark] sane_get_option_descriptor: handle=0x829d5a0, option = 2 [lexmark] sane_get_option_descriptor: handle=0x829d5a0, option = 2 [lexmark] sane_control_option: handle=0x829d5a0, opt=2, act=0, val=0xbf8de6fc, info=(nil) [lexmark] Option value = 150 [lexmark] sane_get_option_descriptor: handle=0x829d5a0, option = 3 [lexmark] sane_get_option_descriptor: handle=0x829d5a0, option = 4 [lexmark] sane_get_option_descriptor: handle=0x829d5a0, option = 4 [lexmark] sane_control_option: handle=0x829d5a0, opt=4, act=0, val=0x82db050, info=(nil) [lexmark] sane_get_option_descriptor: handle=0x829d5a0, option = 5 [lexmark] sane_get_option_descriptor: handle=0x829d5a0, option = 1 [lexmark] sane_get_option_descriptor: handle=0x829d5a0, option = 1 [lexmark] sane_control_option: handle=0x829d5a0, opt=1, act=0, val=0x82fad10, info=(nil) [lexmark] sane_get_option_descriptor: handle=0x829d5a0, option = 2 [lexmark] sane_get_option_descriptor: handle=0x829d5a0, option = 2 [lexmark] sane_control_option: handle=0x829d5a0, opt=2, act=0, val=0xbf8de19c, info=(nil) [lexmark] Option value = 150 [lexmark] sane_get_option_descriptor: handle=0x829d5a0, option = 2 [lexmark] sane_get_parameters: handle=0x829d5a0, params=0x80cf974 [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=0x829d5a0, params=0x80cf974 [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=0x829d5a0, option = 1 [lexmark] sane_get_option_descriptor: handle=0x829d5a0, option = 2 [lexmark] sane_get_option_descriptor: handle=0x829d5a0, option = 4 [lexmark] sane_get_option_descriptor: handle=0x829d5a0, option = 1 [lexmark] sane_get_option_descriptor: handle=0x829d5a0, option = 1 [lexmark] sane_control_option: handle=0x829d5a0, opt=1, act=0, val=0x82fc088, info=(nil) [lexmark] sane_get_option_descriptor: handle=0x829d5a0, option = 2 [lexmark] sane_get_option_descriptor: handle=0x829d5a0, option = 2 [lexmark] sane_control_option: handle=0x829d5a0, opt=2, act=0, val=0xbf8dd3bc, info=(nil) [lexmark] Option value = 150 [lexmark] sane_get_option_descriptor: handle=0x829d5a0, option = 3 [lexmark] sane_get_option_descriptor: handle=0x829d5a0, option = 4 [lexmark] sane_get_option_descriptor: handle=0x829d5a0, option = 4 [lexmark] sane_control_option: handle=0x829d5a0, opt=4, act=0, val=0x82fd590, info=(nil) [lexmark] sane_get_option_descriptor: handle=0x829d5a0, option = 5 [lexmark] sane_get_option_descriptor: handle=0x829d5a0, option = 1 [lexmark] sane_get_option_descriptor: handle=0x829d5a0, option = 1 [lexmark] sane_control_option: handle=0x829d5a0, opt=1, act=0, val=0x8311570, info=(nil) [lexmark] sane_get_option_descriptor: handle=0x829d5a0, option = 2 [lexmark] sane_get_option_descriptor: handle=0x829d5a0, option = 2 [lexmark] sane_control_option: handle=0x829d5a0, opt=2, act=0, val=0xbf8dce5c, info=(nil) [lexmark] Option value = 150 [lexmark] sane_get_option_descriptor: handle=0x829d5a0, option = 2 [lexmark] sane_get_parameters: handle=0x829d5a0, params=0x80cf974 [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=0x829d5a0, params=0x80cf974 [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=0x829d5a0, params=0x80cf974 [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=0x829d5a0, option = 1 [lexmark] sane_get_option_descriptor: handle=0x829d5a0, option = 2 [lexmark] sane_get_option_descriptor: handle=0x829d5a0, option = 4 [lexmark] sane_get_option_descriptor: handle=0x829d5a0, option = 1 [lexmark] sane_get_option_descriptor: handle=0x829d5a0, option = 1 [lexmark] sane_control_option: handle=0x829d5a0, opt=1, act=0, val=0x8330a18, info=(nil) [lexmark] sane_get_option_descriptor: handle=0x829d5a0, option = 2 [lexmark] sane_get_option_descriptor: handle=0x829d5a0, option = 2 [lexmark] sane_control_option: handle=0x829d5a0, opt=2, act=0, val=0xbf8de6dc, info=(nil) [lexmark] Option value = 150 [lexmark] sane_get_option_descriptor: handle=0x829d5a0, option = 3 [lexmark] sane_get_option_descriptor: handle=0x829d5a0, option = 4 [lexmark] sane_get_option_descriptor: handle=0x829d5a0, option = 4 [lexmark] sane_control_option: handle=0x829d5a0, opt=4, act=0, val=0x8330a18, info=(nil) [lexmark] sane_get_option_descriptor: handle=0x829d5a0, option = 5 [lexmark] sane_get_option_descriptor: handle=0x829d5a0, option = 1 [lexmark] sane_get_option_descriptor: handle=0x829d5a0, option = 1 [lexmark] sane_control_option: handle=0x829d5a0, opt=1, act=0, val=0x8337af8, info=(nil) [lexmark] sane_get_option_descriptor: handle=0x829d5a0, option = 2 [lexmark] sane_get_option_descriptor: handle=0x829d5a0, option = 2 [lexmark] sane_control_option: handle=0x829d5a0, opt=2, act=0, val=0xbf8de17c, info=(nil) [lexmark] Option value = 150 [lexmark] sane_get_option_descriptor: handle=0x829d5a0, option = 2 [lexmark] sane_get_parameters: handle=0x829d5a0, params=0x80cf974 [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=0x829d5a0, params=0x80cf974 [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=0x829d5a0, option = 2 [lexmark] sane_get_option_descriptor: handle=0x829d5a0, option = 2 [lexmark] sane_control_option: handle=0x829d5a0, opt=2, act=1, val=0xbf8de6ec, info=(nil) [lexmark] sane_get_parameters: handle=0x829d5a0, 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_option_descriptor: handle=0x829d5a0, option = 2 [lexmark] sane_control_option: handle=0x829d5a0, opt=2, act=0, val=0x8319088, info=(nil) [lexmark] Option value = 75 [lexmark] sane_get_option_descriptor: handle=0x829d5a0, option = 1 [lexmark] sane_control_option: handle=0x829d5a0, opt=1, act=0, val=0x83190c8, info=(nil) [lexmark] sane_get_option_descriptor: handle=0x829d5a0, option = 2 [lexmark] sane_get_option_descriptor: handle=0x829d5a0, option = 2 [lexmark] sane_get_option_descriptor: handle=0x829d5a0, option = 2 [lexmark] sane_control_option: handle=0x829d5a0, opt=2, act=1, val=0xbf8de8dc, info=(nil) [lexmark] sane_get_parameters: handle=0x829d5a0, 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_control_option: handle=0x829d5a0, opt=3, act=1, val=0xbf8de8e0, info=(nil) [lexmark] sane_get_parameters: handle=0x829d5a0, 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_start: handle=0x829d5a0 [lexmark] sane_get_parameters: handle=0x829d5a0, 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: From [email protected] Mon Jul 3 16:09:48 2006 From: [email protected] (Antony Gelberg) Date: Mon Jul 3 16:10:35 2006 Subject: [sane-devel] Only superuser can scan Message-ID: <[email protected]> Hi all, This is a Debian testing box. The normal user can't scan, but it's different to permissions problems that I've seen before. He can see a scanner, but there is a question mark in the (incomplete) output of sane-find-scanner. It's a Canon lide 60 (genesys backend). I have bodged the permissions on /proc/bus/usb/001/002 to allow all rw, but no difference. It's running 2.6.15, with udev, not hotplug. aft:/home/dr# sane-find-scanner -q found USB scanner (vendor=0x04a9 [Canon], product=0x221c [CanoScan], chip=GL841) at libusb:001:002 aft:/home/dr# su dr dr@aft:~$ sane-find-scanner -q found USB scanner (vendor=0x04a9, product=0x221c, chip=GL841?) at libusb:001:002 dr@aft:~$ id uid=1001(dr) gid=513(Domain Users) groups=46(plugdev),110(scanner),111(saned),513(Domain Users) dr@aft:~$ ls -l /proc/bus/usb/001/002 -rw-rw-rw- 1 root root 57 2006-07-02 17:26 /proc/bus/usb/001/002 dr@aft:~$ scanimage --version scanimage (sane-backends) 1.0.17; backend version 1.0.17 dr@aft:~$ uname -a Linux aft 2.6.15-1-k7 #2 Mon Mar 6 15:42:39 UTC 2006 i686 GNU/Linux Any advice would be appreciated. Antony
