I tried on Fedora 11.<br>I downloaded<br>sane-backends-git20100520.tar.gz<br>and installed it successfully as root user without removing old rpm packages, such as<br>sane-backends-1.0.19-15.fc11.i586 etc.<br><br>Following is the output of newly installed commands:<br>==========================================<br>/usr/local/bin/sane-find-scanner -v -v<br>------------------------------------------<br>This is sane-find-scanner from sane-backends 1.0.22git<br>.........................................<br>searching for USB scanners:<br>checking /dev/usb/scanner... failed to open (Invalid argument)<br>checking /dev/usb/scanner0... failed to open (Invalid argument)<br>checking /dev/usb/scanner1... failed to open (Invalid argument)<br>checking /dev/usb/scanner2... failed to open (Invalid argument)<br>checking /dev/usb/scanner3... failed to open (Invalid argument)<br>checking /dev/usb/scanner4... failed to open (Invalid argument)<br>checking /dev/usb/scanner5... failed to open (Invalid argument)<br>checking /dev/usb/scanner5... failed to open (Invalid argument)<br>checking /dev/usb/scanner7... failed to open (Invalid argument)<br>checking /dev/usb/scanner8... failed to open (Invalid argument)<br>checking /dev/usb/scanner9... failed to open (Invalid argument)<br>checking /dev/usb/scanner10... failed to open (Invalid argument)<br>checking /dev/usb/scanner11... failed to open (Invalid argument)<br>checking /dev/usb/scanner12... failed to open (Invalid argument)<br>checking /dev/usb/scanner13... failed to open (Invalid argument)<br>checking /dev/usb/scanner14... failed to open (Invalid argument)<br>checking /dev/usb/scanner15... failed to open (Invalid argument)<br>checking /dev/usbscanner... failed to open (Invalid argument)<br>checking /dev/usbscanner0... failed to open (Invalid argument)<br>checking /dev/usbscanner1... failed to open (Invalid argument)<br>checking /dev/usbscanner2... failed to open (Invalid argument)<br>checking /dev/usbscanner3... failed to open (Invalid argument)<br>checking /dev/usbscanner4... failed to open (Invalid argument)<br>checking /dev/usbscanner5... failed to open (Invalid argument)<br>checking /dev/usbscanner6... failed to open (Invalid argument)<br>checking /dev/usbscanner7... failed to open (Invalid argument)<br>checking /dev/usbscanner8... failed to open (Invalid argument)<br>checking /dev/usbscanner9... failed to open (Invalid argument)<br>checking /dev/usbscanner10... failed to open (Invalid argument)<br>checking /dev/usbscanner11... failed to open (Invalid argument)<br>checking /dev/usbscanner12... failed to open (Invalid argument)<br>checking /dev/usbscanner13... failed to open (Invalid argument)<br>checking /dev/usbscanner14... failed to open (Invalid argument)<br>checking /dev/usbscanner15... failed to open (Invalid argument)<br>trying libusb:<br>..............................................................................<br><device descriptor of 0x1606/0x0170 at 004:002><br>bLength 18<br>bDescriptorType 1<br>bcdUSB 1.10<br>bDeviceClass 0<br>bDeviceSubClass 0<br>bDeviceProtocol 0<br>bMaxPacketSize0 8<br>idVendor 0x1606<br>idProduct 0x0170<br>bcdDevice 1.00<br>iManufacturer 1 ()<br>iProduct 2 ()<br>iSerialNumber 0 ()<br>bNumConfigurations 1<br> <configuration 0><br> bLength 9<br> bDescriptorType 2<br> wTotalLength 39<br> bNumInterfaces 1<br> bConfigurationValue 1<br> iConfiguration 6 ()<br> bmAttributes 224 (Self-poweredRemote Wakeup)<br> MaxPower 0 mA<br> <interface 0><br> <altsetting 0><br> bLength 9<br> bDescriptorType 4<br> bInterfaceNumber 0<br> bAlternateSetting 0<br> bNumEndpoints 3<br> bInterfaceClass 255<br> bInterfaceSubClass 0<br> bInterfaceProtocol 255<br> iInterface 7 ()<br> <endpoint 0><br> bLength 7<br> bDescriptorType 5<br> bEndpointAddress 0x81 (in 0x01)<br> bmAttributes 2 (bulk)<br> wMaxPacketSize 64<br> bInterval 0 ms<br> bRefresh 0<br> bSynchAddress 0<br> <endpoint 1><br> bLength 7<br> bDescriptorType 5<br> bEndpointAddress 0x02 (out 0x02)<br> bmAttributes 2 (bulk)<br> wMaxPacketSize 8<br> bInterval 0 ms<br> bRefresh 0<br> bSynchAddress 0<br> <endpoint 2><br> bLength 7<br> bDescriptorType 5<br> bEndpointAddress 0x83 (in 0x03)<br> bmAttributes 3 (interrupt)<br> wMaxPacketSize 1<br> bInterval 250 ms<br> bRefresh 0<br> bSynchAddress 0<br><br><trying to find out which USB chip is used><br> checking for GT-6801 ...<br> this is not a GT-6801 (bDeviceClass = 0)<br> checking for GT-6816 ...<br> this is not a GT-6816 (bNumEndpoints = 3)<br> checking for GT-8911 ...<br> this is not a GT-8911 (check 5, bNumEndpoints = 3)<br> checking for MA-1017 ...<br> this is not a MA-1017 (bDeviceClass = 0, bInterfaceClass = 255)<br> checking for MA-1015 ...<br> this is not a MA-1015 (bDeviceClass = 0)<br> checking for MA-1509 ...<br> this is not a MA-1509 (bDeviceClass = 0)<br> checking for LM983[1,2,3] ...<br> this is not a LM983x (bEndpointAddress = 0x81, bmAttributes = 0x2, wMaxPacketSize = 0x40, bInterval = 0x0)<br> checking for GL646 ...<br> this is not a GL646 (bDeviceClass = 0, bInterfaceClass = 255)<br> checking for GL646_HP ...<br> this is not a GL646_HP (bDeviceClass = 0, bInterfaceClass = 255)<br> checking for GL660+GL646 ...<br> this is not a GL660+GL646 (bDeviceClass = 0, bInterfaceClass = 255)<br> checking for GL84x ...<br> this is not a GL84x (bDeviceClass = 0, bInterfaceClass = 255)<br> checking for ICM532B ...<br> this is not a ICM532B (check 1, bDeviceClass = 0, bInterfaceClass = 255)<br> checking for PV8630/LM9830 ...<br> this is not a PV8630/LM9830 (bcdUSB = 0x110)<br> checking for M011 ...<br> this is not a M011 (bDeviceClass = 0)<br> checking for RTS8822 ...<br> this is not a RTS8822 (bEndpointAddress = 0x81, bmAttributes = 0x2, wMaxPacketSize = 0x40, bInterval = 0x0)<br> checking for rts8858c ...<br> Unexpected result from register reading (0xff/0x0)<br> checking for SQ113 ...<br> this is not a SQ113 (bcdUSB = 0x110)<br> checking for HP4500C/4570C/5500C/5550C/5590/7650 chipset ...<br> this is not a HP4500C/4570C/5500C/5550C/5590/7650 chipset (bDeviceClass = 0)<br> checking for rts8801/rts8891 ...<br> Unexpected result from register reading (0x12/0x0)<br><Couldn't determine the type of the USB chip (result from sane-backends 1.0.22git)><br><br>found USB scanner (vendor=0x1606, product=0x0170) at libusb:004:002<br>........................................................................<br>done<br>--------------------------------------------------------<br><br>Without modifying any config file in<br>/usr/local/etc/sane.d<br>/usr/local/bin/scanimage -L<br>cannot identify any scanner.<br><br>So I tried modifying several config files in<br>/usr/local/etc/sane.d/<br>by adding a line:<br>-----------------------------------------------<br>usb 0x1606 0x0170<br>-----------------------------------------------<br>1.plustex.conf -- No scanners were identified.<br>2.rts8891.conf -- No scanners were identified.<br>3.umax1220u.conf -- No scanners were identified.<br>4.genesys.conf -- No scanners were identified.<br><br>5.lexmark.conf -- No scanners were identified.<br>6.hp4200.conf -- device `hp4200:libusb:004:002' is a Hewlett-Packard HP-4200 flatbed scanner (Tried /usr/local/bin/scanimage > scan1.png, but the scanner seems to hang for ever)<br>7.gt68xx.conf -- device `gt68xx:libusb:004:002' is a unknown manufacturer unknown device -- use override to select flatbed scanner(Tried<br>/usr/local/bin/scanimage > scan1.png<br>a bunch of output as follows:<br>[gt68xx] WARNING: You have manually added the ids of your scanner <br>[gt68xx] to gt68xx.conf. Please use an appropriate override <br>[gt68xx] for your scanner. Use extreme care and switch off <br>[gt68xx] the scanner immediately if you hear unusual noise. <br>[gt68xx] Please report any success to <br>[gt68xx] sane-devel@lists.alioth.debian.org. Please provide as many<br>[gt68xx] details as possible, e.g. the exact name of your<br>[gt68xx] scanner, ids, settings etc.<br>[gt68xx] ERROR: You haven't chosen an override in gt68xx.conf. Please use <br>[gt68xx] one of the following: <br>[gt68xx] mustek-bearpaw-2400-ta<br>[gt68xx] mustek-bearpaw-2400-ta-plus<br>[gt68xx] mustek-bearpaw-1200-cu-plus<br>[gt68xx] mustek-bearpaw-1200-cu-plus-2<br>[gt68xx] mustek-bearpaw-2400-cu-plus<br>[gt68xx] mustek-bearpaw-1200-ta<br>[gt68xx] mustek-scanexpress-1248-ub<br>[gt68xx] mustek-bearpaw-1200-cu<br>[gt68xx] mustek-scanexpress-1200-ub-plus<br>[gt68xx] artec-ultima-2000<br>[gt68xx] mustek-bearpaw-2400-cu<br>[gt68xx] mustek-scanexpress-2400-usb<br>[gt68xx] mustek-scanexpress-a3-usb<br>[gt68xx] mustek-bearpaw-2448-ta-plus<br>[gt68xx] lexmark-x73<br>[gt68xx] plustek-op1248u<br>[gt68xx] plustek-op1248u<br>[gt68xx] plustek-u16b<br>[gt68xx] plustek-u16b<br>[gt68xx] plustek-opticpro-s12<br>[gt68xx] plustek-opticpro-s24<br>[gt68xx] plustek-opticslim-m12<br>[gt68xx] plustek-opticslim-1200<br>[gt68xx] plustek-opticslim-2400<br>[gt68xx] iriscan-express-2<br>[gt68xx] genius-colorpage-vivid3x<br>[gt68xx] genius-colorpage-vivid4<br>[gt68xx] genius-colorpage-vivid3xe<br>[gt68xx] genius-colorpage-vivid4xe<br>[gt68xx] genius-colorpage-vivid4x<br>[gt68xx] genius-colorpage-vivid-1200-x<br>[gt68xx] genius-colorpage-vivid-1200-xe<br>[gt68xx] genius-SF600<br>[gt68xx] visioneer-onetouch-7300<br>[gt68xx] genius-colorpageslim-1200<br>scanimage: open of device gt68xx:libusb:004:002 failed: Operation not supported<br>)<br>8.artec_eplus48u.conf -- device `artec_eplus48u:libusb:004:002' is a Yakumo Scan50 flatbed scanner(Tried as before get: scanimage: open of device artec_eplus48u:libusb:004:002 failed: Invalid argument<br>)<br>------------------------------------------------------------------------<br><br>Is there any command besides lsusb, sane-find-scanner to<br>determine what device has been connected to the system,<br>and what chipset is in use?<br><br>Best regards,<br> Chen Gang<br><br><br><span title="neteasefooter"/><hr/>
<a href="http://ym.163.com/?from=od3" target="_blank">网易为中小企业免费提供企业邮箱(自主域名)</a>
</span>