Hi Pawel,

If you are comfortable with re-compiling/editing source, please enable
DEBUG, RD_DATA_DUMP, and WR_DATA_DUMP in scanner.h, configure syslog to
capture debug output, and send me the output when you run the test
program described below.

Regards,
        /\/elson


On Wed, 14 Jun 2000, Pawel Salek wrote:

> Hello, 
> 
> my problem is following: I try to use Epson 1200U USB scanner and get
> communication(?) errors. I tried different kernels (I use currently
> 2.4.0-test1-ac15) and different computers (Gateway GP7-550 and IBM
> 300GL) but it fails in all the cases no matter if I use UHCI or
> UHCI-alt driver. From /dev/bus/usb/devices I conclude that the scanner
> is recognized:
> 
> T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
> B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
> D:  Ver= 1.00 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
> P:  Vendor=0000 ProdID=0000 Rev= 0.00
> S:  Product=USB UHCI-alt Root Hub
> S:  SerialNumber=ff00
> C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
> I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
> E:  Ad=81(I) Atr=03(Int.) MxPS=   8 Ivl=255ms
> T:  Bus=01 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#=  2 Spd=12  MxCh= 0
> D:  Ver= 1.00 Cls=ff(vend.) Sub=ff Prot=ff MxPS=64 #Cfgs=  1
> P:  Vendor=04b8 ProdID=0104 Rev= 1.03
> S:  Manufacturer=EPSON
> S:  Product=Perfection1200
> C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  2mA
> I:  If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=usbscanner
> E:  Ad=81(I) Atr=02(Bulk) MxPS=  64 Ivl=  0ms
> E:  Ad=02(O) Atr=02(Bulk) MxPS=  64 Ivl=  0ms
> 
> When I realized that sane doesn't work out of the box, I asked Karl Heinz for
> help and he sent me attached program for testing the communication. The output
> is:
> 
> Opening /dev/usb/scanner0...
> writing sequence...
> reading ack message.
> read 1 bytes
> Asking for ident string.
> REading answer...
> read 1 bytes of ident
> Did not receive STX
>       in_buf[0] = 0x15
> 
> It basically means that the scanner reset is successful but when asked for
> identity string, the scanner or the scanner module answers NAK.
> 
> Has anyone seen it, too? Any clues? What is the best approach to debug this
> problem (I know how to debug ordinary programs, but never tried to debug kernel, or
> kernel modules). Is there any other information you would like to get?
> 
> /Pawel
> 

-- 
~~ ** ~~  UNIX is a user-friendly operating system. It just picks   ~~ ** ~~
                 its friends more carefully than others.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to