USB Epson perfection 1250, support?

2003-03-05 Thread Peter B

I have a Epson Perfection 1250 USB scanner. It works fine under Windows Me.
I'm trying to get it to work under FreeBSD-4.7 and have patched usbdevs, 
usbdevs.h, usbdevs_data.h, uscanner.c in /usr/src/sys/dev/usb
However the only thing I'm getting is:

[EMAIL PROTECTED] /usr/src/sys/dev/usb #usbdevs -dv
Controller /dev/usb0:
addr 1: self powered, config 1, UHCI root hub(0x), VIA(0x), rev 1.00
  uhub0
 port 1 powered
 port 2 powered
Controller /dev/usb2:
addr 1: self powered, config 1, UHCI root hub(0x), VIA(0x), rev 1.00
  uhub2
 port 1 powered
 port 2 addr 2: self powered, config 1, EPSON Scanner 010F(0x010f), EPSON(0x04b8), rev 
1.00
   uscanner0

[EMAIL PROTECTED] /usr/src/sys/dev/usb #sane-find-scanner
# Note that sane-find-scanner will find any scanner that is connected
# to a SCSI bus and some scanners that are connected to the Universal
# Serial Bus (USB) depending on your OS. It will even find scanners
# that are not supported at all by SANE. It won't find a scanner that
# is connected to a parallel or proprietary port.

sane-find-scanner: found USB scanner (UNKNOWN vendor and product) at device 
/dev/uscanner0

# `UNKNOWN vendor and product' means that there seems to be a scanner
# at this device file but the vendor and product ids couldn't be 
# identified. Currently identification only works with Linux versions
# = 2.4.8. 

And subsequent failure of xscanimage..
It's listed as stable in http://www.mostang.com/sane/sane-mfgs.html

Anyone else had luck with this scanner..?

..PATCHES diff -c
*** usbdevs.org Tue Aug 27 15:46:28 2002
--- usbdevs Tue Mar  4 22:40:53 2003
***
*** 587,592 
--- 587,593 
  product EPSON 16400x010a  Perfection 1640SU scanner
  product EPSON 12400x010b  Perfection 1240U / 1240Photo scanner
  product EPSON 640U0x010c  Perfection 640U scanner
+ product EPSON 12500x010f  Perfection 1250 scanner
  product EPSON 16500x0110  Perfection 1650 scanner
  product EPSON GT9700F 0x0112  GT-9700F scanner
  
*** usbdevs.h.org   Tue Aug 27 15:49:04 2002
--- usbdevs.h   Tue Mar  4 22:57:14 2003
***
*** 594,599 
--- 594,600 
  #define   USB_PRODUCT_EPSON_1640  0x010a  /* Perfection 1640SU scanner */
  #define   USB_PRODUCT_EPSON_1240  0x010b  /* Perfection 1240U / 
1240Photo scanner */
  #define   USB_PRODUCT_EPSON_640U  0x010c  /* Perfection 640U scanner */
+ #define   USB_PRODUCT_EPSON_1250  0x010f  /* Perfection 1250 scanner */
  #define   USB_PRODUCT_EPSON_1650  0x0110  /* Perfection 1650 scanner */
  #define   USB_PRODUCT_EPSON_GT9700F   0x0112  /* GT-9700F scanner */
  
*** usbdevs_data.h.org  Tue Aug 27 15:49:04 2002
--- usbdevs_data.h  Tue Mar  4 17:30:42 2003
***
*** 874,879 
--- 874,885 
Perfection 640U scanner,
},
{
+   USB_VENDOR_EPSON, USB_PRODUCT_EPSON_1250,
+   0,
+   Seiko Epson,
+   Perfection 1250 scanner,
+   },
+   {
USB_VENDOR_EPSON, USB_PRODUCT_EPSON_1650,
0,
Seiko Epson,
*** uscanner.c.org  Mon Aug 12 16:19:49 2002
--- uscanner.c  Tue Mar  4 17:37:12 2003
***
*** 174,179 
--- 174,180 
   {{ USB_VENDOR_EPSON, USB_PRODUCT_EPSON_1600 }, 0 },
   {{ USB_VENDOR_EPSON, USB_PRODUCT_EPSON_1640 }, 0 },
   {{ USB_VENDOR_EPSON, USB_PRODUCT_EPSON_640U }, 0 },
+  {{ USB_VENDOR_EPSON, USB_PRODUCT_EPSON_1250 }, 0 },
   {{ USB_VENDOR_EPSON, USB_PRODUCT_EPSON_1650 }, 0 },
   {{ USB_VENDOR_EPSON, USB_PRODUCT_EPSON_GT9700F }, USC_KEEP_OPEN },
  


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: USB Epson perfection 1250, support?

2003-03-05 Thread Peter B
Dirk Meyer wrote:
Peter B wrote:

 I have a Epson Perfection 1250 USB scanner. It works fine under Windows Me
 I'm trying to get it to work under FreeBSD-4.7 and have patched usbdevs, 
 usbdevs.h, usbdevs_data.h, uscanner.c in /usr/src/sys/dev/usb

without patches:
FreeBSD 4.8-PRERELEASE #22: Thu Feb 27 20:03:38 CET 2003

Mar  5 17:33:28 net3 /kernel: uscanner0: EPSON EPSON Scanner, rev 1.10/1.00, addr 2

but scanimage hangs here.

Any traces what could be the reason?

With 4.7 (i386) and my patches it works now ..kind of..
And modifying /usr/local/etc/sane.d/plustek.conf as follows:
  [usb]   -  [usb] 0x04B8 0x010F
  device /dev/usbscanner  -  device /dev/uscanner0

But it should not be neccessary.. USB.. Plug  PRAY! :)

xscanimage  works ok.
scanimage   works (stepper motor goes beyond physical limit in this case).
xsane   crashes after scan, but won't hang anything.

One real nasty thing I discovered is that if one cancels a scan it can happen
that the step motor continues to drive the scanner wagon beyond physical limit
*until* you cancel it by requesting a new scan or disconnect power.
Something that ought to be fixed..

I tested on:
FreeBSD 5.0-CURRENT #0: Fri Jan 31 13:42:19 CET 2003
everything runs there smoothly.

mdodify: /usr/local/etc/sane.d/plustek.conf

$ /usr/local/bin/scanimage --verbose --device plustek:/dev/uscanner0 \
   --format tiff --mode Color -x 210 -y 297  test.tif
..

There is also a speed issue:

  Windoze FreeBSD
Preview   26 sec  50 sec
300 dpi, 24 bpp, A4   45 sec  66 sec

Windoze system:
  Toshiba laptop, CPU-Intel Celeron 650, 64 MB Ram, Windoze Me

FreeBSD system:
  Motherboard A7V333, CPU-AMD XP1800, 256 MB Ram, FreeBSD 4.7

One can clearly hear (audiowise) that the freebsd system does the scanning in 
chunks while windoze does most tasks in one sweep.

/P


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


USB Epson perfection 1250, support?

2003-03-04 Thread Peter B

I have a Epson Perfection 1250 USB scanner. It works fine under Windows Me.
I'm trying to get it to work under FreeBSD-4.7 and have patched usbdevs, 
usbdevs.h, usbdevs_data.h, uscanner.c in /usr/src/sys/dev/usb
However the only thing I'm getting is:

[EMAIL PROTECTED] /usr/src/sys/dev/usb #usbdevs -dv
Controller /dev/usb0:
addr 1: self powered, config 1, UHCI root hub(0x), VIA(0x), rev 1.00
  uhub0
 port 1 powered
 port 2 powered
Controller /dev/usb2:
addr 1: self powered, config 1, UHCI root hub(0x), VIA(0x), rev 1.00
  uhub2
 port 1 powered
 port 2 addr 2: self powered, config 1, EPSON Scanner 010F(0x010f), EPSON(0x04b8), rev 
1.00
   uscanner0

[EMAIL PROTECTED] /usr/src/sys/dev/usb #sane-find-scanner
# Note that sane-find-scanner will find any scanner that is connected
# to a SCSI bus and some scanners that are connected to the Universal
# Serial Bus (USB) depending on your OS. It will even find scanners
# that are not supported at all by SANE. It won't find a scanner that
# is connected to a parallel or proprietary port.

sane-find-scanner: found USB scanner (UNKNOWN vendor and product) at device 
/dev/uscanner0

# `UNKNOWN vendor and product' means that there seems to be a scanner
# at this device file but the vendor and product ids couldn't be 
# identified. Currently identification only works with Linux versions
# = 2.4.8. 

And subsequent failure of xscanimage..
It's listed as stable in http://www.mostang.com/sane/sane-mfgs.html

Anyone else had luck with this scanner..?

..PATCHES diff -c
*** usbdevs.org Tue Aug 27 15:46:28 2002
--- usbdevs Tue Mar  4 22:40:53 2003
***
*** 587,592 
--- 587,593 
  product EPSON 16400x010a  Perfection 1640SU scanner
  product EPSON 12400x010b  Perfection 1240U / 1240Photo scanner
  product EPSON 640U0x010c  Perfection 640U scanner
+ product EPSON 12500x010f  Perfection 1250 scanner
  product EPSON 16500x0110  Perfection 1650 scanner
  product EPSON GT9700F 0x0112  GT-9700F scanner
  
*** usbdevs.h.org   Tue Aug 27 15:49:04 2002
--- usbdevs.h   Tue Mar  4 22:57:14 2003
***
*** 594,599 
--- 594,600 
  #define   USB_PRODUCT_EPSON_1640  0x010a  /* Perfection 1640SU scanner */
  #define   USB_PRODUCT_EPSON_1240  0x010b  /* Perfection 1240U / 
1240Photo scanner */
  #define   USB_PRODUCT_EPSON_640U  0x010c  /* Perfection 640U scanner */
+ #define   USB_PRODUCT_EPSON_1250  0x010f  /* Perfection 1250 scanner */
  #define   USB_PRODUCT_EPSON_1650  0x0110  /* Perfection 1650 scanner */
  #define   USB_PRODUCT_EPSON_GT9700F   0x0112  /* GT-9700F scanner */
  
*** usbdevs_data.h.org  Tue Aug 27 15:49:04 2002
--- usbdevs_data.h  Tue Mar  4 17:30:42 2003
***
*** 874,879 
--- 874,885 
Perfection 640U scanner,
},
{
+   USB_VENDOR_EPSON, USB_PRODUCT_EPSON_1250,
+   0,
+   Seiko Epson,
+   Perfection 1250 scanner,
+   },
+   {
USB_VENDOR_EPSON, USB_PRODUCT_EPSON_1650,
0,
Seiko Epson,
*** uscanner.c.org  Mon Aug 12 16:19:49 2002
--- uscanner.c  Tue Mar  4 17:37:12 2003
***
*** 174,179 
--- 174,180 
   {{ USB_VENDOR_EPSON, USB_PRODUCT_EPSON_1600 }, 0 },
   {{ USB_VENDOR_EPSON, USB_PRODUCT_EPSON_1640 }, 0 },
   {{ USB_VENDOR_EPSON, USB_PRODUCT_EPSON_640U }, 0 },
+  {{ USB_VENDOR_EPSON, USB_PRODUCT_EPSON_1250 }, 0 },
   {{ USB_VENDOR_EPSON, USB_PRODUCT_EPSON_1650 }, 0 },
   {{ USB_VENDOR_EPSON, USB_PRODUCT_EPSON_GT9700F }, USC_KEEP_OPEN },
  

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message