Comment 12 for bug 499416

Revision history for this message
YannUbuntu (yannubuntu) wrote : Re: Scanner not detected when connected

Complementary informations:
- my scanner is USB type

1) when I start Simple Scan before pluggin my scanner, the scanner is not detected :
$ LANG=C simple-scan --debug
** (simple-scan:3696): DEBUG: Starting Simple Scan 2.31.91, PID=3696
** (simple-scan:3696): DEBUG: Restoring window to 649x400 pixels
** (simple-scan:3696): DEBUG: sane_init () -> SANE_STATUS_GOOD
** (simple-scan:3696): DEBUG: SANE version 1.0.21
** (simple-scan:3696): DEBUG: Requesting redetection of scan devices
** (simple-scan:3696): DEBUG: Processing request
** (simple-scan:3696): DEBUG: sane_get_devices () -> SANE_STATUS_GOOD

Then if I plug my scanner:
** (simple-scan:3696): DEBUG: Requesting redetection of scan devices
** (simple-scan:3696): DEBUG: Processing request
** (simple-scan:3696): DEBUG: sane_get_devices () -> SANE_STATUS_GOOD

(I still have the "No scanner detected" message", and "Scan" button fails to scan)

2) If I plug my scanner then start SimpleScan:
$ LANG=C simple-scan --debug
** (simple-scan:3774): DEBUG: Starting Simple Scan 2.31.91, PID=3774
** (simple-scan:3774): DEBUG: Restoring window to 649x400 pixels
** (simple-scan:3774): DEBUG: sane_init () -> SANE_STATUS_GOOD
** (simple-scan:3774): DEBUG: SANE version 1.0.21
** (simple-scan:3774): DEBUG: Requesting redetection of scan devices
** (simple-scan:3774): DEBUG: Processing request
** (simple-scan:3774): DEBUG: sane_get_devices () -> SANE_STATUS_GOOD
** (simple-scan:3774): DEBUG: Device: name="epson2:libusb:001:013" vendor="Epson" model="PM-A820" type="flatbed scanner"

then unplug the scanner:
** (simple-scan:3774): DEBUG: Requesting redetection of scan devices
** (simple-scan:3774): DEBUG: Processing request
** (simple-scan:3774): DEBUG: sane_get_devices () -> SANE_STATUS_GOOD

then plug it again:
** (simple-scan:3774): DEBUG: Requesting redetection of scan devices
** (simple-scan:3774): DEBUG: Processing request
** (simple-scan:3774): DEBUG: sane_get_devices () -> SANE_STATUS_GOOD
** (simple-scan:3774): DEBUG: Device: name="epson2:libusb:001:013" vendor="Epson" model="PM-A820" type="flatbed scanner"

hee??? this time it worked. I repeated successfully twice. I tried again the procedure : at third time I had the following crash :

** (simple-scan:4028): DEBUG: Requesting redetection of scan devices
** (simple-scan:4028): DEBUG: Processing request
** (simple-scan:4028): DEBUG: sane_get_devices () -> SANE_STATUS_GOOD
** (simple-scan:4028): DEBUG: Requesting redetection of scan devices
** (simple-scan:4028): DEBUG: Processing request
Erreur de segmentation (core dumped)

(apport appeared but failed in opening a Launchpad page)