[sane-devel] Epson 2450 found by sane-find-scanner but not by scanimage

2006-09-25 Thread Olaf Meeuwissen
Tom Mitchell trmitch...@hotmail.co.uk writes:

 Hi Olaf,
 Sorry for the delay in replying I appreciate your help.

 1)I have put all files back to their originals.

 2)You asked

 Do you have the epson backend disabled in /etc/sane.d/dll.conf?  I'd
 expect to see `epson:libusb:004:005' listed in the scanimage -L output
 as well.

 I didnt have the backend disabled. Both lines do not have an # in
 front of them.

Weird that you don't see epson:libusb:004:005 then.

 3) I have tried to run  as user and got permission denied.

# I'm not familiar with your distribution, so I don't know how its
# *libsane.rules looks and how it handles hotplugging of scanners.

Hmm, is user part of the appropriate group (scanner, by default)?

 4) As root the output of SANE_DEBUG_EPKOWA=127 scanimage  image.pnm
 2 epkowa.log

 is

 [snip] [epkowa] EPKOWA SANE Backend 2.1.0 - 2006-05-22
 [epkowa] attach(, 3)
 [epkowa] attach: opening
 [epkowa] attach_one_usb(libusb:004:004)
 [epkowa] EPKOWA SANE Backend 2.1.0 - 2006-05-22
 [epkowa] attach(libusb:004:004, 3)
 [epkowa] attach: opening libusb:004:004
 [epkowa] Found valid EPSON scanner: 0x4b8/0x112 (vendorID/productID)
 [epkowa] reset()
 [epkowa] send buf, size = 2
 [epkowa] buf[0] 1b .
 [epkowa] buf[1] 40 @
 [epkowa] receive buf, expected = 1, got = 0

Ouch!  The device is not talking back to you.  You should get a one
byte reply here, either 0x06 (ACK) or 0x15 (NAK).

 [snip]

Tom, can you repeat the scanimage command to get the USB debugging
info?  Like so:

  SANE_DEBUG_SANEI_USB=127 scanimage  image.pnm 2 epkowa-usb.log

Hope this helps,

Tom Mitchell trmitch...@hotmail.co.uk writes:

  Hi,
  I am using an Asrock dual sata motherboard with AMD939 64 processor
  and sataII drive. I have installed PClinuxos minime0.93a a Mandriva
  based system on to a clean partion. I have also installed an Epson
  r220 usb printer which works really well.
  The Distro uses
  xsane 0.991_2tex
  sane-backends  1.0.18-1tex
  libusb 1.0.18-1tex
  kernel is 2.6.16.27.tex1.lve for i686
  kde version 3.5.3
 
  I am unable to get the scanner to work.
  It has worked before with Xandros3.0.2 and does with the simplymepis6
  livecd. So I know that the cables etc are ok.
 
  When booted with the scanner on
 
  sane-find-scanner results in
  found USB scanner (vendor=0x04b8 [EPSON], product=0x0112 [EPSON
  Scanner]) at libusb:004:004
   # Your USB scanner was (probably) detected. It may or may not be
  supported by
   # SANE. Try scanimage -L and read the backend's manpage.
 
  scanimage -L
  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).
 
  this is both as root and as normal user.
 
  I have tried specifying the usb vendor and device in the epson.conf
  and epkowa.conf files in /etc/sane.d

That is not necessary for either backend.

  I have also modified /etc/udev/rules.d/70-libsane.rules
 
  ACTION!=add, GOTO=libsane_rules_end
  SUBSYSTEM!=usb_device, GOTO=libsane_rules_end
  as suggested for Iscan at
 
  http://www.avasys.jp/english/linux_e/faq_scan.html
 
  ACTION!=add, GOTO=libsane_rules_end
  SUBSYSTEM!=usb, GOTO=libsane_rules_end
 
  but this doesnt work.

Do NOT change the *libsane.rules file.  Your distribution should have
done the right thing.  This change is only needed for *iscan.rules and
then only on those distributions that do not use usb_device for the
udev SUBSYSTEM name.  So far, we know about Mandriva 2006.0.

BTW, this will be fixed in the next iscan release.

  #lsusb states
  Bus 004 Device 004: ID 04b8:0112 Seiko Epson Corp. Perfection 2450
  Bus 004 Device 001: ID :
  Bus 003 Device 001: ID :
  Bus 002 Device 001: ID :
  Bus 001 Device 003: ID 03f0:050c Hewlett-Packard 5219 Wireless Keyboard
  Bus 001 Device 001: ID :
 
 
  If I switch the scanner off and on I then get
 
  # scanimage -L
  device `epkowa:libusb:004:005' is a Epson Perfection 2450 flatbed
 scanner
  # scanimage image.pnm
  scanimage: no SANE devices found

Do you have the epson backend disabled in /etc/sane.d/dll.conf?  I'd
expect to see `epson:libusb:004:005' listed in the scanimage -L output
as well.

Can you provide debugging output?  The following command will put the
debugging output in epkowa.log.

   SANE_DEBUG_EPKOWA=127 scanimage  image.pnm 2 epkowa.log

  Whatever I try I cant seem to get to see the device. I would be
  grateful for any help to resolve this.
  Similar problems exist with Xandros4.0

Hope this helps,

-- 
Olaf Meeuwissen  EPSON AVASYS Corporation, SE1
FSF Associate Member #1962   sign up at http://member.fsf.org/
GnuPG key: 6BE37D90/AB6B 0D1F 99E7 1BF5 EB97  976A 16C7 F27D 6BE3 7D90
Penguin's lib!   -- I hack, therefore I am --   LPIC-2


[sane-devel] Epson 2450 found by sane-find-scanner but not by scanimage

2006-09-24 Thread Tom Mitchell
] sane_init, # the modprobe command itself, to your /etc/modules 
file.
[epkowa] sane_init, 
[epkowa] sane_init, # Although not tested with this backend, parallel port 
scanners should
[epkowa] sane_init, # be usable.  You can configure them as shown below, 
but I do not know
[epkowa] sane_init, # much about the details.  Information is welcome.
[epkowa] sane_init, #
[epkowa] sane_init, #pio 0x278
[epkowa] sane_init, #pio 0x378
[epkowa] sane_init, #pio 0x3BC
[epkowa] sane_get_devices()
scanimage: no SANE devices found
[epkowa] sane_exit

Hope thia helps
Regards
Tom

SANE_DEBUG_EPKOWA=127 scanimage  image.pnm 2 epkowa.log
From: Olaf Meeuwissen olaf.meeuwis...@avasys.jp
To: Tom Mitchell trmitch...@hotmail.co.uk
CC: sane-devel@lists.alioth.debian.org
Subject: Re: [sane-devel] Epson 2450 found by sane-find-scanner but not by 
scanimage
Date: Fri, 22 Sep 2006 08:31:03 +0900

Tom Mitchell trmitch...@hotmail.co.uk writes:

  Hi,
  I am using an Asrock dual sata motherboard with AMD939 64 processor
  and sataII drive. I have installed PClinuxos minime0.93a a Mandriva
  based system on to a clean partion. I have also installed an Epson
  r220 usb printer which works really well.
  The Distro uses
  xsane 0.991_2tex
  sane-backends  1.0.18-1tex
  libusb 1.0.18-1tex
  kernel is 2.6.16.27.tex1.lve for i686
  kde version 3.5.3
 
  I am unable to get the scanner to work.
  It has worked before with Xandros3.0.2 and does with the simplymepis6
  livecd. So I know that the cables etc are ok.
 
  When booted with the scanner on
 
  sane-find-scanner results in
  found USB scanner (vendor=0x04b8 [EPSON], product=0x0112 [EPSON
  Scanner]) at libusb:004:004
   # Your USB scanner was (probably) detected. It may or may not be
  supported by
   # SANE. Try scanimage -L and read the backend's manpage.
 
  scanimage -L
  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).
 
  this is both as root and as normal user.
 
  I have tried specifying the usb vendor and device in the epson.conf
  and epkowa.conf files in /etc/sane.d

That is not necessary for either backend.

  I have also modified /etc/udev/rules.d/70-libsane.rules
 
  ACTION!=add, GOTO=libsane_rules_end
  SUBSYSTEM!=usb_device, GOTO=libsane_rules_end
  as suggested for Iscan at
 
  http://www.avasys.jp/english/linux_e/faq_scan.html
 
  ACTION!=add, GOTO=libsane_rules_end
  SUBSYSTEM!=usb, GOTO=libsane_rules_end
 
  but this doesnt work.

Do NOT change the *libsane.rules file.  Your distribution should have
done the right thing.  This change is only needed for *iscan.rules and
then only on those distributions that do not use usb_device for the
udev SUBSYSTEM name.  So far, we know about Mandriva 2006.0.

BTW, this will be fixed in the next iscan release.

  #lsusb states
  Bus 004 Device 004: ID 04b8:0112 Seiko Epson Corp. Perfection 2450
  Bus 004 Device 001: ID :
  Bus 003 Device 001: ID :
  Bus 002 Device 001: ID :
  Bus 001 Device 003: ID 03f0:050c Hewlett-Packard 5219 Wireless Keyboard
  Bus 001 Device 001: ID :
 
 
  If I switch the scanner off and on I then get
 
  # scanimage -L
  device `epkowa:libusb:004:005' is a Epson Perfection 2450 flatbed 
scanner
  # scanimage image.pnm
  scanimage: no SANE devices found

Do you have the epson backend disabled in /etc/sane.d/dll.conf?  I'd
expect to see `epson:libusb:004:005' listed in the scanimage -L output
as well.

Can you provide debugging output?  The following command will put the
debugging output in epkowa.log.

   SANE_DEBUG_EPKOWA=127 scanimage  image.pnm 2 epkowa.log

  Whatever I try I cant seem to get to see the device. I would be
  grateful for any help to resolve this.
  Similar problems exist with Xandros4.0

Hope this helps,
--
Olaf Meeuwissen  EPSON AVASYS Corporation, SE1
FSF Associate Member #1962   sign up at http://member.fsf.org/
GnuPG key: 6BE37D90/AB6B 0D1F 99E7 1BF5 EB97  976A 16C7 F27D 6BE3 7D90
Penguin's lib!   -- I hack, therefore I am --   LPIC-2

_
Windows LiveĀ™ Messenger has arrived. Click here to download it for free! 
http://imagine-msn.com/messenger/launch80/?locale=en-gb



[sane-devel] Epson 2450 found by sane-find-scanner but not by scanimage

2006-09-22 Thread Olaf Meeuwissen
Tom Mitchell trmitch...@hotmail.co.uk writes:

 Hi,
 I am using an Asrock dual sata motherboard with AMD939 64 processor
 and sataII drive. I have installed PClinuxos minime0.93a a Mandriva
 based system on to a clean partion. I have also installed an Epson
 r220 usb printer which works really well.
 The Distro uses
 xsane 0.991_2tex
 sane-backends  1.0.18-1tex
 libusb 1.0.18-1tex
 kernel is 2.6.16.27.tex1.lve for i686
 kde version 3.5.3

 I am unable to get the scanner to work.
 It has worked before with Xandros3.0.2 and does with the simplymepis6
 livecd. So I know that the cables etc are ok.

 When booted with the scanner on

 sane-find-scanner results in
 found USB scanner (vendor=0x04b8 [EPSON], product=0x0112 [EPSON
 Scanner]) at libusb:004:004
  # Your USB scanner was (probably) detected. It may or may not be
 supported by
  # SANE. Try scanimage -L and read the backend's manpage.

 scanimage -L
 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).

 this is both as root and as normal user.

 I have tried specifying the usb vendor and device in the epson.conf
 and epkowa.conf files in /etc/sane.d

That is not necessary for either backend.

 I have also modified /etc/udev/rules.d/70-libsane.rules

 ACTION!=add, GOTO=libsane_rules_end
 SUBSYSTEM!=usb_device, GOTO=libsane_rules_end
 as suggested for Iscan at

 http://www.avasys.jp/english/linux_e/faq_scan.html

 ACTION!=add, GOTO=libsane_rules_end
 SUBSYSTEM!=usb, GOTO=libsane_rules_end

 but this doesnt work.

Do NOT change the *libsane.rules file.  Your distribution should have
done the right thing.  This change is only needed for *iscan.rules and
then only on those distributions that do not use usb_device for the
udev SUBSYSTEM name.  So far, we know about Mandriva 2006.0.

BTW, this will be fixed in the next iscan release.

 #lsusb states
 Bus 004 Device 004: ID 04b8:0112 Seiko Epson Corp. Perfection 2450
 Bus 004 Device 001: ID :
 Bus 003 Device 001: ID :
 Bus 002 Device 001: ID :
 Bus 001 Device 003: ID 03f0:050c Hewlett-Packard 5219 Wireless Keyboard
 Bus 001 Device 001: ID :


 If I switch the scanner off and on I then get

 # scanimage -L
 device `epkowa:libusb:004:005' is a Epson Perfection 2450 flatbed scanner
 # scanimage image.pnm
 scanimage: no SANE devices found

Do you have the epson backend disabled in /etc/sane.d/dll.conf?  I'd
expect to see `epson:libusb:004:005' listed in the scanimage -L output
as well.

Can you provide debugging output?  The following command will put the
debugging output in epkowa.log.

  SANE_DEBUG_EPKOWA=127 scanimage  image.pnm 2 epkowa.log

 Whatever I try I cant seem to get to see the device. I would be
 grateful for any help to resolve this.
 Similar problems exist with Xandros4.0

Hope this helps,
-- 
Olaf Meeuwissen  EPSON AVASYS Corporation, SE1
FSF Associate Member #1962   sign up at http://member.fsf.org/
GnuPG key: 6BE37D90/AB6B 0D1F 99E7 1BF5 EB97  976A 16C7 F27D 6BE3 7D90
Penguin's lib!   -- I hack, therefore I am --   LPIC-2


[sane-devel] Epson 2450 found by sane-find-scanner but not by scanimage

2006-09-20 Thread Mogens Jaeger
Tom Mitchell wrote:
 Hi,
 I am using an Asrock dual sata motherboard with AMD939 64 processor and 
 sataII drive. I have installed PClinuxos minime0.93a a Mandriva based 
 system  on to a clean partion. I have also installed an Epson r220 usb 
 printer which works really well.
 The Distro uses
 xsane 0.991_2tex
 sane-backends  1.0.18-1tex
 libusb 1.0.18-1tex
 kernel is 2.6.16.27.tex1.lve for i686
 kde version 3.5.3
 
 I am unable to get the scanner to work.
 It has worked before with Xandros3.0.2 and does with the simplymepis6 
 livecd. So I know that the cables etc are ok.
 
 When booted with the scanner on
 
 sane-find-scanner results in
 found USB scanner (vendor=0x04b8 [EPSON], product=0x0112 [EPSON 
 Scanner]) at libusb:004:004
  # Your USB scanner was (probably) detected. It may or may not be 
 supported by
  # SANE. Try scanimage -L and read the backend's manpage.
 
 scanimage -L
 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).
 
 this is both as root and as normal user.
 
 I have tried specifying the usb vendor and device in the epson.conf and 
 epkowa.conf files in /etc/sane.d
 
 I have also modified /etc/udev/rules.d/70-libsane.rules
 
 ACTION!=add, GOTO=libsane_rules_end
 SUBSYSTEM!=usb_device, GOTO=libsane_rules_end
 as suggested for Iscan at
 
 http://www.avasys.jp/english/linux_e/faq_scan.html
 
 ACTION!=add, GOTO=libsane_rules_end
 SUBSYSTEM!=usb, GOTO=libsane_rules_end
 
 but this doesnt work.
 
 #lsusb states
 Bus 004 Device 004: ID 04b8:0112 Seiko Epson Corp. Perfection 2450
 Bus 004 Device 001: ID :
 Bus 003 Device 001: ID :
 Bus 002 Device 001: ID :
 Bus 001 Device 003: ID 03f0:050c Hewlett-Packard 5219 Wireless Keyboard
 Bus 001 Device 001: ID :
 
 
 If I switch the scanner off and on I then get
 
 # scanimage -L
 device `epkowa:libusb:004:005' is a Epson Perfection 2450 flatbed scanner
 # scanimage image.pnm
 scanimage: no SANE devices found
 
 Whatever I try I cant seem to get to see the device. I would be grateful 
 for any help to resolve this.
 Similar problems exist with Xandros4.0
 thanks
 Tom
 
I've got a scanner like yours, on a SuSE installation
I found, that downgrading the USB to ver. 1.1 solved the problem, but 
that it was'nt acceptable, so I bought a firewire cable, and now it runs 
at full speed.

Sincerely Mogens J?ger



[sane-devel] Epson 2450 found by sane-find-scanner but not by scanimage

2006-09-19 Thread Tom Mitchell
Hi,
I am using an Asrock dual sata motherboard with AMD939 64 processor and 
sataII drive. I have installed PClinuxos minime0.93a a Mandriva based system 
  on to a clean partion. I have also installed an Epson r220 usb printer 
which works really well.
The Distro uses
xsane 0.991_2tex
sane-backends  1.0.18-1tex
libusb 1.0.18-1tex
kernel is 2.6.16.27.tex1.lve for i686
kde version 3.5.3

I am unable to get the scanner to work.
It has worked before with Xandros3.0.2 and does with the simplymepis6 
livecd. So I know that the cables etc are ok.

When booted with the scanner on

sane-find-scanner results in
found USB scanner (vendor=0x04b8 [EPSON], product=0x0112 [EPSON Scanner]) at 
libusb:004:004
  # Your USB scanner was (probably) detected. It may or may not be supported 
by
  # SANE. Try scanimage -L and read the backend's manpage.

scanimage -L
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).

this is both as root and as normal user.

I have tried specifying the usb vendor and device in the epson.conf and 
epkowa.conf files in /etc/sane.d

I have also modified /etc/udev/rules.d/70-libsane.rules

ACTION!=add, GOTO=libsane_rules_end
SUBSYSTEM!=usb_device, GOTO=libsane_rules_end
as suggested for Iscan at

http://www.avasys.jp/english/linux_e/faq_scan.html

ACTION!=add, GOTO=libsane_rules_end
SUBSYSTEM!=usb, GOTO=libsane_rules_end

but this doesnt work.

#lsusb states
Bus 004 Device 004: ID 04b8:0112 Seiko Epson Corp. Perfection 2450
Bus 004 Device 001: ID :
Bus 003 Device 001: ID :
Bus 002 Device 001: ID :
Bus 001 Device 003: ID 03f0:050c Hewlett-Packard 5219 Wireless Keyboard
Bus 001 Device 001: ID :


If I switch the scanner off and on I then get

# scanimage -L
device `epkowa:libusb:004:005' is a Epson Perfection 2450 flatbed scanner
# scanimage image.pnm
scanimage: no SANE devices found

Whatever I try I cant seem to get to see the device. I would be grateful for 
any help to resolve this.
Similar problems exist with Xandros4.0
thanks
Tom

_
Be the first to hear what's new at MSN - sign up to our free newsletters! 
http://www.msn.co.uk/newsletters