Hello Henning, <br>
Thanks for reply. Actually i
got other scanner to write a backend so for time being i am stopping
discussions on umax 4100 and would like to develop backend for HP
scanjet 2400.<br>
Output of "sane-find-scanner -v -v" for HP Scanjet 2400 is<br>
*************************************************************************************************************************<br>
This is sane-find-scanner from sane-backends 1.0.16-cvs<br>
<br>
# sane-find-scanner will now attempt to detect your scanner. If the<br>
# result is different from what you expected, first make sure your<br>
# scanner is powered up and properly connected to your computer.<br>
<br>
searching for SCSI scanners:<br>
checking /dev/scanner... failed to open (Invalid argument)<br>
checking /dev/sg0... failed to open (Invalid argument)<br>
checking /dev/sg1... failed to open (Invalid argument)<br>
checking /dev/sg2... failed to open (Invalid argument)<br>
checking /dev/sg3... failed to open (Invalid argument)<br>
checking /dev/sg4... failed to open (Invalid argument)<br>
checking /dev/sg5... failed to open (Invalid argument)<br>
checking /dev/sg6... failed to open (Invalid argument)<br>
checking /dev/sg7... failed to open (Invalid argument)<br>
checking /dev/sg8... failed to open (Invalid argument)<br>
checking /dev/sg9... failed to open (Invalid argument)<br>
checking /dev/sga... failed to open (Invalid argument)<br>
checking /dev/sgb... failed to open (Invalid argument)<br>
checking /dev/sgc... failed to open (Invalid argument)<br>
checking /dev/sgd... failed to open (Invalid argument)<br>
checking /dev/sge... failed to open (Invalid argument)<br>
checking /dev/sgf... failed to open (Invalid argument)<br>
checking /dev/sgg... failed to open (Invalid argument)<br>
checking /dev/sgh... failed to open (Invalid argument)<br>
checking /dev/sgi... failed to open (Invalid argument)<br>
checking /dev/sgj... failed to open (Invalid argument)<br>
checking /dev/sgk... failed to open (Invalid argument)<br>
checking /dev/sgl... failed to open (Invalid argument)<br>
checking /dev/sgm... failed to open (Invalid argument)<br>
checking /dev/sgn... failed to open (Invalid argument)<br>
checking /dev/sgo... failed to open (Invalid argument)<br>
checking /dev/sgp... failed to open (Invalid argument)<br>
checking /dev/sgq... failed to open (Invalid argument)<br>
checking /dev/sgr... failed to open (Invalid argument)<br>
checking /dev/sgs... failed to open (Invalid argument)<br>
checking /dev/sgt... failed to open (Invalid argument)<br>
checking /dev/sgu... failed to open (Invalid argument)<br>
checking /dev/sgv... failed to open (Invalid argument)<br>
checking /dev/sgw... failed to open (Invalid argument)<br>
checking /dev/sgx... failed to open (Invalid argument)<br>
checking /dev/sgy... failed to open (Invalid argument)<br>
checking /dev/sgz... failed to open (Invalid argument)<br>
# No SCSI scanners found. If you expected something different, make sure that<br>
# you have loaded a kernel SCSI driver for your SCSI adapter.<br>
# Also you need support for SCSI Generic (sg) in your operating system.<br>
# If using Linux, try "modprobe sg".<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 0x0000/0x0000 at 005:001 (Linux 2.6.9-22.EL uhci_hcd UHCI Host Controller)><br>
bLength 18<br>
bDescriptorType 1<br>
bcdUSB 1.10<br>
bDeviceClass 9<br>
bDeviceSubClass 0<br>
bDeviceProtocol 0<br>
bMaxPacketSize0 8<br>
idVendor 0x0000<br>
idProduct 0x0000<br>
bcdDevice 2.06<br>
iManufacturer 3 (Linux 2.6.9-22.EL uhci_hcd)<br>
iProduct 2 (UHCI Host Controller)<br>
iSerialNumber 1 (0000:00:1d.3)<br>
bNumConfigurations 1<br>
<configuration 0><br>
bLength 9<br>
bDescriptorType 2<br>
wTotalLength 25<br>
bNumInterfaces 1<br>
bConfigurationValue 1<br>
iConfiguration 0 ()<br>
bmAttributes 192 (Self-powered)<br>
MaxPower 0 mA<br>
<interface 0><br>
<altsetting 0><br>
bLength 9<br>
bDescriptorType 4<br>
bInterfaceNumber 0<br>
bAlternateSetting 0<br>
bNumEndpoints 1<br>
bInterfaceClass 9<br>
bInterfaceSubClass 0<br>
bInterfaceProtocol 0<br>
iInterface 0 ()<br>
<endpoint 0><br>
bLength 7<br>
bDescriptorType 5<br>
bEndpointAddress 0x81 (in 0x01)<br>
bmAttributes 3 (interrupt)<br>
wMaxPacketSize 2<br>
bInterval 255 ms<br>
bRefresh 0<br>
bSynchAddress 0<br>
<br>
<device descriptor of 0x03f0/0x0a01 at 004:002 (Hewlett-Packard hp scanjet scanner)><br>
bLength 18<br>
bDescriptorType 1<br>
bcdUSB 1.10<br>
bDeviceClass 255<br>
bDeviceSubClass 255<br>
bDeviceProtocol 255<br>
bMaxPacketSize0 8<br>
idVendor 0x03F0<br>
idProduct 0x0A01<br>
bcdDevice 1.01<br>
iManufacturer 1 (Hewlett-Packard)<br>
iProduct 2 (hp scanjet scanner)<br>
iSerialNumber 12 (CN47WS725M)<br>
bNumConfigurations 1<br>
<configuration 0><br>
bLength 9<br>
bDescriptorType 2<br>
wTotalLength 39<br>
bNumInterfaces 1<br>
bConfigurationValue 1<br>
iConfiguration 0 ()<br>
bmAttributes 192 (Self-powered)<br>
MaxPower 48 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 255<br>
bInterfaceProtocol 255<br>
iInterface 0 ()<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 64<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 8 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 (bNumEndpoints = 3)<br>
checking for GT-6816 ...<br>
this is not a GT-6816 (bDeviceClass = 255, bInterfaceClass = 255)<br>
checking for GT-8911 ...<br>
this is not a GT-8911 (check 1, bDeviceClass = 255, bInterfaceClass = 255)<br>
checking for MA-1017 ...<br>
this is not a MA-1017 (bDeviceClass = 255, bInterfaceClass = 255)<br>
checking for MA-1015 ...<br>
this is not a MA-1015 (bcdUSB = 0x110)<br>
checking for MA-1509 ...<br>
this is not a MA-1509 (bEndpointAddress = 0x2, bmAttributes = 0x2, wMaxPacketSize = 0x40)<br>
checking for LM983[1,2,3] ...<br>
this is not a LM983x (bDeviceSubClass = 0xff)<br>
checking for GL646 ...<br>
this is not a GL646 (bDeviceClass = 255, bInterfaceClass = 255)<br>
checking for GL646_HP ...<br>
<This USB chip looks like a GL646_HP><br>
<br>
found USB scanner (vendor=0x03f0 [Hewlett-Packard], product=0x0a01 [hp scanjet scanner], chip=GL646_HP) at libusb:004:002<br>
<br>
<device descriptor of 0x0000/0x0000 at 004:001 (Linux 2.6.9-22.EL uhci_hcd UHCI Host Controller)><br>
bLength 18<br>
bDescriptorType 1<br>
bcdUSB 1.10<br>
bDeviceClass 9<br>
bDeviceSubClass 0<br>
bDeviceProtocol 0<br>
bMaxPacketSize0 8<br>
idVendor 0x0000<br>
idProduct 0x0000<br>
bcdDevice 2.06<br>
iManufacturer 3 (Linux 2.6.9-22.EL uhci_hcd)<br>
iProduct 2 (UHCI Host Controller)<br>
iSerialNumber 1 (0000:00:1d.2)<br>
bNumConfigurations 1<br>
<configuration 0><br>
bLength 9<br>
bDescriptorType 2<br>
wTotalLength 25<br>
bNumInterfaces 1<br>
bConfigurationValue 1<br>
iConfiguration 0 ()<br>
bmAttributes 192 (Self-powered)<br>
MaxPower 0 mA<br>
<interface 0><br>
<altsetting 0><br>
bLength 9<br>
bDescriptorType 4<br>
bInterfaceNumber 0<br>
bAlternateSetting 0<br>
bNumEndpoints 1<br>
bInterfaceClass 9<br>
bInterfaceSubClass 0<br>
bInterfaceProtocol 0<br>
iInterface 0 ()<br>
<endpoint 0><br>
bLength 7<br>
bDescriptorType 5<br>
bEndpointAddress 0x81 (in 0x01)<br>
bmAttributes 3 (interrupt)<br>
wMaxPacketSize 2<br>
bInterval 255 ms<br>
bRefresh 0<br>
bSynchAddress 0<br>
<br>
<device descriptor of 0x0000/0x0000 at 003:001 (Linux 2.6.9-22.EL uhci_hcd UHCI Host Controller)><br>
bLength 18<br>
bDescriptorType 1<br>
bcdUSB 1.10<br>
bDeviceClass 9<br>
bDeviceSubClass 0<br>
bDeviceProtocol 0<br>
bMaxPacketSize0 8<br>
idVendor 0x0000<br>
idProduct 0x0000<br>
bcdDevice 2.06<br>
iManufacturer 3 (Linux 2.6.9-22.EL uhci_hcd)<br>
iProduct 2 (UHCI Host Controller)<br>
iSerialNumber 1 (0000:00:1d.1)<br>
bNumConfigurations 1<br>
<configuration 0><br>
bLength 9<br>
bDescriptorType 2<br>
wTotalLength 25<br>
bNumInterfaces 1<br>
bConfigurationValue 1<br>
iConfiguration 0 ()<br>
bmAttributes 192 (Self-powered)<br>
MaxPower 0 mA<br>
<interface 0><br>
<altsetting 0><br>
bLength 9<br>
bDescriptorType 4<br>
bInterfaceNumber 0<br>
bAlternateSetting 0<br>
bNumEndpoints 1<br>
bInterfaceClass 9<br>
bInterfaceSubClass 0<br>
bInterfaceProtocol 0<br>
iInterface 0 ()<br>
<endpoint 0><br>
bLength 7<br>
bDescriptorType 5<br>
bEndpointAddress 0x81 (in 0x01)<br>
bmAttributes 3 (interrupt)<br>
wMaxPacketSize 2<br>
bInterval 255 ms<br>
bRefresh 0<br>
bSynchAddress 0<br>
<br>
<device descriptor of 0x0000/0x0000 at 002:001 (Linux 2.6.9-22.EL uhci_hcd UHCI Host Controller)><br>
bLength 18<br>
bDescriptorType 1<br>
bcdUSB 1.10<br>
bDeviceClass 9<br>
bDeviceSubClass 0<br>
bDeviceProtocol 0<br>
bMaxPacketSize0 8<br>
idVendor 0x0000<br>
idProduct 0x0000<br>
bcdDevice 2.06<br>
iManufacturer 3 (Linux 2.6.9-22.EL uhci_hcd)<br>
iProduct 2 (UHCI Host Controller)<br>
iSerialNumber 1 (0000:00:1d.0)<br>
bNumConfigurations 1<br>
<configuration 0><br>
bLength 9<br>
bDescriptorType 2<br>
wTotalLength 25<br>
bNumInterfaces 1<br>
bConfigurationValue 1<br>
iConfiguration 0 ()<br>
bmAttributes 192 (Self-powered)<br>
MaxPower 0 mA<br>
<interface 0><br>
<altsetting 0><br>
bLength 9<br>
bDescriptorType 4<br>
bInterfaceNumber 0<br>
bAlternateSetting 0<br>
bNumEndpoints 1<br>
bInterfaceClass 9<br>
bInterfaceSubClass 0<br>
bInterfaceProtocol 0<br>
iInterface 0 ()<br>
<endpoint 0><br>
bLength 7<br>
bDescriptorType 5<br>
bEndpointAddress 0x81 (in 0x01)<br>
bmAttributes 3 (interrupt)<br>
wMaxPacketSize 2<br>
bInterval 255 ms<br>
bRefresh 0<br>
bSynchAddress 0<br>
<br>
<device descriptor of 0x0000/0x0000 at 001:001 (Linux 2.6.9-22.EL ehci_hcd EHCI Host Controller)><br>
bLength 18<br>
bDescriptorType 1<br>
bcdUSB 2.00<br>
bDeviceClass 9<br>
bDeviceSubClass 0<br>
bDeviceProtocol 1<br>
bMaxPacketSize0 8<br>
idVendor 0x0000<br>
idProduct 0x0000<br>
bcdDevice 2.06<br>
iManufacturer 3 (Linux 2.6.9-22.EL ehci_hcd)<br>
iProduct 2 (EHCI Host Controller)<br>
iSerialNumber 1 (0000:00:1d.7)<br>
bNumConfigurations 1<br>
<configuration 0><br>
bLength 9<br>
bDescriptorType 2<br>
wTotalLength 25<br>
bNumInterfaces 1<br>
bConfigurationValue 1<br>
iConfiguration 0 ()<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 1<br>
bInterfaceClass 9<br>
bInterfaceSubClass 0<br>
bInterfaceProtocol 0<br>
iInterface 0 ()<br>
<endpoint 0><br>
bLength 7<br>
bDescriptorType 5<br>
bEndpointAddress 0x81 (in 0x01)<br>
bmAttributes 3 (interrupt)<br>
wMaxPacketSize 2<br>
bInterval 12 ms<br>
bRefresh 0<br>
bSynchAddress 0<br>
# Your USB scanner was (probably) detected. It may or may not be supported by<br>
# SANE. Try scanimage -L and read the backend's manpage.<br>
<br>
# Not checking for parallel port scanners.<br>
<br>
# Most Scanners connected to the parallel port or other proprietary ports<br>
# can't be detected by this program.<br>
****************************************************************************************************************<br>
Now can u help me what things are required to develop a scanner backend from above info.<br>
Sorry but i am combining discussions from my other thread
to here also that as u ask me to check plustek-usb.txt i check it and
found followinf lines there<br>
===============><br>
Before using, make sure that the USB scanner device driver is loaded:<br>
modprobe scanner<br>
or<br>
modprobe scanner vendor=0x7b3 product=0x17<br>
<================<br>
<br>
But i am unable to load scanner module at all also there
is no scanner.c file in my RHEL 4.0 2.6.9-22.EL kernel. so how to
follow above steps?<br>
Regards,<br>
Parag.<br>
<br>
<br>
<br>
On 11/29/05, <b class="gmail_sendername">Henning Meier-Geinitz</b> <<a href="mailto:henning@meier-geinitz.de">henning@meier-geinitz.de</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br><br>On Mon, Nov 28, 2005 at 10:56:11AM +0530, Parag N wrote:<br>>
I got name of chipset its a GL646_HP. total output for umax<br>> astra 4100 of sane-find-scanner is =><br>> found
USB scanner (vendor=0x0461 [Primax],<br>> product=0x038c [USB<br>> Scanner], chip=GL646_HP) at libusb:004:002<br><br>Thanks. Please send the output of "sane-find-scanner -v -v".<br><br>>
One more thing i want to ask to develop a driver for this UMAX<br>> Astra 4100 i think i need to add backend in sane-backends source package and<br>> install it on RHEL to have it working fine. Is that right? and xsane will
<br>> then recognise this scanner.<br><br>In principle this is right. In your case there is already a backend<br>for the gl646 chipset named "genesys". So you should add the scanner<br>to that backend. For discussions about the genesys backend please read
<br>the archive of this mailing list.<br><br>Bye,<br> Henning<br><br><br>--<br>sane-devel mailing list: <a href="mailto:sane-devel@lists.alioth.debian.org">sane-devel@lists.alioth.debian.org</a><br><a href="http://lists.alioth.debian.org/mailman/listinfo/sane-devel">
http://lists.alioth.debian.org/mailman/listinfo/sane-devel</a><br>Unsubscribe: Send mail with subject "unsubscribe your_password"<br> to <a href="mailto:sane-devel-request@lists.alioth.debian.org">sane-devel-request@lists.alioth.debian.org
</a><br></blockquote></div><br>