Re: [snapscan] Core testing group

From: Timothy Little (tim@lilly-villa.little-possums.net)
Date: Sat Nov 04 2000 - 14:17:13 PST

  • Next message: Timothy Little: "[snapscan] Agfa 1212U problems?"

    On Sat, Nov 04, 2000 at 08:02:06PM +0100, abel deuring wrote:
    > Chris Bagwell wrote:
    >
    > > My model still hangs at the "mini_inquiry" stage. Switching on
    > > SANE_DEBUG_SANEI_SCSI in addition to SANE_DEBUG_SNAPSCAN yields
    > >
    > > [snapscan] mini_inquiry
    > > [sanei_scsi] scsi_req_enter: entered 0x80505b8
    > > [sanei_scsi] sanei_scsi.issue: 0x80505b8
    > > [sanei_scsi] sanei_scsi.issue: bad write (errno=62) Timer expired -1
    > > [sanei_scsi] scsi_req_enter: queue_used: 0, queue_max: 1
    > > [sanei_scsi] sanei_scsi_req_wait: waiting for 0x80505b8
    > > [sanei_scsi] sanei_scsi.issue: 0x80505b8
    > > [snapscan] mini_inquiry: sanei_scsi_cmd command failed: Error during
    > > device I/O
    > >
    > > Unfortunately, I don't know how to find out for sure whether it's SANE
    > > that's at fault or something else in my system. I am using an
    > > outdated experimental kernel (2.4.0-test9), though it has worked
    > > previously with the older usb-patched sane-1.0.3.
    >
    > Strange error. mini_inquiry simply sends the standard INQUIRY command
    > and expects that the scanner returns the standard 36 bytes. Since
    > INQUIRY is also used by the Linux SCSI system: Does the scanner appear
    > in the output of "cat proc/scsi/scsi"?

    Unfortunately I have a USB scanner and forgot to "touch snapscan.c"
    before compiling. However, it still fails after rectifying that
    error.

    The scanner does appear in the output of "cat /proc/bus/usb/devices",
    if that helps. Relevant section:

    T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=12 MxCh= 0
    D: Ver= 1.00 Cls=ff(vend.) Sub=ff Prot=ff MxPS= 8 #Cfgs= 1
    P: Vendor=06bd ProdID=0001 Rev= 2.00
    S: Manufacturer=AGFA
    S: Product=SNAPSCAN 1212U
    C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=100mA
    I: If#= 0 Alt= 0 #EPs= 3 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= 8 Ivl= 0ms
    E: Ad=83(I) Atr=03(Int.) MxPS= 8 Ivl= 16ms

    - Tim

    --
    Source code, list archive, and docs: http://www.mostang.com/sane/
    To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com
    



    This archive was generated by hypermail 2b29 : Sat Nov 04 2000 - 14:12:49 PST