Trying to use a HP 6300 scanner with SANE. Particulars: Ubuntu 10.10, kernel 2.6.35-28-generic-pae Scanner connected through usb
Results of 'sane-find-scanner': found USB scanner (vendor=0x03f0 [Hewlett-Packard], product=0x0601 [HP ScanJet 6300C]) at libusb:005:002 here is /dev/bus/usb/005 directory: crw-rw-r-- 1 root root 189, 512 2011-05-13 20:22 001 crw-rw-r--+ 1 root scanner 189, 513 2011-05-13 20:51 002 device 001 is the root hub. symlink to scanner is present in /dev: lrwxrwxrwx 1 root root 15 2011-05-13 20:22 hp6350C -> bus/usb/005/002 contents of /etc/sane.d/hp.conf: /dev/hp6350C option connect-usb running 'scanimage -L' with debug enabled (also tried as root) gives: [sanei_debug] Setting debug level of hp to 128. [hp] sane_init called [hp] hp_init: global.is_up = 1 [hp] sane_init will finish with Success [hp] sane_get_devices called [hp] hp_read_config: hp backend v1.06/$Revision$ starts reading config file [hp] hp_read_config: processing line </dev/hp6350C> [hp] hp_read_config: processing line <option connect-usb> [hp] hp_read_config: attach /dev/hp6350C [hp] hp_attach_matching_devices: attach matching /dev/hp6350C [hp] hp_attach: "/dev/hp6350C" [hp] hp_get_dev: New device /dev/hp6350C, connect-usb, scsi-request=0 [hp] sanei_hp_device_new: /dev/hp6350C [hp] hp_GetOpenDevice: device /dev/hp6350C not open [hp] hp_nonscsi_open: open usb with "/dev/hp6350C" [hp] hp_nonscsi_open: open device /dev/hp6350C failed [hp] nonscsi_new: open failed (Invalid argument) [hp] /dev/hp6350C: Can't open nonscsi device [hp] hp_read_config: reset to default config [hp] sane_get_devices will finish with Success No scanners were identified. If you were expecting something different, check that the scanner is plugged in, turned on and detected by the sane-find-scanner tool (if appropriate). Please read the documentation which came with this software (README, FAQ, manpages). [hp] sane_exit called [hp] hp_destroy: global.is_up = 0 [hp] sane_exit will finish I see the 'invalid argument' but I don't know what it is complaining about. Are the major/minor numbers for /dev/bus/usb/005/002 OK? Everything I've read says major 180 for scanners. What am I missing? thanks, Ken
