[Bugme-janitors] [Bug 14689] New: Snapscan USB scanner assigned new device after reconnecting

bugzilla-daemon at bugzilla.kernel.org bugzilla-daemon at bugzilla.kernel.org
Wed Nov 25 11:12:24 PST 2009


http://bugzilla.kernel.org/show_bug.cgi?id=14689

           Summary: Snapscan USB scanner assigned new device after
                    reconnecting
           Product: Drivers
           Version: 2.5
    Kernel Version: 2.6.32-rc8
          Platform: All
        OS/Version: Linux
              Tree: Mainline
            Status: NEW
          Severity: high
          Priority: P1
         Component: Other
        AssignedTo: drivers_other at kernel-bugs.osdl.org
        ReportedBy: zenith22.22.22 at gmail.com
        Regression: No


Notice how in the log below the scanner is at device usb6. If I disconnect and
reconnect, it will move to usb7, usb8 and so on, until the reboot. After reboot
it starts from where it began - at usb4. As a result there is no device name
that can be supplied to snapscan.conf for SANE to use. Thus scanner is not
recognized in any SANE based scanning program.

Any attempt to specify current USB device in spapscan.conf results in that
after running scanimage and it times out, scanner disappears from the system
until it's powered off and back on.

Running Fedora12 with custom built 2.6.32-rc8 and KDE.

# sane-find-scanner

found USB scanner (vendor=0x04a5 [Color], product=0x20b0 [ FlatbedScanner 22])
at libusb:002:006

# lsusb
Bus 002 Device 006: ID 04a5:20b0 Acer Peripherals Inc. (now BenQ Corp.) S2W
3300U/4300U

# SANE_DEBUG_SNAPSCAN=128 scanimage -L

[snapscan] snapscani_usb_open(libusb:002:006)
[snapscan] snapscani_mutex_open: using IPC key 0x20b00206 for device
libusb:002:006 (pid 0x20b0, bus 0x02, dev 0x06)
[snapscan] add_usb_device: Checking if 0x04a5 is a supported USB vendor ID
...
[snapscan] snapscani_check_device: Is vendor "Color" model "FlatbedScanner22" a
supported scanner?
[snapscan] snapscani_get_model_id(FlatbedScanner22, 1, 2)
[snapscan] snapscani_get_model_id: looking up scanner for ID 0x04a5,0x20b0.
[snapscan] snapscani_check_device: Autodetected driver: Acer4300 (42 bit)
[snapscan] snapscani_usb_close(1)
[snapscan] 1st read 3 write 1
[snapscan] snapscani_usb_cmd(1,0xbfaa7556,6,0x0,0x0 (0))
[snapscan] atomic_usb_cmd(1,0xbfaa7556,6,0x0,0x0 (0))
[snapscan] usb_cmd(1,0xbfaa7556,6,0x0,0x0 (0))
[snapscan] usb_cmd: cmdlen=6, datalen=0
[snapscan] usb_write: writing:  0x00 0x00 0x00 0x00 0x00 0x00
[snapscan] Written 6 bytes
[snapscan] usb_read: reading:  0xfb 0x00 0x00 0x00 0x00 0x00 0x00 0x00
[snapscan] Read 8 bytes
[snapscan] 2nd read 4 write 2
[snapscan] snapscani_init_device_structure()
[snapscan] sane_snapscan_get_devices (0xbfaa878c, 0)
device `snapscan:libusb:002:006' is a Acer FlatbedScanner22 flatbed scanner
[snapscan] sane_snapscan_exit

-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.


More information about the Bugme-janitors mailing list