Bug 559046

Summary: Cannot configure SCSI scanner with YaST - detection fails
Product: [openSUSE] openSUSE 11.2 Reporter: Forgotten User 7Vd19u3Vod <forgotten_7Vd19u3Vod>
Component: YaST2Assignee: E-mail List <bnc-team-screening>
Status: RESOLVED DUPLICATE QA Contact: Jiri Srain <jsrain>
Severity: Major    
Priority: P5 - None CC: jsmeix
Version: Final   
Target Milestone: ---   
Hardware: x86-64   
OS: openSUSE 11.2   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: Yast logs

Description Forgotten User 7Vd19u3Vod 2009-11-29 15:16:23 UTC
Created attachment 329905 [details]
Yast logs

User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.1.5) Gecko/20091103 SUSE/3.5.5-1.1.2 Firefox/3.5.5

When I try to configure my SCSI scanner on openSUSE 11.2 the YaST scanner configuration module does not detect it and I am unable to configure it.
I suspect that this is because the module uses hp-probe internally (according to /var/log/messages), which seems not to look for SCSI devices at all.

Detection, configuration and usage of the scanner works perfectly on openSUSE 11.1 installed on another partition of the same computer.

Because of bug 548108 I had to install 11.2 with "acpi=ht" and also boot with this kernel parameter.

Reproducible: Always

Steps to Reproduce:
1. Attach SCSI scanner to system
2. boot
3. Call up YaST scanner configuration module
Actual Results:  
Scanner is not detected

Expected Results:  
Scanner is detected and configured for sane

- CPU:             AMD Phenom X4 9550 4x2.2GHz (95W) 65nm Quad Core
- Memory:          4GB - 2x2048MB DDR2-800 CL5, Dual Channel 2x1024MB
- Motherboard:     GIGABYTE GA-MA770-DS3, AMD 770 / SB600 chipsets
- Graphics:        NVidia GeForce 7300 GS, 256MB, TV-Out, DVI, PCIe
- Floppy:          1.44MB
- 1.  hard disk:   500GB Seagate 7200 RPM SATA II
- 2.  hard disk:   500GB Seagate 7200 RPM SATA II
- DVD-ROM:         Optiarc DDU 1615 16x/48x, IDE
- DVD-RW:          NEC AD-7200, IDE
- SCSI-Controller: Adaptec 2940 SCSI adapter,            SCSI ID: 7
 - Tape Streamer:   Seagate (CONNER) CTT8000-S SCSI Tr 4, SCSI ID: 4
 - Scanner:         UMAX Astra 610S SCSI                  SCSI ID: 5
- Card Reader:     Apacer AE101, 16 card types
- DVB Controller:  Technotrend/Hauppauge DVB card rev2.1
- Modem:           ELSA MicroLink 56k basic V90
- Webcam:          Lifetec LT 9338 USB Camera



Y2logs is attached

Output of lsscsi:
0:0:0:0]    disk    ATA      ST3500820AS      SD36  /dev/sda
[2:0:0:0]    disk    ATA      ST3500820AS      SD36  /dev/sdb
[4:0:0:0]    disk    Generic  USB SD Reader    1.00  /dev/sdc
[4:0:0:1]    disk    Generic  USB CF Reader    1.01  /dev/sdd
[4:0:0:2]    disk    Generic  USB xD/SM Reader 1.02  /dev/sde
[4:0:0:3]    disk    Generic  USB MS Reader    1.03  /dev/sdf
[5:0:0:0]    cd/dvd  SONY     DVD-ROM DDU1615  GYN2  /dev/sr0
[5:0:1:0]    cd/dvd  Optiarc  DVD RW AD-7200A  1.06  /dev/sr1
[7:0:4:0]    tape    CONNER   CTT8000-S        1.17  /dev/st0
[7:0:5:0]    scanner UMAX     Astra 610S       V1.3  -
[8:0:0:0]    disk    SanDisk  Cruzer Micro     0.1   /dev/sdg

Output of sane-find-scanner:
  # sane-find-scanner will now attempt to detect your scanner. If the
  # result is different from what you expected, first make sure your
  # scanner is powered up and properly connected to your computer.

found SCSI scanner "UMAX Astra 610S V1.3" at /dev/sg9
  # Your SCSI scanner was detected. It may or may not be supported by SANE. Try
  # scanimage -L and read the backend's manpage.


Note: sane-find-scanner hangs after printing this.
scanimage -L hangs without any output

Both processes cannot be terminated - even with kill -9
Comment 1 Forgotten User 7Vd19u3Vod 2009-11-30 21:06:37 UTC
Problem is caused by USB webcam, see bug 559306
Comment 2 Johannes Meixner 2009-12-01 11:07:55 UTC
/usr/lib/YaST2/bin/autodetect_scanners calls "hp-probe -busb -escan"
only to detect scanner units in HP all-in-one USB devices
because those devices could be supported by the HPLIP software.

Usual HP SCSI scanners are not supported by HPLIP
and therefore detected as usual via sane-find-scanner.

I am not at all an expert regarding low-level USB stuff.
Regarding your USB webcam it might help to find out
if additional kernel modules are loaded when you reboot
see which kernel modules are loaded without the USB webcam
and then plug in the USB webcam. If additional kernel modules
are loaded now, the root cause of the issue might be in one
of these kernel modules.

*** This bug has been marked as a duplicate of bug 559306 ***