there have been no recent changes to the hp5400 backend. can you please verify that the grayscale option did appear in prior versions of sane?
allan 2008/5/21 Guillaume <guillcdv at gmail.com>: > Hi, > I've recently upgraded to Ubuntu 8.04 and I discovered that I can't scan > in gray scale with my HP5470c. > The scan mode menu is not available in xsane (0.995), xscanimage > (1.0.14) or kooka (0.44). > > From what I recalled, it used to be possible with Ubuntu 7.10. It > surely works fine under windows on the same machine. > > I'm using /usr/lib/sane/libsane-hp5400.so.1.0.19 > > If needed I've attached the debug trace (export SANE_DEBUG_HP5400=255). > > Any idea or thing I can do to help to solve this ? > > Thanks > Guillaume > > -- > depuis Ubuntu 8.04 GNU/Linux > > > > > guill at Salsa:~$ export SANE_DEBUG_HP5400=255 > > guill at Salsa:~$ guill at Salsa:~$ > guill at Salsa:~$ xsane > [sanei_debug] Setting debug level of hp5400 to 255. > [hp5400] sane_init: SANE hp5400 backend version 1.0-3 (from sane-backends > 1.0.19) > [hp5400] Reading config file > [hp5400] Discarding line 1 > [hp5400] Discarding line 2 > [hp5400] Discarding line 3 > [hp5400] Discarding line 4 > [hp5400] Trying to attach usb 0x03F0 0x1005 > [hp5400] Discarding line 6 > [hp5400] Discarding line 7 > [hp5400] Trying to attach usb 0x03F0 0x1105 > [hp5400] vendor/product 0x03F0-0x1105 opened > [hp5400] Read: reqtype = 0xC0, req = 0x04, value = 1200 > [hp5400] Read: reqtype = 0xC0, req = 0x04, value = C500 > [hp5400] Command 12 verified > [hp5400] Warning, Version match is disabled. Version is '' > [hp5400] hp5400: _ReportDevice 'libusb:002:002' > [hp5400] attach_one_device: attached libusb:002:002 successfully > [hp5400] Discarding line 9 > [hp5400] Discarding line 10 > [hp5400] Discarding line 11 > [hp5400] Discarding line 12 > [hp5400] Discarding line 13 > [hp5400] Discarding line 14 > [hp5400] sane_get_devices > [hp5400] sane_open: libusb:002:002 > [hp5400] vendor/product 0x03F0-0x1105 opened > [hp5400] Read: reqtype = 0xC0, req = 0x04, value = 1200 > [hp5400] Read: reqtype = 0xC0, req = 0x04, value = C500 > [hp5400] Command 12 verified > [hp5400] version String : > [hp5400] > [hp5400] S > [hp5400] i > [hp5400] l > [hp5400] i > [hp5400] t > [hp5400] e > [hp5400] k > [hp5400] I > [hp5400] B > [hp5400] l > [hp5400] i > [hp5400] z > [hp5400] d > [hp5400] > [hp5400] C > [hp5400] 3 > [hp5400] > [hp5400] S > [hp5400] c > [hp5400] a > [hp5400] n > [hp5400] n > [hp5400] e > [hp5400] r > [hp5400] V > [hp5400] 0 > [hp5400] . > [hp5400] 8 > [hp5400] 4 > [hp5400] > [hp5400] ` > [hp5400] > [hp5400] Warning, Version match is disabled. Version is '' > [hp5400] Write: reqtype = 0x40, req = 0x0C, value = 0000, len = 1 > [hp5400] Data: [hp5400] 01 [hp5400] > [hp5400] Read: reqtype = 0xC0, req = 0x04, value = C500 > [hp5400] Command 00 verified > [hp5400] Handle=0 > [hp5400] sane_control_option: option 0, action 0 > [hp5400] sane_control_option: SANE_ACTION_GET_VALUE 0 = 11 > [hp5400] sane_get_option_descriptor 1 > [hp5400] sane_get_option_descriptor 2 > [hp5400] sane_get_option_descriptor 2 > [hp5400] sane_control_option: option 2, action 0 > [hp5400] sane_control_option: SANE_ACTION_GET_VALUE 2 = 5 > [hp5400] sane_get_option_descriptor 3 > [hp5400] sane_get_option_descriptor 3 > [hp5400] sane_control_option: option 3, action 0 > [hp5400] sane_control_option: SANE_ACTION_GET_VALUE 3 = 52 > [hp5400] sane_get_option_descriptor 4 > [hp5400] sane_get_option_descriptor 4 > [hp5400] sane_control_option: option 4, action 0 > [hp5400] sane_control_option: SANE_ACTION_GET_VALUE 4 = 225 > [hp5400] sane_get_option_descriptor 5 > [hp5400] sane_get_option_descriptor 5 > [hp5400] sane_control_option: option 5, action 0 > [hp5400] sane_control_option: SANE_ACTION_GET_VALUE 5 = 352 > [hp5400] sane_get_option_descriptor 6 > [hp5400] sane_get_option_descriptor 6 > [hp5400] sane_control_option: option 6, action 0 > [hp5400] sane_control_option: SANE_ACTION_GET_VALUE 6 = 75 > [hp5400] sane_get_option_descriptor 7 > [hp5400] sane_get_option_descriptor 8 > [hp5400] sane_get_option_descriptor 9 > [hp5400] sane_get_option_descriptor 10 > [hp5400] sane_get_option_descriptor 6 > [hp5400] sane_get_option_descriptor 6 > [hp5400] sane_control_option: option 6, action 0 > [hp5400] sane_control_option: SANE_ACTION_GET_VALUE 6 = 75 > [hp5400] sane_get_option_descriptor 6 > [hp5400] sane_get_option_descriptor 8 > [hp5400] sane_get_parameters > [hp5400] sane_get_option_descriptor 2 > [hp5400] sane_get_option_descriptor 2 > [hp5400] sane_control_option: option 2, action 0 > [hp5400] sane_control_option: SANE_ACTION_GET_VALUE 2 = 5 > [hp5400] sane_get_option_descriptor 3 > [hp5400] sane_get_option_descriptor 3 > [hp5400] sane_control_option: option 3, action 0 > [hp5400] sane_control_option: SANE_ACTION_GET_VALUE 3 = 52 > [hp5400] sane_get_option_descriptor 4 > [hp5400] sane_get_option_descriptor 4 > [hp5400] sane_control_option: option 4, action 0 > [hp5400] sane_control_option: SANE_ACTION_GET_VALUE 4 = 225 > [hp5400] sane_get_option_descriptor 5 > [hp5400] sane_get_option_descriptor 5 > [hp5400] sane_control_option: option 5, action 0 > [hp5400] sane_control_option: SANE_ACTION_GET_VALUE 5 = 352 > [hp5400] sane_get_option_descriptor 2 > [hp5400] sane_get_option_descriptor 3 > [hp5400] sane_get_option_descriptor 4 > [hp5400] sane_get_option_descriptor 5 > [hp5400] sane_get_option_descriptor 2 > [hp5400] sane_get_option_descriptor 2 > [hp5400] sane_control_option: option 2, action 0 > [hp5400] sane_control_option: SANE_ACTION_GET_VALUE 2 = 5 > [hp5400] sane_get_option_descriptor 3 > [hp5400] sane_get_option_descriptor 3 > [hp5400] sane_control_option: option 3, action 0 > [hp5400] sane_control_option: SANE_ACTION_GET_VALUE 3 = 52 > [hp5400] sane_get_option_descriptor 4 > [hp5400] sane_get_option_descriptor 4 > [hp5400] sane_control_option: option 4, action 0 > [hp5400] sane_control_option: SANE_ACTION_GET_VALUE 4 = 225 > [hp5400] sane_get_option_descriptor 5 > [hp5400] sane_get_option_descriptor 5 > [hp5400] sane_control_option: option 5, action 0 > [hp5400] sane_control_option: SANE_ACTION_GET_VALUE 5 = 352 > [hp5400] sane_get_option_descriptor 2 > [hp5400] sane_get_option_descriptor 3 > [hp5400] sane_get_option_descriptor 4 > [hp5400] sane_get_option_descriptor 5 > [hp5400] sane_get_option_descriptor 2 > [hp5400] sane_get_option_descriptor 2 > [hp5400] sane_control_option: option 2, action 0 > [hp5400] sane_control_option: SANE_ACTION_GET_VALUE 2 = 5 > [hp5400] sane_get_option_descriptor 3 > [hp5400] sane_get_option_descriptor 3 > [hp5400] sane_control_option: option 3, action 0 > [hp5400] sane_control_option: SANE_ACTION_GET_VALUE 3 = 52 > [hp5400] sane_get_option_descriptor 4 > [hp5400] sane_get_option_descriptor 4 > [hp5400] sane_control_option: option 4, action 0 > [hp5400] sane_control_option: SANE_ACTION_GET_VALUE 4 = 225 > [hp5400] sane_get_option_descriptor 5 > [hp5400] sane_get_option_descriptor 5 > [hp5400] sane_control_option: option 5, action 0 > [hp5400] sane_control_option: SANE_ACTION_GET_VALUE 5 = 352 > [hp5400] sane_get_option_descriptor 0 > [hp5400] sane_control_option: option 0, action 0 > [hp5400] sane_control_option: SANE_ACTION_GET_VALUE 0 = 11 > [hp5400] sane_get_option_descriptor 1 > [hp5400] sane_get_option_descriptor 2 > [hp5400] sane_get_option_descriptor 3 > [hp5400] sane_get_option_descriptor 4 > [hp5400] sane_get_option_descriptor 5 > [hp5400] sane_get_option_descriptor 6 > [hp5400] sane_get_option_descriptor 7 > [hp5400] sane_get_option_descriptor 8 > [hp5400] sane_get_option_descriptor 9 > [hp5400] sane_get_option_descriptor 10 > [hp5400] sane_get_option_descriptor 1 > [hp5400] sane_get_option_descriptor 2 > [hp5400] sane_get_option_descriptor 3 > [hp5400] sane_get_option_descriptor 4 > [hp5400] sane_get_option_descriptor 5 > [hp5400] sane_get_option_descriptor 6 > [hp5400] sane_get_option_descriptor 7 > [hp5400] sane_get_option_descriptor 8 > [hp5400] sane_get_option_descriptor 9 > [hp5400] sane_get_option_descriptor 10 > [hp5400] sane_get_option_descriptor 1 > [hp5400] sane_get_option_descriptor 2 > [hp5400] sane_get_option_descriptor 3 > [hp5400] sane_get_option_descriptor 4 > [hp5400] sane_get_option_descriptor 5 > [hp5400] sane_get_option_descriptor 6 > [hp5400] sane_get_option_descriptor 7 > [hp5400] sane_get_option_descriptor 8 > [hp5400] sane_get_option_descriptor 9 > [hp5400] sane_get_option_descriptor 10 > [hp5400] sane_get_option_descriptor 1 > [hp5400] sane_get_option_descriptor 2 > [hp5400] sane_control_option: option 2, action 1 > [hp5400] sane_get_option_descriptor 1 > [hp5400] sane_get_option_descriptor 2 > [hp5400] sane_get_option_descriptor 3 > [hp5400] sane_control_option: option 3, action 1 > [hp5400] sane_get_option_descriptor 1 > [hp5400] sane_get_option_descriptor 2 > [hp5400] sane_get_option_descriptor 3 > [hp5400] sane_get_option_descriptor 4 > [hp5400] sane_control_option: option 4, action 1 > [hp5400] sane_get_option_descriptor 1 > [hp5400] sane_get_option_descriptor 2 > [hp5400] sane_get_option_descriptor 3 > [hp5400] sane_get_option_descriptor 4 > [hp5400] sane_get_option_descriptor 5 > [hp5400] sane_control_option: option 5, action 1 > [hp5400] sane_get_option_descriptor 1 > [hp5400] sane_get_option_descriptor 2 > [hp5400] sane_get_option_descriptor 3 > [hp5400] sane_get_option_descriptor 4 > [hp5400] sane_get_option_descriptor 5 > [hp5400] sane_get_option_descriptor 6 > [hp5400] sane_control_option: option 6, action 1 > [hp5400] sane_get_option_descriptor 1 > [hp5400] sane_get_option_descriptor 2 > [hp5400] sane_get_option_descriptor 3 > [hp5400] sane_get_option_descriptor 4 > [hp5400] sane_get_option_descriptor 5 > [hp5400] sane_get_option_descriptor 6 > [hp5400] sane_get_option_descriptor 7 > [hp5400] sane_get_option_descriptor 8 > [hp5400] sane_control_option: option 8, action 1 > [hp5400] Writing gamma table > [hp5400] sane_get_option_descriptor 1 > [hp5400] sane_get_option_descriptor 2 > [hp5400] sane_get_option_descriptor 3 > [hp5400] sane_get_option_descriptor 4 > [hp5400] sane_get_option_descriptor 5 > [hp5400] sane_get_option_descriptor 6 > [hp5400] sane_get_option_descriptor 7 > [hp5400] sane_get_option_descriptor 8 > [hp5400] sane_get_option_descriptor 9 > [hp5400] sane_control_option: option 9, action 1 > [hp5400] Writing gamma table > [hp5400] sane_get_option_descriptor 1 > [hp5400] sane_get_option_descriptor 2 > [hp5400] sane_get_option_descriptor 3 > [hp5400] sane_get_option_descriptor 4 > [hp5400] sane_get_option_descriptor 5 > [hp5400] sane_get_option_descriptor 6 > [hp5400] sane_get_option_descriptor 7 > [hp5400] sane_get_option_descriptor 8 > [hp5400] sane_get_option_descriptor 9 > [hp5400] sane_get_option_descriptor 10 > [hp5400] sane_control_option: option 10, action 1 > [hp5400] Writing gamma table > > <cut from here to fit in the post ...> > > -- > sane-devel mailing list: sane-devel at lists.alioth.debian.org > http://lists.alioth.debian.org/mailman/listinfo/sane-devel > Unsubscribe: Send mail with subject "unsubscribe your_password" > to sane-devel-request at lists.alioth.debian.org > -- "The truth is an offense, but not a sin"