HP ScanJet 3300Cse

From: Fedor Karpelevitch (fedor.karpelevitch@home.com)
Date: Wed Mar 07 2001 - 10:48:32 PST

  • Next message: Frederik Ramm: "3091 backend: Brightness, Contrast etc."

    Hi!

    I am trying to get my HP ScanJet 3300Cse to work under SANE. (I guess
    you've seen mail like this already and it's not funny ;-))

    According to the rumors it is similar to 5300C so I was trying to use
    the stuff for 5300C. I am using kernel 2.4.2 (without ac patches). I
    applied the usb-scsi patch with minor modifications so that it fits on
    2.4.2 and recognizes 3300C instead of 5300C (Changed product ID etc.).
    I compiled both scsi-generic and usb-scsi into the kernel (instructions
    say to compile them as modules - does it make a difference?)

    It looks like usb-scsi detects my scanner successfully, but then
    something goes wrong - /proc/scsi/scsi says "Attached devices: none" and
    scanimage -t gives:

    [sanei_debug] Setting debug level of avision to 10.
    [avision] sane_init: parsing config line "scsi HP"
    [avision] sane_init: config file line 1: trying to attach `scsi HP'
    [avision] sane_get_devices
    scanimage: no SANE devices found
    [avision] sane_exit

    usb-scsi says in debug log "USB-SCSI: this device doesn't exist" i guess
    that is the problem. What's causing it?

    Any idea of what i may need to change?

    Your help is appreciated.

    Fedor.

    PS. I also have some traffic caught by USB Snoopy. If anyone knows how
    to make sense out of it I would provide it.

    here is what i get in /var/log/debug when i plug the scanner in :

    Mar 7 10:33:35 horse kernel: uhci.c: root-hub INT complete: port1: 80
    port2: 93 data: 4
    Mar 7 10:33:35 horse kernel: hub.c: port 2 connection change
    Mar 7 10:33:35 horse kernel: hub.c: port 2, portstatus 101, change 1,
    12 Mb/s
    Mar 7 10:33:36 horse kernel: hub.c: port 2, portstatus 103, change 0,
    12 Mb/s
    Mar 7 10:33:36 horse kernel: usb.c: kmalloc IF c4b04720, numif 1
    Mar 7 10:33:36 horse kernel: usb.c: new device strings: Mfr=2,
    Product=4, SerialNumber=0
    Mar 7 10:33:36 horse kernel: usb.c: USB device number 5 default
    language ID 0x409
    Mar 7 10:33:36 horse kernel: USB-SCSI: got to usb-scsi.c:835
    (usc_usb_probe)
    Mar 7 10:33:36 horse kernel: USB-SCSI: usb-device descriptor at c3d3be00
    Mar 7 10:33:36 horse kernel: USB-SCSI: product id = 0x205, vendor id =
    0x3f0
    Mar 7 10:33:36 horse kernel: USB-SCSI: got to usb-scsi.c:842
    (usc_usb_probe)
    Mar 7 10:33:36 horse kernel: USB-SCSI: got to usb-scsi.c:858
    (usc_usb_probe)
    Mar 7 10:33:36 horse kernel: USB-SCSI: found model HP ScanJet 3300C
    Mar 7 10:33:36 horse kernel: USB-SCSI: got to usb-scsi.c:915
    (usc_usb_probe)
    Mar 7 10:33:36 horse kernel: USB-SCSI: usb_set_interface returned 0.
    Mar 7 10:33:36 horse kernel: USB-SCSI: line 551: filling the status urb.
    Mar 7 10:33:36 horse kernel: USB-SCSI: line 563: sending the status urb.
    Mar 7 10:33:36 horse kernel: USB-SCSI: registering SCSI module
    Mar 7 10:33:36 horse kernel: USB-SCSI: got to usb-scsi.c:390
    (usc_scsi_detect)
    Mar 7 10:33:36 horse kernel: USB-SCSI: got to usb-scsi.c:683
    (usc_scsi_queuecommand)
    Mar 7 10:33:36 horse kernel: USB-SCSI: Command INQUIRY (6 bytes)
    Mar 7 10:33:36 horse kernel: USB-SCSI: 12 00 00 00 ff 00 0b c4 07 00
    Mar 7 10:33:36 horse kernel: USB-SCSI: desc at 0xc4d22600: halted = 00,
    toggle = 02
    Mar 7 10:33:36 horse kernel: USB-SCSI: ep_out=c0010500
    ep_response=40008580 ep_image=c0018580
    Mar 7 10:33:36 horse kernel: USB-SCSI: Line 701: trying to engage the
    cmd_lock.
    Mar 7 10:33:36 horse kernel: USB-SCSI: got to usb-scsi.c:705
    (usc_scsi_queuecommand)
    Mar 7 10:33:36 horse kernel: USB-SCSI: Command INQUIRY (6 bytes)
    Mar 7 10:33:36 horse kernel: USB-SCSI: 12 00 00 00 ff 00 0b c4 07 00
    Mar 7 10:33:36 horse kernel: USB-SCSI: got to usb-scsi.c:644
    (usc_build_transfer_context)
    Mar 7 10:33:36 horse kernel: USB-SCSI: transfering from desc->ep_image == 3
    Mar 7 10:33:36 horse kernel: USB-SCSI: got to usb-scsi.c:741
    (usc_scsi_queuecommand)
    Mar 7 10:33:36 horse kernel: USB-SCSI: got to usb-scsi.c:600
    (usc_command_done)
    Mar 7 10:33:36 horse kernel: USB-SCSI: transfer = c4d226bc context =
    c4d22764
    Mar 7 10:33:36 horse kernel: USB-SCSI: transfer->status = 0 data-length
    = 100 sent = 6
    Mar 7 10:33:36 horse kernel: USB-SCSI: desc at 0xc4d22600: halted = 00,
    toggle = 42
    Mar 7 10:33:36 horse kernel: USB-SCSI: ep_out=c0010500
    ep_response=40008580 ep_image=c0018580
    Mar 7 10:33:36 horse kernel: USB-SCSI: got to usb-scsi.c:602
    (usc_command_done)
    Mar 7 10:33:36 horse kernel: USB-SCSI: got to usb-scsi.c:611
    (usc_command_done)
    Mar 7 10:33:36 horse kernel: USB-SCSI: got to usb-scsi.c:613
    (usc_command_done)
    Mar 7 10:33:36 horse kernel: USB-SCSI: got to usb-scsi.c:438
    (usc_int_submit_urb)
    Mar 7 10:33:36 horse kernel: USB-SCSI: transfer = c4d226bc context =
    c4d22764
    Mar 7 10:33:36 horse kernel: USB-SCSI: transfer->status = 0 data-length
    = 100 sent = 6
    Mar 7 10:33:36 horse kernel: USB-SCSI: desc at 0xc4d22600: halted = 00,
    toggle = 42
    Mar 7 10:33:36 horse kernel: USB-SCSI: ep_out=c0010500
    ep_response=40008580 ep_image=c0018580
    Mar 7 10:33:36 horse kernel: USB-SCSI: Line 440: filling the bulk urb.
    Mar 7 10:33:36 horse kernel: USB-SCSI: about to submit the bulk urb.
    Mar 7 10:33:36 horse kernel: USB-SCSI: submitted! res is 0
    Mar 7 10:33:36 horse kernel: USB-SCSI: got to usb-scsi.c:577
    (usc_data_done)
    Mar 7 10:33:36 horse kernel: USB-SCSI: transfer = c4d226bc context =
    c4d22764
    Mar 7 10:33:36 horse kernel: USB-SCSI: transfer->status = ffffff99
    data-length = 100 sent = 0
    Mar 7 10:33:36 horse kernel: USB-SCSI: desc at 0xc4d22600: halted = 00,
    toggle = 42
    Mar 7 10:33:36 horse kernel: USB-SCSI: ep_out=c0010500
    ep_response=40008580 ep_image=c0018580
    Mar 7 10:33:36 horse kernel: USB-SCSI: got to usb-scsi.c:579
    (usc_data_done)
    Mar 7 10:33:36 horse kernel: USB-SCSI: JHALL: line 582: status -103
    error 70000 hope status_done takes this. Mar 7 10:33:36 horse kernel:
    USB-SCSI: got to usb-scsi.c:473 (usc_transfer_cleanup)
    Mar 7 10:33:36 horse kernel: USB-SCSI: not locked.
    Mar 7 10:33:36 horse kernel: USB-SCSI: running srb->callback.
    Mar 7 10:33:36 horse kernel: USB-SCSI: releasing lock.
    Mar 7 10:33:36 horse kernel: USB-SCSI: got to usb-scsi.c:683
    (usc_scsi_queuecommand)
    Mar 7 10:33:36 horse kernel: USB-SCSI: Command INQUIRY (6 bytes)
    Mar 7 10:33:36 horse kernel: USB-SCSI: 12 00 00 00 ff 00 0b c4 07 00
    Mar 7 10:33:36 horse kernel: USB-SCSI: desc at 0xc4d22600: halted = 00,
    toggle = 42
    Mar 7 10:33:36 horse kernel: USB-SCSI: ep_out=c0010500
    ep_response=40008580 ep_image=c0018580
    Mar 7 10:33:36 horse kernel: USB-SCSI: Line 701: trying to engage the
    cmd_lock.
    Mar 7 10:33:36 horse kernel: USB-SCSI: got to usb-scsi.c:705
    (usc_scsi_queuecommand)
    Mar 7 10:33:36 horse kernel: USB-SCSI: Command INQUIRY (6 bytes)
    Mar 7 10:33:36 horse kernel: USB-SCSI: 12 00 00 00 ff 00 0b c4 07 00
    Mar 7 10:33:36 horse kernel: USB-SCSI: got to usb-scsi.c:644
    (usc_build_transfer_context)
    Mar 7 10:33:36 horse kernel: USB-SCSI: transfering from desc->ep_image == 3
    Mar 7 10:33:36 horse kernel: USB-SCSI: got to usb-scsi.c:741
    (usc_scsi_queuecommand)
    Mar 7 10:33:36 horse kernel: USB-SCSI: got to usb-scsi.c:600
    (usc_command_done)
    Mar 7 10:33:36 horse kernel: USB-SCSI: transfer = c4d226bc context =
    c4d22764
    Mar 7 10:33:36 horse kernel: USB-SCSI: transfer->status = ffffff99
    data-length = 100 sent = 0
    Mar 7 10:33:36 horse kernel: USB-SCSI: desc at 0xc4d22600: halted = 00,
    toggle = 02
    Mar 7 10:33:36 horse kernel: USB-SCSI: ep_out=c0010500
    ep_response=40008580 ep_image=c0018580
    Mar 7 10:33:36 horse kernel: USB-SCSI: got to usb-scsi.c:602
    (usc_command_done)
    Mar 7 10:33:36 horse kernel: USB-SCSI: got to usb-scsi.c:604
    (usc_command_done)
    Mar 7 10:33:36 horse kernel: USB-SCSI: got to usb-scsi.c:473
    (usc_transfer_cleanup)
    Mar 7 10:33:36 horse kernel: USB-SCSI: not locked.
    Mar 7 10:33:36 horse kernel: USB-SCSI: running srb->callback.
    Mar 7 10:33:36 horse kernel: USB-SCSI: releasing lock.
    Mar 7 10:33:36 horse kernel: USB-SCSI: got to usb-scsi.c:683
    (usc_scsi_queuecommand)
    Mar 7 10:33:36 horse kernel: USB-SCSI: Command INQUIRY (6 bytes)
    Mar 7 10:33:36 horse kernel: USB-SCSI: 12 00 00 00 ff 00 0b c4 07 00
    Mar 7 10:33:36 horse kernel: USB-SCSI: desc at 0xc4d22600: halted = 00,
    toggle = 02
    Mar 7 10:33:36 horse kernel: USB-SCSI: ep_out=c0010500
    ep_response=40008580 ep_image=c0018580
    Mar 7 10:33:36 horse kernel: USB-SCSI: Line 701: trying to engage the
    cmd_lock.
    Mar 7 10:33:36 horse kernel: USB-SCSI: got to usb-scsi.c:705
    (usc_scsi_queuecommand)
    Mar 7 10:33:36 horse kernel: USB-SCSI: Command INQUIRY (6 bytes)
    Mar 7 10:33:36 horse kernel: USB-SCSI: 12 00 00 00 ff 00 0b c4 07 00
    Mar 7 10:33:36 horse kernel: USB-SCSI: got to usb-scsi.c:644
    (usc_build_transfer_context)
    Mar 7 10:33:36 horse kernel: USB-SCSI: transfering from desc->ep_image == 3
    Mar 7 10:33:36 horse kernel: USB-SCSI: got to usb-scsi.c:741
    (usc_scsi_queuecommand)
    Mar 7 10:33:36 horse kernel: USB-SCSI: got to usb-scsi.c:600
    (usc_command_done)
    Mar 7 10:33:36 horse kernel: USB-SCSI: transfer = c4d226bc context =
    c4d22764
    Mar 7 10:33:36 horse kernel: USB-SCSI: transfer->status = ffffff99
    data-length = 100 sent = 0
    Mar 7 10:33:36 horse kernel: USB-SCSI: desc at 0xc4d22600: halted = 00,
    toggle = 42
    Mar 7 10:33:36 horse kernel: USB-SCSI: ep_out=c0010500
    ep_response=40008580 ep_image=c0018580
    Mar 7 10:33:36 horse kernel: USB-SCSI: got to usb-scsi.c:602
    (usc_command_done)
    Mar 7 10:33:36 horse kernel: USB-SCSI: got to usb-scsi.c:604
    (usc_command_done)
    Mar 7 10:33:36 horse kernel: USB-SCSI: got to usb-scsi.c:473
    (usc_transfer_cleanup)
    Mar 7 10:33:36 horse kernel: USB-SCSI: not locked.
    Mar 7 10:33:36 horse kernel: USB-SCSI: running srb->callback.
    Mar 7 10:33:36 horse kernel: USB-SCSI: releasing lock.
    Mar 7 10:33:36 horse kernel: USB-SCSI: got to usb-scsi.c:683
    (usc_scsi_queuecommand)
    Mar 7 10:33:36 horse kernel: USB-SCSI: Command INQUIRY (6 bytes)
    Mar 7 10:33:36 horse kernel: USB-SCSI: 12 00 00 00 ff 00 0b c4 07 00
    Mar 7 10:33:36 horse kernel: USB-SCSI: desc at 0xc4d22600: halted = 00,
    toggle = 42
    Mar 7 10:33:36 horse kernel: USB-SCSI: ep_out=c0010500
    ep_response=40008580 ep_image=c0018580
    Mar 7 10:33:36 horse kernel: USB-SCSI: Command to LUN=0 ID=1 CHANNEL=0
    from SCSI layer
    Mar 7 10:33:36 horse kernel: USB-SCSI: this device doesn't exist
    Mar 7 10:33:36 horse kernel: USB-SCSI: got to usb-scsi.c:683
    (usc_scsi_queuecommand)
    Mar 7 10:33:36 horse kernel: USB-SCSI: Command INQUIRY (6 bytes)
    Mar 7 10:33:36 horse kernel: USB-SCSI: 12 00 00 00 ff 00 0b c4 07 00
    Mar 7 10:33:36 horse kernel: USB-SCSI: desc at 0xc4d22600: halted = 00,
    toggle = 42
    Mar 7 10:33:36 horse kernel: USB-SCSI: ep_out=c0010500
    ep_response=40008580 ep_image=c0018580
    Mar 7 10:33:36 horse kernel: USB-SCSI: Command to LUN=0 ID=2 CHANNEL=0
    from SCSI layer
    Mar 7 10:33:36 horse kernel: USB-SCSI: this device doesn't exist
    Mar 7 10:33:36 horse kernel: USB-SCSI: got to usb-scsi.c:683
    (usc_scsi_queuecommand)
    Mar 7 10:33:36 horse kernel: USB-SCSI: Command INQUIRY (6 bytes)
    Mar 7 10:33:36 horse kernel: USB-SCSI: 12 00 00 00 ff 00 0b c4 07 00
    Mar 7 10:33:36 horse kernel: USB-SCSI: desc at 0xc4d22600: halted = 00,
    toggle = 42
    Mar 7 10:33:36 horse kernel: USB-SCSI: ep_out=c0010500
    ep_response=40008580 ep_image=c0018580
    Mar 7 10:33:36 horse kernel: USB-SCSI: Command to LUN=0 ID=3 CHANNEL=0
    from SCSI layer
    Mar 7 10:33:36 horse kernel: USB-SCSI: this device doesn't exist
    Mar 7 10:33:36 horse kernel: USB-SCSI: got to usb-scsi.c:683
    (usc_scsi_queuecommand)
    Mar 7 10:33:36 horse kernel: USB-SCSI: Command INQUIRY (6 bytes)
    Mar 7 10:33:36 horse kernel: USB-SCSI: 12 00 00 00 ff 00 0b c4 07 00
    Mar 7 10:33:36 horse kernel: USB-SCSI: desc at 0xc4d22600: halted = 00,
    toggle = 42
    Mar 7 10:33:36 horse kernel: USB-SCSI: ep_out=c0010500
    ep_response=40008580 ep_image=c0018580
    Mar 7 10:33:36 horse kernel: USB-SCSI: Command to LUN=0 ID=4 CHANNEL=0
    from SCSI layer
    Mar 7 10:33:36 horse kernel: USB-SCSI: this device doesn't exist
    Mar 7 10:33:36 horse kernel: USB-SCSI: got to usb-scsi.c:683
    (usc_scsi_queuecommand)
    Mar 7 10:33:36 horse kernel: USB-SCSI: Command INQUIRY (6 bytes)
    Mar 7 10:33:36 horse kernel: USB-SCSI: 12 00 00 00 ff 00 0b c4 07 00
    Mar 7 10:33:36 horse kernel: USB-SCSI: desc at 0xc4d22600: halted = 00,
    toggle = 42
    Mar 7 10:33:36 horse kernel: USB-SCSI: ep_out=c0010500
    ep_response=40008580 ep_image=c0018580
    Mar 7 10:33:36 horse kernel: USB-SCSI: Command to LUN=0 ID=5 CHANNEL=0
    from SCSI layer
    Mar 7 10:33:36 horse kernel: USB-SCSI: this device doesn't exist
    Mar 7 10:33:36 horse kernel: USB-SCSI: got to usb-scsi.c:683
    (usc_scsi_queuecommand)
    Mar 7 10:33:36 horse kernel: USB-SCSI: Command INQUIRY (6 bytes)
    Mar 7 10:33:36 horse kernel: USB-SCSI: 12 00 00 00 ff 00 0b c4 07 00
    Mar 7 10:33:36 horse kernel: USB-SCSI: desc at 0xc4d22600: halted = 00,
    toggle = 42
    Mar 7 10:33:36 horse kernel: USB-SCSI: ep_out=c0010500
    ep_response=40008580 ep_image=c0018580
    Mar 7 10:33:36 horse kernel: USB-SCSI: Command to LUN=0 ID=6 CHANNEL=0
    from SCSI layer
    Mar 7 10:33:36 horse kernel: USB-SCSI: this device doesn't exist
    Mar 7 10:33:36 horse kernel: USB-SCSI: got to usb-scsi.c:683
    (usc_scsi_queuecommand)
    Mar 7 10:33:36 horse kernel: USB-SCSI: Command INQUIRY (6 bytes)
    Mar 7 10:33:36 horse kernel: USB-SCSI: 12 00 00 00 ff 00 0b c4 07 00
    Mar 7 10:33:36 horse kernel: USB-SCSI: desc at 0xc4d22600: halted = 00,
    toggle = 42
    Mar 7 10:33:36 horse kernel: USB-SCSI: ep_out=c0010500
    ep_response=40008580 ep_image=c0018580
    Mar 7 10:33:36 horse kernel: USB-SCSI: Command to LUN=0 ID=7 CHANNEL=0
    from SCSI layer
    Mar 7 10:33:36 horse kernel: USB-SCSI: this device doesn't exist
    Mar 7 10:33:36 horse kernel: USB-SCSI: got to usb-scsi.c:1013
    (usc_usb_probe)
    Mar 7 10:33:36 horse kernel: USB-SCSI: adding 0xc4d22600 to list
    Mar 7 10:33:36 horse kernel: USB-SCSI: completed probe and exiting happily
    Mar 7 10:33:36 horse kernel: usb.c: usb-scsi driver claimed interface
    c4b04720
    Mar 7 10:33:36 horse kernel: usb.c: kusbd: /sbin/hotplug add 5
    Mar 7 10:33:36 horse kernel: usb.c: kusbd policy returned 0xfffffffe

    --
    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 : Wed Mar 07 2001 - 10:23:43 PST